📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv10.demodesign.com.tr
/
includes
/
template
📝
footer.php
← Geri Dön
<?php echo !defined("GUVENLIK") ? die("Vaoww! Bu ne cesaret?") : null;?> <?php if($cacheRow['footer'] == '1' ) {?><?php $CacheIPKontrol = $db->prepare("select * from ziyaretciler where ipadres=:ipadres ");$CacheIPKontrol->execute(array('ipadres' => $ipAdres));if($CacheIPKontrol->rowCount()>'0' ) {error_reporting(0);$footercac = md5("footer").md5($ipAdres).".html";$cache = "i/cache/s/" . $footercac;$sure = $cacheRow['footer_zaman'];if (time() - $sure < filemtime($cache) && isset($cache)) {readfile($cache);} else {ob_start(); ?><?php $tKutuAyar = $db->prepare("select * from tkutu_ayar where id='1'");$tKutuAyar->execute();$tkutuRow = $tKutuAyar->fetch(PDO::FETCH_ASSOC);$gsmmetin = $ayar['site_gsm'];$gsmsonuc = str_replace(' ', '', $gsmmetin);$sitelsonuc = $ayar['site_tel'];$sitelsonuc = str_replace(' ', '', $sitelsonuc);$whtmetin = $ayar['site_whatsapp'];$whtsonuc1 = str_replace('90', '+90 ', $whtmetin);$whtsonuc2 = str_replace(' ', '', $whtmetin); ?><?php if ($ayar['sekme_degistir_yazi'] == '1') { ?><script type="text/javascript"> var title = document.title;var alttitle = "<?=$diller['sekme-hatirlatici-title']?>";window.onblur = function () {document.title = alttitle;};window.onfocus = function () {document.title = title;};</script><?php } ?><?php $footerSet = $db->prepare("select * from footer_ayar where id=:id ");$footerSet->execute(array('id' => '1'));$fot = $footerSet->fetch(PDO::FETCH_ASSOC);$sosyaller = $db->prepare("select * from sosyal where footer=:footer order by sira asc ");$sosyaller->execute(array('footer' => '1'));$footerMainLink = $db->prepare("select * from footer_link where ust_id='0' and durum='1' and dil='$_SESSION[dil]' order by sira asc");$footerMainLink->execute(); ?><?php if ($tkutuRow['tkutu_footer'] == '1') { ?><?php include 'includes/template/_modules/info_box.php'; ?><?php } ?><div class="footer-module-main-div"><div class="footer-module-inside-area"><!-- Logo Telif alanı !--><div class="footer-module-box footer-1-area"><?php if ($fot['footer_logo'] == !null) { ?><div class="footer-module-box-logo"><img src="images/logo/<?= $fot['footer_logo'] ?>" alt="<?= $ayar['site_baslik'] ?>"></div><?php } ?> <?php $telifCek = $db->prepare("select * from footer_telif where dil=:dil order by id desc limit 1 ");$telifCek->execute(array('dil' => $_SESSION['dil'],));$telifRow = $telifCek->fetch(PDO::FETCH_ASSOC); ?> <?php if ($telifRow['icerik'] == !null) { ?><div class="footer-module-box-telif"><?= $telifRow['icerik'] ?></div><?php } ?> <?php if ($sosyaller->rowCount() > '0' && $fot['sosyal'] == '1') { ?><div class="footer-module-box-social"><?php foreach ($sosyaller as $sosss) { ?><a href="<?= $sosss['url'] ?>" target="_blank" aria-hidden="true" data-toggle="tooltip" data-placement="bottom" title="<?php echo $sosss['baslik'] ?>"><i class="fa <?= $sosss['icon'] ?>"></i></a><?php } ?></div><?php } ?> <?php if ($fot['footer_html'] == !null) { ?><div class="footer-module-box-telif" style="margin-top: 20px;"><?php $htmlFooter = $fot['footer_html'];$eski = "../i/";$yeni = "i/";$htmlFooter = str_replace($eski, $yeni, $htmlFooter); ?> <?= $htmlFooter ?></div><?php } ?></div><!-- Logo Telif alanı SON !--><?php foreach ($footerMainLink as $mainFoot) {$footerSubLink = $db->prepare("select * from footer_link where ust_id='$mainFoot[id]' and durum='1' and dil='$_SESSION[dil]' order by sira asc");$footerSubLink->execute(); ?><div class="footer-module-box footer-4-area"><div class="footer-module-header-text d-flex align-items-center"><?php if ($mainFoot['ikon'] == !null) { ?><i class="<?= $mainFoot['ikon'] ?> mr-1" style="font-size: 19px ;"></i><?php } ?> <?= $mainFoot['baslik'] ?></div><?php if ($footerSubLink->rowCount() > '0') { ?><div class="footer-module-links-div"><?php foreach ($footerSubLink as $footLink) { ?><a <?php if ($footLink['url_adres'] == !null) { ?><?php if ($footLink['yeni_sekme'] == '1') { ?>target="_blank" <?php } ?>href="<?= $footLink['url_adres'] ?>" <?php }else{ ?>href="javascript:Void(0)"<?php } ?> ><?php if ($footLink['ikon'] == !null) { ?><i class="<?= $footLink['ikon'] ?> mr-1"></i><?php } ?> <?= $footLink['baslik'] ?></a><?php } ?></div><?php } ?></div><?php } ?><!-- Contact SON !--><?php if ($fot['gorsel'] == !null) { ?><div class="footer-shop-card-area"><img src="images/uploads/<?= $fot['gorsel'] ?>" alt="<?= $ayar['site_baslik'] ?>"></div><?php } ?></div><?php if ($fot['bg_tip'] == '0') { ?><?php if ($fot['bg_dark'] == '1') { ?><!-- Slider Karartma Var ise !--><div style="background: rgba(0,0,0,0.6); width: 100%; height: 100%; position: absolute; top:0; left:0; z-index: 1"></div><!-- Slider Karartma Var ise !--><?php } ?><?php } ?></div><?php $ac = fopen($cache, "w+");fwrite($ac, ob_get_contents());fclose($ac);ob_end_flush();}} ?><?php }else {?><?php $tKutuAyar = $db->prepare("select * from tkutu_ayar where id='1'");$tKutuAyar->execute();$tkutuRow = $tKutuAyar->fetch(PDO::FETCH_ASSOC);$gsmmetin = $ayar['site_gsm'];$gsmsonuc = str_replace(' ', '', $gsmmetin);$sitelsonuc = $ayar['site_tel'];$sitelsonuc = str_replace(' ', '', $sitelsonuc);$whtmetin = $ayar['site_whatsapp'];$whtsonuc1 = str_replace('90', '+90 ', $whtmetin);$whtsonuc2 = str_replace(' ', '', $whtmetin); ?><?php if($ayar['sekme_degistir_yazi'] == '1' ) {?><script type="text/javascript"> var title = document.title;var alttitle = "<?=$diller['sekme-hatirlatici-title']?>";window.onblur = function () { document.title = alttitle; };window.onfocus = function () { document.title = title; };</script><?php }?><?php $footerSet = $db->prepare("select * from footer_ayar where id=:id ");$footerSet->execute(array('id' => '1'));$fot = $footerSet->fetch(PDO::FETCH_ASSOC);$sosyaller = $db->prepare("select * from sosyal where footer=:footer order by sira asc ");$sosyaller->execute(array('footer' => '1'));$footerMainLink = $db->prepare("select * from footer_link where ust_id='0' and durum='1' and dil='$_SESSION[dil]' order by sira asc");$footerMainLink->execute(); ?><?php if($tkutuRow['tkutu_footer'] =='1' ) {?><?php include 'includes/template/_modules/info_box.php'; ?><?php }?><div class="footer-module-main-div"><div class="footer-module-inside-area"><!-- Logo Telif alanı !--><div class="footer-module-box footer-1-area"><?php if($fot['footer_logo'] == !null ) {?><div class="footer-module-box-logo"><img src="images/logo/<?=$fot['footer_logo']?>" alt="<?=$ayar['site_baslik'] ?>"></div><?php }?> <?php $telifCek = $db->prepare("select * from footer_telif where dil=:dil order by id desc limit 1 ");$telifCek->execute(array('dil' => $_SESSION['dil'],));$telifRow = $telifCek->fetch(PDO::FETCH_ASSOC); ?> <?php if($telifRow['icerik'] == !null ) {?><div class="footer-module-box-telif"><?=$telifRow['icerik']?></div><?php }?> <?php if($sosyaller->rowCount() > '0' && $fot['sosyal'] == '1' ) {?><div class="footer-module-box-social"><?php foreach ($sosyaller as $sosss) {?><a href="<?=$sosss['url']?>" target="_blank" aria-hidden="true" data-toggle="tooltip" data-placement="bottom" title="<?php echo $sosss['baslik'] ?>"><i class="fa <?=$sosss['icon']?>"></i></a><?php }?></div><?php }?> <?php if($fot['footer_html'] == !null ) {?><div class="footer-module-box-telif" style="margin-top: 20px;"><?php $htmlFooter = $fot['footer_html'];$eski = "../i/";$yeni = "i/";$htmlFooter = str_replace($eski, $yeni, $htmlFooter); ?> <?=$htmlFooter?></div><?php }?></div><!-- Logo Telif alanı SON !--><?php foreach ($footerMainLink as $mainFoot) {$footerSubLink = $db->prepare("select * from footer_link where ust_id='$mainFoot[id]' and durum='1' and dil='$_SESSION[dil]' order by sira asc");$footerSubLink->execute();?><div class="footer-module-box footer-4-area"><div class="footer-module-header-text d-flex align-items-center"><?php if($mainFoot['ikon'] == !null ) {?><i class="<?=$mainFoot['ikon']?> mr-1" style="font-size: 19px ;"></i><?php }?> <?=$mainFoot['baslik']?></div><?php if($footerSubLink->rowCount()>'0' ) {?><div class="footer-module-links-div"><?php foreach ($footerSubLink as $footLink) {?><a <?php if($footLink['url_adres'] == !null ) { ?><?php if($footLink['yeni_sekme'] == '1' ) { ?>target="_blank" <?php }?> href="<?=$footLink['url_adres']?>"<?php }else{?>href="javascript:Void(0)"<?php } ?> ><?php if($footLink['ikon'] == !null ) {?><i class="<?=$footLink['ikon']?> mr-1"></i><?php }?> <?=$footLink['baslik']?></a><?php }?></div><?php }?></div><?php }?><!-- Contact SON !--><?php if($fot['gorsel'] == !null ) {?><div class="footer-shop-card-area"><img src="images/uploads/<?=$fot['gorsel']?>" alt="<?=$ayar['site_baslik']?>"></div><?php }?></div><?php if($fot['bg_tip'] == '0' ) {?><?php if($fot['bg_dark'] == '1' ) {?><!-- Slider Karartma Var ise !--><div style="background: rgba(0,0,0,0.6); width: 100%; height: 100%; position: absolute; top:0; left:0; z-index: 1"></div><!-- Slider Karartma Var ise !--><?php }?><?php }?></div><?php }?> <?php if($_SESSION['demo_alert'] == 'demo') {?><div class="modal " id="errorModal" data-backdrop="static" style="z-index: 99999" ><div class="modal-dialog modal-dialog-centered modal-sm "><div class="modal-content"><button type="button" class="close" data-dismiss="modal" style="color: #000; position: absolute; right: 10px; top: 5px;">×</button><div style="background-color: #fff; color: #000; box-sizing: border-box; padding: 20px; text-align: center; font-size: 18px ;"><i class="ion-ios-information-outline" style="font-size: 45px ; color: #558cff;"></i><br><div><?=$diller['alert-demo-text']?></div></div><div class="category-cart-add-success-modal-footer"><button type="button" class="button-blue button-2x" style="width: 100%; text-align: center; " data-dismiss="modal"><?=$diller['alert-button-ok']?></button></div></div></div></div><script> $(window).on("load", function() {$('#errorModal').modal('show');});$(window).load(function () {$('#errorModal').modal('show');});var $modalDialog = $("#errorModal");$modalDialog.modal('show');setTimeout(function() {$modalDialog.modal('hide');}, 0);</script><?php unset($_SESSION['demo_alert']); ?><?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