📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv10.demodesign.com.tr
/
includes
/
template
/
header_items
📝
mobile_menu.php
← Geri Dön
<?php echo !defined("GUVENLIK") ? die("Vaoww! Bu ne cesaret?") : null;?> <?php $mobilHeaderAyar = $db->prepare("select bar_area,ara,ara_home,cagri_text,sabit,uye_giris,sepet,favori from mobiltema where id=:id "); $mobilHeaderAyar->execute(array( 'id' => '1' )); $mobilhead = $mobilHeaderAyar->fetch(PDO::FETCH_ASSOC); ?> <!-- HTML Modül !--><?php if($tophtmlRow['durum'] == '1' && $tophtmlRow['mobil'] == '1'&& $tophtmlRow['icerik'] == !null ) {?> <div class="topheader-html-main" id="headerBarMobile"> <div class="topheader-html-main-in" ><?php $content = $tophtmlRow['icerik'];$eski = "../i/";$yeni = "i/";$content = str_replace($eski, $yeni, $content); ?> <?=$content?><div class="topheader-html-close" href="javascript:void(0)" onclick="Hide2(headerBarMobile);" ><i class="fa fa-times"></i></div></div> </div> <?php }?> <!-- <========SON=========>>> HTML Modül SON !--><?php if($head['topheader'] == '1' ) {$topheaderAktif = '1'; ?><!-- Top Header !--><?php $mobilTopHeader = $db->prepare("select url,ikon,spot,yeni_sekme,baslik from headertop_menu where durum=:durum and dil=:dil and mobil=:mobil order by sira asc ");$mobilTopHeader->execute(array('durum' => '1', 'dil' => $_SESSION['dil'], 'mobil' => '1')); ?><div class="mobile-top-header-main"><div class="mobile-top-header-links-area"><div class="swiper-top-header" ><div class="swiper-wrapper" ><?php foreach ($mobilTopHeader as $mobilTopRow) {?><li class="swiper-slide" ><a <?php if($mobilTopRow['url'] == !null ) {?>href="<?=$mobilTopRow['url']?>"<?php }else{?>href="javascript:void(0)"<?php } ?> title="<?=$mobilTopRow['spot']?>" <?php if($mobilTopRow['yeni_sekme'] == '1' && $mobilTopRow['url'] == !null ) { ?>target="_blank" <?php }?>><?php if($mobilTopRow['ikon'] == !null ) {?><i class="<?=$mobilTopRow['ikon']?>"></i><?php }?> <?=$mobilTopRow['baslik']?></a></li><?php }?></div></div></div><div class="mobil-top-header-lang-currency"><?php if($head['topheader_kur'] == '1' ) {$MevcutKurcek = $db->prepare("select * from para_birimleri where kod=:kod and durum=:durum");$MevcutKurcek->execute(array('kod' => $_SESSION['current_kur'], 'durum' => '1'));$secilikur = $MevcutKurcek->fetch(PDO::FETCH_ASSOC); ?><div class="mobil-top-header-currency"><a href="#" class="mobil-header-select-area" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?=$_SESSION['current_kur'] ?> <?=$secilikur['sol_simge']?><i class="ion-arrow-down-b"></i></a><div class="dropdown-menu dropdown-menu-right currency-drop"><?php foreach ($kurSiralaMobil as $kurlar) {?><a href="" class="currency-change" data-code="<?php echo $kurlar['kod'] ?>" <?php if($secilikur['id'] == $kurlar['id']) { ?>style="font-weight: bold!important;"<?php }?>><?php echo $kurlar['sol_simge'] ?> <?php echo $kurlar['baslik'] ?></a><?php } ?></div></div><?php }?> <?php if($head['topheader_dil'] == '1' ) {$flagsecim = $db->prepare("select * from dil where kisa_ad='$_SESSION[dil]'");$flagsecim->execute();$fl = $flagsecim->fetch(PDO::FETCH_ASSOC);$headerLanguage = $db->prepare("select * from dil where durum=:durum order by sira asc");$headerLanguage->execute(array('durum' => '1')); ?><div class="mobil-top-header-lang"><a href="#" class="mobil-header-select-area" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><div class="flag-icon-<?php echo $fl['flag'] ?>" style="width:16px; height:12px; margin-right: 5px; "></div><?php echo $fl['baslik'] ?><i class="ion-arrow-down-b"></i></a><div class="dropdown-menu dropdown-menu-right currency-drop"><?php foreach ($headerLanguage as $headLang) {?><a href="#" class="language-change" data-code="<?=$headLang['kisa_ad']?>" <?php if($headLang['kisa_ad'] == $_SESSION['dil'] ) { ?>style="font-weight: bold!important;"<?php }?>><div class="flag-icon-<?php echo $headLang['flag'] ?>" style="width:18px; height:13px; margin-right: 8px; "></div><?php echo $headLang['baslik'] ?></a><?php } ?></div></div><?php }?></div></div><!-- <========SON=========>>> Top Header SON !--><?php } ?><div class="mobile-header-main-area "><div class="mobile-header-main-ust"><div class="d-flex align-items-center justify-content-start"><?php if($mobilhead['bar_area'] == '1' ) {?><div class="mobile-header-bars bars-left-area"><label for="mobile_side"><i class="ion-navicon-round"></i></label></div><?php }?><div class="mobile-header-logo"><a href="<?=$ayar['site_url']?>"><img src="images/logo/<?=$head['header_mobil_logo']?>" alt="<?=$ayar['site_baslik']?>"></a></div><div class="mobile-header-logo-tablet-pro"><a href="<?=$ayar['site_url']?>"><img src="images/logo/<?=$head['header_logo']?>" alt="<?=$ayar['site_baslik']?>"></a></div></div><div class="mobile-header-ust-right"><?php if($head['search_tip'] == '2' && $head['header_search'] == '1' && $mobilhead['ara_home'] == '1' ) {?><div class="mobile-header-icons" id="search-tip2-button"><i class="las la-search"></i></div><?php }?> <?php if ($head['header_bell'] == '1' && $bildirimayar['durum'] == '1') { ?><?php if($bildirimayar['tur'] == '0' ) {?><a class="mobile-header-icons" href="bildirimler/"><?php if($bellCountTotal + $bellCountTotalUser + $bellCountTotalUserID >'0' ) {?><div class="header-desktop-navbutton-box-count <?= $head['count_bg'] ?>"><?= $bellCountTotal + $bellCountTotalUser + $bellCountTotalUserID ?></div><?php }?><i class="las la-bell"></i></a><?php }?><?php if($bildirimayar['tur'] == '1' && $userSorgusu->rowCount() > '0' ) {?><a class="mobile-header-icons" href="bildirimler/"><?php if($bellCountTotal + $bellCountTotalUser + $bellCountTotalUserID >'0' ) {?><div class="header-desktop-navbutton-box-count <?= $head['count_bg'] ?>"><?= $bellCountTotal + $bellCountTotalUser + $bellCountTotalUserID ?></div><?php }?><i class="las la-bell"></i></a><?php }?><?php } ?> <?php if ($head['header_login'] == '1' && $uyeayar['durum'] == '1') { ?><?php if ($userSorgusu->rowCount() > '0') { ?><a class="mobile-header-icons" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="las la-user-check"></i></a ><div class="dropdown-menu dropdown-menu-right user-drop"><div class="dropdown-user-area"><div class="dropdown-userarea-header"><?= $diller['header-text6'] ?></div><div class="dropdown-user-area-link-area" style="margin-top: 0; border-top: 0;"><?php if ($head['login_dropdown_account'] == '1') { ?><a href="hesabim/ayarlar/"><i class="fa fa-user-o"></i> <?= $diller['header-text13'] ?></a><?php } ?> <?php if ($head['login_dropdown_order'] == '1' && $uyeayar['siparisler_alani'] == '1') { ?><a href="hesabim/siparisler/"><i class="ion-bag"></i> <?= $diller['header-text14'] ?></a><?php } ?> <?php if ($head['login_dropdown_address'] == '1' && $uyeayar['adres_alani'] == '1') { ?><a href="hesabim/adresler/"><i class="ion-ios-location" style="margin-right: 12px;"></i> <?= $diller['header-text15'] ?></a><?php } ?> <?php if ( $odemeayar['sepet_kupon'] == '1' && $head['login_dropdown_coupon'] == '1' && $uyeayar['kupon_alani'] == '1') { ?><a href="hesabim/kuponlar/"><i class="ion-ios-pricetags" style="margin-right: 12px;"></i> <?= $diller['header-text23'] ?></a><?php } ?> <?php if ($head['login_dropdown_comments'] == '1' && $uyeayar['yorumlar_alani'] == '1') { ?><a href="hesabim/yorumlar/"><i class="fa fa-star-half-o"></i> <?= $diller['header-text17'] ?></a><?php } ?> <?php if ($head['login_dropdown_support'] == '1' && $uyeayar['destek_alani'] == '1') { ?><?php if($userCek['destek'] == '1' ||$userCek['destek'] == '2' ) {?><a href="hesabim/destek/"><i class="fa fa-ticket"></i> <?= $diller['header-text16'] ?></a><?php } ?><?php } ?> <?php if ($head['login_dropdown_compare'] == '1' && $odemeayar['urun_karsilastirma'] == '1') { ?><a href="karsilastirmalar/"><i class="fa fa-random"></i> <?= $diller['header-text11'] ?> <strong><?php if (isset($_SESSION['compare_product'])) { ?>(<?= count($_SESSION['compare_product']) ?>)<?php } ?></strong></a><?php } ?> <?php if ($head['login_dropdown_fav'] == '1' && $uyeayar['favori_alani'] == '1') { ?><a href="hesabim/favoriler/"><i class="fa fa-heart-o"></i> <?= $diller['header-text8'] ?></a><?php } ?> <?php if ($head['login_dropdown_bell'] == '1' && $bildirimayar['durum'] == '1') { ?><a href="bildirimler/"><i class="fa fa-bell-o"></i> <?= $diller['header-text1'] ?> <strong>(<?= $bellCountTotal + $bellCountTotalUser + $bellCountTotalUserID ?>)</strong></a><?php } ?><a href="logout/"><i class="fa fa-sign-out"></i> <?= $diller['header-text12'] ?></a></div></div></div><?php } else { ?><?php if($userSorgusuOnaysiz->rowCount()<='0') {?><a class="mobile-header-icons" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="las la-user"></i></a ><div class="dropdown-menu dropdown-menu-right user-drop"><div class="dropdown-user-area"><div class="dropdown-user-area-header"><a href="uye-girisi/" class="button-blue" style="<?php if ($head['dropdown_radius'] == '1') { ?>border-radius:4px;<?php } ?>"><?= $diller['header-uyelik-yazisi'] ?></a><?php if($uyeayar['yeni_uyelik'] == '1' ) {?><div class="dropdown-user-area-lineText"><div class="dropdown-user-area-lineText-in"><?= $diller['header-text10'] ?></div></div><a href="uyelik/" class="button-green" style="<?php if ($head['dropdown_radius'] == '1') { ?>border-radius:4px;<?php } ?>"><?= $diller['header-hemen-uye-ol'] ?></a><?php }?></div><?php if ($head['dropdown_compare'] == '1' || $head['dropdown_fav'] == '1' || $head['dropdown_bell'] == '1') { ?><div class="dropdown-user-area-link-area"><?php if ($head['dropdown_compare'] == '1' && $odemeayar['urun_karsilastirma'] == '1') { ?><a href="karsilastirmalar/"><i class="fa fa-random"></i> <?= $diller['header-text11'] ?> <strong><?php if (isset($_SESSION['compare_product'])) { ?>(<?= count($_SESSION['compare_product']) ?>)<?php } ?></strong></a><?php } ?> <?php if ($head['dropdown_fav'] == '1' && $uyeayar['favori_alani'] == '1') { ?><a href="hesabim/favoriler/"><i class="fa fa-heart"></i> <?= $diller['header-text8'] ?></a><?php } ?> <?php if ($head['dropdown_bell'] == '1' && $bildirimayar['durum'] == '1') { ?><?php if ($bildirimayar['tur'] == '0') { ?><a href="bildirimler/"><i class="las la-bell"></i> <?= $diller['header-text1'] ?> <strong>(<?= $bellCountTotal + $bellCountTotalUser + $bellCountTotalUserID ?>)</strong></a><?php } ?><?php } ?></div><?php } ?></div></div><?php }else { ?><a class="mobile-header-icons" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="las la-user"></i></a ><div class="dropdown-menu dropdown-menu-right user-drop"><div class="dropdown-user-area"><div class="dropdown-userarea-header p-2 mb-2" style="border: 1px solid #FFAEBE; background: #F9E5D9;"><div><?=$diller['alert-warning-2'] ?><div class="mt-2" style="font-size: 12px ; font-weight: 300;"><?=$diller['users-text14-onaysiz']?></div></div></div><div class="dropdown-user-area-link-area" style="margin-top: 0; border-top: 0;"><a href="logout/"><i class="fa fa-sign-out"></i> <?= $diller['header-text12'] ?></a></div></div></div><?php }?><?php }?><?php } ?> <?php if ($head['header_cart'] == '1' && $odemeayar['sepet_sistemi'] == '1') { ?><a href="sepet/" class="mobile-header-icons"><?php if ($shoppingCartCount > '0') { ?><div class="header-desktop-navbutton-box-count-cart <?= $head['count_bg_2'] ?>"><?= $shoppingCartCount ?></div><?php } ?><i class="las la-shopping-cart"></i></a><?php } ?> <?php if($mobilhead['bar_area'] == '2' ) {?><div class="mobile-header-bars"><label for="mobile_side"><i class="ion-navicon-round"></i></label></div><?php }?></div></div><?php if ($head['search_tip'] == '1' && $head['header_search'] == '1' && $mobilhead['ara_home'] == '1') { ?><div class="mobile-header-main-search"><div class="header-desktop-search1"><form action="arama/" method="get"><input type="hidden" name="s" value="1" ><input type="text" name="q" required placeholder="<?= $diller['header-arama-yazisi'] ?>" autocomplete="off"><button><i class="las la-search"></i></button></form></div></div><?php } ?></div><div class="slide-menu" ><input id="mobile_side" class="mobile_side_toggle" type="checkbox" /><div class="mobile_side_wrap" ><div class="mobile_side_wrap_in"><div class="mobile_side_wrap_in_close"><label for="mobile_side"><i class="las la-times"></i></label></div><div class="mobile_side_content"><?php if($head['header_search'] == '1' && $mobilhead['ara'] == '1' ) {?><form action="arama/" method="get"><div class="mobile_side_wrap_in_search"><input type="hidden" name="s" value="1" ><input type="text" name="q" required placeholder="<?= $diller['header-arama-yazisi'] ?>" autocomplete="off"><button><i class="las la-search"></i></button></div></form><?php }?><div class="mobile_side_wrap_in_categories_main"><?php include 'includes/template/header_items/mobile_menu_items.php'; ?></div></div><div class="mobile_side_wrap_in_footer"><?php if ($head['cagri_merkezi'] == '1' && $head['cagri_no'] == !null) {$cagriTel = $head['cagri_no'];$cagriTel = str_replace(' ', '', $cagriTel); ?><div class="header-desktop-call" style="margin-left: 0;" ><div class="header-desktop-call-i"><i class="las la-headset" style="color:#<?=$mobilhead['cagri_text']?>;"></i></div><div class="header-desktop-call-t"><div class="header-desktop-call-t-1" style="color:#<?=$mobilhead['cagri_text']?>;"><?= $diller['header-iletisim-text'] ?></div><div class="header-desktop-call-t-2" ><a style="color:#<?=$mobilhead['cagri_text']?>;" href="tel:<?= $cagriTel ?>"><?=$head['cagri_no']?></a></div></div></div><?php } ?></div></div></div><label for="mobile_side" class="mobile_side_overlay"></label></div><script> $("#categories-parent-main .parent > a > i").click(function (e) {e.preventDefault();var toClose = $("#categories-parent-main ul").not($(this).parents("ul"));toClose.slideUp();toClose.parent().removeClass("open");if (!$(this).parent().next().is(":visible")) {var toOpen = $(this).parent().next();toOpen.slideDown();toOpen.parent().not(".open").addClass("open");}e.stopPropagation();});</script><?php if($mobilhead['sabit'] == '1' ) {?> <div class="fixed-foot-navigation"> <div class="fixed-foot-navigation-in"><?php if($mobilhead['uye_giris'] == '1' ) {?><?php if($userSorgusu->rowCount()>'0' ) {?><a href="hesabim/ayarlar/" class="fixed-foot-navigation-in-box"><i class="las la-user-check"></i><?=$diller['mobil-fixed-menu-4']?></a><?php }else { ?><a href="uye-girisi/" class="fixed-foot-navigation-in-box"><i class="las la-user"></i><?=$diller['mobil-fixed-menu-1']?></a><?php }?><?php }?> <?php if($mobilhead['favori'] == '1' ) {?><a href="hesabim/favoriler/" class="fixed-foot-navigation-in-box"><i class="lar la-heart"></i><?=$diller['mobil-fixed-menu-2']?></a><?php }?> <?php if($mobilhead['sepet'] == '1' && $head['header_cart'] == '1' && $odemeayar['sepet_sistemi'] == '1' ) {?><a href="sepet/" class="fixed-foot-navigation-in-box"><div class="position-relative"><?php if ($shoppingCartCount > '0') { ?><div class="header-desktop-navbutton-box-count-cart <?= $head['count_bg_2'] ?>" style="left:8px; top:-7px"><?= $shoppingCartCount ?></div><?php } ?><i class="las la-shopping-cart"></i></div><?=$diller['mobil-fixed-menu-3']?></a><?php }?></div> </div> <?php }?>
💾 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