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

Server Ip : 172.67.216.244




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

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

?>

<style>
.alert-error.alert-bg {
background-color: #f7e5e5;
color: #a94442;
}
.show-code-action {
position: relative;
}
.alert-icon {
padding: 1.4rem 2.2rem 1.4rem 1.9rem;
}
.alert-error {
border-color: #f7e5e5;
color: #6d1a17;
}
</style>

<!-- Breadcrumb Area Start Here -->
<div class="breadcrumb-area">
<div class="container">
<ol class="breadcrumb breadcrumb-list">
<li class="breadcrumb-item"><a href="/">Ana Sayfa</a></li>
<li class="breadcrumb-item active">Alışveriş Sonucu</li>
</ol>
</div>
</div>
<!-- Breadcrumb Area End Here -->

<div class="container">
<div class="row col-md-12 mt-20 mb-20">

<?php

if(isset($_GET['siparis_key'])){



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

$gel = $query->execute(array(":siparis_key"=>$_GET['siparis_key']));

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



if($gel){



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

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



echo '<div class="col-md-6 offset-md-3">
<center><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="margin-top:5px;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></center>
</div>';



}else{

echo '<div class="col-md-6 offset-md-3">
<center><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></center>
</div>';

}



}else{

echo '<div class="col-md-6 offset-md-3">
<center><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></center>
</div>';

}

?>

</div>

</div>