📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
b2be-ticaretscripti.demodesign.com.tr
/
b2b
📝
temaheader.php
← Geri Dön
<?php define("guvenlik",true);?> <!-- Favicon --> <link rel="apple-touch-icon" sizes="180x180" href="resimler/siteayarlari/<?php echo $ayar['favicon']; ?>"> <link rel="icon" type="image/png" sizes="32x32" href="resimler/siteayarlari/<?php echo $ayar['favicon']; ?>"> <link rel="icon" type="image/png" sizes="16x16" href="resimler/siteayarlari/<?php echo $ayar['favicon']; ?>"> <link rel="mask-icon" href="resimler/siteayarlari/<?php echo $ayar['favicon']; ?>" color="#666666"> <link rel="shortcut icon" href="resimler/siteayarlari/<?php echo $ayar['favicon']; ?>"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"> <!-- Material Design Iconic Font-V2.2.0 --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/material-design-iconic-font.min.css"> <!-- Font Awesome --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/font-awesome.min.css"> <!-- Font Awesome Stars--> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/fontawesome-stars.css"> <!-- Meanmenu CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/meanmenu.css"> <!-- owl carousel CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/owl.carousel.min.css"> <!-- Slick Carousel CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/slick.css"> <!-- Animate CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/animate.css"> <!-- Jquery-ui CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/jquery-ui.min.css"> <!-- Venobox CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/venobox.css"> <!-- Nice Select CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/nice-select.css"> <!-- Magnific Popup CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/magnific-popup.css"> <!-- Bootstrap V5.1.0 Fremwork CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/bootstrap.min.css"> <!-- Helper CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/helper.css"> <!-- Main Style CSS --> <?php include("style.php");?> <!-- Responsive CSS --> <link rel="stylesheet" href="<?php echo $sitetemasi;?>/css/responsive.css"> <!-- Modernizr js --> <script src="<?php echo $sitetemasi;?>/js/vendor/modernizr-3.11.2.min.js"></script> </head> <body> <div <?php echo $tema['t13'] == '0' ? 'style="display:none;"' : null; ?>> <a href="<?php echo $tema['t13']; ?>"><img style="width: 100%;" src="resimler/temaayarlari/<?php echo $tema['t12']; ?>" alt="banner"></img></a> </div> <!-- Begin Body Wrapper --> <div class="body-wrapper"> <!-- Begin Header Area --> <header> <!-- Begin Header Top Area --> <div class="header-top"> <div class="container"> <div class="row"> <!-- Begin Header Top Left Area --> <div class="col-lg-3 col-md-3"> <div class="header-top-left"> <ul class="phone-wrap"> <?php if($system['dil']=='1'){?> <script type="text/javascript"> jQuery('.switcher .selected').click(function() {if(!(jQuery('.switcher .option').is(':visible'))) {jQuery('.switcher .option').stop(true,true).delay(100).slideDown(500);jQuery('.switcher .selected a').toggleClass('open')}}); jQuery('.switcher .option').bind('mousewheel', function(e) {var options = jQuery('.switcher .option');if(options.is(':visible'))options.scrollTop(options.scrollTop() - e.originalEvent.wheelDelta);return false;}); jQuery('body').not('.switcher').mousedown(function(e) {if(jQuery('.switcher .option').is(':visible') && e.target != jQuery('.switcher .option').get(0)) {jQuery('.switcher .option').stop(true,true).delay(100).slideUp(500);jQuery('.switcher .selected a').toggleClass('open')}}); </script> <li style="display:none" id="google_translate_element2"></li> <script type="text/javascript"> function googleTranslateElementInit2() {new google.translate.TranslateElement({pageLanguage: 'tr',autoDisplay: false}, 'google_translate_element2');} </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit2"></script> <script type="text/javascript"> function GTranslateGetCurrentLang() {var keyValue = document.cookie.match('(^|;) ?googtrans=([^;]*)(;|$)');return keyValue ? keyValue[2].split('/')[2] : null;} function GTranslateFireEvent(element,event){try{if(document.createEventObject){var evt=document.createEventObject();element.fireEvent('on'+event,evt)}else{var evt=document.createEvent('HTMLEvents');evt.initEvent(event,true,true);element.dispatchEvent(evt)}}catch(e){}} function doGTranslate(lang_pair){if(lang_pair.value)lang_pair=lang_pair.value;if(lang_pair=='')return;var lang=lang_pair.split('|')[1];if(GTranslateGetCurrentLang() == null && lang == lang_pair.split('|')[0])return;var teCombo;var sel=document.getElementsByTagName('select');for(var i=0;i<sel.length;i++)if(sel[i].className=='goog-te-combo')teCombo=sel[i];if(document.getElementById('google_translate_element2')==null||document.getElementById('google_translate_element2').innerHTML.length==0||teCombo.length==0||teCombo.innerHTML.length==0){setTimeout(function(){doGTranslate(lang_pair)},500)}else{teCombo.value=lang;GTranslateFireEvent(teCombo,'change');GTranslateFireEvent(teCombo,'change')}} if(GTranslateGetCurrentLang() != null)jQuery(document).ready(function() {jQuery('div.switcher div.selected a').html(jQuery('div.switcher div.option').find('img[alt="'+GTranslateGetCurrentLang()+'"]').parent().html());}); </script> <style> #goog-gt-tt {display:none !important;} .goog-te-banner-frame {display:none !important;} .goog-te-menu-value:hover {text-decoration:none !important;} body {top:0 !important;} #google_translate_element2 {display:none!important;} </style> <?php $anadil = $ozy->query("select * from etiketler where durum='1' and anadil='1'")->fetch(PDO::FETCH_ASSOC);?> <?php $etikets = $ozy->query("select * from etiketler order by sira asc")->fetchAll(PDO::FETCH_ASSOC); foreach($etikets as $etiket){?> <a href="#" onclick="doGTranslate('tr|<?php echo $etiket['link'];?>');jQuery('div.switcher div.selected a').html(jQuery(this).html());return false;"title="<?php echo $etiket['adi'];?>" class="nturl"> <img src="resimler/etiketler/<?php echo $etiket['resim'];?>" height="18" width="22" alt="<?php echo $etiket['adi'];?>" /></a> <?php } ?> <?php } else { ?> <li><span>Telefon :</span><a href="tel:<?php echo $ayar['tel'];?>"> <?php echo $ayar['tel'];?></a></li> <?php } ?> </ul> </div> </div> <!-- Header Top Left Area End Here --> <!-- Begin Header Top Right Area --> <div class="col-lg-9 col-md-9"> <div class="header-top-right"> <ul class="ht-menu"> <!-- Begin Setting Area --> <!-- Setting Area End Here --> <!-- Begin Currency Area --> <li> <a href="bankabilgilerimiz/"><span>Banka Hesaplarımız</span></a> </li> <li> <a href="iletisim/"><span>Bize Ulaşın</span></a> </li> <li> <span class="currency-selector-wrapper">Para Birimi :</span> <div class="ht-currency-trigger"> <form action="" method="GET"> <select class="form-control" style="font-size: 11px;height: 30px;" name="para" onchange='this.form.submit()'> <option <?php echo $para == 'TL' ? 'selected' : null; ?> value="TL">Türk Lirası (TL)</option> <option <?php echo $para == 'USD' ? 'selected' : null; ?> value="USD">Dolar ($)</option> <option <?php echo $para == 'EUR' ? 'selected' : null; ?> value="EUR">Euro (€)</option> </select> </form> </div> </li> </ul> </div> </div> <!-- Header Top Right Area End Here --> </div> </div> </div> <!-- Header Top Area End Here --> <!-- Begin Header Middle Area --> <div class="header-middle pl-sm-0 pr-sm-0 pl-xs-0 pr-xs-0"> <div class="container"> <div class="row"> <!-- Begin Header Logo Area --> <div class="col-lg-3"> <div class="logo pb-sm-30 pb-xs-30"> <a href="<?php echo $url;?>"> <img style="margin-top: -15px;width: 220px;" src="resimler/siteayarlari/<?php echo $ayar['logo'];?>" alt=""> </a> </div> </div> <!-- Header Logo Area End Here --> <!-- Begin Header Middle Right Area --> <div class="col-lg-9 pl-0 ml-sm-15 ml-xs-15"> <!-- Begin Header Middle Searchbox Area --> <form id="urun_arama_form" method="POST" action="arama/" class="hm-searchbox"> <input id="urun_arama" type="text"name="arama" value="" placeholder="Ürün Ara..." required> <button class="li-btn" type="submit"><i class="fa fa-search"></i></button> </form> <div class="urunlerimiz" id="urunler_listesi"> </div> <style> .urunlerimiz{ width: 520px; position: absolute; z-index: 999999999; background: #fff; padding: 2px; top: 5%; } @media screen and (max-device-width: 480px) and (orientation: portrait){ .urunlerimiz { width: 94% !important; position: absolute; z-index: 999999999; background: #fff; padding: 2px; top: 265px !important; } } </style> <script src="<?php echo $sitetemasi;?>/jquery-3.5.1.min.js"></script> <script src="<?php echo $sitetemasi;?>/bootstrap.min.js"></script> <script> $(document).ready(function() { $("#urun_arama").keyup(function() { var arananKelime = $(this).val().toLowerCase(); if (arananKelime === '') { $("#urunler_listesi").html(''); } else { $.ajax({ url: "urunler_api.php", type: "POST", data: { arama: arananKelime }, success: function(sonuc) { $("#urunler_listesi").html(sonuc); } }); } }); // Sepete ekle $(document).on("click", ".sepete_ekle", function(e) { e.preventDefault(); // Prevent the default form submission var adi = $(this).data("urun-adi"); var adet = $(this).closest(".urun").find(".adet").val(); var urunid = $(this).data("urun-id"); var bayino = "<?php echo $uyeid; ?>"; $.ajax({ url: "sepete_ekle.php", type: "POST", data: { adi: adi, adet: adet, urunid: urunid, bayino: bayino }, success: function(response) { // Sepet güncellendikten sonra sepeti göstermek için bir AJAX isteği daha yapılıyor alert(adi + " ürünü sepete eklendi 😉"); $("#urun_arama").val(''); // Arama kutusunu temizler $("#urunler_listesi").html(''); // Ürün listesini temizler location.reload(true); // You don't need to reload the entire page or submit the form here } }); }); }); </script> <!-- Header Middle Searchbox Area End Here --> <!-- Begin Header Middle Right Area --> <div class="header-middle-right"> <ul class="hm-menu"> <!-- Begin Header Middle Wishlist Area --> <?php if ($_SESSION['uyegirisdurumu'] == 'true') { ?> <li class="hm-wishlist"> <a href="hesabim/"> <span class="cart-item-count wishlist-item-count">Hesabım</span> <i class="fa fa-user-o"></i> </a> </li> <?php }else{ ?> <li class="hm-wishlist"> <a href="uyeol/"> <span class="cart-item-count wishlist-item-count">Bayilik</span> <i class="fa fa-user-o"></i> </a> </li> <?php } ?> <!-- Header Middle Wishlist Area End Here --> <!-- Begin Header Mini Cart Area --> <li class="hm-minicart"> <div class="hm-minicart-trigger"> <span class="item-icon"></span> <span class="item-text"><?php echo sfiyatgoster($sepetbedeli);?> <span class="cart-item-count"><?php echo $sepetsayi;?></span> </span> </div> <span></span> <div class="minicart"> <ul class="minicart-product-list"> <?php if($sepetsayi>='1'){?> <?php $sepetebak = $ozy->prepare("SELECT * FROM sepet WHERE kim=? and gelenkim=?"); $sepetebak->execute(array($ip,$sepetimdekikim)); if ($sepetebak->rowCount()) { $uyesepeti = $ozy->prepare("SELECT * FROM urunler INNER JOIN sepet ON urunler.id = sepet.urunid WHERE sepet.kim=? and sepet.gelenkim=? ORDER BY sepet.id DESC"); $uyesepeti->execute(array($ip,$sepetimdekikim)); foreach ($uyesepeti as $sepet) {?> <li> <a href="urun/<?php echo $sepet['seo'];?>" class="minicart-product-image"> <img src="resimler/urunler/<?php echo $sepet['resim'];?>" alt="cart products"> </a> <div class="minicart-product-details"> <h6><a href="urun/<?php echo $sepet['seo'];?>"><?php echo $sepet['adi'];?></a></h6> <span><?php echo sfiyatgoster($sepet['fiyat']);?> x <?php echo $sepet['adet'];?></span> </div> <form action="" method="POST"> <input type="hidden" name="sepetid" value="<?php echo $sepet['id']; ?>"/> <button name="delete" type="submit" title="Kaldır" class="close"> <i class="fa fa-close"></i></button> </form> </li> <?php }} ?> <?php }else{ ?> <li> <p class="text-center cart-empty">Alışveriş sepetiniz boş!</p> </li> <?php } ?> </ul> <div class="minicart-button"> <a href="<?php echo $url;?>" class="li-button li-button-fullwidth li-button-dark"> <span>Alışverişe Devam</span> </a> <?php if($_SESSION['uyegirisdurumu'] == 'true' or $adminyetki == '1'){?> <a href="sepet/" class="li-button li-button-fullwidth"> <span>Sepete Git</span> </a> <?php } else { ?> <a href="uyeol/" class="li-button li-button-fullwidth"> <span>Sepete Git</span> </a> <?php } ?> </div> </div> </li> <!-- Header Mini Cart Area End Here --> </ul> </div> <!-- Header Middle Right Area End Here --> </div> <!-- Header Middle Right Area End Here --> </div> </div> </div> <!-- Header Middle Area End Here --> <!-- Begin Header Bottom Area --> <div class="header-bottom header-sticky d-none d-lg-block d-xl-block"> <div class="container"> <div class="row"> <div class="col-lg-12"> <!-- Begin Header Bottom Menu Area --> <div class="hb-menu"> <nav> <ul> <?php $ustkattt = $ozy->query("select * from kategoriler where durum='1' and ustkat='0' order by sira desc")->fetchAll(PDO::FETCH_ASSOC); foreach($ustkattt as $katadi){?> <?php if($katadi['ac']=='1'){?> <li class="megamenu-holder"><a href="kategori/<?php echo $katadi['seo']; ?>"><?php echo $katadi['adi']; ?></a> <ul class="megamenu hb-megamenu"> <?php $ustkatid = $katadi['id']; $ustkattta = $ozy->query("select * from kategoriler where durum='1' and ustkat='$ustkatid' order by sira desc")->fetchAll(PDO::FETCH_ASSOC); foreach($ustkattta as $katadi2){?> <li><a href="kategori/<?php echo $katadi2['seo']; ?>"><?php echo $katadi2['adi']; ?></a> <ul> <?php $ustkatid2= $katadi2['id']; $ustkatttaz = $ozy->query("select * from kategoriler where durum='1' and ustkat='$ustkatid2' order by sira desc")->fetchAll(PDO::FETCH_ASSOC); foreach($ustkatttaz as $katadi22){?> <li><a href="kategori/<?php echo $katadi22['seo']; ?>"><?php echo $katadi22['adi']; ?></a></li> <?php } ?> </ul> </li> <?php } ?> </ul> </li> <?php } else { ?> <li><a href="kategori/<?php echo $katadi['seo']; ?>"><?php echo $katadi['adi']; ?></a></li> <?php }} ?> </ul> </nav> </div> <!-- Header Bottom Menu Area End Here --> </div> </div> </div> </div> <!-- Header Bottom Area End Here --> <!-- Begin Mobile Menu Area --> <div class="mobile-menu-area d-lg-none d-xl-none col-12"> <div class="container"> <div class="row"> <div class="mobile-menu"> </div> </div> </div> </div> <!-- Mobile Menu Area End Here --> </header> <!-- Header Area End Here --> <!-- Begin Slider With Banner Area -->
💾 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