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 / eticaret3.snrsoft.com.tr / inc /

Server Ip : 104.21.78.54




Filename/home/cuneytsener53/eticaret3.snrsoft.com.tr/inc/shopier-sonuc.php
Size3.13 kb
Permissionrw-r--r--
Owner
Create time02-Mar-2025 05:46
Last modified26-Oct-2022 13:32
Last accessed05-Apr-2025 09:03
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php

$_title = 'Alışveriş Sonuç';

?>

<div class="">
<div class="row ">
<div class=" bg2 border " style="box-shadow: none;">
<div class="row">
<div class="page-header">
<div class="container">
<h1 class="page-title mb-0">Alışveriş Sonucu</h1>
</div>
</div>
<div class="container"><br>
<div class="row mt-20 mb-20">

<?php

if($_POST){





$siparis_key = $_POST['platform_order_id'];



$query = $db->prepare("SELECT * FROM siparis where siparis_key=:siparis_key LIMIT 1");

$gel = $query->execute(array(":siparis_key"=>$siparis_key));

$gel = $query->fetch(PDO::FETCH_ASSOC);



if($gel AND $_POST['status'] == 'success'){



$islem = $db->prepare("UPDATE siparis SET kredi_karti_odendi = ? WHERE id = ?");

$islem = $islem->execute(array(1,$gel['id']));



echo '<center>
<div class="col-md-6 mb-4">
<div class="alert alert-icon alert-success alert-inline show-code-action">
<h4 class="alert-title">
<img src="https://i.hizliresim.com/atane8w.png" style="width:150px">
<div style="padding-bottom: 20px;font-size: 18px;color: #229f38;"><b>Siparişiniz başarı ile oluşturuldu.</b></div></li>
<div style="padding-bottom: 20px;font-size: 18px;"><b>Sipariş özetiniz email adresinize gönderilmiştir.</b></div>
</div>
</div>
</center>';



}else{

echo '<center>
<div class="col-md-6 mb-4">
<div class="alert alert-icon alert-error alert-bg alert-inline show-code-action">
<h4 class="alert-title">
<img src="https://i.hizliresim.com/5qukodj.png" style="width:150px"><br><br><span style="font-size:25px;color:red;font-weight:bold">Bir hata oluştu.</span>
</div>
</div>
</center>';

}





}else{

echo '<center>
<div class="col-md-6 mb-4">
<div class="alert alert-icon alert-error alert-bg alert-inline show-code-action">
<h4 class="alert-title">
<img src="https://i.hizliresim.com/5qukodj.png" style="width:150px"><br><br><span style="font-size:25px;color:red;font-weight:bold">Bir hata oluştu.</span>
</div>
</div>
</center>';

}

?>

</div>

</div></div>

</div>
</div>

</div>