- Katılım
- 24 Ara 2022
- Mesajlar
- 6,463
- Tepkime puanı
- 26
- Puanları
- 113
İNDİR:
İçeriği görüntülemek için Giriş Yapın veya Kaydolun.
Kod:
<?php
foreach($_GET as $k => $v) $_GET[$k] = strip_tags($v);
foreach($_POST as $k => $v) $_POST[$k] = strip_tags($v);
include 'panel/fonksiyon.php';
if(isset($_GET['sayfa'])) {
$sayfa = cleanAZ($_GET['sayfa']);
if($sayfa == 'cikis-yap'){
unset($_SESSION['kullanici']['login']);
unset($_SESSION['kullanici']['id']);
}
if (!is_file('inc/'.$sayfa.'.php')) {
$sayfa = 'anasayfa';
}
}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;
}
ob_start('meta_degistir');
$_title = $cek['title'];
$_description = $cek['description'];
?>
<!doctype html>
<html lang="tr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all">
<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">
<meta name="author" content="https://nullsecurity.site">
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
<meta name="theme-color" content="#08C" />
<link rel="shortcut icon" href="upload/<?php echo $cek['fav']; ?>" type="image/x-icon">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/style.css?v=<?php echo uniqid(); ?>">
<link rel="stylesheet" href="assets/css/line-awesome.min.css">
<link rel="stylesheet" href="assets/css/owl.carousel.css">
<link rel="stylesheet" href="assets/css/owl.theme.css">
<script src="assets/js/jquery-1.12.4.min.js"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<?php if($sayfa != 'anasayfa'){ ?>
<style type="text/css">
.menu{display: none;}
</style>
<?php } ?>
</head>
<body class="theme-default">
<?php if(!empty($cek['site_ust_img'])){ ?><div><a href="<?php echo $cek['ust_img_link']; ?>" class=""><img src="upload/<?php echo $cek['site_ust_img']; ?>" style="width: 100%;"></a></div><?php } ?>
<div class="container-fluid">
<div class="row border-b bg-3 hidden-xs">
<div class="container">
<div class="row">
<div class="col-md-12 bolum-1">
<ul>
<li><a href="siparis-takibi" title=""><i class="las la-truck"></i> Sipariş Takibi</a></li>
<li><a href="odeme-bildirimi" title=""><i class="las la-redo-alt"></i> Ödeme Bildirimi</a></li>
<li><a href="banka-hesaplarimiz" title=""><i class="las la-file-invoice"></i> Banka Hesaplarımız</a></li>
<li><a href="blog" title=""><i class="las la-file-invoice"></i> Blog</a></li>
<li><a href="iletisim" title="İletişim"><i class="las la-info-circle"></i> İletişim</a></li>
</ul>
<ul class="pull-right">
<?php
$query = $db->query("SELECT * FROM sayfa WHERE ust_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>
</div>
<div class="row border-b pt-10 pb-20 bg-2" style="position: relative;">
<div class="container">
<div class="row">
<div class="col-md-12 bolum-2">
<a href="index.php" title="<?php echo $cek['title']; ?>" id="logo" ><img src="upload/<?php echo $cek['logo']; ?>" alt="<?php echo $cek['title']; ?>" title="<?php echo $cek['title']; ?>" style="max-width: 230px"></a>
<form action="ara" method="post">
<input type="text" class="form-control" name="ara" placeholder="Binlerce Ürün Arasında Arayın..." required="" autocomplete="none">
<button type="submit"><i class="las la-search"></i></button>
</form>
<div class="kgs-dis">
<div class="destek pull-left">
<div><i class="las la-headset"></i></div>
<div>
<span>Çağrı Merkezi</span>
<a href="tel:<?php echo $cek['telefon']; ?>" title="İletişim: <?php echo $cek['telefon']; ?>"><?php echo $cek['telefon']; ?></a>
</div>
</div>
<div class="kayit-giris-sepet">
<?php if(isset($_SESSION['kullanici']['login'])){ ?>
<a href="hesabim">
<i class="las la-user-check"></i>
<div><span>Hesabım</span><small>Siparişlerim</small></div>
</a>
<?php } else { ?>
<a href="giris-yap">
<i class="las la-user"></i>
<div><span>Giriş Yap</span><small>veya üye ol</small></div>
</a>
<?php } ?>
<a href="javascript:void(0)" data-sepet-ac="" data-toggle="tooltip" data-placement="bottom" data-original-title="Sepetim">
<i class="las la-shopping-cart"></i><span id="sepet_sayi">0</span>
<div>Sepetim</div>
</a>
</div>
</div>
<a class="toggle" href="#" style="display: none"><i class="las la-compass"></i> Menü</a>
<div class="menu-baslik hidden-xs"><i class="las la-bars"></i> <span>Kategoriler</span></div>
<ul class="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){
$img = '';
if(!empty($row['icon'])){
$img = '<img src="upload/'.$row['icon'].'" style="width:40px">';
}
echo '<li><a href="kategori/'.$row['sef'].'/" title="'.$row['baslik'].'"><span>'.$img.' '.$row['baslik'].'</span></a>';
$query1 = $db->query("SELECT * FROM kategori WHERE ust_kategori = '{$row['id']}' ORDER BY sira ASC", PDO::FETCH_ASSOC);
if($query1->rowCount()){
echo '<div class="acilirdis">';
foreach($query1 as $row1){
echo '<div class="col-md-3">';
echo '<h3><a href="kategori/'.$row1['sef'].'/">'.$row1['baslik'].'</a></h3>';
$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 '</div>';
}
echo '</div>';
}
echo '</li>';
}
}
?>
</ul>
</div>
</div>
</div>
</div>
</div>
<?php include 'inc/'.$sayfa.'.php'; ?>
<footer>
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="footer-telefon-adres">
<img src="assets/images/telefon.png">
<span><?php echo $cek['telefon']; ?><br><?php echo $cek['email']; ?></span>
</div>
</div>
<div class="col-md-4">
<div class="footer-telefon-adres">
<img src="assets/images/adres.png">
<span><?php echo $cek['adres']; ?></span>
</div>
</div>
<div class="col-md-4">
<ul class="sosyal">
<li><a href="https://api.whatsapp.com/send?phone=9<?php echo $cek['whatsapp']; ?>&text=Merhaba, yardım almak istiyorum." title="whatsapp"><i class="lab la-whatsapp"></i></a></li>
<?php if(!empty($cek['facebook'])){ echo '<li><a href="'.$cek['facebook'].'" title="facebook"><i class="lab la-facebook"></i></a></li>'; } ?>
<?php if(!empty($cek['youtube'])){ echo '<li><a href="'.$cek['youtube'].'" title="youtube"><i class="lab la-youtube"></i></a></li>'; } ?>
<?php if(!empty($cek['twitter'])){ echo '<li><a href="'.$cek['twitter'].'" title="twitter"><i class="lab la-twitter"></i></a></li>'; } ?>
<?php if(!empty($cek['instagram'])){ echo '<li><a href="'.$cek['instagram'].'" title="instagram"><i class="lab la-instagram"></i></a></li>'; } ?>
</ul>
</div>
<div class="col-md-12"><div class="footer-hr"></div></div>
</div>
<div class="row footer-ul">
<div class="col-md-3">
<b>Hakkımızda</b>
<p><?php echo $cek['description']; ?></p>
</div>
<div class="col-md-3" style="text-align: center;">
<b>Kategoriler</b>
<ul>
<?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 class="col-md-3" style="text-align: center;">
<b>Bilgilendirme Sayfaları</b>
<ul>
<?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 class="col-md-3" style="text-align: center;">
<b>Hızlı Erişim</b>
<ul>
<li><a href="siparis-takibi" title=""><i class="las la-truck"></i> Sipariş Takibi</a></li>
<li><a href="odeme-bildirimi" title=""><i class="las la-redo-alt"></i> Ödeme Bildirimi</a></li>
<li><a href="banka-hesaplarimiz" title=""><i class="las la-file-invoice"></i> Banka Hesaplarımız</a></li>
<li><a href="iletisim" title=""><i class="las la-info-circle"></i> İletişim</a></li>
</ul>
</div>
<div class="col-md-12"><div class="footer-hr"></div></div>
</div>
<div class="row pb-20">
<div class="col-md-4"><?php echo $cek['title']; ?></div>
<div class="col-md-4"><center>Bu web sitesi <a href="https://nullsecurity.site">Null Security</a> tarafından dağıtılmıştır</center></div>
<div class="col-md-4"><img src="assets/images/odeme-yontemleri.png" class="pull-right img-responsive"></div>
</div>
</div>
</footer>
<div id="saydam_bg"></div>
<div id="sepet"></div>
<header>
<div class="wrapper cf">
<nav id="main-nav">
<ul class="first-nav">
<?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){
echo '<li><a href="kategori/'.$row['sef'].'" title="'.$row['baslik'].'">'.$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>';
foreach($query1 as $row1){
echo '<li><a href="kategori/'.$row1['sef'].'">'.$row1['baslik'].'</a>';
$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>';
}
echo '</ul>';
}
echo '</li>';
}
}
?>
</ul>
<h2 style="float: left;margin-top: 1px;background: none">Sayfalar</h2>
<ul class="second-nav">
<?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>
</nav>
</div>
</header>
<script src="assets/js/owl.carousel.js"></script>
<script src="assets/js/main.js?v=<?php echo uniqid(); ?>"></script>
<script src="assets/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="assets/css/menu.css">
<script src="assets/js/menu.js"></script>
<script src="assets/js/menu-ek.js"></script>
<a href="https://api.whatsapp.com/send?phone=905427400039&text=Merhaba, Yazılım hakkında bilgi almak istiyorum." target="_blank">
<div class="whatsapp_icon_dis">
<div class="whatsapp_icon">
<i class="lab la-whatsapp"></i>
</div>
<div class="whatsapp_text">Tıkla İletişime Geç <img src="/upload/emoji.png"></div>
<span class="baloncuk bln1"></span>
<span class="baloncuk bln2"></span>
<span class="baloncuk bln3"></span>
</div>
</a>
<style type="text/css">
.whatsapp_icon_dis{
position: fixed;
z-index: 1;
left: 30px;
bottom: 30px;
}
.whatsapp_icon_dis .whatsapp_icon{
background: #20c73c;
float: left;
font-size: 50px;
color: #fff;
border-radius: 50%;
width: 70px;
text-align: center;
}
.whatsapp_icon_dis .whatsapp_text{
float: left;
background: #20c73c;
position: relative;
margin-top: 25px;
color: #fff;
left: -15px;
top: -3px;
padding: 4px 57px 4px 21px;
text-align: left;
border-radius: 20px;
}
.whatsapp_icon_dis .whatsapp_text img{
width: 50px;
position: absolute;
right: -7px;
top: -19px;
}
@keyframes rotation {
50% { transform: rotate(40deg);width: 55px; }
100% { transform: rotate(0deg);width: 50px; }
}
.whatsapp_icon_dis .whatsapp_text img {
-webkit-animation: rotation 2s infinite linear;
}
@keyframes ripple{0%{opacity:1;-webkit-transform:scale(0);transform:scale(0)}100%{opacity:0;-webkit-transform:scale(1);transform:scale(1)}}
.baloncuk{
position: fixed;
left: -14px;
bottom: -13px;
z-index: 99998;
background: #a6e2ff;
padding-left: 10px;
color: #fff;
padding-right: 12px;
border-radius: 0 10px 10px 0;
padding: 5px;
border-radius: 100px;
-webkit-animation: ripple 1.8s infinite;
animation: ripple 1.8s infinite;
width: 160px;
height: 160px;
z-index: -1;
}
.bln1 {
animation-delay: .3s;
-webkit-animation-delay: .3s;
}
.bln2 {
animation-delay: .6s;
-webkit-animation-delay: .6s;
}
</style>
</body>
</html>