📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
esnafbul.demodesign.com.tr
/
includes
📝
header_yedek.php
← Geri Dön
<?php include 'includes/session.php'; ?> <?php if ($bakim['durum'] == 1 ) { header("Location:$ayar[site_url]bakimdayiz"); } ?> <?php $headerayar=$db->prepare("SELECT * from header_ayar where id='1'"); $headerayar->execute(); $head = $headerayar->fetch(PDO::FETCH_ASSOC); $headerlimit = $head['header_limit']; ?> <?php $sosyalcon=$db->prepare("SELECT * from sosyal order by sira asc"); $sosyalcon->execute(); $sosyalcon2=$db->prepare("SELECT * from sosyal order by sira asc"); $sosyalcon2->execute(); $sosyalmobile=$db->prepare("SELECT * from sosyal order by sira asc"); $sosyalmobile->execute(); ?> <?php $headermainmenu=$db->prepare("SELECT * from header_menu where ust_id='0' and durum='1' and dil='$_SESSION[dil]' order by sira asc limit $headerlimit"); $headermainmenu->execute(); ?> <?php $telmetin = $ayar['site_tel']; $telsonuc = str_replace(' ', '', $telmetin); $gsmmetin = $ayar['site_gsm']; $gsmsonuc = str_replace(' ', '', $gsmmetin); $whtmetin = $ayar['site_whatsapp']; $whtsonuc1 = str_replace('90', '+90 ', $whtmetin); $whtsonuc2 = str_replace(' ', '', $whtmetin); $fixedmenu = $db->prepare("select * from sabit_header where id=:id "); $fixedmenu->execute(array( 'id' => '1', )); $fx = $fixedmenu->fetch(PDO::FETCH_ASSOC); ?> <?php $hashOlusturrandom = rand(0,(int) 9999999999999);?> <!DOCTYPE html> <html lang="<?=$current_lang['kisa_ad']?>"> <head> <meta charset="UTF-8"> <!-- responsive meta --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- For IE --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <base href="<?php echo"$ayar[site_url]"?>"> <!-- Google Fonts --> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Be+Vietnam:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap" rel="stylesheet"> <link rel="stylesheet" href="tema/css/animate.css"> <link rel="stylesheet" href="tema/css/aos.css"> <link rel="stylesheet" href="tema/css/bootstrap.min.css"> <link rel="stylesheet" href="tema/css/bootstrap-select.min.css"> <link rel="stylesheet" href="tema/css/custom-animate.css"> <link rel="stylesheet" href="tema/css/fancybox.min.css"> <link rel="stylesheet" href="tema/css/flaticon.css"> <link rel="stylesheet" href="tema/css/font-awesome.min.css"> <link rel="stylesheet" href="tema/css/imp.css"> <link rel="stylesheet" href="tema/css/jquery-ui.css"> <link rel="stylesheet" href="tema/css/magnific-popup.css"> <link rel="stylesheet" href="tema/css/owl.css"> <link rel="stylesheet" href="tema/css/rtl.css"> <link rel="stylesheet" href="tema/css/scrollbar.css"> <link rel="stylesheet" href="tema/css/icomoon.css"> <link rel="stylesheet" href="tema/css/jquery.bootstrap-touchspin.css"> <link rel="stylesheet" href="tema/css/nice-select.css"> <link rel="stylesheet" href="tema/css/bxslider.css"> <!-- Module css --> <link rel="stylesheet" href="tema/css/module-css/header-section.css"> <link rel="stylesheet" href="tema/css/module-css/banner-section.css"> <link rel="stylesheet" href="tema/css/module-css/about-section.css"> <link rel="stylesheet" href="tema/css/module-css/blog-section.css"> <link rel="stylesheet" href="tema/css/module-css/fact-counter-section.css"> <link rel="stylesheet" href="tema/css/module-css/faq-section.css"> <link rel="stylesheet" href="tema/css/module-css/contact-page.css"> <link rel="stylesheet" href="tema/css/module-css/breadcrumb-section.css"> <link rel="stylesheet" href="tema/css/module-css/team-section.css"> <link rel="stylesheet" href="tema/css/module-css/partner-section.css"> <link rel="stylesheet" href="tema/css/module-css/testimonial-section.css"> <link rel="stylesheet" href="tema/css/module-css/services-section.css"> <link rel="stylesheet" href="tema/css/module-css/footer-section.css"> <link href="tema/css/color/theme-color.css" id="jssDefault" rel="stylesheet"> <link rel="stylesheet" href="tema/css/style.css"> <link rel="stylesheet" href="tema/css/responsive.css"> <link rel="stylesheet" href="uyari/sweetalert2.min.css"> <link href="css/lightbox.css" rel="stylesheet" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" integrity="sha512-5A8nwdMOWrSz20fDsjczgUidUBR8liPYU+WymTZP1lmY9G6Oc7HlZv156XqnsgNUzTyMefFTcsFH/tnJE/+xBg==" crossorigin="anonymous" referrerpolicy="no-referrer" /> <style> :root { --thm-base: <?=$ayar['temarenk1']?>!important; --thm-base-rgb: <?=$ayar['temarenk2']?>!important; } .service-style1-area { padding: 60px 0 40px; } .blog-page { padding: 60px 0 40px; } .service-details-area { padding: 60px 0 60px; } .team-style1-area { padding: 60px 0 60px; } .faq-page-one { padding: 60px 0 60px; } .project-page-two { padding: 60px 0 60px; } @media (max-width: 767px) { .mo { display: none !important; } } @media (min-width: 767px) { .ma { display: none !important; } .cart-box{ margin-left: -20px; } } </style> <link rel="shortcut icon" href="<?php echo $ayar['site_url'] ?>images/<?php echo $ayar['site_favicon']; ?>"> <?php echo $ayar['analytics_code'] ?> <?php echo $ayar['yandex_code'] ?> <!-- Fixing Internet Explorer--> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script src="tema/js/html5shiv.js"></script> <![endif]--> </head> <body> <div class="boxed_wrapper ltr"> <!-- Preloader --> <div class="loader-wrap"> <div class="preloader"> <div class="preloader-close">Kapat</div> </div> <div class="layer layer-one"><span class="overlay"></span></div> <div class="layer layer-two"><span class="overlay"></span></div> <div class="layer layer-three"><span class="overlay"></span></div> </div> <!-- page-direction --> <div class="page_direction"> <div class="demo-rtl direction_switch"><button class="rtl">RTL</button></div> <div class="demo-ltr direction_switch"><button class="ltr">LTR</button></div> </div> <!-- page-direction end --> <!-- Main header--> <header class="main-header header-style-three"> <div class="header-style-three__inner"> <div class="main-logo-box-three"> <div class="logo-bg"></div> <a style="width: 140px" href="<?php echo $ayar['site_url'] ?>"><img src="images/logo/<?php echo $ayar['site_footer_logo'] ?>" alt="Awesome Logo" title=""></a> </div> <!--Start Header Top--> <div class="header-style-three__header-content"> <div class="header-top-style3"> <div class="container"> <div class="outer-box"> <div class="header-top-style3__left"> <div class="welcome-text"> <p><i class="fa fa-map"></i> <?=$ayar['adres_bilgisi']?></p> </div> </div> <div class="header-top-style3__right"> <div class="header-contact-info header-contact-info--style2 text-right-rtl"> <ul> <li> <div class="icon"> <span class="flaticon-email-1"></span> </div> <div class="text"> <h6><a href="mailto:yourmail@email.com"><?php echo $ayar['site_mail'] ?></a></h6> </div> </li> </ul> </div> <div class="header-social-link-style2"> <ul class="clearfix"> <?php foreach ($sosyalcon as $socc) { ?> <li><a href="<?php echo $socc['url'] ?>" target="_blank"><i class="fa <?php echo $socc['icon'] ?>" aria-hidden="true"></i></a></li> <?php }?> </ul> </div> </div> </div> </div> </div> <!--End Header Top--> <!--Start Header--> <div class="header-style3"> <div class="container"> <div class="outer-box"> <div class="nav-outer style3 clearfix"> <!--Mobile Navigation Toggler--> <div class="mobile-nav-toggler"> <div class="inner"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </div> </div> <!-- Main Menu --> <nav class="main-menu style3 navbar-expand-md navbar-light"> <div class="collapse navbar-collapse show clearfix" id="navbarSupportedContent"> <ul class="navigation clearfix"> <?php $mobil_menu_cek = $db->prepare("select * from header_menu where durum='1' and dil='$_SESSION[dil]' and ust_id='0' order by sira asc "); $mobil_menu_cek->execute(); ?> <?php foreach ($mobil_menu_cek as $mobilmenurow) { ?> <li <?php $mobil_altmenu_cek = $db->prepare("select * from header_menu where ust_id='$mobilmenurow[id]' and durum='1' order by id desc limit 1"); $mobil_altmenu_cek->execute(); while($mobilaltrow = $mobil_altmenu_cek->fetch(PDO::FETCH_ASSOC)) { ?>class="dropdown"<?php } ?>><a href="<?=$mobilmenurow['url']?>"><?=$mobilmenurow['baslik']?></a> <?php $headeraltmenu=$db->prepare("select * from header_menu where ust_id='$mobilmenurow[id]' and durum='1' and dil='$_SESSION[dil]' order by id desc limit 1"); $headeraltmenu->execute(); while ($alt = $headeraltmenu->fetch(PDO::FETCH_ASSOC)){ ?> <ul> <?php $headeraltmenu=$db->prepare("select * from header_menu where ust_id='$mobilmenurow[id]' and durum='1' and dil='$_SESSION[dil]' order by sira asc "); $headeraltmenu->execute(); while ($alt = $headeraltmenu->fetch(PDO::FETCH_ASSOC)){ ?> <li <?php $headeraltmenu2=$db->prepare("select * from header_menu where ust_id='$alt[id]' and durum='1' and dil='$_SESSION[dil]' order by id desc limit 1 "); $headeraltmenu2->execute(); while ($alt2 = $headeraltmenu2->fetch(PDO::FETCH_ASSOC)){ ?>class="dropdown"<?php } ?>><a href="<?=$alt['url']?>"><?=$alt['baslik']?></a> <?php $headeraltmenu2=$db->prepare("select * from header_menu where ust_id='$alt[id]' and durum='1' and dil='$_SESSION[dil]' order by id desc limit 1 "); $headeraltmenu2->execute(); while ($alt2 = $headeraltmenu2->fetch(PDO::FETCH_ASSOC)){ ?> <ul> <?php $headeraltmenu2=$db->prepare("select * from header_menu where ust_id='$alt[id]' and durum='1' and dil='$_SESSION[dil]' order by sira asc "); $headeraltmenu2->execute(); while ($alt2 = $headeraltmenu2->fetch(PDO::FETCH_ASSOC)){ ?> <li><a href="<?php if($alt2['url'] ==!null) {?><?php echo $alt2['url'] ?><?php } else {?>javascript:(void);<?php }?>"><?php echo $alt2['baslik'] ?></a></li> <?php }?> </ul> <?php }?> </li> <?php }?> </ul> <?php }?> </li> <?php }?> </ul> </div> </nav> <!-- Main Menu End--> </div> </div> </div> </div> <!--End header--> </div> <div class="header-contact-info3"> <div class="icon"> <span class="flaticon-telephone"></span> </div> <div class="text"> <p>Destek Hattı</p> <h3><a href="tel:<?php echo $ayar['site_tel'] ?>"><?php echo $ayar['site_tel'] ?></a></h3> </div> </div> </div> <!--Sticky Header--> <div class="sticky-header"> <div class="container"> <div class="clearfix"> <!--Logo--> <div class="logo float-left"> <a href="<?php echo $ayar['site_url'] ?>" class="img-responsive"> <img style="width: 90px" src="images/logo/<?php echo $ayar['site_logo'] ?>" alt="<?php echo $ayar['site_baslik'] ?>" title="<?php echo $ayar['site_baslik'] ?>"> </a> </div> <!--Right Col--> <div class="right-col float-right"> <!-- Main Menu --> <nav class="main-menu clearfix"> <!--Keep This Empty / Menu will come through Javascript--> </nav> </div> </div> </div> </div> <!--End Sticky Header--> <!-- Mobile Menu --> <div class="mobile-menu"> <div class="menu-backdrop"></div> <div class="close-btn"><span class="icon fa fa-times-circle"></span></div> <nav class="menu-box"> <div class="nav-logo"><a href="<?php echo $ayar['site_url'] ?>"><img src="images/logo/<?php echo $ayar['site_footer_logo'] ?>" alt="<?php echo $ayar['site_baslik'] ?>"></a></div> <div class="menu-outer"> <!--Here Menu Will Come Automatically Via Javascript / Same Menu as in Header--> </div> <!--Social Links--> <div class="social-links"> <ul class="clearfix"> <?php foreach ($sosyalcon2 as $socc) { ?> <li><a href="<?php echo $socc['url'] ?>-square" target="_blank"><span class="fa <?php echo $socc['icon'] ?>"></span></a></li> <?php }?> </ul> </div> </nav> </div> <!-- End Mobile Menu --> </header>
💾 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