📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv10.demodesign.com.tr
/
includes
/
template
/
_modules
📝
slider.php
← Geri Dön
<?php echo !defined("GUVENLIK") ? die("Vaoww! Bu ne cesaret?") : null;?><?php if($cacheRow['slider'] == '1' ) {?><?php $CacheIPKontrol = $db->prepare("select * from ziyaretciler where ipadres=:ipadres ");$CacheIPKontrol->execute(array('ipadres' => $ipAdres));if($CacheIPKontrol->rowCount()>'0' ) {error_reporting(0);$slidercac = md5("slider").md5($ipAdres).".html";$cache = "i/cache/s/".$slidercac;$sure = $cacheRow['slider_zaman'];if( time() - $sure < filemtime($cache) && isset($cache)){readfile($cache);} else {ob_start(); ?><?php $sliderayar = $db->prepare("select * from slider_ayar where id='1'");$sliderayar ->execute();$slidayar = $sliderayar->fetch(PDO::FETCH_ASSOC); ?><?php $slider = $db->prepare("select * from slider where dil='$_SESSION[dil]' and durum='1' order by sira asc");$slider->execute(); ?><?php if($slider->rowCount() > 0) { ?><div class="slider-main-div" style="width: 100%; background-color: #<?=$slidayar['arkaplan']?>; overflow: hidden; "><div class="swiper-container"><div class="swiper-wrapper"><?php foreach ($slider as $row) { ?><div class="swiper-slide slide-top-desktop <?php if($slidayar['round'] == '1' ) { ?>rounded<?php }?>" style=" background-image:url(images/slider/<?php echo $row['gorsel']; ?>); background-size: cover !important; background-position:top center;" ><?php if($row['full_a'] == '1' && $row['full_a_url'] == !null) {?><a href="<?=$row['full_a_url']?>" <?php if($row['yeni_sekme'] == '1' ) { ?>target="_blank" <?php }?> style="position:absolute; width: 100%; height: 100%; z-index: 9 "></a><?php }?> <?php if($row['text_status'] == '1') {?><div <?php if($slidayar['slider_width'] == '1' ) { ?>class="slider_text_inside_main_2"<?php }?><?php if($slidayar['slider_width'] == '0' ) { ?>class="slider_text_inside_main"<?php }?> style="justify-content: <?=$row['area']?>"><div class="slider_text_inside_box" style="<?php if($row['area'] == 'center' ) { ?>text-align: center;<?php } else{?>text-align: left;<?php }?>" ><?php if($row['baslik'] == !null ) {?><div class="slider-section slider_text_inside_box_h" style="font-size: <?=$slidayar['baslik_size']?>px ;color: #<?=$row['text_bg']?>;font-family : '<?=$slidayar['baslik_font']?>', sans-serif ;line-height: <?=$slidayar['baslik_size']?>px;font-weight: <?=$slidayar['baslik_weight']?>;" data-aos="<?php echo $row['baslik_animation'] ?>" data-aos-offset="200" data-aos-delay="50" data-aos-duration="1000"><?=$row['baslik']?></div><?php }?> <?php if($row['spot'] == !null ) {?><div class="slider-section slider_text_inside_box_s" style="font-size: <?=$slidayar['spot_size']?>px ;color: #<?=$row['text_bg']?>;font-family : '<?=$slidayar['spot_font']?>', sans-serif ;line-height: <?=$slidayar['spot_size']+5?>px;font-weight: <?=$slidayar['spot_weight']?>;" data-aos="<?php echo $row['spot_animation'] ?>" data-aos-offset="200" data-aos-delay="50" data-aos-duration="1500"><?=$row['spot']?></div><?php }?> <?php if($row['url'] == !null ) {?><div class="slider_text_inside_box_button" ><a href="<?=$row['url']?>" style="font-size: <?=$row['button_size']?>px ;border-radius: <?=$row['button_radius']?>;" <?php if($row['yeni_sekme'] == '1' ) { ?>target="_blank"<?php }?> class="slider-section <?=$row['button_bg']?> <?=$row['button_size']?>" data-aos="<?php echo $row['button_animation'] ?>" data-aos-offset="200" data-aos-delay="50" data-aos-duration="1500"><?=$row['button_text']?></a></div><?php }?></div></div><?php }?> <?php if($row['text_status'] == '0') {?><?php if($row['url'] == !null ) {?><div style="width: 100%; height: 100%; display: flex; justify-content: center;align-items: flex-end; padding-bottom: 60px; "><div class="slider_text_inside_box_button" style="text-align: center;"><a href="<?=$row['url']?>" style="font-size: <?=$row['button_size']?>px ;border-radius: <?=$row['button_radius']?>;" <?php if($row['yeni_sekme'] == '1' ) { ?>target="_blank"<?php }?> class="<?=$row['button_bg']?> <?=$row['button_size']?>" ><?=$row['button_text']?></a></div></div><?php }?><?php } ?> <?php if($row['dark_bg']== '1') {?><?php if($row['text_status'] == '1') {?><div style="background: rgba(0,0,0,0.6); width: 100%; height: 100%; position: absolute"></div><?php } ?><?php } ?></div><div class="swiper-slide slide-top-mobile <?php if($slidayar['round'] == '1' ) { ?>rounded<?php }?>" style="<?php if($row['gorsel_mobil'] == !null ) {?> background-image:url(images/slider/<?php echo $row['gorsel_mobil']; ?>); <?php }else { ?> background-image:url(images/slider/<?php echo $row['gorsel']; ?>); <?php }?> background-size: cover !important; background-position:top center;" ><?php if($row['full_a'] == '1' && $row['full_a_url'] == !null) {?><a href="<?=$row['full_a_url']?>" <?php if($row['yeni_sekme'] == '1' ) { ?>target="_blank" <?php }?> style="position:absolute; width: 100%; height: 100%; z-index: 9 "></a><?php }?> <?php if($row['text_status'] == '0') {?><?php if($row['url'] == !null ) {?><div style="width: 100%; height: 100%; display: flex; justify-content: center;align-items: flex-end; padding-bottom: 60px; "><div class="slider_text_inside_box_button" style="text-align: center;"><a href="<?=$row['url']?>" style="font-size: <?=$row['button_size']?>px ;border-radius: <?=$row['button_radius']?>;" <?php if($row['yeni_sekme'] == '1' ) { ?>target="_blank"<?php }?> class="<?=$row['button_bg']?> <?=$row['button_size']?>" ><?=$row['button_text']?></a></div></div><?php }?><?php } ?></div><?php } ?></div><div class="swiper-button-next"></div><div class="swiper-button-prev"></div><div class="swiper-pagination"></div></div></div><?php } ?><?php $ac = fopen($cache, "w+");fwrite($ac, ob_get_contents());fclose($ac);ob_end_flush();}} ?><?php }else { ?><?php $sliderayar = $db->prepare("select * from slider_ayar where id='1'");$sliderayar ->execute();$slidayar = $sliderayar->fetch(PDO::FETCH_ASSOC); ?><?php $slider = $db->prepare("select * from slider where dil='$_SESSION[dil]' and durum='1' order by sira asc");$slider->execute(); ?><?php if($slider->rowCount() > 0) { ?><div class="slider-main-div" style="width: 100%; background-color: #<?=$slidayar['arkaplan']?>; overflow: hidden; "><div class="swiper-container"><div class="swiper-wrapper"><?php foreach ($slider as $row) { ?><div class="swiper-slide slide-top-desktop <?php if($slidayar['round'] == '1' ) { ?>rounded<?php }?>" style=" background-image:url(images/slider/<?php echo $row['gorsel']; ?>); background-size: cover !important; background-position:top center;" ><?php if($row['full_a'] == '1' && $row['full_a_url'] == !null) {?><a href="<?=$row['full_a_url']?>" <?php if($row['yeni_sekme'] == '1' ) { ?>target="_blank" <?php }?> style="position:absolute; width: 100%; height: 100%; z-index: 9 "></a><?php }?> <?php if($row['text_status'] == '1') {?><div <?php if($slidayar['slider_width'] == '1' ) { ?>class="slider_text_inside_main_2"<?php }?><?php if($slidayar['slider_width'] == '0' ) { ?>class="slider_text_inside_main"<?php }?> style="justify-content: <?=$row['area']?>"><div class="slider_text_inside_box" style="<?php if($row['area'] == 'center' ) { ?>text-align: center;<?php } else{?>text-align: left;<?php }?>" ><?php if($row['baslik'] == !null ) {?><div class="slider-section slider_text_inside_box_h" style="font-size: <?=$slidayar['baslik_size']?>px ;color: #<?=$row['text_bg']?>;font-family : '<?=$slidayar['baslik_font']?>', sans-serif ;line-height: <?=$slidayar['baslik_size']?>px;font-weight: <?=$slidayar['baslik_weight']?>;" data-aos="<?php echo $row['baslik_animation'] ?>" data-aos-offset="200" data-aos-delay="50" data-aos-duration="1000"><?=$row['baslik']?></div><?php }?> <?php if($row['spot'] == !null ) {?><div class="slider-section slider_text_inside_box_s" style="font-size: <?=$slidayar['spot_size']?>px ;color: #<?=$row['text_bg']?>;font-family : '<?=$slidayar['spot_font']?>', sans-serif ;line-height: <?=$slidayar['spot_size']+5?>px;font-weight: <?=$slidayar['spot_weight']?>;" data-aos="<?php echo $row['spot_animation'] ?>" data-aos-offset="200" data-aos-delay="50" data-aos-duration="1500"><?=$row['spot']?></div><?php }?> <?php if($row['url'] == !null ) {?><div class="slider_text_inside_box_button" ><a href="<?=$row['url']?>" style="font-size: <?=$row['button_size']?>px ;border-radius: <?=$row['button_radius']?>;" <?php if($row['yeni_sekme'] == '1' ) { ?>target="_blank"<?php }?> class="slider-section <?=$row['button_bg']?> <?=$row['button_size']?>" data-aos="<?php echo $row['button_animation'] ?>" data-aos-offset="200" data-aos-delay="50" data-aos-duration="1500"><?=$row['button_text']?></a></div><?php }?></div></div><?php }?> <?php if($row['text_status'] == '0') {?><?php if($row['url'] == !null ) {?><div style="width: 100%; height: 100%; display: flex; justify-content: center;align-items: flex-end; padding-bottom: 60px; "><div class="slider_text_inside_box_button" style="text-align: center;"><a href="<?=$row['url']?>" style="font-size: <?=$row['button_size']?>px ;border-radius: <?=$row['button_radius']?>;" <?php if($row['yeni_sekme'] == '1' ) { ?>target="_blank"<?php }?> class="<?=$row['button_bg']?> <?=$row['button_size']?>" ><?=$row['button_text']?></a></div></div><?php }?><?php } ?> <?php if($row['dark_bg']== '1') {?><?php if($row['text_status'] == '1') {?><div style="background: rgba(0,0,0,0.6); width: 100%; height: 100%; position: absolute"></div><?php } ?><?php } ?></div><div class="swiper-slide slide-top-mobile <?php if($slidayar['round'] == '1' ) { ?>rounded<?php }?>" style="<?php if($row['gorsel_mobil'] == !null ) {?> background-image:url(images/slider/<?php echo $row['gorsel_mobil']; ?>); <?php }else { ?> background-image:url(images/slider/<?php echo $row['gorsel']; ?>); <?php }?> background-size: cover !important; background-position:top center;" ><?php if($row['full_a'] == '1' && $row['full_a_url'] == !null) {?><a href="<?=$row['full_a_url']?>" <?php if($row['yeni_sekme'] == '1' ) { ?>target="_blank" <?php }?> style="position:absolute; width: 100%; height: 100%; z-index: 9 "></a><?php }?> <?php if($row['text_status'] == '0') {?><?php if($row['url'] == !null ) {?><div style="width: 100%; height: 100%; display: flex; justify-content: center;align-items: flex-end; padding-bottom: 60px; "><div class="slider_text_inside_box_button" style="text-align: center;"><a href="<?=$row['url']?>" style="font-size: <?=$row['button_size']?>px ;border-radius: <?=$row['button_radius']?>;" <?php if($row['yeni_sekme'] == '1' ) { ?>target="_blank"<?php }?> class="<?=$row['button_bg']?> <?=$row['button_size']?>" ><?=$row['button_text']?></a></div></div><?php }?><?php } ?></div><?php } ?></div><div class="swiper-button-next"></div><div class="swiper-button-prev"></div><div class="swiper-pagination"></div></div></div><?php } ?><?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