<?php echo !defined("GUVENLIK") ? die("Vaoww! Bu ne cesaret?") : null;?><?php if($cacheRow['tkutu'] == '1' ) {?><?php $CacheIPKontrol = $db->prepare("select * from ziyaretciler where ipadres=:ipadres ");$CacheIPKontrol->execute(array('ipadres' => $ipAdres));if($CacheIPKontrol->rowCount()>'0'  ) {error_reporting(0);$tkutu = md5("tkutu").md5($ipAdres).".html";$cache = "i/cache/s/" . $tkutu;$sure = $cacheRow['tkutu_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);$tkutuListe = $db->prepare("select * from ticaret_bilgi where dil=:dil order by sira asc limit 8");$tkutuListe->execute(array('dil' => $_SESSION['dil'])); ?><div class="ticaret-kutulari-main-div" style="background-color: #<?= $tkutuRow['tkutu_ana_arkaplan'] ?>; border-top: 1px solid #<?= $tkutuRow['tkutu_main_border'] ?>; border-bottom: 1px solid #<?= $tkutuRow['tkutu_main_border'] ?>;"><div class="ticaret-kutulari-inside"><?php foreach ($tkutuListe as $tk) { ?><div class="ticaret-kutu-box"><div class="ticaret-kutu-box-i" style="color: #<?= $tkutuRow['tkutu_icon_renk'] ?>;"><i class="<?= $tk['icon'] ?>"></i></div><div class="ticaret-kutu-box-text"><div class="ticaret-kutu-box-text-h" style="color: #<?= $tkutuRow['tkutu_baslik_renk'] ?>;"><?= $tk['baslik'] ?></div><div class="ticaret-kutu-box-text-s" style="color: #<?= $tkutuRow['tkutu_spot_renk'] ?>;"><?= $tk['spot'] ?></div></div></div><?php } ?></div></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);$tkutuListe = $db->prepare("select * from ticaret_bilgi where dil=:dil order by sira asc limit 8");$tkutuListe->execute(array('dil' => $_SESSION['dil'])); ?> <div class="ticaret-kutulari-main-div" style="background-color: #<?=$tkutuRow['tkutu_ana_arkaplan']?>; border-top: 1px solid #<?=$tkutuRow['tkutu_main_border']?>; border-bottom: 1px solid #<?=$tkutuRow['tkutu_main_border']?>;"> <div class="ticaret-kutulari-inside"><?php foreach ($tkutuListe as $tk) {?><div class="ticaret-kutu-box"><div class="ticaret-kutu-box-i" style="color: #<?=$tkutuRow['tkutu_icon_renk']?>;"><i class="<?=$tk['icon']?>"></i></div><div class="ticaret-kutu-box-text"><div class="ticaret-kutu-box-text-h" style="color: #<?=$tkutuRow['tkutu_baslik_renk']?>;"><?=$tk['baslik']?></div><div class="ticaret-kutu-box-text-s" style="color: #<?=$tkutuRow['tkutu_spot_renk']?>;"><?=$tk['spot']?></div></div></div><?php }?></div> </div> <?php }?>