HOME SHELL

NULLCOMMUNITY
 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 / kurumsal48.snrsoft.com.tr /

Server Ip : 104.21.78.54




Filename/home/cuneytsener53/kurumsal48.snrsoft.com.tr/urunlerdetay.php
Size4.52 kb
Permissionrw-r--r--
Owner
Create time02-Mar-2025 05:46
Last modified27-Dec-2021 14:29
Last accessed05-Apr-2025 02:22
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php require('ust.php');?>
<?php
$id = htmlspecialchars(trim($_GET['urunid']));
$query = $DB->prepare("UPDATE urunler SET hit = (hit+1) WHERE seo=?");
$update = $query->execute(array(
$id
));
if ( $update ){
echo "";
}


?>
<?php
$id = htmlspecialchars(trim($_GET['urunid']));
$qq = $DB->prepare("SELECT * FROM urunler WHERE seo=:id and dil=:dil");
$sayfa = $qq->execute([':id' => $id,':dil' => $dilim]);
$sayfa = $qq->fetch(PDO::FETCH_ASSOC);
?>
<?php if($sayfa['sdurum']=='1'){?>
<title><?php echo $sayfa['stitle']; ?></title>
<meta name="keywords" content="<?php echo $sayfa['sseo']; ?>" />
<?php } else { ?>
<title><?php echo $sayfa['urunAdi']; ?> - <?php echo $ayar['siteadi']; ?></title>
<?php } ?>
<meta name="description" content="<?php echo $ayar['des']; ?>">
<?php require('menu.php');?>

<div class="page-banner bg-2">
<div class="d-table">
<div class="d-table-cell">
<div class="container">
<div class="page-content">
<h2><?php echo $sayfa['urunAdi']; ?></h2>
<ul>
<li><a href="<?php $ayar['url'];?>"><?php echo $diller['anasayfa']; ?></a></li>
<li><?php echo $diller['urunler']; ?></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="single-services-area ptb-100">
<div class="container">

<div class="row">

<div class="col-lg-5">
<div class="service-details-text">
<div class="service-image">
<a class="example-image-link" href="images/urunler/<?php echo $sayfa['resim']; ?>" data-lightbox="example-1">

<img style="width: 385px;height: 575px;" src="images/urunler/<?php echo $sayfa['resim']; ?>" alt="image">
</a>
<?php $diger = $sayfa['urunid'];?>

<?php $tr = $DB->query("select * from sayfa_resim where konu='urunler' and resim_id='$diger' order by id desc")->fetchAll(PDO::FETCH_ASSOC);
foreach($tr as $dr){
?>
<div class="col-lg-2" style="float:left;margin-top:10px;">

<a class="example-image-link" href="images/diger/<?php echo $dr['sayfaresim'];?>" data-lightbox="example-1">
<img class="img-fluid" src="images/diger/<?php echo $dr['sayfaresim'];?>" alt="single-img-eleven">
</a>

</div>
<?php } ?>
</div>



</div>
</div>

<div class="col-lg-7">
<div class="service-sidebar">
<h3 class="title"><?php echo $sayfa['urunAdi']; ?></h3>
<h4 style="background: #443356;
color: white;
font-size: 18px;
padding: 10px;"><?php echo $sayfa['urunFiyati']; ?> TL</h4>
<ul>

<?php echo $sayfa['metin']; ?>

<a href="<?php echo $sayfa['urunLink']; ?>" style="background: #ff0000;font-size: 16px;padding: 10px;color: white;" id="submit" name="add-to-cart" type="submit" class="cart_button_1" title="Submit now"><?php echo $diller['urunsatinal']; ?></a>
<a style="background: green;
font-size: 16px;
padding: 10px;
color: white;" target="_blank" href="https://api.whatsapp.com/send?phone=<?php echo $ayar['whatsapp']; ?>&amp;text=<?php echo $sayfa['urunAdi']; ?>%20sipari%C5%9Fi%20vermek%20istiyorum. <?php echo $ayar['url'];?>/urunler/<?php echo $dirilis['seo']; ?>" class="cart_button_1"><i class="fa fa-whatsapp"></i> <?php echo $diller['urundetaylibilgi']; ?></a>


</ul>
</div>
</div>
<div class="sharethis-inline-share-buttons" style="margin: 30px auto"></div>
</div>
</div>
</div>

<link rel="stylesheet" href="lightbox/lightbox.min.css">
<script src="lightbox/lightbox-plus-jquery.min.js"></script>
<?php require('footer.php');?>