📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
butikv1.demodesign.com.tr
📝
index.php
← Geri Dön
<?php include 'includes/header.php'; ?> <title><?= $ayar['page_title'] ?></title> <meta name="description" content="<?= $ayar['page_description'] ?>"> <meta name="keywords" content="<?= $ayar['page_keywords'] ?>" /> <meta name="author" content="parstech"> <?php include 'includes/navbar.php'; ?> <!-- End of Header --> <main class="main"> <div class="page-content"> <section class="intro-section container-fluid"> <div class="container"> <div class="jumbotron"> <div class="jumbotron__left"> <div class="owl-carousel owl-theme row owl-nav-bg owl-dot-inner owl-dot-white intro-slider mb-2 animation-slider cols-1 gutter-no" data-owl-options="{ 'loop': true, 'items': 1, 'loop': true, 'autoplay': false, 'responsive': { '992': { 'nav': true, 'dots': false } } }"> <?php $coksorgu = $dbh->prepare("SELECT * FROM banner"); $coksorgu->execute(); while ($coksonuc = $coksorgu->fetch()) { $id = $coksonuc['id']; $banner_title = $coksonuc['banner_title']; $banner_description = $coksonuc['banner_description']; $banner_button = $coksonuc['banner_button']; $foto = $coksonuc['foto']; $coksonuc = cevir("banner", $coksonuc, $_SESSION["dil"]); ?> <div class="banner banner-fixed intro-slide1"> <figure> <img src="img/<?= $coksonuc['foto'] ?>" alt="<?= $coksonuc['banner_title'] ?>" width="1863" height="750" /> </figure> <div class="container"> <div class="banner-content x-50 y-50 text-center"> <div class="slide-animate" data-animation-options="{ 'name': 'blurIn' }"> <h3 class="banner-title font-weight-bold ls-m text-white text-uppercase" data-animation-options="{'name': 'fadeInUp', 'duration': '1.2s', 'delay': '.8s'}"> <?= $coksonuc['banner_title'] ?></h3> <h4 class="banner-subtitle text-white text-uppercase" data-animation-options="{'name': 'fadeIn', 'duration': '.7s'}"><?= $coksonuc['banner_description'] ?></h4> <br> <a href="<?= $coksonuc['banner_button'] ?>" class="btn btn-outline btn-lg btn-white" data-animation-options="{'name': 'fadeInUp', 'duration': '1.2s', 'delay': '1.6s'}"><?php echo $dil['076']; ?></a> </div> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </section> <section class="intro-section container-fluid"> <div class="owl-carousel owl-theme row cols-lg-4 cols-md-3 cols-sm-2 cols-1" data-owl-options="{ 'items': 4, 'nav': false, 'dots': false, 'margin': 10, 'loop': true, 'autoplay': true, 'autoplayTimeout': 5000, 'responsive': { '0': { 'items': 1 }, '576': { 'items': 2 }, '768': { 'items': 3 }, '992': { 'items': 4, 'loop': false } } }"> <?php $indexssorgu = $dbh->prepare("SELECT * FROM menu_categories WHERE parent='' "); $indexssorgu->execute(); while ($indexssonuc = $indexssorgu->fetch()) { $id = $indexssonuc['id']; $categories_name = $indexssonuc['categories_name']; $foto = $indexssonuc['foto']; $baslikseox = seo($indexssonuc['categories_name']); $indexssonuc = cevir("menu_categories", $indexssonuc, $_SESSION["dil"]); ?> <!-- başlaması --> <div class="category category-absolute category-banner text-white overlay-light appear-animate" data-animation-options="{ 'name': 'fadeInLeftShorter', 'delay': '.4s' }"> <a href="#"> <figure class="category-media"> <img src="img/<?=$indexssonuc['foto'];?>" alt="category" width="455" height="290" style="width: 455px; height: 390px;"> </figure> </a> <div class="category-content x-50 y-50"> <h4 class="category-name text-center text-uppercase"><?= $indexssonuc['categories_name'] ?></h4> <span class="category-count text-uppercase"> <?= $indexssonuc['categories_description'] ?> </span> <a href="kategori-<?=$baslikseox?>" class="btn btn-underline btn-link x-50">Tüm Ürünleri İncele</a> </div> </div> <!-- bitişi --> <?php } ?> </div> </section> <style type="text/css"> .pb-10 { padding-bottom: 5rem !important; } .pt-10 { padding-top: 5rem !important; } .container, .container-fluid { width: 100%; padding-left: 20px; padding-right: 20px; margin-left: auto; margin-right: auto; } .store { font-size: 1.3rem; line-height: 1.85; text-align: center; margin-bottom: 2rem; } .figure { margin: 0; } .store h4 { margin-bottom: 0; font-size: 1.8rem; font-weight: 700; letter-spacing: -.025em; text-transform: uppercase; } .overlay, .overlay-visible { display: flex; flex-direction: column; justify-content: center; position: absolute; left: 0; top: 0; right: 0; bottom: 0; color: #fff; transition: padding .3s ease-out, background-color .3s, opacity .3s; } </style> <section class="store-section pt-10 pb-10"> <div class="container"> <div class="row cols-sm-2 cols-lg-4"> <div class="store"> <a href="<?=$gorsel['home_one'];?>"> <img src="img/<?=$gorsel['gallery_pictures'];?>" alt="store" width="280" height="280"> </a> </div> <div class="store"> <a href="<?=$gorsel['home_two'];?>"> <img src="img/<?=$gorsel['contact_pictures'];?>" alt="store" width="280" height="280"> </a> </div> <div class="store"> <a href="<?=$gorsel['home_three'];?>"> <img src="img/<?=$gorsel['menu_pictures'];?>" alt="store" width="280" height="280"> </a> </div> <div class="store"> <a href="<?=$gorsel['home_four'];?>"> <img src="img/<?=$gorsel['cart_pictures'];?>" alt="store" width="280" height="280"> </a> </div> </div> </div> </section> <section class="mt-9"> <div class="container"> <h2 class="title">Çok Satanlar</h2> <div class="owl-carousel owl-theme row cols-2 cols-md-3 cols-lg-4 cols-xl-5 gutter-xs" data-owl-options="{ 'items': 5, 'nav': false, 'loop': false, 'dots': true, 'margin': 2, 'responsive': { '0': { 'items': 2 }, '768': { 'items': 3 }, '992': { 'items': 4 }, '1200': { 'items': 5, 'dots': false } } }"> <?php $indexsorgu = $dbh->prepare("SELECT * FROM product WHERE dash=1 "); $indexsorgu->execute(); while ($indexsonuc = $indexsorgu->fetch()) { $id = $indexsonuc['id']; $product_name = $indexsonuc['product_name']; $foto = $indexsonuc['foto']; $product_price = $indexsonuc['product_price']; $parent = $indexsonuc['parent']; $product_tag = $indexsonuc['product_tag']; $baslikseo = seo($indexsonuc['product_name']); $indexsonuc = cevir("product", $indexsonuc, $_SESSION["dil"]); $check = $dbh->query("SELECT * FROM menu_categories WHERE id = '" . $parent . "' ", PDO::FETCH_ASSOC); if ($check->rowCount()) { foreach ($check as $check) { } $kategori = $check["categories_name"]; } ?> <div class="product text-center"> <figure class="product-media"> <a href="urun-<?= $baslikseo ?>"> <img src="img/<?= $indexsonuc['foto'] ?>" alt="product" style="width: 310px; height: 315px;"> </a> <div class="product-action"> <a href="urun-<?= $baslikseo ?>" class="btn-product">ürünü incele</a> </div> </figure> <div class="product-details"> <div class="product-cat"> <a href="urun-<?= $baslikseo ?>"><?=$kategori?></a> </div> <h3 class="product-name"> <a href="urun-<?= $baslikseo ?>"><?= $indexsonuc['product_name'] ?></a> </h3> <div class="product-price"> <ins class="new-price"><?= $indexsonuc['product_price'] ?> TL</ins> </div> <div class="ratings-container"> <div class="ratings-full"> <span class="ratings" style="width:100%"></span> <span class="tooltiptext tooltip-top"></span> </div> </div> </div> </div> <?php } ?> </div> </div> </section> <section class="banner-group container-fluid pt-2 mt-10"> <div class="row"> <div class="col-md-6 mb-4 pr-1"> <div class="banner banner-fixed overlay-dark overlay-zoom appear-animate"> <figure> <img src="img/<?= $gorsel['right_foto'] ?>" width="930" height="390" alt="banner" /> </figure> <div class="banner-content y-50"> <div class="appear-animate" data-animation-options="{ 'name': 'fadeInUpShorter', 'delay': '.2s' }"> <h3 class="banner-title font-weight-bold ls-m text-white"><?= $gorsel['right_title'] ?></h3> <p class="text-white mb-5"><?= $gorsel['right_description'] ?></p> <a href="<?= $gorsel['right_button'] ?>" class="btn btn-outline btn-white"><?php echo $dil['076']; ?></a> </div> </div> </div> </div> <div class="col-md-6 mb-4 pl-1"> <div class="banner banner-fixed overlay-dark overlay-zoom appear-animate"> <figure> <img src="img/<?= $gorsel['left_foto'] ?>" width="930" height="390" alt="banner" /> </figure> <div class="banner-content y-50"> <div class="appear-animate" data-animation-options="{ 'name': 'fadeInUpShorter', 'delay': '.3s' }"> <h3 class="banner-title font-weight-bold ls-m text-white"><?= $gorsel['left_title'] ?></h3> <p class="text-white mb-5"><?= $gorsel['left_description'] ?></p> <a href="<?= $gorsel['left_button'] ?>" class="btn btn-outline btn-white"><?php echo $dil['076']; ?></a> </div> </div> </div> </div> </div> </section> <?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