📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv8.demodesign.com.tr
/
includes
📝
header.php
← Geri Dön
<style> .box-search input:hover { border: 1px solid #e31e24!important; } .sale { color: #e31e24 !important; } #mainnav ul.menu > li > a::before { background: white; bottom: 0; content: ''; display: block; height: 2px; left: 50%; position: absolute; right: 50%; bottom: -4px; width: 0; z-index: 9; -webkit-transition: .3s ease; -moz-transition: .3s ease; -ms-transition: .3s ease; -o-transition: .3s ease; transition: .3s ease; } #mainnav ul.menu > li:hover > a::before { left: 0; right: 0; width: 100%; } #mainnav ul.menu > li:hover > a { color:white; }header-bottom #mainnav ul.menu > li > a:after { content:none; } #mainnav ul.menu > li { display: inline-block; position: relative; margin-right: 25px; margin-left: 25px; padding: 13px 0; } #mainnav ul.menu > li > a { display: block; font-size: 14px; line-height: 30px; text-transform: uppercase; font-weight: 500; position: relative; padding:0; border-right: none; } .slider-item{ background:url(https://i.hizliresim.com/vajYyz.jpg); border-radius: 0 !important; } .flat-slider .owl-carousel.owl-loaded { height:365px; border-radius: 0 !important; box-shadow: 0 1px 5px rgba(0,0,0,.1); } .owl-carousel-11.owl-theme .owl-controls .owl-dots { bottom:8px; } .slider .slider-item.style1:before { content:none; } .divider35{ height: 120px; display: block; margin: 0 auto; background-position: center center; z-index: -1; margin-bottom:30px; } .header-bottom { background-color: #1a1a1a; } .sale{ color: #ff6000; } .background { background-color: #e5e5e5; } .flat-slider { background-color: #e5e5e5; } body.background section.flat-row.flat-banner-box { margin-bottom:0; } .banner-box.style1 { width: 107% !important; } .slider .slider-item.style9{ height: 278px; background: url(https://images.hepsiburada.net/assets/storefront/banners/10-06-2019_1560166933078_1.png); } .slider .slider-item.style9:before { content:none; } .box-product .owl-carousel-10.owl-theme .owl-controls { display:none; } .urun-carousel .owl-carousel .owl-stage-outer { height:100%; } .urun-carousel .owl-carousel .owl-stage { height:100%; } .urun-carousel .owl-carousel .owl-item { height:209px; } .urun-carousel .imagebox .box-image a { height:100%; } .urun-carousel .owl-carousel .owl-item img { height:100%; object-fit: scale-down; } .no-control.owl-theme .owl-controls .owl-dots{ display:none !important; } #mega-menu { top:0; } #mega-menu > .btn-mega { height:55px; border-top-left-radius: 0; border-top-right-radius: 0; line-height: 58px; background-color: #404040; } #mega-menu > .btn-mega > span { top:27px; } .banner-box .inner-box a { border-radius:0px; box-shadow: 0 1px 5px rgba(0,0,0,.1); } .banner-box.one-half { padding:0; } body.background section.flat-row .container { border-radius: 0; box-shadow: 0 1px 5px rgba(0,0,0,.04); } .product-box:hover .imagebox { border-radius: 0; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; box-shadow: 0px 0px 13.5px 1.5px rgba(0, 0, 0, 0.09); border: 2px solid transparent; } .flat-row-title h3 { text-align:center; } .boxed > .overlay { background-color: rgba(0, 0, 0, 0.3); } #mega-menu > .btn-mega:hover { color:#484848; } #mega-menu > .btn-mega:hover > span { background-color:#484848; } #mega-menu > .btn-mega:hover > span:after { background-color:#484848; } #mega-menu > .btn-mega:hover > span:before { background-color:#484848; } #mega-menu > .btn-mega:after { content: ''; position: absolute; bottom: 0; left: 0; opacity: 0; background-color: #fff; height: 48px; width: calc(100% - 0px); z-index: -3; -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } #mega-menu > .btn-mega:hover:after { opacity: 1; } #mega-menu > .btn-mega.changed:after { opacity: 1; } #mega-menu > .btn-mega > span.changed { background-color:#484848; } #mega-menu > .btn-mega > span.changed:after { background-color:#484848; } #mega-menu > .btn-mega > span.changed:before { background-color:#484848; } #mega-menu > .btn-mega.changed { color:#484848; } #mega-menu > ul.menu > li .drop-menu { border-radius: 0; left: 248px; top: 0px; height: 516px; } #mega-menu { left:-2px; } #mega-menu > ul.menu { border:none; top:0 !important; } .btn-radio .radio-info label:before { background-color: #ff6000; } .btn-radio .radio-info label:after { border: 4px solid #ff6000; background-color: #ff6000; } .radio-info input[type="radio"]:checked + label::after { background-color: white; } .cart-totals table tr td.price-total { color:#ff6000; } .checkbox input[type="checkbox"]:checked + label::after { background-color: #ff6000; } input[type="checkbox"]:checked + label:before { background-color: #ff6000; } .slider { background:none; } .widget-about .widget-content { padding-top:0; } .banner-box.style2 .inner-box { padding-left: 10px; padding-right: 10px; } .zara-mobil-left { display:none; } .zara-mobil-right { display:none; } .zara-mobil-left div { float:left; } .zara-mobil-right div { float:right; } .btn-menu-mega { background: transparent; border-color:transparent; } .btn-menu:before, .btn-menu:after, .btn-menu span, .btn-menu-mega:before, .btn-menu-mega:after, .btn-menu-mega span { background-color: #919191; } .zara-search-menu { -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.24); -ms-box-shadow: 0 1px 2px 0 rgba(0,0,0,.24); -o-box-shadow: 0 1px 2px 0 rgba(0,0,0,.24); box-shadow: 0 1px 2px 0 rgba(0,0,0,.24); margin: 0; padding: 0; background-color: #fff; border-top: 1px solid #e9e9e9; display:none; } .zara-search-menu ul li a { font-size: 14px; } .zara-search-menu ul li a img{ margin-right:5px; } #mega-mobile .zara-karanlik-arkaplan { display:none; } #mainnav ul.menu > li > a:after { background: transparent; } ul.flat-unstyled > li > a { color: #777777; } ul.flat-unstyled > li > a:hover { color: #000; } ul.flat-infomation > li > a { color: #777777; } ul.flat-information > li > a:hover { color: #000; } ul.flat-support > li > a { color: #777777; } ul.flat-support > li > a:hover { color: #000; } .top-search form.form-search .box-search input { padding-left: 230px; padding-top: 9px; } @media only screen and (max-width: 991px) { .zara-mobil-left { display: block; width: 25%; } .zara-mobil-right { display: block; width: 25%; } .zara-mobil-center { width: 50%; } .header-bottom { display: none; } .divider35 { height:auto; margin-bottom:0; } .divider35.mobile { height: auto; padding: 10px; margin-bottom: 0; display: none; } .flat-row.flat-slider .zara-slider { padding: 0; } .top-search form.form-search .box-search input { border: 2px solid #ff6000; font-size: 13px; font-weight: 700; color: #484848; padding: 9px 90px 8px 17px; margin: 0; height: 46px; } .top-search .waves-effect { background-color: #ff6000; height: 46px; padding: 0px 12px 0 12px; } .top-search { padding: 5px 0 5px; } .zara-iletisim { display: none; } .zara-header { display: none; } #mega-mobile > ul.menu { background-color: #e9e9e9; padding: 14px; z-index: 99; } #mega-mobile > ul.menu li { background: white; } #mega-mobile > ul.menu > li > a { padding: 10px 15px; font-family: Helvetica; font-size: 13px; border-bottom: 1px solid #e9e9e9; color: #484848; margin: 0 10px; } #mega-mobile > ul.menu > li > a.dropdown .btn-dropdown, .btn-dropdown-child { background: transparent; } .zara-search-menu { display: block; } #mega-mobile > ul.menu > li > a .menu-img { min-width: 25px; width: 25px; } #mega-mobile .zara-karanlik-arkaplan { opacity: .65; content: ""; width: 100%; height: 100%; background-color: #000; position: fixed; top: 0; left: 0; z-index: -1; display:block; } body.background #header { z-index: 10000; } .slider-item { height:114px; } .flat-slider .owl-carousel.owl-loaded { height: 114px; } .slider .slider-item { background-position: center center; background-size: contain; background-repeat: no-repeat; } .flexbanner { width:50% !important; } .flat-row.flat-imagebox .owl-carousel-20{ padding-left:30px !important; padding-bottom: 10px; } .flat-row.flat-imagebox .owl-carousel-20 img { object-fit: contain !important; } .zara-kurumsal-bilgi .col-md-3 { width:50%; } .zara-kurumsal-bilgi .col-md-3 h3{ font-size:17px; } .zara-kurumsal-bilgi .col-md-3 p { font-size: 12px; } .widget-about ul.social-list { text-align: center; } .widget-about .logo-ft a{ display:table; margin:0 auto; } #header { z-index:99999; } #tawkchat-container{ opacity: 0; } } @media only screen and (min-width: 480px) { .zara-kategoriler-margin-top { margin-top:-20px; } } @media only screen and (max-width: 991px) and (min-width: 768px){ .header-middle .zara-mobil-center { -webkit-box-flex: 0; -webkit-flex: 0 0 50%; -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; } .header-middle .box-cart { padding: 3px 0px; } .header-middle .col-md-6 { -webkit-box-flex: 0; -webkit-flex: 0 0 75%; -ms-flex: 0 0 75%; flex: 0 0 75%; max-width: 75%; } .header-middle { padding-bottom: 20px; } .slider-item { height: 234px; } .flat-slider .owl-carousel.owl-loaded { height: 234px; } .banner-box.style2 .inner-box:nth-child(2) { margin-top: 0px; } .banner-box.style2 { margin-bottom:0; } .banner-box.style10 img { height:99px !important; } .flexbanner { width: 33.33% !important; } .flat-row.flat-imagebox .owl-carousel-20 { padding-left:0 !important; } .header-middle #logo a { width: 100%; display: block; position: relative; } .header-middle #logo a img { margin: 0 auto; display: block; } .zara-search-menu { -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; } .zara-search-menu ul{ text-align: center; } } .box-search input { border: 1px solid #e5e5e5; } .box-search input:hover { border: 1px solid #ff6000; } .box-search input:focus { border: 1px solid #ff6000; } .btn-search button { background: none; padding-top: 7px; } .product-detail-bar li.active:before, .product-detail-bar li:hover:before { border-radius: 20px 20px 0px 0px; } .product-detail-bar li:before { height: 100%; } .product-detail-bar li { padding: 23px 30px 11px 26px; } </style> <!-- YUVARLAK STİL <style> #mainnav ul.menu > li > a::before { background: white; bottom: 0; content: ''; display: block; height: 2px; left: 50%; position: absolute; right: 50%; bottom: -4px; width: 0; z-index: 9; -webkit-transition: .3s ease; -moz-transition: .3s ease; -ms-transition: .3s ease; -o-transition: .3s ease; transition: .3s ease; } #mainnav ul.menu > li:hover > a::before { left: 0; right: 0; width: 100%; } #mainnav ul.menu > li:hover > a { color:white; } #mainnav ul.menu > li > a:after { content:none; } #mainnav ul.menu > li { display: inline-block; position: relative; margin-right: 25px; margin-left: 25px; padding: 13px 0; } #mainnav ul.menu > li > a { display: block; font-size: 14px; line-height: 30px; text-transform: uppercase; font-weight: 500; position: relative; padding:0; border-right: none; } .slider-item{ background:url(https://i.hizliresim.com/vajYyz.jpg); border-radius: 0 !important; } .flat-slider .owl-carousel.owl-loaded { height:365px; border-radius: 0 !important; -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2); -moz-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2); -ms-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2); -o-box-shadow: 0 1px 1px 0 rgba(0,0,0,.2); box-shadow: 0 1px 1px 0 rgba(0,0,0,.2); } .owl-carousel-11.owl-theme .owl-controls .owl-dots { bottom:8px; } .slider .slider-item.style1:before { content:none; } .divider35{ background-image: url(https://i.hizliresim.com/lQWVpr.jpg); height: 120px; display: block; margin: 0 auto; background-position: center center; z-index: -1; margin-bottom:30px; } .header-bottom { background-color: #ff6000; } .sale{ color: #ff6000; } .background { background-color: #e5e5e5; } .flat-slider { background-color: #e5e5e5; } body.background section.flat-row.flat-banner-box { margin-bottom:0; } .banner-box.style1 { width: 107% !important; } .slider .slider-item.style9{ height: 278px; background: url(https://images.hepsiburada.net/assets/storefront/banners/10-06-2019_1560166933078_1.png); } .slider .slider-item.style9:before { content:none; } .box-product .owl-carousel-10.owl-theme .owl-controls { display:none; } .urun-carousel .owl-carousel .owl-stage-outer { height:100%; } .urun-carousel .owl-carousel .owl-stage { height:100%; } .urun-carousel .owl-carousel .owl-item { height:209px; } .urun-carousel .imagebox .box-image a { height:100%; } .urun-carousel .owl-carousel .owl-item img { height:100%; object-fit: scale-down; } .no-control.owl-theme .owl-controls .owl-dots{ display:none !important; } #mega-menu { top:0; } #mega-menu > .btn-mega { height:55px; border-top-left-radius: 0; border-top-right-radius: 0; line-height: 58px; background-color: #f75d00; } #mega-menu > .btn-mega > span { top:27px; } </style> --> <?php $bannera = $db->query("SELECT * FROM banner", PDO::FETCH_ASSOC); if ($bannera->rowCount()) { $banners= array(); foreach ($bannera as $bannera) { $banners[$bannera["title"]]['resim'] = $bannera["resim"]; $banners[$bannera["title"]]['link'] = $bannera["link"]; $banners[$bannera["title"]]['status'] = $bannera["status"]; } } $banner = $db->query("SELECT * FROM banner", PDO::FETCH_ASSOC); if ($banner->rowCount()) { foreach ($banner as $banner) { if($banner["banner"] == 1){ $banner1 = $banner["resim"]; $link1 = $banner["link"]; } if($banner["banner"] == 2){ $banner2 = $banner["resim"]; $link2 = $banner["link"]; } if($banner["banner"] == 3){ $banner3 = $banner["resim"]; $link3 = $banner["link"]; } if($banner["banner"] == 4){ $banner4 = $banner["resim"]; $link4 = $banner["link"]; } if($banner["banner"] == 5) { $banner5 = $banner["resim"]; $link5 = $banner["link"]; } if($banner["banner"] == 6){ $banner6 = $banner["resim"]; $link6 = $banner["link"]; } if($banner["banner"] == 7){ $banner7 = $banner["resim"]; $link7 = $banner["link"]; } if($banner["banner"] == 8){ $banner8 = $banner["resim"]; $link8 = $banner["link"]; } if($banner["banner"] == 9){ $banner9 = $banner["resim"]; $link9 = $banner["link"]; } if($banner["banner"] == 10){ $banner10 = $banner["resim"]; $link10 = $banner["link"]; } if($banner["banner"] == 11){ $banner11 = $banner["resim"]; $link11 = $banner["link"]; } if($banner["banner"] == 12){ $banner12 = $banner["resim"]; $link12 = $banner["link"]; } if($banner["banner"] == 13){ $banner13 = $banner["resim"]; $link13 = $banner["link"]; } if($banner["banner"] == 14){ $banner14 = $banner["resim"]; $link14 = $banner["link"]; } if($banner["banner"] == 15){ $banner15 = $banner["resim"]; $link15 = $banner["link"]; } if($banner["banner"] == 16){ $banner16 = $banner["resim"]; $link16 = $banner["link"]; } if($banner["banner"] == 17){ $banner17 = $banner["resim"]; $link17 = $banner["link"]; } if($banner["banner"] == 18){ $banner18 = $banner["resim"]; $link18 = $banner["link"]; } if($banner["banner"] == 19){ $banner19 = $banner["resim"]; $link19 = $banner["link"]; } if($banner["banner"] == 20){ $banner20 = $banner["resim"]; $link20 = $banner["link"]; } if($banner["banner"] == 21){ $banner21 = $banner["resim"]; $link21 = $banner["link"]; } if($banner["banner"] == 22){ $banner22 = $banner["resim"]; $link22 = $banner["link"]; } if($banner["banner"] == 23){ $banner23 = $banner["resim"]; $link23 = $banner["link"]; } if($banner["banner"] == 24){ $banner24 = $banner["resim"]; $link24 = $banner["link"]; } } } ?> <?php // +------------------------------------------------------------------------+ // | @author Ercan Agkaya (Themerig) // | @author_url 1: https://www.themerig.com // | @author_url 2: https://codecanyon.net/user/themerig // | @author_email: support@themerig.com // +------------------------------------------------------------------------+ // | Techno Cms - E-Commerce Script // | Copyright (c) 2018 Techno CMS. All rights reserved. // +------------------------------------------------------------------------+ if (!empty($_GET['search'])) { $search = $_GET['search']; } else { $search = ""; } if (!empty($_GET['sub_category'])) { $shop_category = $_GET['sub_category']; } else if (!empty($_GET['category'])) { $shop_category = $_GET['category']; } else { $shop_category = ""; } if (!empty($shop_category)) { $category_parent = $db -> query("SELECT * FROM category WHERE category_s_name = '".$shop_category."'")->fetch(); $category_id = $db -> query("SELECT * FROM category WHERE id = '".$category_parent['parent']."'")->fetch(); $back_category_id = $db -> query("SELECT * FROM category WHERE id = '".$category_id['parent']."'")->fetch(); } if(isset($_SESSION['session']) && $ayarlar != 1) { $kullanici = $db -> query("SELECT id,fullname FROM users WHERE id = ".$_SESSION['session']." ")->fetch(); if($kullanici['fullname'] == " "){ header("location: ayarlar.php"); } if($kullanici['phone'] == " "){ header("location: ayarlar.php"); } } ?> <section id="header" class="header"> <?php if($banners["home_ust"]['status']==1){ ?> <div style="width:100%;background-color: #242933;"> <a href="<?=$banners["home_ust"]['link']?>"> <img src="<?=$banners["home_ust"]['resim']?>" style="margin: 0 auto;display: block;"> </a> </div> <?php } ?> <div class="header-top"> <div class="container"> <div class="row"> <div class="col-md-4"> </div> <div class="col-md-4 zara-iletisim"> <ul class="flat-infomation"> <li class="phone"> Bizi Arayın: <a href="javascript:void(0);" title=""><?=$general_settings["phone"]?></a> </li> </ul> </div> <div class="col-md-4 zara-header"> </div> </div> </div> </div> <div class="header-middle"> <div class="container"> <div class="row"> <div class="col-md-3 zara-mobil-left"> <div class="btn-menu-mega"><span></span></div> </div> <div class="col-md-3 zara-mobil-center"> <div id="logo" class="logo"> <a href="index.php" title=""> <img src="<?=$general_settings['foto']?>" alt=""> </a> </div> </div> <div class="col-md-3 zara-mobil-right"> <div class="btn-menu"><span></span></div> </div> <div class="col-md-7"> <div class="top-search"> <form action="ara.php" method="GET" class="form-search" autocomplete="off" accept-charset="utf-8"> <?php $category = $db->prepare("SELECT * FROM category WHERE parent = '0'"); $category->execute(); if($category->rowCount()) { echo'<div class="cat-wrap" style="display: none;"> <select class="init">'; if (!empty($_GET['sub_category'])) { echo'<option hidden value="'.seo($category_parent['category_name']).'">'.custom_echo($category_parent['category_name'],20).'</option>'; } else { echo'<option hidden value="all-category">Tüm Kategoriler</option>'; } echo'</select> <span><i class="fa fa-angle-down" aria-hidden="true"></i></span> <div class="all-categories">'; foreach ($category as $row) { echo'<div class="cat-list-search"> <div class="title"> '.$row['category_name'].' </div>'; $sub_category = $db->prepare("SELECT * FROM category WHERE parent = '".$row['id']."'"); $sub_category->execute(); if($sub_category->rowCount()) { echo'<ul class="select">'; foreach ($sub_category as $sub_row) { echo'<li data-value="'.seo($row['category_s_name']).'/'.seo($sub_row['category_s_name']).'" data-name="'.custom_echo($sub_row['category_name'],20).'" >'.$sub_row['category_name'].'</li>'; } echo'</ul>'; } echo'</div>'; } echo'</div> </div>'; $no_category = ""; } else { $no_category = "on"; } echo'<div class="box-search">'; if ($no_category != "on") { echo'<input style="border-radius: 30px;padding-left: 25px;" type="text" value="'.$search.'" name="search" placeholder="Ne Arıyorsunuz?">'; } else { echo'<input type="text" value="'.$search.'" name="search" placeholder="Ne Arıyorsunuz?" style=" border-radius: 30px;">'; } echo'<span class="btn-search"> <button type="submit" class="waves-effect" style="border-radius: 30px; "><img src="images/icons/search.png" alt="" style="padding-bottom: 10px;"></button> </span> <div class="search-suggestions"> <div class="box-suggestions" style="height:541px;"> <div class="title"> Arama Önerileri </div> <ul> '; $item = $db->prepare("SELECT * FROM itemsy order by RAND() LIMIT 6"); $item->execute(); if($item->rowCount()) { foreach ($item as $row) { $new_price = number_format($row['new_price'],2,',','.'); $old_price = number_format($row['old_price'],2,',','.'); if (strlen($row['title']) > 33) { $title = substr($row['title'], 0, 33).'<a>...</a>'; } else { $title = $row['title']; } $kat = $db->prepare("SELECT * FROM category where id=? "); $kat-> execute(array($row['category'])); $kat= $kat->fetch(PDO::FETCH_OBJ); $anakat = $db->prepare("SELECT * FROM category where id=? "); $anakat-> execute(array($kat->parent)); $anakat= $anakat->fetch(PDO::FETCH_ASSOC); $gallery = $db -> query("SELECT * FROM gallery WHERE `item_id` = '{$row['id']}' ORDER BY rand()")->fetch(); $url= seo($anakat['category_name']) . '/'. seo($kat->category_name) . '/' . seo($row['title'] . "-e" . $row['id']); $category = $kat->category_name; $gallery = $db->prepare("SELECT * FROM gallery WHERE `item_id` = '{$row['id']}' ORDER BY que"); $gallery->execute(); foreach ($gallery as $gallery){} echo ' <li> <div class="image"> <img src="'.$row["foto_url"].'" alt=""> </div> <div class="info-product"> <div class="name"> <a href="' . $url . '" title="">'.$title.'</a> </div> <div class="price"> '; if ($new_price != "") { echo ' <span class="sale"> ' . $new_price . ' TL </span> '; } else { echo ' <span class="sale" style="margin-top:14px;display:block;"> ' . $old_price . ' TL </span> '; } echo ' </div> </div> </li> '; } } echo ' </ul> </div>'; echo'<div class="box-cat">'; $category = $db->prepare("SELECT * FROM category WHERE parent = '0'"); $category->execute(); if($category->rowCount()) { echo'<div class="cat-list-search"> <div class="title"> Kategoriler </div> <ul>'; foreach ($category as $c_row) { echo'<li> <a href="'.seo($c_row['category_name']).'">'.$c_row['category_name'].'</a> </li>'; } echo'</ul>'; echo'</div>'; } echo'</div>'; echo'</div> </div> </form> </div> </div> <div class="col-md-2"> <div class="box-cart"> <!-- <div class="inner-box zara-istek"> <div class="icon-container"> <img class="icon navigation-icon-basket" src="images/icons/favori.svg" alt=""> </div> </div> <div class="inner-box zara-sepet"> <div class="icon-container"> <img class="icon navigation-icon-basket" src="images/icons/sepet.svg" alt=""> </div> </div> --> '; if(!isset($_SESSION['session'])) { $hesabimurl = "my-account"; } else { $hesabimurl = "hesabim"; } echo ' <div class="inner-box"> <ul class="menu-compare-wishlist"> <li class="compare"> <a href="'.$hesabimurl.'" title=""> <img src="images/icons/hesabim.png" alt=""> </a> </li> </ul> </div> <div class="inner-box yes_cart_empty"> <a href="javascript:void(0);"> <div class="icon-cart"> <img src="images/icons/cart.png" alt=""> <div class="suc_count_pi"></div> </div> </a> <div class="dropdown-box"> <ul class="yes_cart"> </ul> <div class="suc_count"> </div> <hr> <div class="btn-cart"> <a href="shop-cart" class="view-cart" title="">Sepeti Görüntüle</a> <a href="shop-checkout" class="check-out" title="">Öde</a> </div> </div> </div> <div class="inner-box no_cart_empty"> <a href="javascript:void(0);"> <div class="icon-cart"> <img src="images/icons/cart.png" alt=""> </div> </a> <div class="dropdown-box"> <p style="float: left;">Sepetinizde ürün bulunmamaktadır!</p> </div> </div> </div> </div> </div> </div> </div> <div class="header-bottom"> <div class="container"> <div class="row"> <div class="col-md-3 col-2 zara-menu">'; $category = $db->prepare("SELECT * FROM category WHERE parent = 0 && id!=0 && ust_menu=1"); $category->execute(); if($category->rowCount()) { echo'<div id="mega-menu"> <div class="btn-mega"><span></span>TÜM KATEGORİLER</div> <div class="zara-karanlik-arkaplan"></div> <div class="col-md-4 zara-search-menu"> <ul class="flat-support"> <li> <a href="faq.html" style="border-right:none;"><img src="images/icons/siparislerim.svg" alt="">Siparişlerim</a> </li> <li> <a href="store-location.html" title=""><img src="images/icons/hesabim.svg" alt="">Hesabım</a> </li> <li> <a href="order-tracking.html" title="">Giriş</a> </li> </ul> </div> <ul class="menu" style="height: auto!important;">'; foreach($category as $row) { if(!empty($row['category_name'])){ $katname=$row['category_name']; echo'<li> <a href="'.seo($row['category_s_name']).'" title="" class="dropdown"> <span class="menu-img"> <img src="'.$row['category_icon'].'" alt=""> </span> <span class="menu-title"> '.$katname.' </span> </a>'; $sub_category = $db->prepare("SELECT * FROM category WHERE ust_menu=1 && parent = '".$row['id']."' order by category_background_image desc limit 5"); $sub_category->execute(); if($sub_category->rowCount()) { if (!empty($row['category_background_image'])) { echo'<div style="background: url('.$row['category_background_image'].') no-repeat white;background-position-x: 100%;background-position-y: 100%;display: block;height: 120%;" class="drop-menu">'; } else { echo'<div class="drop-menu" style="height: 120%;">'; } foreach($sub_category as $sub_row) { echo'<div class="one-third"> <div class="cat-title" style=" text-align-last: center;"> <a style="color: #333;" href="'.seo($row['category_s_name']).'/'.seo($sub_row['category_s_name']).'"> </a> <a style="color: #333;" href="'.seo($row['category_s_name']).'/'.seo($sub_row['category_s_name']).'">'.$sub_row['category_name'].'</a> <a href="'.seo($row['category_s_name']).'/'.seo($sub_row['category_s_name']).'" data-bind="attr: {href: link, \'data-id\' : $data.id, \'data-sortid\' : $data.sortId, \'data-path\': $data.name ,\'data-name\': \'menu/\'}" class="banner" data-id="198880" data-sortid="3" data-path="giyim_ayakkabi" data-name="menu/"> </a> </div>'; /*<img data-bind="attr: {src: mediaPath}" src="'.$sub_row['category_background_image'].'">*/ $multi_sub_category = $db->prepare("SELECT * FROM category WHERE parent = '".$sub_row['id']."' LIMIT 4"); $multi_sub_category->execute(); $multi_sub_category_count = $db->prepare("SELECT * FROM category WHERE parent = '".$sub_row['id']."' "); $multi_sub_category_count->execute(); if($multi_sub_category->rowCount()) { echo'<ul style="margin-left: -10px;">'; foreach($multi_sub_category as $mult_sub_row) { echo'<li> <a style="color:#484848;" href="'.seo($sub_row['category_s_name']).'/'.seo($mult_sub_row['category_name']).'" title="">'.$mult_sub_row['category_name'].'</a> </li>'; } echo'</ul>'; } if($multi_sub_category_count->rowCount() > 4) { echo '<div class="show"> <a style="color: #e31e24;" href="' . seo($row['category_s_name']) . '/' . seo($sub_row['category_s_name']) . '" title="">Tümünü Göster</a> </div> '; } echo ' </div>'; } $sub_category_count = $db->prepare("SELECT * FROM category WHERE parent = '".$row['id']."'"); $sub_category_count->execute(); if($sub_category_count->rowCount() > 5) { echo ' <div class="one-third"> <div class="cat-title" style=" padding-top: 0%; text-align-last: center;"> <a style="color: #333;" href="armatur/aritmali-evye-bataryasi"> </a> <a style="" href="'.seo($row['category_s_name']).'">TÜMÜNÜ GÖR</a> </div> </div> '; } echo'</div>'; } echo'</li>'; } } echo'</ul> </div>'; } echo'</div> <div class="col-md-9 col-10"> <div class="nav-wrap"> <div id="mainnav" class="mainnav" style=" padding-left: 100px;"> <ul class="menu">'; $sayfalar = $db->prepare("SELECT * FROM sayfalar where status=1"); $sayfalar->execute(); if($sayfalar->rowCount()) { foreach ($sayfalar as $sayfa) { echo ' <li class="column-1"> <a href="sayfa/'.$sayfa["seolink"].'">'.$sayfa["baslik"].'</a> </li> '; } } echo ' </ul><!-- /.menu --> </div><!-- /.mainnav --> </div><!-- /.nav-wrap --> <div class="today-deal"> <a href="takip" title="">SİPARİŞ TAKİBİ</a> </div><!-- /.today-deal --> <div class="btn-menu"> <span></span> </div><!-- //mobile menu button --> </div><!-- /.col-md-9 --> </div><!-- /.row --> </div><!-- /.container --> </div><!-- /.header-bottom --> </section><!-- /#header --> <a href="'.$banners["home_menu_alt"]['link'].'"> <img class="divider35" src="'.$banners["home_menu_alt"]['resim'].'"/> </a> <img class="divider35 mobile" src="https://images.hepsiburada.net/assets/storefront/banners/19-07-2019_1563456392507_1.png" style="display:none;"/> ';
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula