📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv3.demodesign.com.tr
📝
siparisdetay.php
← Geri Dön
<?php require('ust.php');?> <title>Sipariş Detayı- <?php echo $ayar['siteadi']; ?></title> <meta name="description" content="<?php echo $ayar['des']; ?>"> <meta name="keywords" content="<?php echo $ayar['keyw']; ?>"> <?php require('menu.php');?> <?php ob_start(); session_start(); if($_SESSION['uyegiris'] == 'true'){?> <?php $id = htmlspecialchars(trim($_GET['id'])); $ss = $DB->query("SELECT * FROM siparisler WHERE id= '$id'")->fetch(PDO::FETCH_ASSOC); $uyid = $_SESSION["uyeId"];?> <?php $krg = $ss['krg'];?> <?php $hangikargom = $DB->query("select * from kargolar where durum='1' and baslik='$krg'")->fetch(PDO::FETCH_ASSOC);?> <div class="breadcrumbs"> <div class="container"> <div class="row"> <div class="col-xs-12"> <ul> <li class="home"> <a title="Anasayfa" href="index">Anasayfa</a><span>»</span></li> <li class="home"> <a title="Hesabım" href="uyelik-profilim">Hesabım</a><span>»</span></li> <li class="category13"><strong>Siparişlerim </strong></li> </ul> </div> </div> </div> </div> <div class="main-content shop-page main-content-blog"> <div class="container"> <div class="login-register-form content-form row"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="login-form"> <h4 style="background-color: <?php echo $ayar['renk1'];?>;margin-top: 10px; height: 60px; padding-top: 20px; color: white; font-weight: 400; padding-left: 20px;"> Sipariş No : <b style="padding-right: 40px; font-weight: bold;"><?php echo $ss['sino']; ?> </b> </b> </h4> <div class="modal-content" style="border-radius:0px;"> <div class="modal-header" style="padding:5px; border-bottom: 0px solid #e5e5e5;"> <h4 class="modal-title text-center" id="myModalLabel" style="color:#e6551c;font-size:18px; font-weight:700;"> <?php echo $ss['sino']; ?> - <?php echo $ss['durum'] == 'Ödeme Bekleniyor' ? '<span style="font-size: 15px;" class="label label-danger " >Ödeme Bekleniyor</span>' : null; ?> <?php echo $ss['durum'] == 'Ödendi' ? '<span style="font-size: 15px;" class="label label-success " >Ödendi</span>' : null; ?> <?php echo $ss['durum'] == 'Onaylandı' ? '<span style="font-size: 15px;" class="label label-success " >Onaylandı</span>' : null; ?> <?php echo $ss['durum'] == 'Kargolandı' ? '<span style="font-size: 15px;" class="label label-info " >Kargolandı</span>' : null; ?> <?php echo $ss['durum'] == 'Başarısız' ? '<span style="font-size: 15px;" class="label label-danger " >Başarısız</span>' : null; ?> <?php echo $ss['durum'] == 'Sipariş Tamamlandı' ? '<span style="font-size: 15px;" class="label label-success " >Sipariş Tamamlandı</span>' : null; ?> <?php echo $ss['durum'] == 'İptal Edildi' ? '<span style="font-size: 15px;" class="label label-danger " >İptal Edildi</span>' : null; ?> </h4> </div> <div class="modal-body" style="padding-top:5px;"> <?php if(!empty($ss['krg'])){?> <div class="siparis"> <b><?php echo $ss['krg'];?> - <?php echo $ss['takip'];?></b></br> <a href="<?php echo $hangikargom['metin'];?><?php echo $ss['takip'];?>" target="_blank"><img src="img/nerede.png"></img></a> </div> <?php } ?> <div class="siparis"> <label>Siparişi Oluşturan Kişi *</label> <input type="text" name="isim" class="form-control" value="<?php echo $ss['isim'];?>" required /> </div> <div class="siparis"> <label>Sipariş No *</label> <input type="text" name="sino" class="form-control" value="<?php echo $ss['sino'];?>" required /> </div> <div class="siparis"> <label>Sipariş Tarihi *</label> <input type="text" name="sino" class="form-control" value="<?php echo $ss['tarih'];?>" required /> </div> <div class="siparis"> <label>E-Posta Adresiniz *</label> <input type="email" name="email" class="form-control" value="<?php echo $ss['email'];?>" required placeholder="mail@example.com" /> </div> <div class="siparis"> <label>Telefon Numaranız *</label> <input type="text" name="telefon" value="<?php echo $ss['telefon'];?>" class="form-control" required /> </div> <div class="siparis"> <label>Ödeme Yöntemi *</label> <input type="text" name="odeme" value="<?php echo $ss['odeme'];?>" class="form-control" required /> </div> <div class="siparis"> <label>Sipariş Adresiniz *</label> <textarea class="form-control" name="mesaj" required><?php echo $ss['adres'];?> <?php echo $ss['ilce'];?> / <?php echo $ss['il'];?></textarea> </div> <div class="siparis"> <label>Fatura Adresiniz *</label> <textarea class="form-control" name="mesaj" required><?php echo $ss['kadres'];?> </textarea> </div> <div class="siparis"> <label>Bırakılan Mesaj *</label> <textarea class="form-control" name="mesaj" required><?php echo $ss['mesaj'];?> </textarea> </div> <br> <div class="siparis"> <center><label style="font-weight: bold; font-size: 20px; color: red;">Sipariş Detayları *</label></center> <br> <div class="order-detail-content"> <div class="table-responsive"> <table class="table table-bordered cart_summary"> <thead> <tr> <th class="cart_product">Ürün</th> <th>Ürün Resmi</th> <th>Ürün Detayı</th> <th>Adet Sayısı</th> <th>Birim Fiyatı</th> <th>KDV Bedeli</th> <th>Toplam Tutar</th> </tr> </thead> <tbody> <tr> <?php echo $ss['urunler'];?> </tr> </tbody> <tfoot> <tr> <td colspan="2" rowspan="2"> </td> <td colspan="3">Kargo Bedeli</td> <td colspan="2"><?php echo $ss['kargo'];?> TL</td> </tr> <tr> <td colspan="3"><strong>Ödenecek Tutar</strong></td> <td colspan="2"><strong><?php echo $ss['toplam'];?> TL</strong></td> </tr> </tfoot> <tfoot> <tr> <td colspan="2" rowspan="2"> </td> <td colspan="3">Ara Tutar</td> <td colspan="2"><?php echo $ss['tutar'];?> TL</td> </tr> <tr> <td colspan="3">KDV Bedeli</td> <td colspan="2"><?php echo $ss['kdv'];?> TL</td> </tr> <?php if($ss['kapi']>'0'){?> <tr> <td colspan="2" rowspan="2"> </td> <td colspan="3">Kapıda Ödeme Kargo</td> <td colspan="2"><?php echo $ss['kapi'];?> TL</td> </tr> <?php } ?> <?php if($ss['kupondeger']>'0'){?> <tr> <td colspan="2" rowspan="2"> </td> <td colspan="3">İndirim Bedeli :</td> <td colspan="2">- <?php echo $ss['kupondeger'];?> TL</td> </tr> <?php } ?> </tfoot> </table> </div> <div class="cart_navigation"> </div> </div> </div> </div> </div> </div> </div> </div> </div> <style> .content-form .title { font-size: 14px; font-weight: 600; color: #222; text-transform: uppercase; margin: 30px 0 25px; border: 1px solid #beb4b4; } </style> <?php } else { echo "<meta http-equiv='refresh' content='0; url=index'>"; } ?> <?php require('footer.php');?>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula