<?php echo !defined("GUVENLIK") ? die("Vaoww! Bu ne cesaret?") : null;?> <?php if($cacheRow['marka'] == '1' ) {?><?php error_reporting(0);$markalar = md5("marka").".html";$cache = "i/cache/s/".$markalar;$sure = $cacheRow['marka_zaman'];if( time() - $sure < filemtime($cache) && isset($cache)){readfile($cache);} else {ob_start(); ?><?php $markasettings = $db->prepare("select * from urun_marka_ayar where id='1'");$markasettings->execute();$markaset = $markasettings->fetch(PDO::FETCH_ASSOC);$markalimit = $markaset["marka_limit"]; ?><?php $num = 1;$marka_liste = $db->prepare("select * from urun_marka where durum=:durum and anasayfa=:anasayfa order by sira asc limit $markalimit");$marka_liste->execute(array('durum' => '1', 'anasayfa' => '1')); ?><?php if($marka_liste->rowCount()>'0'  ) {?><div class="marka-module-main-div"><div class="marka-module-inside-area"><div class="swiper-clients"><div class="swiper-wrapper" ><?php foreach ($marka_liste as $marka) { ?><div class="swiper-slide <?php if($markaset['round'] =='1' ) { ?>rounded<?php }?>" style="border: 1px solid #<?=$markaset['border_color_home']?>; background-color: #<?=$markaset['box_bg_home']?>;" <?php if($markaset['tooltip'] == '1'  ) { ?>data-toggle="tooltip" data-placement="bottom" title="<?=$marka['baslik']?> <?=$diller['anasayfa-markalar-text']?>"<?php }?> ><a href="marka/<?=$marka['seo_url']?>/" <?php if($markaset['yeni_sekme'] == '1' ) { ?>target="_blank" <?php }?>  ><?php if($ayar['lazy'] == '1' ) {?><img class="lazy" src="images/load.gif" data-original="images/uploads/<?php echo $marka['gorsel_anasayfa'] ?>" alt="<?php echo $marka['baslik'] ?>"><?php }else { ?><img src="images/uploads/<?php echo $marka['gorsel_anasayfa'] ?>" alt="<?php echo $marka['baslik'] ?>"><?php }?></a></div><?php } ?></div></div></div><?php if($markaset['bg_tip'] == '0'  ) {?><?php if($markaset['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 $ac = fopen($cache, "w+");fwrite($ac, ob_get_contents());fclose($ac);ob_end_flush();} ?><?php }else {?><?php $markasettings = $db->prepare("select * from urun_marka_ayar where id='1'");$markasettings->execute();$markaset = $markasettings->fetch(PDO::FETCH_ASSOC);$markalimit = $markaset["marka_limit"]; ?><?php $num = 1;$marka_liste = $db->prepare("select * from urun_marka where durum=:durum and anasayfa=:anasayfa order by sira asc limit $markalimit");$marka_liste->execute(array('durum' => '1', 'anasayfa' => '1')); ?><?php if($marka_liste->rowCount()>'0'  ) {?><div class="marka-module-main-div"><div class="marka-module-inside-area"><div class="swiper-clients"><div class="swiper-wrapper" ><?php foreach ($marka_liste as $marka) { ?><div class="swiper-slide <?php if($markaset['round'] =='1' ) { ?>rounded<?php }?>" style="border: 1px solid #<?=$markaset['border_color_home']?>; background-color: #<?=$markaset['box_bg_home']?>;" <?php if($markaset['tooltip'] == '1'  ) { ?>data-toggle="tooltip" data-placement="bottom" title="<?=$marka['baslik']?> <?=$diller['anasayfa-markalar-text']?>"<?php }?> ><a href="marka/<?=$marka['seo_url']?>/" <?php if($markaset['yeni_sekme'] == '1' ) { ?>target="_blank" <?php }?>  ><?php if($ayar['lazy'] == '1' ) {?><img class="lazy" src="images/load.gif" data-original="images/uploads/<?php echo $marka['gorsel_anasayfa'] ?>" alt="<?php echo $marka['baslik'] ?>"><?php }else { ?><img src="images/uploads/<?php echo $marka['gorsel_anasayfa'] ?>" alt="<?php echo $marka['baslik'] ?>"><?php }?></a></div><?php } ?></div></div></div><?php if($markaset['bg_tip'] == '0'  ) {?><?php if($markaset['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 }?>
