LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / home / cuneytsener53 / eticaret3.snrsoft.com.tr / | Server Ip : 172.67.216.244 |
Filename | /home/cuneytsener53/eticaret3.snrsoft.com.tr/index.php |
Size | 39.42 kb |
Permission | rw-r--r-- |
Owner | |
Create time | 02-Mar-2025 05:46 |
Last modified | 26-Sep-2024 09:23 |
Last accessed | 04-Apr-2025 20:36 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
//phpinfo();
session_start();
if(!extension_loaded("soap")):
echo "Hostinginizde SOAP aktif degil, hosting firmaniz ile iletisime geciniz. https://prnt.sc/r5j1WQEUjuwx";
exit();
endif;
if(!function_exists('opcache_get_status') || !opcache_get_status()):
echo "Hostinginizde OpCache aktif degil, hosting firmaniz ile iletisime geciniz. https://prnt.sc/dJnWvv9yk288 ";
exit();
endif;
include "eklentiler/doviz/doviz.php";
foreach ($_GET as $k => $v) {
$_GET[$k] = strip_tags($v);
}
foreach ($_POST as $k => $v) {
$_POST[$k] = strip_tags($v);
}
setcookie("hideNewsletterPopup", "true", time() + 86400 * 30, "/");
include "panel/fonksiyon.php";
include "eklentiler/telegram/telegram.php";
if (isset($_GET["sayfa"])) {
$sayfa = cleanAZ($_GET["sayfa"]);
if ($sayfa == "panel"):
header("Location: /panel/");
die();
endif;
if ($sayfa == "eposta" && $_POST):
$ac = fopen('emails','a');
fwrite($ac, $_POST['email'].'\n');
header('Content-Type: text/html; charset=utf-8');
echo "Haber bültenine başarıyla kaydoldunuz: ".$_POST['email']."<br> 3 Saniye sonra yönlendiriliyorsunuz...";
echo ' <meta http-equiv="refresh" content="3;URL='.$site.'">';
die();
endif;
if ($sayfa == "cikis-yap") {
unset($_SESSION["kullanici"]["login"]);
unset($_SESSION["kullanici"]["id"]);
header("Location: $site");
die();
}
if (!is_file("inc/" . $sayfa . ".php")) {
header("HTTP/1.0 404 Not Found");
exit();
}
} else {
$sayfa = "anasayfa";
}
$cek = $db->query("SELECT * FROM ayar LIMIT 1")->fetch(PDO::FETCH_ASSOC);
function meta_degistir($icerik)
{
global $_title, $_description;
$icerik = str_replace('[$_title]', $_title, $icerik);
$icerik = str_replace('[$_description]', $_description, $icerik);
return $icerik;
}
if(!empty($_SESSION['kullanici']['id'])):
$query = $db->prepare("SELECT * FROM kullanici where id=:id LIMIT 1");
$bilgi = $query->execute(array(":id"=>$_SESSION['kullanici']['id']));
$bilgi = $query->fetch(PDO::FETCH_ASSOC);
if($bilgi["aktif"] != 1) header("Location: /cikis-yap");
endif;
ini_set('zlib.output_compression_level', 6);
ob_start("ob_gzhandler");
ob_start("meta_degistir");
$_title = $cek["title"];
$_description = $cek["description"];
?>
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>[$_title]</title>
<meta name="description" content="[$_description]" />
<base href="<?php echo $site; ?>">
<meta property="og:title" content="[$_title]">
<meta property="og:description" content="[$_description]">
<meta property="og:locale" content="tr_TR">
<meta property="og:type" content="website">
<link rel="shortcut icon" href="upload/<?php echo $cek[
"fav"
]; ?>" type="image/x-icon">
<!-- WebFont.js -->
<script>
WebFontConfig = {
google: { families: ['Poppins:400,500,600,700,800'] }
};
(function (d) {
var wf = d.createElement('script'), s = d.scripts[0];
wf.src = 'assets/js/webfont.js';
wf.async = true;
s.parentNode.insertBefore(wf, s);
})(document);
</script>
<link rel="preload" href="assets/vendor/fontawesome-free/webfonts/fa-regular-400.woff2" as="font" type="font/woff2"
crossorigin="anonymous">
<link rel="preload" href="assets/vendor/fontawesome-free/webfonts/fa-solid-900.woff2" as="font" type="font/woff2"
crossorigin="anonymous">
<link rel="preload" href="assets/vendor/fontawesome-free/webfonts/fa-brands-400.woff2" as="font" type="font/woff2"
crossorigin="anonymous">
<link rel="preload" href="assets/fonts/wolmart87d5.woff?png09e" as="font" type="font/woff" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Vendor CSS -->
<link rel="stylesheet" type="text/css" href="assets/vendor/fontawesome-free/css/all.min.css">
<!-- Plugins CSS -->
<!-- <link rel="stylesheet" href="assets/vendor/swiper/swiper-bundle.min.css"> -->
<link rel="stylesheet" type="text/css" href="assets/vendor/animate/animate.min.css">
<link rel="stylesheet" type="text/css" href="assets/vendor/magnific-popup/magnific-popup.min.css">
<!-- Link Swiper's CSS -->
<link rel="stylesheet" href="assets/vendor/swiper/swiper-bundle.min.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.min.css">
<!-- Default CSS -->
<link rel="stylesheet" type="text/css" href="assets/css/demo1.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js" ></script>
<style>
.select-box::before, .select-menu::before {
color: #fff;
}
</style>
<?php echo $cek["analistik_kodu"]; ?>
<?php if ($cek["whatsapp"]): ?>
<!-- GetButton.io widget -->
<script defer type="text/javascript">
(function () {
var options = {
whatsapp: "<?=$cek["whatsapp"]?>", // WhatsApp number
call_to_action: "WhatsApp İletişim", // Call to action
button_color: "#FF6550", // Color of button
position: "left", // Position may be 'right' or 'left'
};
var proto = 'https:', host = "getbutton.io", url = proto + '//static.' + host;
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
})();
</script>
<!-- /GetButton.io widget -->
<?php endif; ?>
</head>
<?php if($cek["site_ust_img"]): ?>
<div style="width: 100%;background: <?=$cek["renk1"]?>;text-align: center;">
<a href="<?=$cek["ust_img_link"]?>">
<img src="/upload/<?=$cek["site_ust_img"]?>">
</a>
</div>
<?php endif; ?>
<body class="home">
<div class="page-wrapper">
<h1 class="d-none"><?php echo $cek["title"]; ?></h1>
<!-- Start of Header -->
<header class="header">
<div class="header-top">
<div class="container">
<div class="header-left">
<p class="welcome-msg"><?php echo $cek["slogan"]; ?></p>
</div>
<div class="header-right">
<div class="dropdown">
<a href="#currency">Para Birimi <i class="fa fa-caret-down"></i></a>
<div class="dropdown-box">
<a href="?kur=TRY">TRY</a>
<a href="?kur=USD">USD</a>
<a href="?kur=EUR">EUR</a>
</div>
</div>
<div class="dropdown">
<a href="#language">Dil Seçimi <i class="fa fa-caret-down"></i></a>
<div class="dropdown-box">
<style>.yt-wrapper_align_right{display:none;}</style>
<div id="ytWidget"><script src="https://translate.yandex.net/website-widget/v1/widget.js?widgetId=ytWidget&pageLang=tr&widgetTheme=light&autoMode=true" type="text/javascript" ></script></div>
</div>
</div>
<span class="divider d-lg-show"></span>
<!-- End of Dropdown Menu -->
<a href="/blog" class="d-lg-show">Blog</a>
<a href="/iletisim" class="d-lg-show">İletişim</a>
<a href="/banka-hesaplarimiz" class="d-lg-show">Banka Hesapları</a>
<span class="divider d-lg-show"></span>
<?php if(!empty($_SESSION['kullanici']['id'])): ?>
<a href="/hesabim" class="d-lg-show "><i
class="w-icon-account"></i>Hesabım</a>
<span class="delimiter d-lg-show">/</span>
<a href="/siparislerim" class="ml-0 d-lg-show">Siparişlerim</a>
<?php else: ?>
<a href="/giris-yap" class="d-lg-show "><i
class="w-icon-account"></i>Giriş Yap</a>
<span class="delimiter d-lg-show">/</span>
<a href="/kayit-ol" class="ml-0 d-lg-show">Üye Ol</a>
<?php endif; ?>
</div>
</div>
</div>
<!-- End of Header Top -->
<div class="header-middle">
<div class="container">
<div class="header-left mr-md-4">
<a href="#" class="mobile-menu-toggle w-icon-hamburger" aria-label="menu-toggle">
</a>
<a href="/" class="logo ml-lg-0">
<img src="upload/<?php echo $cek[
"logo"
]; ?>" alt="logo" width="144" height="45" />
</a>
<form method="POST" action="ara"
class="header-search hs-expanded hs-round d-none d-md-flex input-wrapper">
<div class="select-box" style=" pointer-events: none;
cursor: default;
">
<select id="category" name="category">
<option>Kategorileri Ara</option>
</select>
</div>
<input type="text" class="form-control" name="ara" id="search" placeholder="Binlerce Ürün Arasında Arayın..." required="" autocomplete="none" />
<button class="btn btn-search" type="submit"><i class="w-icon-search"></i>
</button>
</form>
</div>
<div class="header-right ml-4">
<div class="header-call d-xs-show d-lg-flex align-items-center">
<a href="tel:#" class="w-icon-call"></a>
<div class="call-info d-lg-show">
<h4 class="chat font-weight-normal font-size-md text-normal ls-normal text-light mb-0">
<a href="tel:<?php echo $cek[
"telefon"
]; ?>" class="text-capitalize"> Çağrı Merkezi</a></h4>
<a href="tel:<?php echo $cek[
"telefon"
]; ?>" class="phone-number font-weight-bolder ls-50"><?php echo $cek[
"telefon"
]; ?></a>
</div>
</div>
<a class="wishlist label-down link d-xs-show" href="/favorilerim">
<i class="w-icon-heart"></i>
<span class="wishlist-label d-lg-show">Favorilerim</span>
</a>
<a class="wishlist label-down link d-xs-show" href="/siparislerim">
<i class=" w-icon-truck"></i>
<span class="wishlist-label d-lg-show">Siparişlerim</span>
</a>
<div class="dropdown cart-dropdown cart-offcanvas mr-0 mr-lg-2">
<div class="cart-overlay"></div>
<style>
.dropdown > a::after {
display: none;
}
</style>
<a href="sepetim" class=" label-down link">
<i class="w-icon-cart">
<span class="cart-count" id="sepet_sayi">0</span>
</i>
<span class="cart-label">Sepetim</span>
</a>
<!-- End of Dropdown Box -->
</div>
</div>
</div>
</div>
<!-- End of Header Middle -->
<div class="header-bottom sticky-content fix-top sticky-header <?php if (
$sayfa == "anasayfa"
):
echo "has-dropdown";
endif; ?>">
<div class="container">
<div class="inner-wrap">
<div class="header-left">
<div class="dropdown category-dropdown has-border" data-visible="true">
<a href="/" class="text-dark" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="true" data-display="static"
role="buttonriler">
<i class="w-icon-category"></i>
<span>Tüm Kategoriler</span>
</a>
<div class="dropdown-box" <?php if( $sayfa != "anasayfa"): ?> style="display:none" <?php endif; ?> >
<ul class="menu vertical-menu category-menu">
<?php
$query = $db->query(
"SELECT * FROM kategori WHERE ust_menu = 1 ORDER BY sira ASC",
PDO::FETCH_ASSOC
);
if ($query->rowCount()) {
foreach ($query as $row) {
if($row['icon']):
$row['icon'] = '<img src="upload/'.$row['icon'].'" style="width: 1.7rem;"> ';
endif;
echo '<li>
<a href="kategori/' .
$row["sef"] .
'/" title="' .
$row["baslik"] .
'">
'.$row['icon'].$row["baslik"] .'</a>';
$query1 = $db->query(
"SELECT * FROM kategori WHERE ust_kategori = '{$row["id"]}' ORDER BY sira ASC",
PDO::FETCH_ASSOC
);
if ($query1->rowCount()) {
echo '<ul class="megamenu">';
foreach (
$query1
as $row1
) {
echo "<li>";
echo '
<h4 class="menu-title"> <a href="kategori/' .
$row1["sef"] .
'/">' .
$row1["baslik"] .
'</a></h4>
<hr class="divider">
';
$query2 = $db->query(
"SELECT * FROM kategori WHERE ust_kategori = '{$row1["id"]}' ORDER BY sira ASC",
PDO::FETCH_ASSOC
);
if (
$query2->rowCount()
) {
echo "<ul>";
foreach (
$query2
as $row2
) {
echo '<li><a href="kategori/' .
$row2[
"sef"
] .
'/" title="' .
$row2[
"baslik"
] .
'">' .
$row2[
"baslik"
] .
"</a></li>";
}
echo "</ul>";
}
echo "</li>";
}
if($row["img"]):
echo ' <li>
<div class="banner-fixed menu-banner menu-banner2">
<figure>
<img src="upload/'.$row["img"].'" alt="Menu Banner"
width="235" height="347" />
</figure>
</div>
</li>';
endif;
echo "</ul>";
}
echo "</li>";
}
}
?>
<li>
<a href="/favorilerim" class="font-weight-bold text-primary text-uppercase ls-25">
Favorilerimi Görüntüle<i class="w-icon-angle-right"></i>
</a>
</li>
</ul>
</div>
</div>
<nav class="main-nav">
<ul class="menu active-underline">
<li <?php if (
$sayfa == "anasayfa"
): ?> class="active" <?php endif; ?>>
<a href="/">Ana Sayfa</a>
</li>
<li <?php if (
$sayfa == "iletisim"
): ?> class="active" <?php endif; ?>>
<a href="/iletisim">Bize Ulaşın</a>
</li>
<li <?php if (
$sayfa == "banka-hesaplarimiz"
): ?> class="active" <?php endif; ?>>
<a href="/banka-hesaplarimiz">Banka Hesapları</a>
</li>
<li <?php if ($sayfa == "blog"): ?> class="active" <?php endif; ?>>
<a href="/blog">Blog Yazıları</a>
</li>
<li <?php if (
$sayfa == "sayfa"
): ?> class="active" <?php endif; ?>>
<a href="#">Diğer</a>
<ul>
<?php
$query = $db->query("SELECT * FROM sayfa", PDO::FETCH_ASSOC);
if ($query->rowCount()) {
foreach ($query as $row) {
echo '<li><a href="sayfa/' .
$row["sef"] .
'">' .
$row["baslik"] .
"</a></li>";
}
}
?> </ul>
</li>
</ul>
</nav>
</div>
<div class="header-right">
<a href="/siparis-takibi" class="d-xl-show"><i class=" w-icon-shipping mr-1" style=" font-size: 2.4rem;
margin-right: 0.8rem;"></i>Sipariş Takibi</a>
<a href="/odeme-bildirimi"><i class=" w-icon-wallet" style=" font-size: 2.2rem;
margin-right: 0.8rem;"></i>Ödeme Bildirimi</a>
</div>
</div>
</div>
</div>
</header>
<!-- End of Header -->
<?php include "inc/" . $sayfa . ".php"; ?>
<!-- Start of Footer -->
<footer class="footer appear-animate" data-animation-options="{
'name': 'fadeIn'
}">
<div class="footer-newsletter bg-primary">
<div class="container">
<div class="row justify-content-center align-items-center">
<div class="col-xl-5 col-lg-6">
<div class="icon-box icon-box-side text-white">
<div class="icon-box-icon d-inline-flex">
<i class="w-icon-envelop3"></i>
</div>
<div class="icon-box-content">
<h4 class="icon-box-title text-white text-uppercase font-weight-bold">HABER BÜLTENİMİZE ABONE OL</h4>
<p class="text-white">Etkinlikler, Satışlar ve Teklifler hakkında en son bilgileri alın.
</p>
</div>
</div>
</div>
<div class="col-xl-7 col-lg-6 col-md-9 mt-4 mt-lg-0 ">
<form action="<?=$site?>eposta" method="post" class="input-wrapper input-wrapper-inline input-wrapper-rounded">
<input type="email" class="form-control mr-2 bg-white" name="email" id="email" placeholder="E-Posta Adresiniz">
<button class="btn btn-dark btn-rounded" type="submit">Abone Ol!<i class="w-icon-long-arrow-right"></i></button>
</form>
</div>
</div>
</div>
</div>
<div class="container">
<div class="footer-top">
<div class="row">
<div class="col-lg-4 col-sm-6">
<div class="widget widget-about">
<a href="/" class="logo-footer">
<img src="upload/<?php echo $cek[
"logo"
]; ?>" alt="logo-footer" width="144"
height="45" />
</a>
<div class="widget-body">
<p class="widget-about-title">Sorularınız mı var? Bizi Arayın</p>
<a href="tel:<?php echo $cek[
"telefon"
]; ?>" class="widget-about-call"><?php echo $cek[
"telefon"
]; ?></a>
<p class="widget-about-desc"><?php echo $cek[
"description"
]; ?></p>
<div class="social-icons social-icons-colored">
<a href="https://api.whatsapp.com/send?phone=9<?php echo $cek[
"whatsapp"
]; ?>&text=Merhaba, yardım almak istiyorum." class="social-icon social-facebook w-icon-comments-solid" style="border-color: #1b9b3a;background-color: #1b9b3a;"></a>
<a href="<?php echo $cek[
"facebook"
]; ?>" class="social-icon social-facebook w-icon-facebook"></a>
<a href="<?php echo $cek[
"twitter"
]; ?>" class="social-icon social-twitter w-icon-twitter"></a>
<a href="<?php echo $cek[
"instagram"
]; ?>" class="social-icon social-youtube w-icon-instagram"></a>
<a href="<?php echo $cek[
"youtube"
]; ?>" class="social-icon social-instagram w-icon-youtube"></a>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="widget">
<h3 class="widget-title">Kategoriler</h3>
<ul class="widget-body">
<?php
$query = $db->query(
"SELECT * FROM kategori WHERE alt_menu = 1 ORDER BY sira ASC",
PDO::FETCH_ASSOC
);
if ($query->rowCount()) {
foreach ($query as $row) {
echo '<li><a href="kategori/' .
$row["sef"] .
'/" title="' .
$row["baslik"] .
'">' .
$row["baslik"] .
"</a></li>";
}
}
?>
</ul>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="widget">
<h4 class="widget-title">Bağlantılar</h4>
<ul class="widget-body">
<?php
$query = $db->query(
"SELECT * FROM sayfa WHERE alt_menu = 1",
PDO::FETCH_ASSOC
);
if ($query->rowCount()) {
foreach ($query as $row) {
echo '<li><a href="sayfa/' .
$row["sef"] .
'" title="' .
$row["baslik"] .
'">' .
$row["baslik"] .
"</a></li>";
}
}
?>
</ul>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="widget">
<h4 class="widget-title">Hızlı Erişim</h4>
<ul class="widget-body">
<li><a href="blog" title="">Blog Yazıları</a></li>
<li><a href="siparislerim" title="">Siparişlerim</a></li>
<li><a href="siparis-takibi" title="">Sipariş Takibi</a></li>
<li><a href="odeme-bildirimi" title="">Ödeme Bildirimi</a></li>
<li><a href="banka-hesaplarimiz" title="">Banka Hesapları</a></li>
<li><a href="iletisim" title=""> Bize Ulaşın</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="footer-left">
<p class="copyright">Copyright © 2022. Tüm Hakları Saklıdır. <?php echo $cek["title"]; ?></p>
</div>
<div class="footer-right">
<span class="payment-label mr-lg-8">Bu Web Sitesi <a href="https://www.google.com" style="font-weight: 600;color: #336699;">Firma Adı</a> tarafından kurulmuştur.</span>
<figure class="payment">
<img src="https://i.hizliresim.com/foqwm4f.png" alt="payment" height="50" />
</figure>
</div>
</div>
</div>
</footer>
<!-- End of Footer -->
</div>
<!-- End of Page-wrapper-->
<!-- Start of Sticky Footer -->
<div class="sticky-footer sticky-content fix-bottom">
<a href="/" class="sticky-link active">
<i class="w-icon-home"></i>
<p>Ana Sayfa</p>
</a>
<a href="favorilerim" class="sticky-link">
<i class="w-icon-heart"></i>
<p>Favorilerim</p>
</a>
<a href="giris-yap" class="sticky-link">
<i class="w-icon-account"></i>
<p>Müşteri Paneli</p>
</a>
<div class="cart-dropdown dir-up">
<a href="sepetim" class="sticky-link">
<i class="w-icon-cart"></i>
<p>Sepetim</p>
</a>
</div>
<div class="header-search hs-toggle dir-up">
<a href="#" class="search-toggle sticky-link">
<i class="w-icon-search"></i>
<p>Ürün Ara</p>
</a>
<form method="POST" action="ara" class="input-wrapper">
<input type="text" class="form-control" name="ara" autocomplete="off" placeholder="Binlerce ürün arasında ara..."
required />
<button class="btn btn-search" type="submit">
<i class="w-icon-search"></i>
</button>
</form>
</div>
</div>
<!-- End of Sticky Footer -->
<!-- Start of Scroll Top -->
<a id="scroll-top" class="scroll-top" href="#top" title="Top" role="button"> <i class="w-icon-angle-up"></i> <svg
version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 70 70">
<circle id="progress-indicator" fill="transparent" stroke="#000000" stroke-miterlimit="10" cx="35" cy="35"
r="34" style="stroke-dasharray: 16.4198, 400;"></circle>
</svg> </a>
<!-- End of Scroll Top -->
<!-- Start of Mobile Menu -->
<div class="mobile-menu-wrapper">
<div class="mobile-menu-overlay"></div>
<!-- End of .mobile-menu-overlay -->
<a href="#" class="mobile-menu-close"><i class="close-icon"></i></a>
<!-- End of .mobile-menu-close -->
<div class="mobile-menu-container scrollable">
<form action="ara" method="POST" class="input-wrapper">
<input type="text" class="form-control" name="ara" autocomplete="off" placeholder="Binlerce ürün arasında ara..."
required />
<button class="btn btn-search" type="submit">
<i class="w-icon-search"></i>
</button>
</form>
<!-- End of Search Form -->
<div class="tab">
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item">
<a href="#main-menu" class="nav-link active">Ana Menü</a>
</li>
<li class="nav-item">
<a href="#categories" class="nav-link">Kategoriler</a>
</li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane active" id="main-menu">
<ul class="mobile-menu">
<li <?php if (
$sayfa == "anasayfa"
): ?> class="active" <?php endif; ?>>
<a href="/">Ana Sayfa</a>
</li>
<li <?php if (
$sayfa == "iletisim"
): ?> class="active" <?php endif; ?>>
<a href="/iletisim">Bize Ulaşın</a>
</li>
<li <?php if (
$sayfa == "banka-hesaplarimiz"
): ?> class="active" <?php endif; ?>>
<a href="/banka-hesaplarimiz">Banka Hesapları</a>
</li>
<li <?php if ($sayfa == "blog"): ?> class="active" <?php endif; ?>>
<a href="/blog">Blog Yazıları</a>
</li>
<li <?php if (
$sayfa == "siparis-takibi"
): ?> class="active" <?php endif; ?>>
<a href="/siparis-takibi">Sipariş Takibi</a>
</li>
<li <?php if (
$sayfa == "odeme-bildirimi"
): ?> class="active" <?php endif; ?>>
<a href="/odeme-bildirimi">Ödeme Bildirimi</a>
</li>
<li <?php if (
$sayfa == "giris-yap"
): ?> class="active" <?php endif; ?>>
<a href="/giris-yap">Müşteri Paneli</a>
</li>
</ul>
</div>
<div class="tab-pane" id="categories">
<ul class="mobile-menu">
<?php
$query = $db->query(
"SELECT * FROM kategori WHERE ust_menu = 1 ORDER BY sira ASC",
PDO::FETCH_ASSOC
);
if ($query->rowCount()) {
foreach ($query as $row) { ?>
<li>
<a href="kategori/<?=$row["sef"]?>/">
<img src="upload/<?=$row['icon']?>" style="width: 1.8rem;filter: invert(100%)"> <?=$row["baslik"]?>
</a>
</li>
<?php } } ?>
<li>
<a href="/favorilerim" class="font-weight-bold text-primary text-uppercase ls-25">
Favorilerimi Görüntüle<i class="w-icon-angle-right"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- End of Mobile Menu -->
<!-- Start of Newsletter popup -->
<div class="newsletter-popup mfp-hide">
<div class="newsletter-content">
<h4 class="text-uppercase font-weight-normal ls-25"><span class="text-primary">%25'e Varan</span> İndirim Kazanın.</h4>
<h2 class="ls-25">Abone Ol!</h2>
<p class="text-light ls-10">Duyuru bültenine abone olun. Özel teklifler hakkında duyurular alın.</p>
<form action="eposta" method="POST" class="input-wrapper input-wrapper-inline input-wrapper-round">
<input type="email" class="form-control email font-size-md" name="email" id="email2"
placeholder="Your email address" required="">
<button class="btn btn-dark" type="submit">Abone Ol</button>
</form>
<div class="form-checkbox d-flex align-items-center">
<input type="checkbox" class="custom-checkbox" id="hide-newsletter-popup" name="hide-newsletter-popup"
required="">
<label for="hide-newsletter-popup" class="font-size-sm text-light">Tekrar gösterme.</label>
</div>
</div>
</div>
<!-- End of Newsletter popup -->
<!-- End of Quick view -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<!-- Plugin JS File -->
<script src="assets/js/xmain.js"></script>
<script src="assets/vendor/jquery.plugin/jquery.plugin.min.js"></script>
<script src="assets/vendor/imagesloaded/imagesloaded.pkgd.min.js"></script>
<script src="assets/vendor/zoom/jquery.zoom.js"></script>
<script src="assets/vendor/jquery.countdown/jquery.countdown.min.js"></script>
<script src="assets/vendor/magnific-popup/jquery.magnific-popup.min.js"></script>
<script src="assets/vendor/skrollr/skrollr.min.js"></script>
<!-- Swiper JS -->
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<!-- Main JS -->
<script src="assets/js/mains.js"></script>
<?php if($sayfa == "urun"): ?>
<script>
$('#spett').removeClass('disabled')
</script>
<?php endif; ?>
</body>
</html>
//phpinfo();
session_start();
if(!extension_loaded("soap")):
echo "Hostinginizde SOAP aktif degil, hosting firmaniz ile iletisime geciniz. https://prnt.sc/r5j1WQEUjuwx";
exit();
endif;
if(!function_exists('opcache_get_status') || !opcache_get_status()):
echo "Hostinginizde OpCache aktif degil, hosting firmaniz ile iletisime geciniz. https://prnt.sc/dJnWvv9yk288 ";
exit();
endif;
include "eklentiler/doviz/doviz.php";
foreach ($_GET as $k => $v) {
$_GET[$k] = strip_tags($v);
}
foreach ($_POST as $k => $v) {
$_POST[$k] = strip_tags($v);
}
setcookie("hideNewsletterPopup", "true", time() + 86400 * 30, "/");
include "panel/fonksiyon.php";
include "eklentiler/telegram/telegram.php";
if (isset($_GET["sayfa"])) {
$sayfa = cleanAZ($_GET["sayfa"]);
if ($sayfa == "panel"):
header("Location: /panel/");
die();
endif;
if ($sayfa == "eposta" && $_POST):
$ac = fopen('emails','a');
fwrite($ac, $_POST['email'].'\n');
header('Content-Type: text/html; charset=utf-8');
echo "Haber bültenine başarıyla kaydoldunuz: ".$_POST['email']."<br> 3 Saniye sonra yönlendiriliyorsunuz...";
echo ' <meta http-equiv="refresh" content="3;URL='.$site.'">';
die();
endif;
if ($sayfa == "cikis-yap") {
unset($_SESSION["kullanici"]["login"]);
unset($_SESSION["kullanici"]["id"]);
header("Location: $site");
die();
}
if (!is_file("inc/" . $sayfa . ".php")) {
header("HTTP/1.0 404 Not Found");
exit();
}
} else {
$sayfa = "anasayfa";
}
$cek = $db->query("SELECT * FROM ayar LIMIT 1")->fetch(PDO::FETCH_ASSOC);
function meta_degistir($icerik)
{
global $_title, $_description;
$icerik = str_replace('[$_title]', $_title, $icerik);
$icerik = str_replace('[$_description]', $_description, $icerik);
return $icerik;
}
if(!empty($_SESSION['kullanici']['id'])):
$query = $db->prepare("SELECT * FROM kullanici where id=:id LIMIT 1");
$bilgi = $query->execute(array(":id"=>$_SESSION['kullanici']['id']));
$bilgi = $query->fetch(PDO::FETCH_ASSOC);
if($bilgi["aktif"] != 1) header("Location: /cikis-yap");
endif;
ini_set('zlib.output_compression_level', 6);
ob_start("ob_gzhandler");
ob_start("meta_degistir");
$_title = $cek["title"];
$_description = $cek["description"];
?>
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>[$_title]</title>
<meta name="description" content="[$_description]" />
<base href="<?php echo $site; ?>">
<meta property="og:title" content="[$_title]">
<meta property="og:description" content="[$_description]">
<meta property="og:locale" content="tr_TR">
<meta property="og:type" content="website">
<link rel="shortcut icon" href="upload/<?php echo $cek[
"fav"
]; ?>" type="image/x-icon">
<!-- WebFont.js -->
<script>
WebFontConfig = {
google: { families: ['Poppins:400,500,600,700,800'] }
};
(function (d) {
var wf = d.createElement('script'), s = d.scripts[0];
wf.src = 'assets/js/webfont.js';
wf.async = true;
s.parentNode.insertBefore(wf, s);
})(document);
</script>
<link rel="preload" href="assets/vendor/fontawesome-free/webfonts/fa-regular-400.woff2" as="font" type="font/woff2"
crossorigin="anonymous">
<link rel="preload" href="assets/vendor/fontawesome-free/webfonts/fa-solid-900.woff2" as="font" type="font/woff2"
crossorigin="anonymous">
<link rel="preload" href="assets/vendor/fontawesome-free/webfonts/fa-brands-400.woff2" as="font" type="font/woff2"
crossorigin="anonymous">
<link rel="preload" href="assets/fonts/wolmart87d5.woff?png09e" as="font" type="font/woff" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Vendor CSS -->
<link rel="stylesheet" type="text/css" href="assets/vendor/fontawesome-free/css/all.min.css">
<!-- Plugins CSS -->
<!-- <link rel="stylesheet" href="assets/vendor/swiper/swiper-bundle.min.css"> -->
<link rel="stylesheet" type="text/css" href="assets/vendor/animate/animate.min.css">
<link rel="stylesheet" type="text/css" href="assets/vendor/magnific-popup/magnific-popup.min.css">
<!-- Link Swiper's CSS -->
<link rel="stylesheet" href="assets/vendor/swiper/swiper-bundle.min.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.min.css">
<!-- Default CSS -->
<link rel="stylesheet" type="text/css" href="assets/css/demo1.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js" ></script>
<style>
.select-box::before, .select-menu::before {
color: #fff;
}
</style>
<?php echo $cek["analistik_kodu"]; ?>
<?php if ($cek["whatsapp"]): ?>
<!-- GetButton.io widget -->
<script defer type="text/javascript">
(function () {
var options = {
whatsapp: "<?=$cek["whatsapp"]?>", // WhatsApp number
call_to_action: "WhatsApp İletişim", // Call to action
button_color: "#FF6550", // Color of button
position: "left", // Position may be 'right' or 'left'
};
var proto = 'https:', host = "getbutton.io", url = proto + '//static.' + host;
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = url + '/widget-send-button/js/init.js';
s.onload = function () { WhWidgetSendButton.init(host, proto, options); };
var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x);
})();
</script>
<!-- /GetButton.io widget -->
<?php endif; ?>
</head>
<?php if($cek["site_ust_img"]): ?>
<div style="width: 100%;background: <?=$cek["renk1"]?>;text-align: center;">
<a href="<?=$cek["ust_img_link"]?>">
<img src="/upload/<?=$cek["site_ust_img"]?>">
</a>
</div>
<?php endif; ?>
<body class="home">
<div class="page-wrapper">
<h1 class="d-none"><?php echo $cek["title"]; ?></h1>
<!-- Start of Header -->
<header class="header">
<div class="header-top">
<div class="container">
<div class="header-left">
<p class="welcome-msg"><?php echo $cek["slogan"]; ?></p>
</div>
<div class="header-right">
<div class="dropdown">
<a href="#currency">Para Birimi <i class="fa fa-caret-down"></i></a>
<div class="dropdown-box">
<a href="?kur=TRY">TRY</a>
<a href="?kur=USD">USD</a>
<a href="?kur=EUR">EUR</a>
</div>
</div>
<div class="dropdown">
<a href="#language">Dil Seçimi <i class="fa fa-caret-down"></i></a>
<div class="dropdown-box">
<style>.yt-wrapper_align_right{display:none;}</style>
<div id="ytWidget"><script src="https://translate.yandex.net/website-widget/v1/widget.js?widgetId=ytWidget&pageLang=tr&widgetTheme=light&autoMode=true" type="text/javascript" ></script></div>
</div>
</div>
<span class="divider d-lg-show"></span>
<!-- End of Dropdown Menu -->
<a href="/blog" class="d-lg-show">Blog</a>
<a href="/iletisim" class="d-lg-show">İletişim</a>
<a href="/banka-hesaplarimiz" class="d-lg-show">Banka Hesapları</a>
<span class="divider d-lg-show"></span>
<?php if(!empty($_SESSION['kullanici']['id'])): ?>
<a href="/hesabim" class="d-lg-show "><i
class="w-icon-account"></i>Hesabım</a>
<span class="delimiter d-lg-show">/</span>
<a href="/siparislerim" class="ml-0 d-lg-show">Siparişlerim</a>
<?php else: ?>
<a href="/giris-yap" class="d-lg-show "><i
class="w-icon-account"></i>Giriş Yap</a>
<span class="delimiter d-lg-show">/</span>
<a href="/kayit-ol" class="ml-0 d-lg-show">Üye Ol</a>
<?php endif; ?>
</div>
</div>
</div>
<!-- End of Header Top -->
<div class="header-middle">
<div class="container">
<div class="header-left mr-md-4">
<a href="#" class="mobile-menu-toggle w-icon-hamburger" aria-label="menu-toggle">
</a>
<a href="/" class="logo ml-lg-0">
<img src="upload/<?php echo $cek[
"logo"
]; ?>" alt="logo" width="144" height="45" />
</a>
<form method="POST" action="ara"
class="header-search hs-expanded hs-round d-none d-md-flex input-wrapper">
<div class="select-box" style=" pointer-events: none;
cursor: default;
">
<select id="category" name="category">
<option>Kategorileri Ara</option>
</select>
</div>
<input type="text" class="form-control" name="ara" id="search" placeholder="Binlerce Ürün Arasında Arayın..." required="" autocomplete="none" />
<button class="btn btn-search" type="submit"><i class="w-icon-search"></i>
</button>
</form>
</div>
<div class="header-right ml-4">
<div class="header-call d-xs-show d-lg-flex align-items-center">
<a href="tel:#" class="w-icon-call"></a>
<div class="call-info d-lg-show">
<h4 class="chat font-weight-normal font-size-md text-normal ls-normal text-light mb-0">
<a href="tel:<?php echo $cek[
"telefon"
]; ?>" class="text-capitalize"> Çağrı Merkezi</a></h4>
<a href="tel:<?php echo $cek[
"telefon"
]; ?>" class="phone-number font-weight-bolder ls-50"><?php echo $cek[
"telefon"
]; ?></a>
</div>
</div>
<a class="wishlist label-down link d-xs-show" href="/favorilerim">
<i class="w-icon-heart"></i>
<span class="wishlist-label d-lg-show">Favorilerim</span>
</a>
<a class="wishlist label-down link d-xs-show" href="/siparislerim">
<i class=" w-icon-truck"></i>
<span class="wishlist-label d-lg-show">Siparişlerim</span>
</a>
<div class="dropdown cart-dropdown cart-offcanvas mr-0 mr-lg-2">
<div class="cart-overlay"></div>
<style>
.dropdown > a::after {
display: none;
}
</style>
<a href="sepetim" class=" label-down link">
<i class="w-icon-cart">
<span class="cart-count" id="sepet_sayi">0</span>
</i>
<span class="cart-label">Sepetim</span>
</a>
<!-- End of Dropdown Box -->
</div>
</div>
</div>
</div>
<!-- End of Header Middle -->
<div class="header-bottom sticky-content fix-top sticky-header <?php if (
$sayfa == "anasayfa"
):
echo "has-dropdown";
endif; ?>">
<div class="container">
<div class="inner-wrap">
<div class="header-left">
<div class="dropdown category-dropdown has-border" data-visible="true">
<a href="/" class="text-dark" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="true" data-display="static"
role="buttonriler">
<i class="w-icon-category"></i>
<span>Tüm Kategoriler</span>
</a>
<div class="dropdown-box" <?php if( $sayfa != "anasayfa"): ?> style="display:none" <?php endif; ?> >
<ul class="menu vertical-menu category-menu">
<?php
$query = $db->query(
"SELECT * FROM kategori WHERE ust_menu = 1 ORDER BY sira ASC",
PDO::FETCH_ASSOC
);
if ($query->rowCount()) {
foreach ($query as $row) {
if($row['icon']):
$row['icon'] = '<img src="upload/'.$row['icon'].'" style="width: 1.7rem;"> ';
endif;
echo '<li>
<a href="kategori/' .
$row["sef"] .
'/" title="' .
$row["baslik"] .
'">
'.$row['icon'].$row["baslik"] .'</a>';
$query1 = $db->query(
"SELECT * FROM kategori WHERE ust_kategori = '{$row["id"]}' ORDER BY sira ASC",
PDO::FETCH_ASSOC
);
if ($query1->rowCount()) {
echo '<ul class="megamenu">';
foreach (
$query1
as $row1
) {
echo "<li>";
echo '
<h4 class="menu-title"> <a href="kategori/' .
$row1["sef"] .
'/">' .
$row1["baslik"] .
'</a></h4>
<hr class="divider">
';
$query2 = $db->query(
"SELECT * FROM kategori WHERE ust_kategori = '{$row1["id"]}' ORDER BY sira ASC",
PDO::FETCH_ASSOC
);
if (
$query2->rowCount()
) {
echo "<ul>";
foreach (
$query2
as $row2
) {
echo '<li><a href="kategori/' .
$row2[
"sef"
] .
'/" title="' .
$row2[
"baslik"
] .
'">' .
$row2[
"baslik"
] .
"</a></li>";
}
echo "</ul>";
}
echo "</li>";
}
if($row["img"]):
echo ' <li>
<div class="banner-fixed menu-banner menu-banner2">
<figure>
<img src="upload/'.$row["img"].'" alt="Menu Banner"
width="235" height="347" />
</figure>
</div>
</li>';
endif;
echo "</ul>";
}
echo "</li>";
}
}
?>
<li>
<a href="/favorilerim" class="font-weight-bold text-primary text-uppercase ls-25">
Favorilerimi Görüntüle<i class="w-icon-angle-right"></i>
</a>
</li>
</ul>
</div>
</div>
<nav class="main-nav">
<ul class="menu active-underline">
<li <?php if (
$sayfa == "anasayfa"
): ?> class="active" <?php endif; ?>>
<a href="/">Ana Sayfa</a>
</li>
<li <?php if (
$sayfa == "iletisim"
): ?> class="active" <?php endif; ?>>
<a href="/iletisim">Bize Ulaşın</a>
</li>
<li <?php if (
$sayfa == "banka-hesaplarimiz"
): ?> class="active" <?php endif; ?>>
<a href="/banka-hesaplarimiz">Banka Hesapları</a>
</li>
<li <?php if ($sayfa == "blog"): ?> class="active" <?php endif; ?>>
<a href="/blog">Blog Yazıları</a>
</li>
<li <?php if (
$sayfa == "sayfa"
): ?> class="active" <?php endif; ?>>
<a href="#">Diğer</a>
<ul>
<?php
$query = $db->query("SELECT * FROM sayfa", PDO::FETCH_ASSOC);
if ($query->rowCount()) {
foreach ($query as $row) {
echo '<li><a href="sayfa/' .
$row["sef"] .
'">' .
$row["baslik"] .
"</a></li>";
}
}
?> </ul>
</li>
</ul>
</nav>
</div>
<div class="header-right">
<a href="/siparis-takibi" class="d-xl-show"><i class=" w-icon-shipping mr-1" style=" font-size: 2.4rem;
margin-right: 0.8rem;"></i>Sipariş Takibi</a>
<a href="/odeme-bildirimi"><i class=" w-icon-wallet" style=" font-size: 2.2rem;
margin-right: 0.8rem;"></i>Ödeme Bildirimi</a>
</div>
</div>
</div>
</div>
</header>
<!-- End of Header -->
<?php include "inc/" . $sayfa . ".php"; ?>
<!-- Start of Footer -->
<footer class="footer appear-animate" data-animation-options="{
'name': 'fadeIn'
}">
<div class="footer-newsletter bg-primary">
<div class="container">
<div class="row justify-content-center align-items-center">
<div class="col-xl-5 col-lg-6">
<div class="icon-box icon-box-side text-white">
<div class="icon-box-icon d-inline-flex">
<i class="w-icon-envelop3"></i>
</div>
<div class="icon-box-content">
<h4 class="icon-box-title text-white text-uppercase font-weight-bold">HABER BÜLTENİMİZE ABONE OL</h4>
<p class="text-white">Etkinlikler, Satışlar ve Teklifler hakkında en son bilgileri alın.
</p>
</div>
</div>
</div>
<div class="col-xl-7 col-lg-6 col-md-9 mt-4 mt-lg-0 ">
<form action="<?=$site?>eposta" method="post" class="input-wrapper input-wrapper-inline input-wrapper-rounded">
<input type="email" class="form-control mr-2 bg-white" name="email" id="email" placeholder="E-Posta Adresiniz">
<button class="btn btn-dark btn-rounded" type="submit">Abone Ol!<i class="w-icon-long-arrow-right"></i></button>
</form>
</div>
</div>
</div>
</div>
<div class="container">
<div class="footer-top">
<div class="row">
<div class="col-lg-4 col-sm-6">
<div class="widget widget-about">
<a href="/" class="logo-footer">
<img src="upload/<?php echo $cek[
"logo"
]; ?>" alt="logo-footer" width="144"
height="45" />
</a>
<div class="widget-body">
<p class="widget-about-title">Sorularınız mı var? Bizi Arayın</p>
<a href="tel:<?php echo $cek[
"telefon"
]; ?>" class="widget-about-call"><?php echo $cek[
"telefon"
]; ?></a>
<p class="widget-about-desc"><?php echo $cek[
"description"
]; ?></p>
<div class="social-icons social-icons-colored">
<a href="https://api.whatsapp.com/send?phone=9<?php echo $cek[
"whatsapp"
]; ?>&text=Merhaba, yardım almak istiyorum." class="social-icon social-facebook w-icon-comments-solid" style="border-color: #1b9b3a;background-color: #1b9b3a;"></a>
<a href="<?php echo $cek[
"facebook"
]; ?>" class="social-icon social-facebook w-icon-facebook"></a>
<a href="<?php echo $cek[
"twitter"
]; ?>" class="social-icon social-twitter w-icon-twitter"></a>
<a href="<?php echo $cek[
"instagram"
]; ?>" class="social-icon social-youtube w-icon-instagram"></a>
<a href="<?php echo $cek[
"youtube"
]; ?>" class="social-icon social-instagram w-icon-youtube"></a>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="widget">
<h3 class="widget-title">Kategoriler</h3>
<ul class="widget-body">
<?php
$query = $db->query(
"SELECT * FROM kategori WHERE alt_menu = 1 ORDER BY sira ASC",
PDO::FETCH_ASSOC
);
if ($query->rowCount()) {
foreach ($query as $row) {
echo '<li><a href="kategori/' .
$row["sef"] .
'/" title="' .
$row["baslik"] .
'">' .
$row["baslik"] .
"</a></li>";
}
}
?>
</ul>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="widget">
<h4 class="widget-title">Bağlantılar</h4>
<ul class="widget-body">
<?php
$query = $db->query(
"SELECT * FROM sayfa WHERE alt_menu = 1",
PDO::FETCH_ASSOC
);
if ($query->rowCount()) {
foreach ($query as $row) {
echo '<li><a href="sayfa/' .
$row["sef"] .
'" title="' .
$row["baslik"] .
'">' .
$row["baslik"] .
"</a></li>";
}
}
?>
</ul>
</div>
</div>
<div class="col-lg-3 col-sm-6">
<div class="widget">
<h4 class="widget-title">Hızlı Erişim</h4>
<ul class="widget-body">
<li><a href="blog" title="">Blog Yazıları</a></li>
<li><a href="siparislerim" title="">Siparişlerim</a></li>
<li><a href="siparis-takibi" title="">Sipariş Takibi</a></li>
<li><a href="odeme-bildirimi" title="">Ödeme Bildirimi</a></li>
<li><a href="banka-hesaplarimiz" title="">Banka Hesapları</a></li>
<li><a href="iletisim" title=""> Bize Ulaşın</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="footer-left">
<p class="copyright">Copyright © 2022. Tüm Hakları Saklıdır. <?php echo $cek["title"]; ?></p>
</div>
<div class="footer-right">
<span class="payment-label mr-lg-8">Bu Web Sitesi <a href="https://www.google.com" style="font-weight: 600;color: #336699;">Firma Adı</a> tarafından kurulmuştur.</span>
<figure class="payment">
<img src="https://i.hizliresim.com/foqwm4f.png" alt="payment" height="50" />
</figure>
</div>
</div>
</div>
</footer>
<!-- End of Footer -->
</div>
<!-- End of Page-wrapper-->
<!-- Start of Sticky Footer -->
<div class="sticky-footer sticky-content fix-bottom">
<a href="/" class="sticky-link active">
<i class="w-icon-home"></i>
<p>Ana Sayfa</p>
</a>
<a href="favorilerim" class="sticky-link">
<i class="w-icon-heart"></i>
<p>Favorilerim</p>
</a>
<a href="giris-yap" class="sticky-link">
<i class="w-icon-account"></i>
<p>Müşteri Paneli</p>
</a>
<div class="cart-dropdown dir-up">
<a href="sepetim" class="sticky-link">
<i class="w-icon-cart"></i>
<p>Sepetim</p>
</a>
</div>
<div class="header-search hs-toggle dir-up">
<a href="#" class="search-toggle sticky-link">
<i class="w-icon-search"></i>
<p>Ürün Ara</p>
</a>
<form method="POST" action="ara" class="input-wrapper">
<input type="text" class="form-control" name="ara" autocomplete="off" placeholder="Binlerce ürün arasında ara..."
required />
<button class="btn btn-search" type="submit">
<i class="w-icon-search"></i>
</button>
</form>
</div>
</div>
<!-- End of Sticky Footer -->
<!-- Start of Scroll Top -->
<a id="scroll-top" class="scroll-top" href="#top" title="Top" role="button"> <i class="w-icon-angle-up"></i> <svg
version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 70 70">
<circle id="progress-indicator" fill="transparent" stroke="#000000" stroke-miterlimit="10" cx="35" cy="35"
r="34" style="stroke-dasharray: 16.4198, 400;"></circle>
</svg> </a>
<!-- End of Scroll Top -->
<!-- Start of Mobile Menu -->
<div class="mobile-menu-wrapper">
<div class="mobile-menu-overlay"></div>
<!-- End of .mobile-menu-overlay -->
<a href="#" class="mobile-menu-close"><i class="close-icon"></i></a>
<!-- End of .mobile-menu-close -->
<div class="mobile-menu-container scrollable">
<form action="ara" method="POST" class="input-wrapper">
<input type="text" class="form-control" name="ara" autocomplete="off" placeholder="Binlerce ürün arasında ara..."
required />
<button class="btn btn-search" type="submit">
<i class="w-icon-search"></i>
</button>
</form>
<!-- End of Search Form -->
<div class="tab">
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item">
<a href="#main-menu" class="nav-link active">Ana Menü</a>
</li>
<li class="nav-item">
<a href="#categories" class="nav-link">Kategoriler</a>
</li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane active" id="main-menu">
<ul class="mobile-menu">
<li <?php if (
$sayfa == "anasayfa"
): ?> class="active" <?php endif; ?>>
<a href="/">Ana Sayfa</a>
</li>
<li <?php if (
$sayfa == "iletisim"
): ?> class="active" <?php endif; ?>>
<a href="/iletisim">Bize Ulaşın</a>
</li>
<li <?php if (
$sayfa == "banka-hesaplarimiz"
): ?> class="active" <?php endif; ?>>
<a href="/banka-hesaplarimiz">Banka Hesapları</a>
</li>
<li <?php if ($sayfa == "blog"): ?> class="active" <?php endif; ?>>
<a href="/blog">Blog Yazıları</a>
</li>
<li <?php if (
$sayfa == "siparis-takibi"
): ?> class="active" <?php endif; ?>>
<a href="/siparis-takibi">Sipariş Takibi</a>
</li>
<li <?php if (
$sayfa == "odeme-bildirimi"
): ?> class="active" <?php endif; ?>>
<a href="/odeme-bildirimi">Ödeme Bildirimi</a>
</li>
<li <?php if (
$sayfa == "giris-yap"
): ?> class="active" <?php endif; ?>>
<a href="/giris-yap">Müşteri Paneli</a>
</li>
</ul>
</div>
<div class="tab-pane" id="categories">
<ul class="mobile-menu">
<?php
$query = $db->query(
"SELECT * FROM kategori WHERE ust_menu = 1 ORDER BY sira ASC",
PDO::FETCH_ASSOC
);
if ($query->rowCount()) {
foreach ($query as $row) { ?>
<li>
<a href="kategori/<?=$row["sef"]?>/">
<img src="upload/<?=$row['icon']?>" style="width: 1.8rem;filter: invert(100%)"> <?=$row["baslik"]?>
</a>
</li>
<?php } } ?>
<li>
<a href="/favorilerim" class="font-weight-bold text-primary text-uppercase ls-25">
Favorilerimi Görüntüle<i class="w-icon-angle-right"></i>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- End of Mobile Menu -->
<!-- Start of Newsletter popup -->
<div class="newsletter-popup mfp-hide">
<div class="newsletter-content">
<h4 class="text-uppercase font-weight-normal ls-25"><span class="text-primary">%25'e Varan</span> İndirim Kazanın.</h4>
<h2 class="ls-25">Abone Ol!</h2>
<p class="text-light ls-10">Duyuru bültenine abone olun. Özel teklifler hakkında duyurular alın.</p>
<form action="eposta" method="POST" class="input-wrapper input-wrapper-inline input-wrapper-round">
<input type="email" class="form-control email font-size-md" name="email" id="email2"
placeholder="Your email address" required="">
<button class="btn btn-dark" type="submit">Abone Ol</button>
</form>
<div class="form-checkbox d-flex align-items-center">
<input type="checkbox" class="custom-checkbox" id="hide-newsletter-popup" name="hide-newsletter-popup"
required="">
<label for="hide-newsletter-popup" class="font-size-sm text-light">Tekrar gösterme.</label>
</div>
</div>
</div>
<!-- End of Newsletter popup -->
<!-- End of Quick view -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<!-- Plugin JS File -->
<script src="assets/js/xmain.js"></script>
<script src="assets/vendor/jquery.plugin/jquery.plugin.min.js"></script>
<script src="assets/vendor/imagesloaded/imagesloaded.pkgd.min.js"></script>
<script src="assets/vendor/zoom/jquery.zoom.js"></script>
<script src="assets/vendor/jquery.countdown/jquery.countdown.min.js"></script>
<script src="assets/vendor/magnific-popup/jquery.magnific-popup.min.js"></script>
<script src="assets/vendor/skrollr/skrollr.min.js"></script>
<!-- Swiper JS -->
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<!-- Main JS -->
<script src="assets/js/mains.js"></script>
<?php if($sayfa == "urun"): ?>
<script>
$('#spett').removeClass('disabled')
</script>
<?php endif; ?>
</body>
</html>