| Server IP : 104.21.37.246 / Your IP : 172.71.28.145 [ 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/home/ |
Upload File : |
<?php include('../include/header.php')?>
<?php $menu = 'article';?>
<?php include('../theme/menu.php')?>
<?php include('../banner/index.php')?>
<!-- /.body -->
<div class="container" style="padding-top:25px;">
<div class="row">
<div class="col-md-3"><?php include('../theme/tab_left_2.php');?></div>
<div class="col-md-9">
<div style="margin-bottom:15px;">
<div class="head_bg_right"> แจ้งการชำระเงิน</div>
<div class="row" style="padding-top:10px;margin-bottom:10px;">
<div class="col-md-12">
<div style="margin-top:15px;"></div>
<script>
function checkform_transfer()
{
if(document.form_transfer.id_order.value==""){alert("ขออภัยค่ะกรุณากรอก รหัสสั่งซื้อสินค้า ");document.form_transfer.id_order.focus();return false;}
if(isNaN(document.form_transfer.id_order.value)){alert("ขออภัยค่ะกรุณากรอก รหัสสั่งซื้อสินค้าเท่านั้น");document.form_transfer.id_order.focus();return false;}
if(document.form_transfer.name.value==""){alert("ขออภัยค่ะกรุณากรอก ชื่อ");document.form_transfer.name.focus();return false;}
if(!isNaN(document.form_transfer.name.value)){alert("ขออภัยค่ะกรุณากรอก ชื่อเป็นตัวหนังสือเท่านั้น");document.form_transfer.name.focus();return false;}
if(document.form_transfer.lastname.value==""){alert("ขออภัยค่ะกรุณากรอก นามสกุล");document.form_transfer.lastname.focus();return false;}
if(!isNaN(document.form_transfer.lastname.value)){alert("ขออภัยค่ะกรุณากรอก นามสกุลเป็นตัวหนังสือเท่านั้น");document.form_transfer.lastname.focus();return false;}
if(document.form_transfer.img.value==""){alert("ขออภัยค่ะกรุณา อัพไฟล์รูป ");document.form_transfer.img.focus();return false;}
}
</script>
<?php
if($_SESSION['er'] == 'true')
{
?>
<div style="color:#0C0;font-weight:16px;text-align:center;padding-bottom:20px;">
บันทึกเสร็จเรียบร้อย
</div>
<?php
}
if($_SESSION['er'] == 'false')
{
?>
<div style="color:#F00;font-weight:16px;text-align:center;padding-bottom:20px;">
ล้มเหลว กรุณาลองใหม่อีกครั้งค่ะ
</div>
<?php
}
?>
<form action="transfer_save.php" method="post" enctype="multipart/form-data" name="form_transfer" id="form_transfer" onSubmit="return checkform_transfer();">
<div class="form-group">
<label for="exampleInputEmail1">รหัสสั่งซื้อสินค้า</label>
<input type="text" name="id_order" class="form-control" id="" placeholder="">
</div>
<div class="form-group">
<label for="exampleInputPassword1">ชื่อ</label>
<input type="text" class="form-control" id="" name="name" placeholder="">
</div>
<div class="form-group">
<label for="exampleInputPassword1">นามสกุล</label>
<input type="text" class="form-control" id="" name="lastname" placeholder="">
</div>
<div class="form-group">
<label for="exampleInputFile">File input</label>
<input type="file" name="img" id="">
</div>
<button type="submit" class="btn btn-success">Submit</button>
</form>
<?php include('../theme/detailfooter.php')?>
</div>
</div>
</div>
<?php include('../theme/tab_right_showmoblie.php');?>
</div>
</div>
</div>
<!-- /.body -->
<?php include('../include/footer.php')?>
<?php include('../include/footer_js.php')?>
<?php unset($_SESSION['er']);?>