403Webshell
Server IP : 103.161.17.216  /  Your IP : 216.73.216.1
Web Server : nginx/1.18.0
System : Linux tipsysaigoncharming 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/thammyviendd.com/resources/views/pages/checkout/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/thammyviendd.com/resources/views/pages/checkout/show_checkout.blade.php
@extends('layout')
@section('content')
<section id="cart_items">
<div class="container">
			

			<div class="breadcrumbs">
				<ol class="breadcrumb">
				  <li><a href="{{URL::to('/')}}">Trang Chủ</a></li>
				  <li class="active">Thanh toán giỏ hàng</li>
				</ol>
			</div><!--/breadcrums-->

			


<section id="cart_items">

					      <div class="main-content-area">
					    <!-- Section: page title -->  
				<div >
					<?php
			       $message = Session::get('message');
			       if ($message) {
			        echo '<span class="alert alert-success" role="alert">',$message,'</span>';
			        Session::put('message',null);
			            // code...
			        }
			        $message = Session::get('error');
			       if ($message) {
			        echo '<span class="alert alert-warning" role="alert">',$message,'</span>';
			        Session::put('message',null);
			        }
			        ?>   
			     </div>
			     
			     <section>
				      <div class="container">
				        <div class="section-content">
				          <div class="row">
				            <div class="col-md-12">
				              <div class="table-responsive">
				                <table class="table table-striped table-bordered tbl-shopping-cart">
				                <form action="{{url('/update-cart')}}" method="POST">
									@csrf
				                  <thead>
				                    <tr class="cart_menu">
				                    	<td ></td>
							<td class="image">Hình ảnh</td>
							<td class="cart_product">Tên sản phẩm</td>
							<td class="SKU-price">Mã hàng </td>
							<td class="description">Thông tin </td>
							<td class="price">Giá sản phẩm</td>
							<td class="quantity">Số lượng</td>	
							<td class="total">Thành tiền</td>
							
								</tr>
				                  </thead>
				                  <tbody>
								         @if(Session::get('cart')==true)	


										@php
												$total = 0;
												$qty =0;
										@endphp
										   @foreach(Session::get('cart') as $key => $cart)



											@php
												$subtotal = $cart['product_price']*$cart['product_qty'];
												$total+=$subtotal;
												$qty += $cart['product_qty']
											@endphp


				                    <tr class="cart_item">
				                      <td class="product-remove"><a title="Remove this item" class="remove" href="{{url('/del-product/'.$cart['session_id'])}}">×</a></td>
				                      <td class="product-thumbnail"><a href="#"><img src="{{asset('public/uploads/product/'.$cart['product_image'])}}" width="90" alt="{{$cart['product_name']}}" /></a></td>
				                      <td class="product-name"><a href="shop-product-details.html">{{$cart['product_name']}}</a>
				                        <ul class="variation">
				                          <li class="variation-size">Size: <span>Medium</span></li>
				                        </ul></td>
				                      <td class="SKU-price"><span class="amount">{!!$cart['product_sku']!!}</span></td>
				                      <td class="description"><span class="amount">{!!$cart['product_desc']!!} </span></td>
				                      <td class="product-price"><span class="amount">{{number_format($cart['product_price'],0,',','.')}}đ</span></td>
				                      <td class="product-quantity"><div class="quantity buttons_added">
				                      	<input class="cart_quantity_" type="number" min="1" name="cart_qty[{{$cart['session_id']}}]" value="{{$cart['product_qty']}}">
				                          
				                        </div></td>
				                      <td class="total"><span class="amount">{{number_format($subtotal,0,',','.')}}đ</span></td>
				                    </tr>
				                    @endforeach

				                    <div class="heading-counter warning">Giỏ hàng của bạn có:
                    				 <span> <strong>{{$qty}} Sản phẩm </strong></span>
                  					</div>
				                    


				                    @endif	
							 
							
					    	 
				                    <tr class="cart_item">
				                      <!-- <td colspan="5">
				                      	@if(session::get('cart'))
						 	<a href="{{URL::to('/')}}" class="prev-btn">Tiếp tục mua hàng </a>
						 				@endif
				                        
				                      </td> -->

				                      <td colspan="5">
				                      	khi thêm số lượng sản phẩm click CẬP NHẬT GIỎ HÀNG để ghi nhận!
				                      </td>
				                 	 <td colspan="1">
				                 	 <a class="btn btn-theme-colored2 btn-block btn-sm wc-forward" href="{{url('/del-all-product')}}"> Xóa tất cả giỏ hàng</a>
				              		</td>
				                       <td colspan="1">
				                  
				                  	<input type="submit" value="Cập nhật giỏ hàng" name="update_qty" class="btn btn-theme-colored2 btn-block btn-sm wc-forward">
				              		</td>
				                
				                      <td colspan="1">
				                      	@if(session::get('cart'))
						 	<a href="{{URL::to('/')}}" class="btn btn-theme-colored1 btn-block btn-sm checkout wc-forward" >Tiếp tục mua hàng </a>
						 				@endif
				                    <!-- <a class="btn btn-theme-colored1 btn-block btn-sm checkout wc-forward"  href="{{url('/checkout')}}"> MUA HÀNG NHANH </a> -->
				                      </td>
				                    </tr>
				                  </tbody>
				              	</form>
				                </table>
				              </div>
				            </div>
				            
				      </div>


				      
			<!--/register-req-->
			
					
					<div class="col-sm-12">
						<div class="bill-to">
							<p>Điền thông tin gởi hàng</p>
							<form  method="POST">
									{{csrf_field()}}
									<div class="row">
									<div class="col-sm-6 col-sm-push-6">
                                    <label for="email_address_1" class="required"> Nhập Email</label>
									<input type="text" class="input form-control shipping_email" name="shipping_email" placeholder="Email" required>
									</div>
									<div class="col-sm-6 col-sm-pull-6 ">
                                    <label for="email_address_1" class="required">Họ và tên </label>
									<input type="text" name="shipping_name" class="input form-control shipping_name" placeholder="Họ và Tên" required>
									</div>
								</div>
								<div class="row">
									<div class="col-sm-6">
                                    <label for="email_address_1" class="required">Địa chỉ  </label>
									<input type="text" name="shipping_address" class="input form-control shipping_address" placeholder="Địa Chỉ "required>
									</div>
									<div class="col-sm-6">
                                    <label for="email_address_1" class="required">Số điện thoại </label>
									<input type="text" name="shipping_phone"class="input form-control shipping_phone" placeholder="Số  Điện Thoại" required>
									</div>
								</div>
									<div class="row">
									<div class="col-sm-6">
                                    <label for="email_address_1" class="required">Ghi chú </label>
									<textarea   name="shipping_notes" class="input form-control shipping_notes" placeholder="Ghi chú" rows="3"></textarea>
									</div>
									<div>
									</select> 
								  </div>
                                 <div class="col-sm-6"style=" padding:10px 5px 10px 10px ;">
                                <label for="exampleInputEmail1"> Chọn hình thức thanh toán </label>
                                <select name="payment_select" class="form-control input-sm m-bot15 payment_select">
                                <option value="1"> Qua Thẻ ATM   </option>
                                <option value="2"> Qua Ví Momo </option>
                                <option value="3"> Nhận hàng thanh toán COD </option>
                                
                                </select>
                            </div>
                                 <div style="padding-top: 20px;">
							 <input  type= "button" value="xác nhận đơn hàng" name ="send_order" class="btn btn-default check_out send_order">
								</div> 
							</div>	
							</form>

						
							</div>
						</div> 
						</div>
					</div>	
				
		<!-- </div> -->
</section> <!--/#cart_items-->



@endsection

Youez - 2016 - github.com/yon3zu
LinuXploit