403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.216.74
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
User : sieuthimay ( 1016)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/khonguyenlieu.vn/public_html/site/views/sanpham/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/khonguyenlieu.vn/public_html/site/views/sanpham/thanhtoan.php
<div class="breadscumb"><a href="<?=site?>">Trang chủ</a> » <span>Thanh toán</span></div>
<?php
	$cart = get_ses_cart() ;
	if($cart)
	{
?>
<div class="wrap">
    <form action="<?=site?>thanh-toan.html" method="post" id="frmthanhtoan" name="frmthanhtoan">
    	<input name="csrf" type="hidden" value="<?=$csrf?>">
	<h2 class="title">Thông tin khách hàng</h2>
    <div class="main_order row">
        <div class="col-md-6 col-sm-6 col-xs-12">
            <div class="regis">
                <ul>
                    <li class="lf_dk">Họ Tên<span>*</span></li>
                    <li class="lr_dk">
                        <input type="text" id="fullname" name="fullname" value="" size="55">
                    </li>
                </ul>
                <ul>
                    <li class="lf_dk">Địa chỉ<span>*</span></li>
                    <li class="lr_dk">
                        <input type="text" id="address" name="address" value="" size="55">
                    </li>
                </ul>
                <ul>
                    <li class="lf_dk">Điện thoại<span>*</span></li>
                    <li class="lr_dk">
                        <input type="text" id="phone" name="phone" value="" size="55">
                    </li>
                </ul>
                <ul>
                    <li class="lf_dk">Email<!--<span>*</span>--></li>
                    <li class="lr_dk">
                        <input type="text" id="email" name="email" value="" size="55">
                    </li>
                </ul>
                
            </div>
        </div>
        <div class="col-md-6 col-sm-6 col-xs-12">
        	<ul>
                <li class="lf_dk">Ghi chú thêm</li>
                <li class="lr_dk"><textarea name="note"  id="note" cols="42" rows="4"></textarea></li>
            </ul>
            <p class="option"><span>*</span>Thông tin bắt buộc</p>
        </div>
        <div class="clear"></div>
     </div>
    </div>
    <h2 class="title">Thông tin sản phẩm</h2>
    <div class="">
        <table width="100%" class="tblcart">
            <tr>
                <th scope="col" class="col-md-2 c0l-sm-2 col-xs-2">Picture</th>
                <th scope="col" class="col-md-5 c0l-sm-5 col-xs-5">Sản phẩm</th>
                <th scope="col" class="col-md-1 c0l-sm-1 col-xs-1">Số lượng</th>
                <th scope="col" class="col-md-2 c0l-sm-3 col-xs-2">Thành tiền</th>
            </tr>
            <?php
            $i = 0;
            $total = 0;
            foreach ($cart as $item) : 
                $subtotal = (int) $item['nb_order']*$item['pro_price'] ;
                $total = (int) $total + $subtotal ;
            ?>
            <tr>
                <td style="text-align:center;"><img src="<?=urlimg?>products/200/<?=$item['pro_img']?>" width="50" height="50"></td>
                <td><?=$item['pro_name']?></td>
                <td><?=$item['nb_order']?></td>
                <td class="alright" style="padding-right:45px;"><?=pricevn($subtotal)?></td>
            </tr>
            <?
                $i = $i + 1;
                endforeach ; 
            ?>
            <tr>
                <th colspan="3" class="alright">Tổng giá trị đơn hàng</th>
                <th colspan="1" class="alright" style="padding-right:45px;"><?=pricevn($total)?></th>
            </tr>
        </table>
    </div>
    <input type="hidden" id="total" name="total" value="<?=$total?>" />
    <div class="btnthanhtoan"><input type="submit" name="bt_submit" id="bt_submit" value="Đặt hàng" class="btndathang" /></div>
    </form>
</div>
<script language="javascript">
	$('#frmthanhtoan').validate({
		rules :{
			fullname: "required",
			address: "required",
			phone: {"required":true,"number":true}
		},
		messages: {
			 fullname: "Vui lòng nhập tên đăng nhập",
			 address: "Vui lòng nhập địa chỉ của bạn",
			 phone: {
				required: "Vui lòng nhật số điện thoại",
				number: "Vui lòng chỉ nhập số"
			 },
			 //agree: "Bạn chưa đồng ý với điều lệ trang web"
	   },
	});
</script>
<?php
	}
	else
	{
?>
	<div class="wrap">
    	<div style="text-align:left; margin:50px 0 120px 100px; font-weight:bold;">
            <h2>Không tìm thấy sản phẩm trong giỏ hàng</h2>
            <h3><a href="<?=site?>">Click vào đây để về trang chủ</a></h3>
        </div>
    </div>
<? } ?>

Youez - 2016 - github.com/yon3zu
LinuXploit