📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
b2be-ticaretscripti.demodesign.com.tr
/
ninico
📝
hesabim.php
← Geri Dön
<title>Hesabım</title> <meta name="keywords" content="<?php echo $ayar['sitekey']; ?>"> <meta name="description" content="<?php echo $ayar['sitedesc']; ?>"> <meta property="og:url" content="<?php echo $url; ?>"/> <meta property="og:title" content="Üyelik Sözleşmesi ve Rıza Metni"/> <meta property="og:description" content="<?php echo $ayar['sitedesc']; ?>"/> <?php if ($_SESSION['uyegirisdurumu'] == 'true') { ?> <style> .nav > li > a { margin-left: 15px; } .nav > li > a > i { margin-right: 10px; } .nav > li { width: 100%; text-align: center; border-right: 1px solid #00000040; } .product-col > .product > .product-media { width: 20%; float: left; } .product-col > .product > h3 { width: 80%; float: right; margin-block-start: 15px; text-decoration: unset; } .card { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border-box; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0.1rem; } .card-body { padding: 10px !important; } .card-header:first-child { border-radius: calc(0.37rem - 1px) calc(0.37rem - 1px) 0 0; } .card-header { padding: 0.75rem 1.25rem; margin-bottom: 0; background-color: #fff; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .track { position: relative; background-color: #ddd; height: 7px; display: -webkit-box; display: -ms-flexbox; display: flex; margin-bottom: 60px; margin-top: 50px; } .track .step { -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; width: 25%; margin-top: -18px; text-align: center; position: relative; } .track .step.active:before { background: #ff5722; } .track .step::before { height: 7px; position: absolute; content: ""; width: 100%; left: 0; top: 18px; } .track .step.active .icon { background: #ee5435; color: #fff; } .track .icon { display: inline-block; width: 40px; height: 40px; line-height: 40px; position: relative; border-radius: 100%; background: #ddd; line-height: 40px; font-size: 20px; padding-top: 10px; } .track .step.active .text { font-weight: 400; color: #000; } .track .text { display: block; margin-top: 7px; } .itemside { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; } .itemside .aside { position: relative; -ms-flex-negative: 0; flex-shrink: 0; } .img-sm { width: 80px; height: 80px; padding: 7px; } ul.row, ul.row-sm { list-style: none; padding: 0; } .itemside .info { padding-left: 15px; padding-right: 7px; } .itemside .title { display: block; margin-bottom: 5px; color: #212529; } p { margin-top: 0; margin-bottom: 1rem; } .btn-warning { color: #ffffff; background-color: #ee5435; border-color: #ee5435; border-radius: 1px; } .panel-title { margin-top: 5px !important; text-align: center; background: #ece9e9; padding: 10px; } .btn-warning:hover { color: #ffffff; background-color: #ff2b00; border-color: #ff2b00; border-radius: 1px; } b, strong { font-weight: 400; font-size: 13px; } .table td { padding: 4px !important; text-align: left !important; font-size: 14px; padding-left: 10px !important; } .table .total-col { color: #c96; font-weight: 400; font-size: 14px; } .md-form.md-outline .form-control { padding: 0.375rem 0.75rem; padding-top: 0.375rem; padding-top: 10px; width: 100% !important; max-width: 100% !important; } .show { display: block !important; opacity: 1; } .tab-content { border: 1px solid #ddd; padding: 10px; margin-bottom: 20px; background: white; border-radius: 5px; } .badge { display: inline-block; min-width: 10px; padding: 3px 7px; font-size: 12px; font-weight: bold; line-height: 1; color: #fff !important; background-color: <?php echo $tema['t8']; ?>; text-align: center; white-space: nowrap; background: <?php echo $tema['t8']; ?> !important; vertical-align: middle; border-radius: 10px; border: none !important; } .panel-default > .panel-heading .badge { color: #fff; background-color: <?php echo $tema['t8']; ?> !important; } .card { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-width: 0; word-wrap: break-word; background-color: #fff; background-clip: border-box; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0.1rem; padding: 1px; } .card-header:first-child { border-radius: calc(0.37rem - 1px) calc(0.37rem - 1px) 0 0; } .card-header { padding: 0.75rem 1.25rem; margin-bottom: 0; background-color: #fff; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .track { position: relative; background-color: #ddd; height: 7px; display: -webkit-box; display: -ms-flexbox; display: flex; margin-bottom: 60px; margin-top: 50px; } .track .step { -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; width: 25%; margin-top: -18px; text-align: center; position: relative; } .track .step.active:before { background: #ff5722; } .track .step::before { height: 7px; position: absolute; content: ""; width: 100%; left: 0; top: 18px; } .track .step.active .icon { background: #ee5435; color: #fff; } .track .icon { display: inline-block; width: 40px; height: 40px; line-height: 40px; position: relative; border-radius: 100%; background: #ddd; line-height: 20px; font-size: 20px; padding-top: 10px; } .track .step.active .text { font-weight: 400; color: #000; } .track .text { display: block; margin-top: 7px; } .itemside { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; } .itemside .aside { position: relative; -ms-flex-negative: 0; flex-shrink: 0; } .img-sm { width: 80px; height: 80px; padding: 7px; } ul.row, ul.row-sm { list-style: none; padding: 0; } .itemside .info { padding-left: 15px; padding-right: 7px; } .itemside .title { display: block; margin-bottom: 5px; color: #212529; } p { margin-top: 0; margin-bottom: 1rem; } .btn-warning { color: #ffffff; background-color: #ee5435; border-color: #ee5435; border-radius: 1px; } .btn-warning:hover { color: #ffffff; background-color: #ff2b00; border-color: #ff2b00; border-radius: 1px; } b, strong { font-weight: 400; font-size: 13px; } .table td { padding: 4px !important; text-align: center !important; font-size: 14px; } .table .total-col { color: #c96; font-weight: 400; font-size: 14px; } .md-form.md-outline .form-control { padding: 0.375rem 0.75rem; padding-top: 0.375rem; padding-top: 10px; } .no-gutters { margin-left: 0; margin-right: 0; } .no-gutters > .col, .no-gutters > [class*="col-"] { padding-left: 0; padding-right: 0; } .page-wrapper { position: relative; display: flex; flex-direction: column; min-height: 100%; transition: transform 0.4s ease; } .mmenu-active .page-wrapper { transform: translateX(200px); } .fade { opacity: 1 !important; -webkit-transition: opacity 0.15s linear; -o-transition: opacity 0.15s linear; transition: opacity 0.15s linear; } .nav-item { margin-right: 2.5rem; border-bottom: 1px solid #eee; color: #222; } .nav-link { display: block; margin-bottom: -0.1rem; padding: 1rem 0.2rem !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1; letter-spacing: 0; text-align: left; border-radius: 0; border: 0; transition: border 0.35s, color 0.35s, background-color 0.35s; color: black; } h3 { font-size: 15px !important; } .nav-dashboard { border: 1px solid #e9e9e9; padding-left: 15px; border-radius: 5px; } input.form-control { background: rgb(255, 255, 255) !important; border-width: 1px !important; border-style: solid !important; border-color: rgba(226, 226, 226, 1) !important; border-radius: 3px !important; height: 50px; background: white !important; font-size: 12px; } .kutu { background: #f2f0f0; border: 1px solid #e0dcdc; border-radius: 3px; margin-top: 10px; padding: 10px; height: 50px; line-height: 30px; text-align: center; } .hesabsip { width: 25%; float: left; padding: 0px !important; } .satis { width: 20%; float: left; padding: 0px !important; line-height: 35px; } .faqHeader { color: #575656; background: <?php echo $tema['t16'];?> !important; } @media screen and (max-device-width: 480px) and (orientation: portrait) { .hesabsip { width: 100% !important; float: left; padding: 0px !important; } .satis { width: 100% !important; float: left; padding: 0px !important; line-height: 70px; font-weight: 500; } } </style> <style> .limiter { width: 100%; margin: 0 auto } .container-table100 { width: 100%; display: -webkit-box; display: -webkit-flex; display: -moz-box; display: -ms-flexbox; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; } .wrap-table100 { width: 100%; } table { border-spacing: 1; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; width: 100%; margin: 0 auto; position: relative } table * { position: relative } table td, table th { padding-left: 8px } table thead tr { height: 60px; background: #36304a } table tbody tr { height: 50px } table tbody tr:last-child { border: 0 } table td, table th { text-align: left } table td.l, table th.l { text-align: right } table td.c, table th.c { text-align: center } table td.r, table th.r { text-align: center } .table100-head th { font-size: 18px; color: #fff; line-height: 1.2; font-weight: unset } tbody tr:nth-child(even) { background-color: #f5f5f5 } tbody tr { font-size: 15px; color: gray; line-height: 1.2; font-weight: unset } tbody tr:hover { color: #555; background-color: #f5f5f5; cursor: pointer } .column { text-align: center; } @media(max-width:576px) { .container-table100 { padding-left: 15px; padding-right: 15px } } .md-form.md-outline .form-control { padding-left: 15px; padding-top: 5px; height: 50px; } </style> <main> <section class="breadcrumb__area pt-60 pb-60 tp-breadcrumb__bg" data-background="<?php echo $sitetemasi; ?>/img/banner/breadcrumb-01.jpg"> <div class="container"> <div class="row align-items-center"> <div class="col-xl-7 col-lg-12 col-md-12 col-12"> <div class="tp-breadcrumb"> <div class="tp-breadcrumb__link mb-10"> <span class="breadcrumb-item-active"><a href="<?php echo $url;?>">AnaSayfa</a></span> <span>Hesabım</span> </div> <h2 class="tp-breadcrumb__title">Hesabım</h2> </div> </div> </div> </div> </section> <section class="erroe-area pt-70 pb-70"> <div class="container"> <div class="row" style="margin-block-end: 50px;"> <aside class="col-12 col-md-3" style="margin-top:10px;"> <ul class="nav nav-dashboard flex-column mb-3 mb-md-0" role="tablist" style="padding-left: unset; flex-direction: row !important; display: flex; overflow: auto;"> <li class="nav-item" style="margin-right: unset;"> <a class="nav-link active" id="tab-dashboard-link" data-toggle="tab" href="#tab-dashboard" role="tab" aria-controls="tab-dashboard" aria-selected="true"><i class="fa fa-user"></i> Hesabım</a> </li> <li class="nav-item" style="margin-right: unset;"> <a class="nav-link" id="tab-orders-link" data-toggle="tab" href="#tab-orders" role="tab" aria-controls="tab-orders" aria-selected="false"><i class="fa fa-shopping-cart"></i> Siparişlerim</a> </li> <li class="nav-item" style="margin-right: unset;"> <a class="nav-link" id="tab-address-link23" data-toggle="tab" href="#tab-address23" role="tab" aria-controls="tab-address23" aria-selected="false"><i class="fas fa-money-bill-wave-alt"></i> Cari Hesabım</a> </li> <li class="nav-item" style="margin-right: unset;"> <a class="nav-link" id="tab-address-link2" data-toggle="tab" href="#tab-address2" role="tab" aria-controls="tab-address2" aria-selected="false"><i class="fa fa-ticket"></i> Destek Talebi</a> </li> <li class="nav-item" style="margin-right: unset;"> <a class="nav-link" id="tab-orders-link2" data-toggle="tab" href="#tab-orders2" role="tab" aria-controls="tab-orders2" aria-selected="false"><i class="fa fa-envelope"></i> Destek Merkezi</a> </li> <li class="nav-item" style="margin-right: unset;"> <a class="nav-link" id="tab-downloads-link" data-toggle="tab" href="#tab-downloads" role="tab" aria-controls="tab-downloads" aria-selected="false"><i class="fa fa-gift"></i> Hediye Çeklerim</a> </li> <li class="nav-item" style="margin-right: unset;"> <a class="nav-link" id="tab-address-link" data-toggle="tab" href="#tab-address" role="tab" aria-controls="tab-address" aria-selected="false"><i class="fa fa-map-marker"></i> Adreslerim</a> </li> <li class="nav-item" style="margin-right: unset;"> <a class="nav-link" id="tab-account-link" data-toggle="tab" href="#tab-account" role="tab" aria-controls="tab-account" aria-selected="false"><i class="fas fa-pencil-alt"></i> Üyelik Bilgilerim</a> </li> <li class="nav-item" style="margin-right: unset;"> <a class="nav-link" href="cikis/" style="padding: 15px !important; text-decoration: unset; background: #ff1541; color: white; margin: unset;"><i class="fa fa-sign-out" style="color: white !important;"></i> Çıkış Yap</a> </li> </ul> </aside> <div class="col-12 col-md-9" style="margin-top:10px;"> <div class="tab-content"> <div class="tab-pane fade show active" id="tab-dashboard" role="tabpanel" aria-labelledby="tab-dashboard-link"> <p>Hoşgeldin Sayın <span class="font-weight-normal text-dark" style="text-transform: capitalize;"><?php echo $uyebilgileri['isim'];?></span> <br> Dilersen buradan tüm siparişlerini görebilir veya kayıtlı adreslerini görebilir veya düzenleyebilir veya üyelik bilgilerini görüntüleyip güncelleyebilirsin. </p> </div> <div class="tab-pane fade" id="tab-orders" role="tabpanel" aria-labelledby="tab-orders-link"> <div class="panel-group" id="accordion"> <?php $pages = intval(temizle(@$_GET['pages'])); if (!$pages) { $pages = 1; } $bak = $ozy->prepare("select * from siparis where onay='1' and uye=?"); $bak->execute(array($uyeid)); $toplam= $bak->rowCount(); $limit = 10; $goster = $pages*$limit-$limit; $sayfasayisi = ceil($toplam/$limit); $forlimit = 200; $pr = $ozy->query("select * from siparis where onay='1' and uye='{$uyeid}' order by id DESC limit $goster,$limit")->fetchAll(PDO::FETCH_ASSOC); $__URUN__ = false; foreach ($pr as $sip) { $__URUN__ = true; ?> <div style="border: 1px solid #f6f6f6;"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title" style="margin-top: 10px;"> <a style="font-size: 14px;margin-top: 10px;color: #888181;font-weight: 500;" class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapse<?php echo $sip['siparisno'];?>"> Sipariş Kodu : <b><?php echo $sip['siparisno'];?></b> Ödeme Yöntemi : <b><?php echo $sip['odemetipi'];?></b> Ödenen Tutar : <b><?php echo $sip['toplamtutar'];?> TL <?php if($sip['para']=='USD' or $sip['para']=='EUR'){?><b> = (<?php echo sfiyatgoster($sip['toplamtutar']);?>)</b><?php } ?></b> Durum : <b> <?= $sip['durum'] ?> </b> </a> </h4> </div> <div id="collapse<?php echo $sip['siparisno'];?>" class="panel-collapse collapse"> <div class="col-12"> <article class="card"> <div class="card-body"> <h6 style="padding: 10px;">Sipariş Kodunuz : <?php echo $sip['siparisno'];?></h6> <article class="card"> <div class="card-body row"> <div class="col"> <strong>Sipariş Tarihi:</strong> <br><?php echo $sip['tarih'];?></div> <div class="col"> <strong>Sipariş Durumu:</strong> <br> <?php echo $sip['durum'];?></div> <?php if($sip['ekdurum']=='1'){?> <div class="col" style="color:red"> <strong>Yönetici Notu:</strong> <br> <?php echo $sip['eknot']; ?> </div> <?php } else { ?> <div class="col"> <strong>Toplam Ödenen Tutar:</strong> <br> <?php echo $sip['toplamtutar']; ?> TL</div> <?php } ?> <?php if($sip['kargoid']>'0'){?> <?php $kargoidm = $sip['kargoid']; $kargomnerede = $ozy->query("select * from kargolar where id='$kargoidm'")->fetch(PDO::FETCH_ASSOC); ?> <div class="col"> <strong>Kargo Takip :</strong> <br><?php echo $kargomnerede['adi'];?> - <a target="_blank" href="<?php echo $kargomnerede['link'];?><?php echo $sip['takipno']; ?>"><?php echo $sip['takipno']; ?></a> </div> <?php } ?> </div> </article> <div class="track"> <div class="step <?php echo $sip['durum'] == 'Sipariş Onaylandı' ? 'active' : null; ?><?php echo $sip['durum'] == 'Sipariş Hazırlandı' ? 'active' : null; ?><?php echo $sip['durum'] == 'Kargoya Verildi' ? 'active' : null; ?><?php echo $sip['durum'] == 'Sipariş Tamamlandı' ? 'active' : null; ?>"> <span class="icon"> <i class="fa fa-check"></i> </span> <span class="text">Siparişiniz Onaylandı</span> </div> <div class="step <?php echo $sip['durum'] == 'Sipariş Hazırlandı' ? 'active' : null; ?><?php echo $sip['durum'] == 'Kargoya Verildi' ? 'active' : null; ?><?php echo $sip['durum'] == 'Sipariş Tamamlandı' ? 'active' : null; ?>"> <span class="icon"> <i class="fa fa-user"></i> </span> <span class="text"> Siparişiniz Hazırlanıyor</span> </div> <div class="step <?php echo $sip['durum'] == 'Kargoya Verildi' ? 'active' : null; ?><?php echo $sip['durum'] == 'Sipariş Tamamlandı' ? 'active' : null; ?>"> <span class="icon"> <i class="fa fa-truck"></i> </span> <span class="text"> Kargoya Verildi </span> </div> <div class="step <?php echo $sip['durum'] == 'Sipariş Tamamlandı' ? 'active' : null; ?>"> <span class="icon"> <i class="fa fa-home"></i> </span> <span class="text">Siparişiniz Tamamlandı</span> </div> </div> <hr> </div> </article> <div class="card m-b-30"> <div class="card-body"> <div class="row" style="padding: 10px;"> <div class="col-12" id="divYazdir"> <div class="invoice-title"> <h4 class="float-right font-12"><strong style="font-weight: 400;font-size: 14px;line-height: 70px;">Sipariş Kodu : <?php echo $sip['siparisno'];?></strong></h4> <h3 class="m-t-0" style="margin-bottom: -15px !important;"> <img style="width: 200px;height:80px;" src="resimler/siteayarlari/<?php echo $ayar['logo'];?>" alt="logo" height="24"> </h3> </div> <hr> <div class="row"> <div class="col-6" style="width: 50%; float: left;"> <address> <strong style="font-weight: 500;">Alıcı Bilgileri:</strong><br> <?php echo $sip['adsoyad'];?><br> <?php echo $sip['telefon'];?><br> <?php echo $sip['email'];?><br> <?php echo $sip['adres'];?> <?php echo $sip['il'];?> / <?php echo $sip['ilce'];?><br> </address> </div> <div class="col-6 text-right" style="width: 50%; float: right;"> <address> <strong style="font-weight: 500;">Fatura Bilgileri:</strong><br> <?php if($sip['uyetip']=='1'){?> Kurumsal Üye <?php } else { ?> Bireysel Üye <?php } ?> <br> <?php echo $sip['vergibilgileri'];?><br> <?php echo $sip['faturaadres'];?> <?php echo $sip['faturail'];?> / <?php echo $sip['faturailce'];?> </address> </div> </div> <hr> <div class="row"> <div class="col-6 m-t-30" style="width: 50%; float: left;"> <address> <strong style="font-weight: 500;">Ödeme Bilgileri:</strong><br> <?php echo $sip['odemetipi'];?><br> <span style="font-size: 13px;" class="badge badge-success"><?php echo $sip['durum'];?></span> </address> </div> <div class="col-6 m-t-30 text-right" style="width: 50%; float: right;"> <address> <strong style="font-weight: 500;">Sipariş Oluşturulma Tarihi:</strong><br> <?php echo $sip['tarih'];?><br><br> </address> </div> </div> <hr> <div class="row" style="margin:auto;margin: auto; background: <?php echo $tema['t8']; ?>; padding: 10px;"> <div class="col-12 m-t-10"> <address> <strong style="font-weight: 500;">Bırakılan Not:</strong><br> <?php echo $sip['mesaj'];?><br> </address> </div> </div> <div class="panel panel-default" style="border: 1px solid #f2f2f2;padding: 5px;"> <div class="p-2"> <h3 class="panel-title font-20" style="font-size: 16px;"> <strong style="font-weight: 500;">Sipariş Detayları</strong></h3> </div> <div class="limiter"> <div class="container-table100"> <div class="wrap-table100" style="overflow: auto;"> <div class="table100"> <table> <thead> <tr class="table100-head"> <th class="column">Ürün</th> <th class="column">Birim Fiyatı</th> <th class="column">KDV</th> <th class="column">Adet</th> <th class="column">Toplam</th> </tr> </thead> <tbody> <?php echo $sip['uruntablo'];?> <tr> <td class="thick-line"></td> <td class="thick-line text-left" style="text-align: left !important;"> <strong>Aratutar :</strong> </td> <td class="thick-line text-right"><?php echo fiyatgoster($sip['aratutar']);?></td> </tr> <tr> <td class="thick-line"></td> <td class="thick-line text-left" style="text-align: left !important;"> <strong>KDV Bedeli :</strong> </td> <td class="thick-line text-right"><?php echo fiyatgoster($sip['kdvtutari']);?></td> </tr> <tr> <td class="no-line"></td> <td class="thick-line text-left" style="text-align: left !important;"> <strong>Kargo Bedeli</strong> </td> <td class="no-line text-right"><?php echo fiyatgoster($sip['kargotutari']);?></td> </tr> <?php if($sip['kupontutari']!='0'){?> <tr> <td class="thick-line"></td> <td class="thick-line text-left" style="text-align: left !important;"> <strong style="color:red;">Kupon Bedeli :</strong> </td> <td class="thick-line text-right">- <?php echo fiyatgoster($sip['kupontutari']);?></td> </tr> <?php } ?> <?php if($sip['cektutari']!='0'){ ?> <tr> <td class="thick-line"></td> <td class="thick-line text-left" style="text-align: left !important;"> <strong style="color:red;">Hediye Çeki Bedeli :</strong> </td> <td class="thick-line text-right">- <?php echo fiyatgoster($sip['cektutari']);?></td> </tr> <?php } ?> <?php if($sip['havaleindirimtutari']!='0'){ ?> <tr> <td class="thick-line"></td> <td class="thick-line text-left" style="text-align: left !important;"> <strong style="color:red;">Havale/EFT İndirim Bedeli :</strong> </td> <td class="thick-line text-right">- <?php echo fiyatgoster($sip['havaleindirimtutari']);?></td> </tr> <?php } ?> <?php if($sip['caritutar']!='0'){ ?> <tr> <td class="thick-line"></td> <td class="thick-line text-left" style="text-align: left !important;"> <strong style="color:red;">Sonradan Ödenecek Tutar:</strong> </td> <td class="thick-line text-right" style="color:red;">- <?php echo fiyatgoster($sip['caritutar']);?> / <?php echo $sip['caritarih'];?></td> </tr> <?php } ?> <tr> <td class="no-line"></td> <td class="thick-line text-left" style="text-align: left !important;"> <strong>Ödenecek Tutar</strong> </td> <td class="no-line text-right"> <h4 class="m-0" style="font-size: 14px;"><?php echo fiyatgoster($sip['toplamtutar']);?></h4> </td> </tr> <?php if($sip['para']=='USD' or $sip['para']=='EUR'){?> <tr> <td class="thick-line"></td> <td class="thick-line text-left" style="text-align: left !important;background: #e5dfdf;"> <strong><?php echo fiyatgoster($sip['toplamtutar']);?> = </strong> </td> <td class="no-line text-right" style="background: #e5dfdf;color:red;"> <h4 class="m-0" style="font-size: 14px;"><?php echo afiyatgoster($sip['toplamtutar']);?></h4> </td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> <div class=""> <div class="d-print-none"> <div class="float-right"> <a class="butonok butonok btn-primary waves-effect waves-light" style="text-decoration: unset; width: 100%; text-align: center; padding: 10px; margin-block-start: 15px; display: block; border-radius: 5px;" href="javascript:printDiv('divYazdir');">Siparişi Yazdır</a> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <?php } ?> <?php if (!$__URUN__){ echo '<p style="text-align: center; padding: 50px;"> Henüz bir siparişiniz bulunmamaktadır.</p><a href="'.$url.'" class="butonok btn-outline-primary-2" style="width: 100%; text-align: center; background: red; color: white; text-decoration: unset; font-weight: 600; border-radius: 5px; padding: 10px; margin-block: 15px;"><span>ŞİMDİ SİPARİŞ OLUŞTURMAK İSTER MİSİNİZ ?</span><i class="icon-long-arrow-right"></i></a>'; } ?> </div> <nav aria-label="Page navigation"> <ul class="pagination justify-content-center"> <?php $geri = $_GET['pages']-1;?> <li class="page-item <?php echo $_GET['pages'] == '1' ? 'disabled' : null; ?>"> <a class="page-link page-link-prev" href="hesabim/?pages=<?php echo $geri;?>" aria-label="Previous" tabindex="-1" aria-disabled="true"> <span aria-hidden="true"><i class="icon-long-arrow-left"></i></span>Geri </a> </li> <?php for ($i= $pages - $forlimit ; $i < $pages + $forlimit + 1 ; $i++) { if ($i>0 and $i<=$sayfasayisi) { if ($i == $pages) { echo "<li class='page-item active' aria-current='page'><a class='page-link'>".$i."</a></li>"; }else{ echo "<li class='page-item'><a class='page-link' href='hesabim/?pages=".$i."'>".$i."</a></li>"; } } } ?> <li class="page-item"> <?php $ileri = 1+$_GET['pages'];?> <a class="page-link page-link-next" href="hesabim/?pages=<?php echo $ileri;?>" aria-label="Previous" tabindex="-1" aria-disabled="true"> İleri <span aria-hidden="true"><i class="icon-long-arrow-right"></i></span> </a> </li> </ul> </nav> </div> <div class="tab-pane fade" id="tab-downloads" role="tabpanel" aria-labelledby="tab-downloads-link"> <div class="limiter"> <div class="container-table100"> <div class="wrap-table100" style="overflow: auto;"> <div class="table100"> <table> <thead> <tr class="table100-head"> <th class="column">Hediye Çeki Kodu</th> <th class="column">Hediye Çeki Tipi</th> <th class="column">Geçerlilik Tarihi</th> <th class="column">Sepet Limiti</th> <th class="column">Durumu</th> </tr> </thead> <tbody> <?php $uyeepostamiz = temizle($uyebilgileri['email']); $cekoku = $ozy->query("select * from kuponlar where durum='1' and sekil='1' and epostalar like '%$uyeepostamiz%' and gtarih>='$buguntarihim' order by id DESC")->fetchAll(PDO::FETCH_ASSOC); $__CEK__ = false; foreach ($cekoku as $tr) { $__CEK__ = true; ?> <tr> <td class="column"><?php echo $tr['adi']?></td> <td class="column"> <?php if($tr['tip']=='1'){?> <span style="font-size: 13px;" class="badge badge-success">% <?php echo $tr['oran']?> Yüzde İndirim</span> <?php } else { ?> <span style="font-size: 13px;" class="badge badge-pill badge-danger"><?php echo $tr['oran']?> TL Normal İndirim</span> <?php } ?> </td> <td class="column"><?php echo $tr['gtarih']?></td> <td class="column"><?php echo $tr['slimit']?> TL</td> <?php $uyeepostamiz2 = "".$tr['adi']."-".$uyebilgileri['email'].""; $ceksorgu = $ozy->prepare("SELECT COUNT(*) FROM kuponlar where durum='1' and sekil='1' and epostalar like '%$uyeepostamiz%' and gtarih>='$buguntarihim' and kullanildi like '%$uyeepostamiz2%' order by id DESC"); $ceksorgu->execute(); $ceksay = $ceksorgu->fetchColumn(); ?> <td class="column"> <?php if($ceksay=='1'){?> <span style="font-size: 13px;" class="badge badge-success">Kullanıldı</span> <?php } else { ?> <span style="font-size: 13px;" class="badge badge-pill badge-danger">Kullanılmadı</span> <?php } ?> </td> </tr> <?php } ?> <?php if (!$__CEK__){ echo "<div style='text-align: center; padding: 50px;'>Malesef hesabınıza tanımlı herhangi bir hediye çeki bulunmamaktadır :(</div>"; } ?> </tbody> </table> </div> </div> </div> </div> </div> <div class="tab-pane fade" id="tab-address" role="tabpanel" aria-labelledby="tab-address-link"> <div class="row"> <div class="col-lg-6"> <div class="card card-dashboard"> <h3 class="card-title" style="text-align: center;margin-top: 20px;">Adres Ekle</h3> <form action="" method="POST"> <div class="card-body" style="padding:2px !important;"> <div class="col-sm-12" style="padding: 10px;"> <div class="md-form md-outline"> <label for="form15" class="active">Adres Adı</label> <input name="adi" type="text" class="form-control" required> </div> </div> <div class="col-sm-12" style="padding: 10px;"> <div class="md-form md-outline"> <label for="form15" class="active">Adresiniz</label> <textarea name="adres" style="min-height:200px;" class="form-control" cols="30" rows="4" placeholder="" required></textarea> </div> </div> <div class="col-sm-12" style="padding: 10px;"> <div class="row"> <div class="md-form md-outline col-12 col-md-6"> <label for="form15" class="active">İl</label> <select name="il" id="sehir" class="form-control" required> <?php foreach($sehir as $key => $val){?> <option value="<?=$val;?>"><?=$val;?></option> <?php }?> </select> </div> <div class="md-form md-outline col-12 col-md-6"> <label for="form15" class="active">İlçe</label> <input name="ilce" type="text" class="form-control" required> </div> </div> </div> </div> <button type="submit" name="adresekle" class="butonok butonok btn-outline-primary-2" style="text-decoration: unset; width: 100%; text-align: center; padding: 10px; margin-block-start: 15px; background: var(--tp-text-primary) !important; color: white; font-weight: 500; border-radius: 5px;"> <span>ADRES EKLE</span> <i class="icon-long-arrow-right"></i> </button> </form> </div> </div> <?php $adresoku = $ozy->query("select * from adreslerim where uyeid='{$uyeid}' order by id DESC")->fetchAll(PDO::FETCH_ASSOC); $__ADRES__ = false; foreach ($adresoku as $adres) { $__ADRES__ = true; ?> <div class="col-lg-6"> <div class="card card-dashboard"> <div class="card-body"> <h3 class="card-title"><?php echo $adres['adi'];?></h3> <?php echo $adres['adres'];?><br> <?php echo $adres['il'];?><br> <?php echo $adres['ilce'];?><br> <a onclick="return confirm('Silmek istediğinize emin misiniz ?')" href="<?php echo $url;?>/hesabim/?adressil=<?php echo $adres['id'];?>" style="display: block; text-decoration: unset; width: 100%; text-align: center; padding: 10px; margin-block-start: 15px; background: #ee586d; color: white; font-weight: 600;">Adresi Sil <i class="icon-edit"></i></a></p> </div> </div> </div> <?php } ?> <?php if (!$__ADRES__){ echo "Malesef hesabınıza tanımlı herhangi bir adres bulunamadı :("; } ?> </div> </div> <div class="tab-pane fade" id="tab-address2" role="tabpanel" aria-labelledby="tab-address-link2"> <div class="row"> <div class="col-lg-12"> <form action="" method="POST"> <div class="card-body row" style="padding:2px !important;"> <div class="col-12 col-md-6"> <div class="md-form md-outline"> <label for="form15" class="active" style="margin-block-start: 20px;">Sipariş</label> <select name="siparisno" class="form-control" required> <option value="Genel Destek Talebi">Genel Destek Talebi</option> <?php $ss = $ozy->query("select * from siparis where uye='{$uyeid}' order by id desc")->fetchAll(PDO::FETCH_ASSOC); foreach($ss as $tt){ ?> <option value="<?php echo $tt['siparisno']; ?>"><?php echo $tt['siparisno']; ?></option> <?php } ?> </select> </div> </div> <div class="col-12 col-md-6"> <div class="md-form md-outline"> <label for="form15" class="active" style="margin-block-start: 20px;">Konu</label> <input name="konu" class="form-control" type="text" required> </div> </div> <div class="col-sm-12"> <div class="md-form md-outline"> <label for="form15" class="active" style="margin-block-start: 20px;">Mesajınız</label> <textarea name="mesaj" style="min-height:200px;" class="form-control" cols="30" rows="4" placeholder="" required></textarea> </div> </div> </div> <button type="submit" name="destekekle" class="butonok butonok btn-outline-primary-2" style="text-decoration: unset; width: 100%; text-align: center; padding: 10px; margin-block-start: 15px; background: var(--tp-text-primary) !important; color: white; font-weight: 500; border-radius: 5px;"> <span>DESTEK TALEBİNİ GÖNDER</span> <i class="icon-long-arrow-right"></i> </button> </form> </div> </div> </div> <div class="tab-pane fade" id="tab-account" role="tabpanel" aria-labelledby="tab-account-link" style="padding: 15px;"> <form action="" method="POST"> <div class="row"> <div class="col-12 col-md-4" style="padding: 10px;"> <div class="md-form md-outline"> <label for="form15" class="active">Adınız Soyadınız</label> <input name="isim" type="text" id="form15" class="form-control" onblur="this.value.split(' ').length < 2 ? alert('Adınızı ve Soyadınızı eksiksiz girmelisiniz.') : '';" value="<?php echo $uyebilgileri['isim'];?>"> </div> </div> <div class="col-12 col-md-4" style="padding: 10px;"> <div class="md-form md-outline"> <label for="form15" class="active">Telefon Numaranız</label> <input name="telefon" type="tel" class="form-control" value="<?php echo $uyebilgileri['telefon'];?>"> </div> </div> <div class="col-12 col-md-4" style="padding: 10px;"> <div class="md-form md-outline"> <label for="form15" class="active">Eposta Adresiniz</label> <input name="email" type="email" class="form-control" value="<?php echo $uyebilgileri['email'];?>"> </div> </div> <div class="col-12 col-md-6" style="padding: 10px;"> <div class="md-form md-outline"> <label for="bireysads" style="width: 100%;"> <div class="kutu"> <input <?php echo $uyebilgileri['uyetip'] == '0' ? 'checked' : null; ?> value="0" name="uyetip" type="radio" class="login-check" id="bireysads" required> Bireysel </div> </label> </div> </div> <div class="col-12 col-md-6" style="padding: 10px;"> <div class="md-form md-outline"> <label for="kurumsalfsad" style="width: 100%;"> <div class="kutu"> <input <?php echo $uyebilgileri['uyetip'] == '1' ? 'checked' : null; ?> value="1" name="uyetip" type="radio" class="login-check" id="kurumsalfsad" required> Kurumsal </div> </label> </div> </div> <div class="col-12" id="bireysel" style="padding: 10px;"> <div class="md-form md-outline"> <label for="form15" class="active">TC. Numaranız</label> <input name="tc" type="text" class="form-control" size="11" maxlength="11" value="<?php echo $uyebilgileri['tc'];?>"> </div> </div> <div class="col-12 col-md-4" id="kurumsal" style="display:none;" style="padding: 10px;"> <div class="md-form md-outline"> <label for="form15" class="active">Firma Adı</label> <input name="vergi1" type="text" class="form-control" value="<?php echo $uyebilgileri['vergi1'];?>"> </div> </div> <div class="col-12 col-md-4" id="kurumsal2" style="display:none;" style="padding: 10px;"> <div class="md-form md-outline"> <label for="form15" class="active">Vergi Dairesi Adı</label> <input name="vergi2" type="text" class="form-control" value="<?php echo $uyebilgileri['vergi2'];?>"> </div> </div> <div class="col-12 col-md-4" id="kurumsal3" style="display:none;" style="padding: 10px;"> <div class="md-form md-outline"> <label for="form15" class="active">Vergi No</label> <input name="vergi3" type="text" class="form-control" value="<?php echo $uyebilgileri['vergi3'];?>"> </div> </div> <div class="col-sm-12" style="padding: 10px;"> <div class="md-form md-outline"> <label for="sdasdsad0" class="active" style="width: 100%;"> <div class="kutu"> <input value="1" name="sifretip" type="radio" class="login-check" id="sdasdsad0"> Şifremi Güncellemek istiyorum </div> </label> </div> </div> <div class="col-sm-12" id="sifre1" style="display:none;" style="padding: 10px;"> <div class="md-form md-outline"> <label for="form15" class="active">Yeni Şifreniz</label> <input name="sifre" type="password" class="form-control"> </div> </div> <div class="col-sm-12" style="padding: 10px;"> <button type="submit" name="uyeguncelle" class="butonok butonok btn-outline-primary-2" style="text-decoration: unset; width: 100%; text-align: center; padding: 10px; margin-block-start: 15px; background: var(--tp-text-primary) !important; color: white; font-weight: 500; border-radius: 5px;"> <span>BİLGİLERİMİ GÜNCELLE</span> <i class="icon-long-arrow-right"></i> </button> </div> </div> </form> </div> <div class="tab-pane fade" id="tab-orders2" role="tabpanel" aria-labelledby="tab-orders-link2"> <div class="panel-group" id="accordion"> <div class="faqHeader" style="background: #f6f6f6;color: #777;padding: 5px;text-align: center;font-weight: 500;font-size: 15px;border: 1px solid #ece5e5;">Destek Merkezi</div> <?php $desoku = $ozy->query("select * from support where uye='{$uyeid}' order by id DESC")->fetchAll(PDO::FETCH_ASSOC); $__DESTEK__ = false; foreach ($desoku as $destek) { $__DESTEK__ = true; $destekid = $destek["id"]; $ticketsor = $ozy->query("select * from support_reply where destekid='{$destekid}'")->fetch(PDO::FETCH_ASSOC); ?> <div style="padding: 4px; border: 1px solid #f6f6f6;"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title" style="margin-top: 10px;"> <a style="font-size: 14px;margin-top: 10px;color: #888181;font-weight: 500;padding-left: 60px;" class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapsedestek<?php echo $ticketsor['mid'];?>"> Destek Kodu : <b>#<?php echo $ticketsor['mid']; ?></b> Sipariş No : <b><?php echo $ticketsor['siparisno']; ?> </b> Konu : <b><?php echo $ticketsor['konu'];?></b> Destek Durumu : <b> <?php echo $destek['durum'] == '0' ? '<span class="label label-danger " >Okunmadı</span>' : null; ?> <?php echo $destek['durum'] == '1' ? '<span class="label label-success " >Okundu</span>' : null; ?> <?php echo $destek['durum'] == '2' ? '<span class="label label-success " >Cevaplandı</span>' : null; ?> <?php echo $destek['durum'] == '3' ? '<span class="label label-info " >Kapatıldı</span>' : null; ?> </b> </a> </h4> </div> <div id="collapsedestek<?php echo $ticketsor['mid'];?>" class="panel-collapse collapse"> <div class="col-12"> <div class="card m-b-30"> <div class="card-body"> <div class="row"> <div class="col-12" id="divYazdir"> <div class="invoice-title"> <h4 class="float-right font-12"><strong style="font-weight: 400;font-size: 14px;line-height: 70px;">Sipariş Kodu : <?php echo $ticketsor['siparisno']; ?></strong></h4> <h3 class="m-t-0" style="margin-bottom: -15px !important;"> <img src="resimler/siteayarlari/<?php echo $ayar['logo'];?>" alt="logo" height="24"> </h3> </div> <hr> <div class="row"> <div class="col-12"> <?php $altdestek = $ozy->query("select * from support_reply where destekid='{$destekid}' order by id asc")->fetchAll(PDO::FETCH_ASSOC); foreach($altdestek as $kdestek){ ?> <div class="comment-item" style="border: 1px solid #e4e4e4;padding: 10px;"> <div class="head"> <?php if($kdestek['uye'] =="00"){ ?> <div style="border:1px solid;padding:10px;border-radius:5px;"> <span class="name"><img style=" max-width: 120px;margin-bottom: 20px;" src="resimler/siteayarlari/<?php echo $ayar['logo']; ?>"></span> <span class="time" style="float:right;margin-top: 60px;"> Gönderilme Tarihi <?php echo $kdestek['tarih']; ?></span> </br> <p class="comment" style="margin-top: -10px;margin-bottom: 50px;font-weight: 600;"><?php echo $kdestek['mesaj']; ?></p> </div> <?php }else {?> <div style="border:1px solid;padding:10px;border-radius:5px;"> <span class="name"><b><?php echo $uyebilgileri['isim']; ?> </b></span> </br> <span class="time" style="float: right;"> Gönderilme Tarihi <?php echo $kdestek['tarih']; ?></span> </br> </div> <?php } ?> </div> </div> <p class="comment"><?php echo $kdestek['mesaj']; ?></p> <?php } ?> </div> <div class="panel panel-default" style="border: 1px solid #f2f2f2;padding: 5px;"> <form action="" method="post"> <div class="login-form"> <textarea name="mesaj" class="form-control" cols="30" rows="4" id="cmessage" required></textarea> <input type="hidden" name="uye" value="<?php echo $uyid; ?>"> <input type="hidden" name="destekid" value="<?php echo $ticketsor['destekid']; ?>"> <input type="hidden" name="siparisno" value="<?php echo $ticketsor['siparisno']; ?>"> <input type="hidden" name="konu" value="<?php echo $ticketsor['konu']; ?>"> <input type="hidden" name="mid" value="<?php echo $ticketsor['mid']; ?>"> <input type="hidden" name="email" value="<?php echo $ticketsor['email']; ?>"> <?php $newid = $ticketsor['destekid']; $dee = $ozy->query("select * from support where id='{$newid}' limit 1")->fetchAll(PDO::FETCH_ASSOC); foreach($dee as $see){ ?> <?php if($see['durum'] =="3"){?> <div class="group-button" > <b style="width: 100%; margin-top: 6%;" class="butonok btn-outline-primary-2 btn-minwidth-sm">DESTEK KAPATILDIĞI İÇİN CEVAP VERİLEMEZ</b> </div> <?php }else {?> <div class="group-button" > <button class="butonok btn-outline-primary-2 btn-minwidth-sm" type="submit" name="destekcevapla" style="text-decoration: unset; width: 100%; text-align: center; padding: 10px; margin-block-start: 15px; background: var(--tp-text-primary) !important; color: white; font-weight: 500; border-radius: 5px;">CEVAPLA</button> </div> <?php } ?> <?php } ?> </div> </form> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <?php } ?> <?php if (!$__DESTEK__){ echo '<p> Henüz bir destek talebiniz bulunmamaktadır.</p> <a href="'.$url.'/hesabim/" class="butonok btn-outline-primary-2" style="text-decoration: unset; width: 100%; text-align: center; padding: 10px; margin-block-start: 15px; background: #646464; color: white; font-weight: 600;"><span>ŞİMDİ DESTEK TALEBİ OLUŞTURMAK İSTER MİSİNİZ ?</span><i class="icon-long-arrow-right"></i></a>'; } ?> </div> </div> <div class="tab-pane fade" id="tab-address23" role="tabpanel" aria-labelledby="tab-address-link23"> <?php if($uyebilgileri['bayi']=='1'){ ?> <div class="card-body row"> <div class="col-sm-6 col-xl-3 hesabsip" style=""> <div class="card" style="padding:20px;"> <div class="card-heading"> <div class="mini-stat-icon float-right"> <i class="mdi mdi-cube-outline bg-primary text-white"></i> </div> <div> <h5 class="font-16">Siparişler (Bugün)</h5> </div> <h3 class="mt-4"> <?php $siparis1 = $ozy->query("SELECT SUM(toplamtutar+caritutar) FROM siparis where uye='{$uyeid}' and tarihson = CURDATE();")->fetch(PDO::FETCH_ASSOC); foreach( $siparis1 as $siparis1x ){ echo $siparis1x = number_format($siparis1x, 2, '.', ''); } ?> TL </h3> <div class="progress mt-4" style="height: 4px;"></div> <p class="text-muted mt-2 mb-0">Toplam Sipariş <span class="float-right"> <?php $say1 = $ozy->prepare("SELECT COUNT(*) FROM siparis where uye='{$uyeid}' and tarihson = CURDATE();"); $say1->execute(); echo $siparis1 = $say1->fetchColumn(); ?> Adet</span> </p> </div> </div> </div> <div class="col-sm-6 col-xl-3 hesabsip" style=""> <div class="card" style="padding:20px;"> <div class="card-heading"> <div class="mini-stat-icon float-right"> <i class="mdi mdi-briefcase-check bg-success text-white"></i> </div> <div> <h5 class="font-16">Siparişler (Bu hafta)</h5> </div> <h3 class="mt-4"> <?php $siparis12 = $ozy->query("SELECT SUM(toplamtutar+caritutar) FROM siparis WHERE uye='{$uyeid}' and tarihson >= NOW() - INTERVAL 7 day")->fetch(PDO::FETCH_ASSOC); foreach( $siparis12 as $siparis1xx ){ echo $siparis1xx = number_format($siparis1xx, 2, '.', ''); } ?> TL </h3> <div class="progress mt-4" style="height: 4px;"></div> <p class="text-muted mt-2 mb-0">Toplam Sipariş <span class="float-right"> <?php $say12 = $ozy->prepare("SELECT COUNT(*) FROM siparis WHERE uye='{$uyeid}' and tarihson >= NOW() - INTERVAL 7 day"); $say12->execute(); echo $siparis12 = $say12->fetchColumn(); ?> Adet</span> </p> </div> </div> </div> <div class="col-sm-6 col-xl-3 hesabsip" style=""> <div class="card" style="padding:20px;"> <div class="card-heading"> <div class="mini-stat-icon float-right"> <i class="mdi mdi-tag-text-outline bg-warning text-white"></i> </div> <div> <h5 class="font-16">Siparişler (Bu ay)</h5> </div> <h3 class="mt-4"> <?php $siparis123 = $ozy->query("SELECT SUM(toplamtutar+caritutar) FROM siparis WHERE uye='{$uyeid}' and tarihson >= NOW() - INTERVAL 1 month")->fetch(PDO::FETCH_ASSOC); foreach( $siparis123 as $siparis1xxx ){ echo $siparis1xxx = number_format($siparis1xxx, 2, '.', ''); } ?> TL </h3> <div class="progress mt-4" style="height: 4px;"></div> <p class="text-muted mt-2 mb-0">Toplam Sipariş <span class="float-right"> <?php $say123 = $ozy->prepare("SELECT COUNT(*) FROM siparis WHERE uye='{$uyeid}' and tarihson >= NOW() - INTERVAL 1 month"); $say123->execute(); echo $siparis123 = $say123->fetchColumn(); ?> Adet</span> </p> </div> </div> </div> <div class="col-sm-6 col-xl-3 hesabsip" style=""> <div class="card" style="padding:20px;"> <div class="card-heading"> <div class="mini-stat-icon float-right"> <i class="mdi mdi-buffer bg-danger text-white"></i> </div> <div> <h5 class="font-16">Siparişler (Bu yıl)</h5> </div> <h3 class="mt-4"> <?php $siparis1234 = $ozy->query("SELECT SUM(toplamtutar+caritutar) FROM siparis WHERE uye='{$uyeid}' and tarihson >= NOW() - INTERVAL 1 YEAR")->fetch(PDO::FETCH_ASSOC); foreach( $siparis1234 as $siparis1xxxx ){ echo $siparis1xxxx = number_format($siparis1xxxx, 2, '.', ''); } ?> TL </h3> <div class="progress mt-4" style="height: 4px;"></div> <p class="text-muted mt-2 mb-0">Toplam Sipariş <span class="float-right"> <?php $say1234 = $ozy->prepare("SELECT COUNT(*) FROM siparis WHERE uye='{$uyeid}' and tarihson >= NOW() - INTERVAL 1 YEAR"); $say1234->execute(); echo $siparis1234 = $say1234->fetchColumn(); ?> Adet</span> </p> </div> </div> </div> <?php $usepettoplami = $ozy->query("SELECT SUM(toplamtutar+caritutar) FROM siparis WHERE uye='{$uyeid}'")->fetch(PDO::FETCH_ASSOC); foreach ($usepettoplami as $usepetbedeli) { $usepetbedeli = number_format($usepetbedeli, 2, ".", ""); } ?> <?php $cusepettoplami = $ozy->query("SELECT SUM(caritutar+odenencari) FROM siparis WHERE uye='{$uyeid}'")->fetch(PDO::FETCH_ASSOC); foreach ($cusepettoplami as $cusepetbedeli) { $cusepetbedeli = number_format($cusepetbedeli, 2, ".", ""); } ?> <?php $ocusepettoplami = $ozy->query("SELECT SUM(toplamtutar) FROM siparis WHERE uye='{$uyeid}'")->fetch(PDO::FETCH_ASSOC); foreach ($ocusepettoplami as $ocusepetbedeli) { $ocusepetbedeli = number_format($ocusepetbedeli, 2, ".", ""); } ?> <?php $cusepettoplamic = $ozy->query("SELECT SUM(odenencari) FROM siparis WHERE uye='{$uyeid}'")->fetch(PDO::FETCH_ASSOC); foreach ($cusepettoplamic as $cusepetbedelic) { $cusepetbedelic = number_format($cusepetbedelic, 2, ".", ""); } ?> <?php $cusepettoplamic1 = $ozy->query("SELECT SUM(caritutar) FROM siparis WHERE uye='{$uyeid}'")->fetch(PDO::FETCH_ASSOC); foreach ($cusepettoplamic1 as $cusepetbedelic1) { $cusepetbedelic1 = number_format($cusepetbedelic1, 2, ".", ""); } ?> <div class="col-12"> <div class="row"> <div class="col-12" style="margin-top: 25px;"> <div class="limiter"> <div class="container-table100"> <div class="wrap-table100" style="overflow: auto;"> <div class="table100"> <table> <thead> <tr class="table100-head"> <th class="column">Toplam Sipariş Bedeli</th> <th class="column">Ödenen Tutar Bedeli</th> <th class="column">Toplam Cari Tutar Bedeli</th> <th class="column">Ödenen Cari Tutar Bedeli</th> <th class="column">Kalan Cari Tutar Bedeli</th> </tr> </thead> <tbody> <tr> <td class="column"><?php echo $usepetbedeli;?> TL</td> <td class="column"><?php echo $ocusepetbedeli;?> TL</td> <td class="column"><?php echo $cusepetbedeli;?> TL</td> <td class="column"><?php echo $cusepetbedelic;?> TL</td> <td class="column"><?php echo $cusepetbedelic1;?> TL</td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <div class="col-12" style="margin-top: 25px;"> <div class="limiter"> <div class="container-table100"> <div class="wrap-table100" style="overflow: auto;"> <div class="table100"> <table> <thead> <tr class="table100-head"> <th class="column">Sipariş No</th> <th class="column">Toplam Tutar</th> <th class="column">Ödenen Cari</th> <th class="column">Kalan Cari</th> <th class="column">Ödeme Tarihi</th> <?php if ($system['postip'] == '0') { ?> <th data-priority="3" class="column">Şimdi Öde</th> <?php } ?> </tr> </thead> <tbody> <?php $ekbimiz = $ozy->query("select * from siparis where uye='{$uyeid}' and caritutar>'0' order by id desc")->fetchAll(PDO::FETCH_ASSOC); foreach($ekbimiz as $ekibimiz){ ?> <tr> <td class="column"><?php echo $ekibimiz['siparisno'];?></td> <td class="column"><?php echo $toplamcari = $ekibimiz['caritutar']+$ekibimiz['odenencari'];?> TL </td> <td class="column"><?php echo $ekibimiz['odenencari'];?> TL </td> <td class="column"><?php echo $kalancari = $ekibimiz['caritutar'];?> TL</td> <td class="column"><?php echo $ekibimiz['caritarih'];?></td> <?php if ($system['postip'] == '0' or $system['postip'] == '2') { ?> <td class="column"> <a href="odemeyap/?siparis=<?php echo $ekibimiz['id'];?>" style="background: #76c576; color: white; border-radius: 5px; line-height: 3; font-weight: bold; display: block;">Şimdi Öde</a> </td> <?php } ?> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div> </div> <div class="col-12" style="margin-top: 25px;"> <div class="card card-dashboard"> <h3 class="card-title" style="text-align: center;margin-top: 20px;">Ödeme Bildirim Formu</h3> <form action="" method="POST"> <div class="card-body row" style="padding:2px !important;"> <div class="col-12 col-md-6" style="margin-top: 15px;"> <div class="md-form md-outline"> <select name="siparisno" class="form-control" required> <option value="Genel Destek Talebi">Ödeme Yapılan Sipariş Numarası</option> <?php $ss = $ozy->query("select * from siparis where uye='{$uyeid}' order by id desc")->fetchAll(PDO::FETCH_ASSOC); foreach($ss as $tt){ ?> <option value="<?php echo $tt['siparisno']; ?>"><?php echo $tt['siparisno']; ?> - Kalan Ödeme Miktarı : <?php echo $tt['caritutar']; ?> TL</option> <?php } ?> </select> </div> </div> <div class="col-12 col-md-6" style="margin-top: 15px;"> <div class="md-form md-outline"> <input name="konu" class="form-control" type="text" required placeholder="Ödeme Miktarı Sadece TL bazında ödeme sağlayabilirsiniz."> </div> </div> <div class="col-sm-12" style="margin-top: 15px;"> <div class="md-form md-outline"> <textarea name="mesaj" style="min-height:200px;" class="form-control" cols="30" rows="4" placeholder="Ödeme yöntemi veya varsa mesajınız" required></textarea> </div> </div> </div> <button type="submit" name="destekekle" class="butonok butonok btn-outline-primary-2" style="text-decoration: unset; width: 100%; text-align: center; padding: 10px; margin-block-start: 15px; background: var(--tp-text-primary) !important; color: white; font-weight: 500; border-radius: 5px;"> <span>ÖDEME TALEBİNİ GÖNDER</span> <i class="icon-long-arrow-right"></i> </button> </form> </div> </div> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </div> </section> </main> <script src="<?php echo $sitetemasi;?>/user/jquery.min.js"></script> <script src="<?php echo $sitetemasi;?>/user/bootstrap.bundle.min.js"></script> <?php } else { ?> <meta http-equiv="refresh" content="0; url='<?php echo $url;?>"> <?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