📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
petshopscripti.demodesign.com.tr
📝
index.php
← Geri Dön
<?php include "includes/header.php"; ?> <?php include "includes/head_index.php"; ?> <?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' and tur='1' order by sira asc"); $slider->execute(); ?> <?php $serviceayar = $db->prepare("select * from hizmet_ayar where id='1'"); $serviceayar->execute(); $serv = $serviceayar->fetch(PDO::FETCH_ASSOC); $hizmetlimit = 4; ?> <?php $num = 1; $serviceliste = $db->prepare("select * from hizmet where durum='1' and dil='$_SESSION[dil]' and anasayfa='1' order by sira asc limit $hizmetlimit"); $serviceliste->execute(); ?> <?php $serviceayar2 = $db->prepare("select * from hizmet_ayar where id='1'"); $serviceayar2->execute(); $serv2 = $serviceayar2->fetch(PDO::FETCH_ASSOC); $hizmetlimit2 = 100; ?> <?php $num = 1; $serviceliste2 = $db->prepare("select * from hizmet where durum='1' and dil='$_SESSION[dil]' and anasayfa='1' order by sira asc limit $hizmetlimit2"); $serviceliste2->execute(); ?> <?php $faqSettings = $db->prepare("select * from sss_ayar where id=:id"); $faqSettings->execute(array( 'id' => '1' )); $faqset = $faqSettings->fetch(PDO::FETCH_ASSOC); ?> <?php $faqCek = $db->prepare("select * from sss where durum=:durum and dil=:dil order by sira asc"); $faqCek->execute(array( 'durum' => '1', 'dil' => $_SESSION['dil'] )); ?> <?php $projesettings = $db->prepare("select * from proje_ayar where id='1'"); $projesettings->execute(); $proset = $projesettings->fetch(PDO::FETCH_ASSOC); $projelimit = 4; $proje_cat_list = $db->prepare("select * from proje_kat where durum='1' and dil='$_SESSION[dil]' and anasayfa='1' order by sira asc"); $proje_cat_list->execute(); ?> <?php $yorumsettings = $db->prepare("select * from yorum_ayar where id='1'"); $yorumsettings->execute(); $yorumset = $yorumsettings->fetch(PDO::FETCH_ASSOC); $yorumlimit = $yorumset["yorum_limit"]; ?> <?php $num = 1; $yorum_listele = $db->prepare("select * from yorum where durum='1' and dil='$_SESSION[dil]' order by sira asc limit $yorumlimit"); $yorum_listele->execute(); ?> <?php $markasettings = $db->prepare("select * from 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 marka where durum='1' order by sira asc limit $markalimit"); $marka_liste->execute(); ?> <?php $blogsettings = $db->prepare("select * from blog_ayar where id='1'"); $blogsettings->execute(); $blogsett = $blogsettings->fetch(PDO::FETCH_ASSOC); $bloglimit = 3; ?> <?php $num = 1; $blogliste = $db->prepare("select * from blog where durum='1' and dil='$_SESSION[dil]' and anasayfa='1' order by id desc limit $bloglimit"); $blogliste->execute(); ?> <?php $countersettings = $db->prepare("select * from sayac_ayar where id='1'"); $countersettings->execute(); $countsett = $countersettings->fetch(PDO::FETCH_ASSOC); ?> <?php $counter_counts = $db->prepare("select * from sayac where durum='1' and dil='$_SESSION[dil]' order by sira asc"); $counter_counts->execute(); $sayi = 2; ?> <?php $urunkat_listele = $db->prepare("select * from urun_cat where dil='$_SESSION[dil]' and durum='1' and ust_id='0' order by sira asc"); $urunkat_listele->execute(); $urunkat_listeleMobile = $db->prepare("select * from urun_cat where dil='$_SESSION[dil]' and durum='1' and ust_id='0' order by sira asc"); $urunkat_listeleMobile->execute(); ?> <?php $sliderayar = $db->prepare("select * from slider_ayar where id='1'"); $sliderayar ->execute(); $slidayar = $sliderayar->fetch(PDO::FETCH_ASSOC); ?> <?php $slider_tur2 = $db->prepare("select * from slider where dil='$_SESSION[dil]' and durum='1' and tur='2' order by sira asc"); $slider_tur2->execute(); ?> <?php $popupCek = $db->prepare("select * from popup where id='1'"); $popupCek->execute(); $popup = $popupCek->fetch(PDO::FETCH_ASSOC); ?> <?php $trigger1 = $db->prepare("select * from tetikleyiciler where dil='$_SESSION[dil]' and durum='1' and area='0' order by id desc limit 1"); $trigger1->execute(); ?> <?php $urunkat_listele2 = $db->prepare("select * from urun_cat where dil='$_SESSION[dil]' and durum='1' and ust_id='0' order by sira asc"); $urunkat_listele2->execute(); ?> <title><?php echo $ayar['site_baslik']?></title> <meta name="description" content="<?php echo"$ayar[site_desc]" ?>"> <meta name="keywords" content="<?php echo"$ayar[site_tags]" ?>"> <meta name="news_keywords" content="<?php echo"$ayar[site_tags]" ?>"> <meta name="author" content="<?php echo"$ayar[site_baslik]" ?>" /> <meta itemprop="author" content="<?php echo"$ayar[site_baslik]" ?>" /> <meta name="robots" content="index follow"> <meta name="googlebot" content="index follow"> <meta property="og:type" content="website" /> <main class="main-content"> <?php if($slider->rowCount() > 0) { ?> <!--== Start Hero Area Wrapper ==--> <section class="home-slider-area"> <div class="swiper home-slider-container default-slider-container"> <div class="swiper-wrapper home-slider-wrapper slider-default"> <?php foreach ($slider as $row) { ?> <div class="swiper-slide"> <div class="slider-content-area" data-bg-img="https://template.hasthemes.com/tuime/tuime/assets/img/slider/slider-bg.webp"> <div class="container"> <div class="slider-container"> <div class="row justify-content-between align-items-center"> <div class="col-sm-6 col-md-6"> <div class="slider-content"> <div class="content"> <?php if($row['text_status'] == 1) { ?> <div class="sub-title-box"> <h5 class="sub-title"><?php echo $row['spot']; ?></h5> </div> <div class="title-box"> <h2 class="title"><?php echo $row['baslik']; ?></h2> </div> <?php } ?> <?php if($row['url'] == null) {} else { ?> <div class="btn-box"> <a class="btn-theme text-dark" href="<?php echo $row['url'] ?>"><?php echo $row['button_text']; ?></a> </div> <?php } ?> </div> </div> </div> <div class="col-sm-6 col-md-6"> <div class="slider-thumb mousemove"> <div class="thumb"> <img src="images/slider/<?php echo $row['gorsel']; ?>" width="585" height="579" alt="Image-HasTech"> <div class="shape-one"></div> </div> </div> </div> </div> </div> </div> </div> </div> <?php } ?> </div> <!--== Add Swiper Arrows ==--> <div class="swiper-btn-wrap"> <div class="swiper-btn-prev"> <i class="pe-7s-angle-left"></i> </div> <div class="swiper-btn-next"> <i class="pe-7s-angle-right"></i> </div> </div> </div> </section> <!--== End Hero Area Wrapper ==--> <?php } else { ?> <div class="swiper-container" > <div class="swiper-wrapper"> <div class="swiper-slide" style="background:#000; text-align: center; font-size:25px; font-weight: 700 "> <div class="options-slider-box" style="text-align: center; "> <i class="fa fa-exclamation-circle" style="font-size:35px"></i> <br> <?php echo $diller['bosslider1'] ?> <br> <span style="font-size:16px; font-weight: 500"><?php echo $diller['bosslider2'] ?></span> <br> </div> </div> </div> </div> <?php } ?> <!--== Start Product Category Area Wrapper ==--> <section class="product-area product-category-area bg-color-f2"> <div class="container"> <div class="row"> <div class="col-12"> <div class="section-title shape-center text-center"> <h5 class="sub-title"><?php echo $diller['kategoriliste'] ?></h5> <h2 class="title"><?php echo $diller['tumkategori'] ?></h2> </div> </div> </div> <div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4 row-cols-xl-5 row-gutter-43"> <?php foreach ($urunkat_listele as $urunkat) { $urun_alt_kat=$db->prepare("select * from urun_cat where ust_id='$urunkat[id]' and dil='$_SESSION[dil]' and durum='1' order by sira asc"); $urun_alt_kat->execute(); ?> <div class="col"> <!--== Start Product Category Item ==--> <div class="product-category-item"> <div class="thumb"> <a href="kategori-icerik/<?=$urunkat['id']?>/<?=seo($urunkat['baslik'])?>"><img src="images/product-category/<?=$urunkat['gorsel']?>" width="200" height="200" alt="Image-HasTech"></a> </div> <div class="content"> <h3 class="title"><a href="kategori-icerik/<?=$urunkat['id']?>/<?=seo($urunkat['baslik'])?>"><?=$urunkat['baslik']?></a></h3> </div> </div> <!--== End Product Category Item ==--> </div> <?php }?> </div> </div> </section> <!--== End Product Category Area Wrapper ==--> <!--== Start Product Banner Area Wrapper ==--> <section class="product-area product-banner-area"> <div class="container"> <div class="row"> <?php if($slider_tur2->rowCount() >0) { ?> <?php foreach ($slider_tur2 as $rowtur2) { ?> <div class="col-md-6"> <div class="banner-product-single-item"> <div class="thumb"> <a href="<?php echo $rowtur2['url'] ?>"> <img src="images/slider/<?php echo $rowtur2['gorsel']?>" width="570" height="300" alt="Image-HasTech"> </a> </div> <div class="content"> <h5 class="sub-title"><?php echo $rowtur2['spot']?></h5> <h5 class="title"><?php echo $rowtur2['baslik']?></h5> <a class="btn-theme btn-theme-color btn-sm" href="<?php echo $rowtur2['url'] ?>"><?php echo $rowtur2['button_text']?></a> </div> </div> </div> <?php }?> <?php } else {?> <div class="swiper-slide" style=" background:#333"> <div class="slider-middle-mainbox font-20 font-open-sans font-bold " style="color:#FFF"> <i class="fa fa-exclamation-circle" style="font-size:30px"></i> <br> <br> HİÇ BİR İÇERİK EKLENMEMİŞ <br> <span class="font-13 font-small font-open-sans">Dilerseniz panelinizden yeni bir içerik ekleyebilir ya da bu modülü pasif bırakabilirsiniz</span> </div> </div> <?php }?> </div> </div> </section> <!--== End Product Banner Area Wrapper ==--> <!--== Start Product Area Wrapper ==--> <section class="product-area product-default-area"> <div class="container pt--0"> <div class="row"> <div class="col-12"> <div class="section-title mb-45 mb-sm-20 shape-center text-center"> <h5 class="sub-title"><?php echo $diller['uruntercih'] ?></h5> <h2 class="title"><?php echo $diller['urunpopuler'] ?></h2> </div> <div class="isotope-filter"> <button class="active" data-filter="*">Tümü</button> <?php foreach ($urunkat_listele2 as $urunkat2) { ?> <button data-filter=".<?=$urunkat2['id']?>"><?=$urunkat2['baslik']?></button> <?php }?> </div> </div> </div> <div class="row isotope-grid"> <?php $urun_listele3 = $db->query("SELECT * FROM urun WHERE durum='1' and dil='$_SESSION[dil]' order by id desc LIMIT 8"); $UrunAl3 = $urun_listele3->fetchAll(PDO::FETCH_ASSOC); ?> <?php foreach($UrunAl3 as $prohit3){ ?> <div class="col-sm-6 col-lg-3 isotope-item filter_new <?php echo $prohit3['kat_id'] ?> filter_featured"> <!--== Start Product Item ==--> <div class="product-item"> <div class="product-thumb"> <a href="urun-icerik/<?php echo $prohit3['id'] ?>/<?php echo seo($prohit3['baslik']) ?>"> <img src="images/product/<?php echo $prohit3['gorsel'] ?>" width="270" height="320" alt="Image-HasTech"> </a> </div> <div class="product-info"> <h4 class="title"><a href="urun-icerik/<?php echo $prohit3['id'] ?>/<?php echo seo($prohit3['baslik']) ?>"><?php echo $prohit3['baslik'] ?></a></h4> <div class="prices"> <?php if($prohit3['eski_fiyat']== null || $prohit3['eski_fiyat']== '0') { } else { ?> <span style="font-size:15px; font-weight: 400; font-family: 'Open Sans', Arial; color:#999; display: inline-block; text-decoration: line-through;"><?php echo number_format($prohit3['eski_fiyat'], 2); ?> <span class="font-exlight" style="color:#999"><?php echo $odemeayar['simge'] ?></span></span> <?php }?> <?php if($prohit3['fiyat']== null || $prohit3['fiyat']== '0') { } else { ?> <h3><?php echo number_format($prohit3['fiyat'], 2); ?> <span class="font-exlight" style="color:#000"><?php echo $odemeayar['simge'] ?></span></h3> <?php }?> </div> </div> </div> <!--== End prPduct Item ==--> </div> <?php } ?> </div> </div> </section> <!--== End Product Area Wrapper ==--> <!--== Start Divider Area Wrapper ==--> <section class="bg-theme-color position-relative z-index-1"> <div class="container-fluid p--0"> <div class="row divider-style1"> <div class="col-lg-3 col-xl-4"> <div class="divider-thumb divider-thumb-left"> <img src="tema/img/photos/divider1.png" width="351" height="435" alt="Image-HasTech"> <div class="shape-circle"></div> </div> </div> <?php foreach ($trigger1 as $tg) { ?> <div class="col-lg-6 col-xl-4"> <div class="divider-content text-center"> <h5 class="sub-title"><?php echo $tg['text_color'] ?></h5> <h2 class="title"><?php echo $tg['text'] ?></h2> <p class="desc"><?php echo $tg['bg_color'] ?></p> <?php if( $tg['url'] == !null) { ?> <a class="btn-theme text-dark" href="<?php echo $tg['url'] ?>"><?php echo $tg['button_text'] ?></a> <?php }?> <img class="shape-object" src="tema/img/shape/object1.png" width="316" height="302" alt="Image-HasTech"> </div> </div> <?php }?> <div class="col-lg-3 col-xl-4"> <div class="divider-thumb divider-thumb-right"> <img src="tema/img/photos/divider2.png" width="488" height="447" alt="Image-HasTech"> </div> </div> </div> </div> </section> <!--== End Divider Area Wrapper ==--> <?php if($popup['durum'] == 1) { ?> <!--== Start About Area Wrapper ==--> <section class="about-area"> <div class="container"> <div class="about-item position-relative"> <div class="row align-items-center"> <div class="col-lg-6 order-2 order-lg-1"> <div class="about-content"> <div class="section-title shape-left"> <h5 class="sub-title"><?=$popup["padding"]?></h5> <h2 class="title"><?=$popup["tur"]?></h2> </div> <?=$popup["embed"]?> <a class="btn-theme" href="<?=$popup["url"]?>"><?=$popup["delay"]?></a> </div> </div> <div class="col-lg-6 order-1 order-lg-2"> <div class="about-thumb"> <img src="images/uploads/<?=$popup["gorsel"]?>" width="569" height="577" alt="Image-HasTech"> </div> </div> </div> </div> </div> </section> <!--== End About Area Wrapper ==--> <?php }?> <!--== Start Blog Area Wrapper ==--> <section class="blog-area blog-default-area"> <div class="container pt--0"> <div class="row"> <div class="col-12"> <div class="section-title shape-center text-center"> <h5 class="sub-title"><?php echo $diller['blog-aciklamasi']?></h5> <h2 class="title"><?php echo $diller['blog']?></h2> </div> </div> </div> <div class="row"> <?php foreach ($blogliste as $blog) { ?> <div class="col-md-6 col-lg-4"> <!--== Start Blog Item ==--> <div class="post-item"> <div class="thumb"> <a href="blog/<?php echo seo($blog['id'])?>/<?php echo seo($blog['baslik']) ?>"> <img style="width: 100%;height: 240px;object-fit: cover;" src="images/blog/<?php echo $blog['gorsel'] ?>" alt="<?php echo $blog['baslik'] ?>"> </a> </div> <div class="content"> <h4 class="title"><a href="blog/<?php echo seo($blog['id'])?>/<?php echo seo($blog['baslik']) ?>"><?php echo $blog['baslik'] ?></a></h4> <p><?php echo $blog['spot'] ?></p> <a class="btn-theme btn-sm" href="blog/<?php echo seo($blog['id'])?>/<?php echo seo($blog['baslik']) ?>"><?php echo $diller['devam'] ?></a> </div> </div> <!--== End Blog Item ==--> </div> <?php } ?> </div> </div> </section> <!--== End Blog Area Wrapper ==--> </main> <?php include "includes/footer.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