📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv3.demodesign.com.tr
📝
siparislerim.php
← Geri Dön
<?php require('ust.php');?> <title>Siparişlerim - <?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'){?> <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="panel panel-default panel-table"> <div class="panel-heading"> <div class="row"> <div class="col col-xs-6"> <h3 class="panel-title">Siparişlerim</h3> </div> <div class="col col-xs-6 text-right"> <a href="index" class="btn btn-sm btn-primary btn-create">Alışveriş Yap</a> </div> </div> </div> <div class="panel-body"> <table class="table table-striped table-bordered table-list"> <thead> <tr> <th style="text-align: left;">Sipariş No</th> <th>Ödeme Yöntemi</th> <th>Sipariş Tutarı</th> <th>Sipariş Durumu</th> <th style="text-align: center;"><em class="fa fa-cog"></em></th> </tr> </thead> <tbody> <?php $tt = $DB->query("select * from siparisler where uye='$uyid' order by id desc")->fetchAll(PDO::FETCH_ASSOC); $__URUN__ = false; foreach ($tt as $kk) { $__URUN__ = true; ?> <tr> <td class="hidden-xs"><?php echo $kk['sino']; ?></td> <td><?php echo $kk['odeme']; ?></td> <td><?php echo $kk['toplam']; ?> TL</td> <td> <?php echo $kk['durum'] == 'Ödeme Bekleniyor' ? '<span class="label label-danger " >Ödeme Bekleniyor</span>' : null; ?> <?php echo $kk['durum'] == 'Ödendi' ? '<span class="label label-success " >Ödendi</span>' : null; ?> <?php echo $kk['durum'] == 'Onaylandı' ? '<span class="label label-success " >Onaylandı</span>' : null; ?> <?php echo $kk['durum'] == 'Kargolandı' ? '<span class="label label-info " >Kargolandı</span>' : null; ?> <?php echo $kk['durum'] == 'Başarısız' ? '<span class="label label-danger " >Başarısız</span>' : null; ?> <?php echo $kk['durum'] == 'Sipariş Tamamlandı' ? '<span class="label label-success " >Sipariş Tamamlandı</span>' : null; ?> <?php echo $kk['durum'] == 'İptal Edildi' ? '<span class="label label-danger " >İptal Edildi</span>' : null; ?> </h4></td> </td> <td align="center"> <a href="siparisdetay?id=<?php echo $kk['id']; ?>" class="btn btn-default"><em class="fa fa-pencil"></em></a> </td> </tr> <?php } if (!$__URUN__){ echo " Herhangi bir siparişiniz bulunmamaktadır. "; } ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <style> .item_view .modal-dialog{max-width: 800px; width: 100%;} .item_edit .modal-dialog{max-width: 800px; width: 100%;} .item_add .modal-dialog{max-width: 800px; width: 100%;} .item_remove .modal-dialog{max-width: 300px; width: 100%;} .pre-cost{text-decoration: line-through; color: #a5a5a5;} .space-ten{padding: 10px 0;} .mail-box { border-collapse: collapse; border-spacing: 0; display: table; table-layout: fixed; width: 100%; } .mail-box aside { display: table-cell; float: none; height: 100%; padding: 0; vertical-align: top; } .mail-box .sm-side { background: none repeat scroll 0 0 #e5e8ef; border-radius: 4px 0 0 4px; width: 25%; } .mail-box .lg-side { background: none repeat scroll 0 0 #fff; border-radius: 0 4px 4px 0; width: 75%; } .mail-box .sm-side .user-head { background: none repeat scroll 0 0 #00a8b3; border-radius: 4px 0 0; color: #fff; min-height: 80px; padding: 10px; } .user-head .inbox-avatar { float: left; width: 65px; } .user-head .inbox-avatar img { border-radius: 4px; } .user-head .user-name { display: inline-block; margin: 0 0 0 10px; } .user-head .user-name h5 { font-size: 14px; font-weight: 300; margin-bottom: 0; margin-top: 15px; } .user-head .user-name h5 a { color: #fff; } .user-head .user-name span a { color: #87e2e7; font-size: 12px; } a.mail-dropdown { background: none repeat scroll 0 0 #80d3d9; border-radius: 2px; color: #01a7b3; font-size: 10px; margin-top: 20px; padding: 3px 5px; } .inbox-body { padding-top: 20px; } .btn-compose { background: none repeat scroll 0 0 #ff6c60; color: #fff; padding: 12px 0; text-align: center; width: 100%; } .btn-compose:hover { background: none repeat scroll 0 0 #f5675c; color: #fff; } ul.inbox-nav { display: inline-block; margin: 0; padding: 0; width: 100%; } .inbox-divider { border-bottom: 1px solid #d5d8df; } ul.inbox-nav li { display: inline-block; line-height: 45px; width: 100%; } ul.inbox-nav li a { color: #6a6a6a; display: inline-block; line-height: 45px; padding: 0 20px; width: 100%; } ul.inbox-nav li a:hover, ul.inbox-nav li.active a, ul.inbox-nav li a:focus { background: none repeat scroll 0 0 #d5d7de; color: #6a6a6a; } ul.inbox-nav li a i { color: #6a6a6a; font-size: 16px; padding-right: 10px; } ul.inbox-nav li a span.label { margin-top: 13px; } ul.labels-info li h4 { color: #5c5c5e; font-size: 13px; padding-left: 15px; padding-right: 15px; padding-top: 5px; text-transform: uppercase; } ul.labels-info li { margin: 0; } ul.labels-info li a { border-radius: 0; color: #6a6a6a; } ul.labels-info li a:hover, ul.labels-info li a:focus { background: none repeat scroll 0 0 #d5d7de; color: #6a6a6a; } ul.labels-info li a i { padding-right: 10px; } .nav.nav-pills.nav-stacked.labels-info p { color: #9d9f9e; font-size: 11px; margin-bottom: 0; padding: 0 22px; } .inbox-head { background: none repeat scroll 0 0 #41cac0; border-radius: 0 4px 0 0; color: #fff; min-height: 80px; padding: 20px; } .inbox-head h3 { display: inline-block; font-weight: 300; margin: 0; padding-top: 6px; } .inbox-head .sr-input { border: medium none; border-radius: 4px 0 0 4px; box-shadow: none; color: #8a8a8a; float: left; height: 40px; padding: 0 10px; } .inbox-head .sr-btn { background: none repeat scroll 0 0 #00a6b2; border: medium none; border-radius: 0 4px 4px 0; color: #fff; height: 40px; padding: 0 20px; } .table-inbox { border: 1px solid #d3d3d3; margin-bottom: 0; } .table-inbox tr td { padding: 12px !important; } .table-inbox tr td:hover { cursor: pointer; } .table-inbox tr td .fa-star.inbox-started, .table-inbox tr td .fa-star:hover { color: #f78a09; } .table-inbox tr td .fa-star { color: #d5d5d5; } .table-inbox tr.unread td { background: none repeat scroll 0 0 #f7f7f7; font-weight: 600; } ul.inbox-pagination { float: right; } ul.inbox-pagination li { float: left; } .mail-option { display: inline-block; margin-bottom: 10px; width: 100%; } .mail-option .chk-all, .mail-option .btn-group { margin-right: 5px; } .mail-option .chk-all, .mail-option .btn-group a.btn { background: none repeat scroll 0 0 #fcfcfc; border: 1px solid #e7e7e7; border-radius: 3px !important; color: #afafaf; display: inline-block; padding: 5px 10px; } .inbox-pagination a.np-btn { background: none repeat scroll 0 0 #fcfcfc; border: 1px solid #e7e7e7; border-radius: 3px !important; color: #afafaf; display: inline-block; padding: 5px 15px; } .mail-option .chk-all input[type="checkbox"] { margin-top: 0; } .mail-option .btn-group a.all { border: medium none; padding: 0; } .inbox-pagination a.np-btn { margin-left: 5px; } .inbox-pagination li span { display: inline-block; margin-right: 5px; margin-top: 7px; } .fileinput-button { background: none repeat scroll 0 0 #eeeeee; border: 1px solid #e6e6e6; } .inbox-body .modal .modal-body input, .inbox-body .modal .modal-body textarea { border: 1px solid #e6e6e6; box-shadow: none; } .btn-send, .btn-send:hover { background: none repeat scroll 0 0 #00a8b3; color: #fff; } .btn-send:hover { background: none repeat scroll 0 0 #009da7; } .modal-header h4.modal-title { font-family: "Open Sans",sans-serif; font-weight: 300; } .modal-body label { font-family: "Open Sans",sans-serif; font-weight: 400; } .heading-inbox h4 { border-bottom: 1px solid #ddd; color: #444; font-size: 18px; margin-top: 20px; padding-bottom: 10px; } .sender-info { margin-bottom: 20px; } .sender-info img { height: 30px; width: 30px; } .sender-dropdown { background: none repeat scroll 0 0 #eaeaea; color: #777; font-size: 10px; padding: 0 3px; } .view-mail a { color: #ff6c60; } .attachment-mail { margin-top: 30px; } .attachment-mail ul { display: inline-block; margin-bottom: 30px; width: 100%; } .attachment-mail ul li { float: left; margin-bottom: 10px; margin-right: 10px; width: 150px; } .attachment-mail ul li img { width: 100%; } .attachment-mail ul li span { float: right; } .attachment-mail .file-name { float: left; } .attachment-mail .links { display: inline-block; width: 100%; } .fileinput-button { float: left; margin-right: 4px; overflow: hidden; position: relative; } .fileinput-button input { cursor: pointer; direction: ltr; font-size: 23px; margin: 0; opacity: 0; position: absolute; right: 0; top: 0; transform: translate(-300px, 0px) scale(4); } .fileupload-buttonbar .btn, .fileupload-buttonbar .toggle { margin-bottom: 5px; } .files .progress { width: 200px; } .fileupload-processing .fileupload-loading { display: block; } * html .fileinput-button { line-height: 24px; margin: 1px -3px 0 0; } * + html .fileinput-button { margin: 1px 0 0; padding: 2px 15px; } @media (max-width: 767px) { .files .btn span { display: none; } .files .preview * { width: 40px; } .files .name * { display: inline-block; width: 80px; word-wrap: break-word; } .files .progress { width: 20px; } .files .delete { width: 60px; } } ul { list-style-type: none; padding: 0px; margin: 0px; } </style> <?php $ss = $DB->query("select * from siparisler where uye='$uyid' order by id asc")->fetchAll(PDO::FETCH_ASSOC); foreach($ss as $tt){ ?> <script> //<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#product_view"><i class="fa fa-search"></i> Quick View</button> function myFunction<?php echo $tt['sino']; ?>(x) { $("#<?php echo $tt['sino']; ?>").modal(); }; </script> <?php } ?> <?php $tr = $DB->query("select * from siparisler where uye='$uyid' order by id asc")->fetchAll(PDO::FETCH_ASSOC); foreach($tr as $cc){ ?> <div class="modal fade <?php echo $cc['sino']; ?>" id="<?php echo $cc['sino']; ?>"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <a href="#" data-dismiss="modal" class="class pull-right"><span class="glyphicon glyphicon-remove"></span></a> <h5 class="modal-title">Sipariş Kodunuz : <b>#<?php echo $cc['sino']; ?></b> </h5> </div> <div class="modal-body"> <div class="row"> <div class="forms" style="margin-left:18px;margin-right:18px;padding-bottom:-25px;border-style: solid; border-width: 1px;"> <label>Sipariş Kodunuz : <b><?php echo $cc['sino']; ?></b> <em></em></label></br> <label>Adınız Soyadınız : <b><?php echo $cc['isim']; ?></b> <em></em></label></br> <label>T.C. ( Firma Adı & Vergi No) : <b><?php echo $cc['isim']; ?></b> <em></em></label></br> <label>Telefon Numaranız : <b><?php echo $cc['telefon']; ?></b> <em></em></label></br> <label>Eposta Adresiniz : <b><?php echo $cc['email']; ?></b> <em></em></label></br> <label>Fatura & Kargo Adresiniz : <b><?php echo $cc['adres']; ?> <?php echo $cc['ilce']; ?> / <?php echo $cc['il']; ?></b> <em></em></label></br> <label>Sipariş Tarihi : <b><?php echo $cc['tarih']; ?></b> <em></em></label></br> <label>Güncelleme Tarihi : <b><?php echo $cc['gtarih']; ?></b> <em></em></label></br> <label>IP Adresiniz : <b><?php echo $cc['ip']; ?></b> <em></em></label></br> <label>Sipariş Durumu: <b><font color="red"/><?php echo $cc['durum']; ?></font></b> <em></em></label></br> <?php if($cc['yontem']=='Kapıda Ödeme'){?> <label>Kapıda Ödeme Kargo Bedeli: <b><font color="red"/><?php echo $cc['kapi']; ?> TL</font></b> <em></em></label></br> <?php } else { ?> <label>Ödeme Yapılacak Banka: <b><font color="red"/><?php echo $cc['banka']; ?></font></b> <em></em></label></br> <?php }?> </div> <div class="col-lg-12 table-responsive"> <table class="table table-bordered invoice-summary"> <thead> <tr class="bg-trans-dark"> <th class="text-uppercase">ÜRÜN BİLGİLERİ</th> <th class="min-col text-center text-uppercase">Adet</th> <th class="min-col text-center text-uppercase">BİRİM FİYATI</th> <th class="min-col text-right text-uppercase">Toplam</th> </tr> </thead> <tbody> <?php echo $cc['urunler']; ?> </tbody> </table> </div> <div class="col-lg-12 table-responsive"> <table class="table table-bordered invoice-summary"> <thead> <tr class="bg-trans-dark"> <th class="min-col text-center text-uppercase"></th> <th class="min-col text-right text-uppercase"></th> </tr> </thead> <tbody> <tr> <td><strong>Ara Toplam :</strong></td> <td><?php echo $cc['tutar']; ?> TL</td> </tr> <tr> <td><strong>KDV (%<?php echo $cc['kdvv']; ?>):</strong></td> <td><?php echo $cc['kdv']; ?> TL</td> </tr> <?php if($cc['yontem']=='Kapıda Ödeme'){?> <tr> <td><strong>Kapıda Ödeme Kargo Bedeli :</strong></td> <td><?php echo $cc['kapi']; ?> TL</td> </tr> <tr> <td><strong>Ödenecek Tutar :</strong></td> <td class="text-bold h4"><?php echo $cc= $cc['toplam']+$cc['kapi']; ?> TL</td> </tr> <?php } else { ?> <tr> <td><strong>Kargo Bedeli :</strong></td> <td><?php echo $cc['kargo']; ?> TL</td> </tr> <tr> <td><strong>Ödenecek Tutar :</strong></td> <td class="text-bold h4"><?php echo $cc['toplam']; ?> TL</td> </tr> <?php }?> </tbody> </table> </div> <div class="forms" style="margin-left:18px;margin-right:18px;padding-bottom:-25px;border-style: solid; border-width: 1px;"> <label>Sipariş Notunuz : <font color="red"> <?php echo $cc['mesaj']; ?></font> <em>*</em></label><br> <label>Yönetici Notu :<em> <font color="red"> <?php echo $cc['kargonotu']; ?></font></em></label> </div> <div class="ck-box"> </div> </div> </div> </div> </div> </div> <?php } ?> <?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