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 / eticaret4.snrsoft.com.tr / inc / | Server Ip : 172.67.216.244 |
Filename | /home/cuneytsener53/eticaret4.snrsoft.com.tr/inc/odeme-bildirimi.php |
Size | 5.35 kb |
Permission | rw-r--r-- |
Owner | |
Create time | 02-Mar-2025 05:46 |
Last modified | 26-Oct-2022 16:30 |
Last accessed | 05-Apr-2025 07:40 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
$_title = 'Ödeme Bildirimi';
?>
<div class="breadcrumb">
<div class="container">
<div class="breadcrumb-inner">
<ul class="list-inline list-unstyled">
<li><a href="/">AnaSayfa</a></li>
<li class='active'>Ödeme Bildirimi</li>
</ul>
</div><!-- /.breadcrumb-inner -->
</div><!-- /.container -->
</div><!-- /.breadcrumb -->
<div class="body-content">
<div class="container">
<div class="track-order-page">
<div class="row">
<div class="col-md-12">
<h2 class="heading-title"><img src="https://i.hizliresim.com/fdk7t3y.png"> Ödeme Bildirimi Yapın</h2>
<span class="title-tag inner-top-ss">Lütfen aşağıdaki alana gerekli bilgileri yazınız. Ödeme yapmadan ödeme bildirimi oluşturmayınız.</span>
<?php
if($_POST){
echo "<br>";
if(!empty($_POST['no']) AND !empty($_POST['adsoyad']) AND !empty($_POST['bank'])){
$islem = $db->prepare("INSERT INTO odeme_bildirimleri SET ad_soyad = ?, siparis = ?, banka = ?, tarih = ?");
$islem = $islem->execute(array($_POST['adsoyad'],$_POST['no'],$_POST['bank'],$time));
$mailbody = '<!DOCTYPE html>
<html>
<head>
<title>'.$cek['title'].'</title>
<meta charset="utf-8">
</head>
<body style="padding: 30px">
<div style="width: 98%;margin:0 auto;background: #02add9;padding: 1%;display: inline-block;border-radius: 10px">
<div style="width: 90%;float: left;background: #fff;padding: 10px 5% 20px 5%;">
<center><img src="'.$site.'upload/'.$cek['logo'].'" style="width: 200px"></center>
<table>
<tr>
<th>Sipariş Numarası</th>
<th>Ad Soyad</th>
<th>Banka</th>
</tr>
<tr>
<td>'.$_POST['no'].'</td>
<td>'.$_POST['adsoyad'].'</td>
<td>'.$_POST['bank'].'</td>
</tr>
</table>
</div>
</div>
<style type="text/css">
body{font-family:arial}table{width:100%;border:1px solid #ddd}table tr{padding:0;margin:0}table tr th{border:1px solid #ddd;padding:0;margin:0;background:#02add9;color:#fff;padding:10px}table tr td{border:1px solid #ddd;padding:0;text-align:center;margin:0;border-spacing:0}
</style>
</body>
</html>';
sendMail(["subject"=>"Ödeme Bildirimi","body"=>$mailbody,"mail"=>$cek['siparis_mail']]);
echo '
<center>
<div class="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="margin-top:3px; padding-bottom: 20px;font-size: 18px;">Bildiriminiz başarı ile gönderildi.</div>
</div>
</div>
</center>
';
telegram("Merhaba, mağazanızda yeni bir ödeme bildirimi oluşturuldu.");
}
}
?>
<form class="register-form outer-top-xs" action="" method="POST" role="form">
<div class="form-group">
<label class="info-title" for="exampleOrderId1">Sipariş Numaranız</label>
<input type="text" name="no" class="form-control unicase-form-control text-input" id="exampleOrderId1" >
</div>
<div class="form-group">
<label class="info-title" for="exampleOrderId1">Adınız Soyadınız</label>
<input type="text" name="adsoyad" class="form-control unicase-form-control text-input" id="exampleOrderId1" >
</div>
<div class="form-group">
<label class="info-title" for="exampleOrderId1">Ödeme Yaptığınız Banka</label>
<select class="form-control unicase-form-control" required="" name="bank" style="width:100%">
<option>Banka Seçiniz</option>
<?php
$query = $db->query("SELECT * FROM banka_hesaplari", PDO::FETCH_ASSOC);
if($query->rowCount()){
foreach($query as $row){
echo '<option value="'.$row['baslik'].'">'.$row['baslik'].'</option>';
}
}
?>
</select>
</div>
<button type="submit" class="btn-upper btn btn-primary checkout-page-button">Bildirimi Gönder</button>
</form>
</div> </div><!-- /.row -->
</div><!-- /.sigin-in--> </div><!-- /.row -->
</div><!-- /.sigin-in-->
$_title = 'Ödeme Bildirimi';
?>
<div class="breadcrumb">
<div class="container">
<div class="breadcrumb-inner">
<ul class="list-inline list-unstyled">
<li><a href="/">AnaSayfa</a></li>
<li class='active'>Ödeme Bildirimi</li>
</ul>
</div><!-- /.breadcrumb-inner -->
</div><!-- /.container -->
</div><!-- /.breadcrumb -->
<div class="body-content">
<div class="container">
<div class="track-order-page">
<div class="row">
<div class="col-md-12">
<h2 class="heading-title"><img src="https://i.hizliresim.com/fdk7t3y.png"> Ödeme Bildirimi Yapın</h2>
<span class="title-tag inner-top-ss">Lütfen aşağıdaki alana gerekli bilgileri yazınız. Ödeme yapmadan ödeme bildirimi oluşturmayınız.</span>
<?php
if($_POST){
echo "<br>";
if(!empty($_POST['no']) AND !empty($_POST['adsoyad']) AND !empty($_POST['bank'])){
$islem = $db->prepare("INSERT INTO odeme_bildirimleri SET ad_soyad = ?, siparis = ?, banka = ?, tarih = ?");
$islem = $islem->execute(array($_POST['adsoyad'],$_POST['no'],$_POST['bank'],$time));
$mailbody = '<!DOCTYPE html>
<html>
<head>
<title>'.$cek['title'].'</title>
<meta charset="utf-8">
</head>
<body style="padding: 30px">
<div style="width: 98%;margin:0 auto;background: #02add9;padding: 1%;display: inline-block;border-radius: 10px">
<div style="width: 90%;float: left;background: #fff;padding: 10px 5% 20px 5%;">
<center><img src="'.$site.'upload/'.$cek['logo'].'" style="width: 200px"></center>
<table>
<tr>
<th>Sipariş Numarası</th>
<th>Ad Soyad</th>
<th>Banka</th>
</tr>
<tr>
<td>'.$_POST['no'].'</td>
<td>'.$_POST['adsoyad'].'</td>
<td>'.$_POST['bank'].'</td>
</tr>
</table>
</div>
</div>
<style type="text/css">
body{font-family:arial}table{width:100%;border:1px solid #ddd}table tr{padding:0;margin:0}table tr th{border:1px solid #ddd;padding:0;margin:0;background:#02add9;color:#fff;padding:10px}table tr td{border:1px solid #ddd;padding:0;text-align:center;margin:0;border-spacing:0}
</style>
</body>
</html>';
sendMail(["subject"=>"Ödeme Bildirimi","body"=>$mailbody,"mail"=>$cek['siparis_mail']]);
echo '
<center>
<div class="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="margin-top:3px; padding-bottom: 20px;font-size: 18px;">Bildiriminiz başarı ile gönderildi.</div>
</div>
</div>
</center>
';
telegram("Merhaba, mağazanızda yeni bir ödeme bildirimi oluşturuldu.");
}
}
?>
<form class="register-form outer-top-xs" action="" method="POST" role="form">
<div class="form-group">
<label class="info-title" for="exampleOrderId1">Sipariş Numaranız</label>
<input type="text" name="no" class="form-control unicase-form-control text-input" id="exampleOrderId1" >
</div>
<div class="form-group">
<label class="info-title" for="exampleOrderId1">Adınız Soyadınız</label>
<input type="text" name="adsoyad" class="form-control unicase-form-control text-input" id="exampleOrderId1" >
</div>
<div class="form-group">
<label class="info-title" for="exampleOrderId1">Ödeme Yaptığınız Banka</label>
<select class="form-control unicase-form-control" required="" name="bank" style="width:100%">
<option>Banka Seçiniz</option>
<?php
$query = $db->query("SELECT * FROM banka_hesaplari", PDO::FETCH_ASSOC);
if($query->rowCount()){
foreach($query as $row){
echo '<option value="'.$row['baslik'].'">'.$row['baslik'].'</option>';
}
}
?>
</select>
</div>
<button type="submit" class="btn-upper btn btn-primary checkout-page-button">Bildirimi Gönder</button>
</form>
</div> </div><!-- /.row -->
</div><!-- /.sigin-in--> </div><!-- /.row -->
</div><!-- /.sigin-in-->