| 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/charming.vn/storage/framework/views/ |
Upload File : |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Nhà cung cấp sản phẩm đồ ngủ hàng đầu Việt Nam </title>
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Style CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('public/frontend/css/style.css')); ?>">
<script src="<?php echo e(asset('public/frontend/js/sweetalert.js')); ?>"></script>
<!-- SEO -->
<meta name="keywords" content="<?php echo e($meta_keywords); ?>">
<meta name="description" content="<?php echo e($meta_desc); ?>">
<link rel="canonical" href="<?php echo e($url_canonical); ?>"/>
<meta content="INDEX,FOLLOW" name="robots" />
<link href="" rel="shortcut icon" type="image/x-icon" />
<title> <?php echo e($meta_title); ?></title>
<meta property="og:site_name" content="http://192.168.64.4/shopbanhang/" />
<meta property="og:description" content="<?php echo e($meta_desc); ?>" />
<meta property="og:title" content="<?php echo e($meta_title); ?>" />
<meta property="og:url" content="<?php echo e($url_canonical); ?>" />
<meta property="og:type" content="website" />
</head>
<div class="wrapper">
<!-- HEADER -->
<header class="site-header header-opt-12 cate-show">
<div class=" container">
<div class="header-top">
<ul class="nav-left">
<li><a href="">Login</a></li>
<li><a href="">Register </a></li>
<li><a href="" >Wishlist</a></li>
<li class="dropdown switcher switcher-currency">
<a data-toggle="dropdown" role="button" href="#" class="dropdown-toggle switcher-trigger"><span>USD</span> <i aria-hidden="true" class="fa fa-angle-down"></i></a>
<ul class="dropdown-menu switcher-options ">
<li class="switcher-option">
<a href="#">
<i class="fa fa-usd" aria-hidden="true"></i> USD
</a>
</li>
<li class="switcher-option">
<a href="#">
<i class="fa fa-eur" aria-hidden="true"></i> eur
</a>
</li>
<li class="switcher-option">
<a href="#">
<i class="fa fa-gbp" aria-hidden="true"></i> gbp
</a>
</li>
</ul>
</li>
<li class="dropdown switcher switcher-language">
<a data-toggle="dropdown" role="button" href="#" class="dropdown-toggle switcher-trigger" aria-expanded="false">
<img class="switcher-flag" alt="flag" src="<?php echo e(asset('public/uploads/icon/flag_vietnam.jpg')); ?>">Việt Nam
<i aria-hidden="true" class="fa fa-angle-down"></i>
</a>
<ul class="dropdown-menu switcher-options ">
<li class="switcher-option">
<a href="#">
<img class="switcher-flag" alt="flag" src="<?php echo e(asset('public/uploads/icon/flag_vietnam.jpg')); ?>">Việt Nam
</a>
</li>
<li class="switcher-option">
<a href="#">
<img class="switcher-flag" alt="flag" src="<?php echo e(asset('public/uploads/icon/flag_english.png')); ?>">English
</a>
</li>
</ul>
</li>
</ul>
<ul class="nav-right" >
<li class="hotline"><span><i class="fa fa-phone"></i>+ 006 258 658</span></li>
<li class="top-social">
<span class="">
<a title="Facebook" href="#"><i class="fa fa-facebook"></i></a>
<a title="Twitter" href="#"><i class="fa fa-twitter"></i></a>
<a title="Skype" href="#"><i class="fa fa-linkedin"></i></a>
<a title="Google Plus" href="#"><i class="fa fa-google-plus"></i></a>
</span>
</li>
</ul>
</div>
</div>
<!-- header-content -->
<div class="header-content mid-header">
<div class="container">
<div class="clearfix">
<div class="nav-left">
<!-- logo -->
<strong class="logo">
<a href="<?php echo e(asset('/')); ?>"><img class="logo" src="<?php echo e(asset('public/frontend/images/media/logo.png')); ?>" alt="logo"></a>
</strong><!-- logo -->
</div>
<div class="nav-mind">
<!-- menu -->
<div class="block-nav-menu">
<div class="clearfix"><span data-action="close-nav" class="close-nav"><span>close</span></span></div>
<ul class="ui-menu">
<li >
<a href="<?php echo e(asset('/')); ?>"> TRANG CHỦ</a>
</li>
<li class="parent parent-submenu">
<a href="Contact.html"> VỀ CHÚNG TÔI </a>
<span class="toggle-submenu"></span>
<div class="submenu drop-menu">
<ul >
<li><a href="">Thông tin doanh nghiệp </a></li>
<li><a href="">Xưởng sản xuất </a></li>
<li><a href="">Bộ phận thiết kế</a></li>
</ul>
</div>
</li>
<li class="parent parent-submenu">
<a href="<?php echo e(url('/tat-ca-bai-viet/')); ?>"> TIN TỨC <span class="label-menu">News</span></a>
<span class="toggle-submenu"></span>
<div class="submenu drop-menu">
<ul ><?php $__currentLoopData = $category_post; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $cate_post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li><a href="<?php echo e(url('/danh-muc-bai-viet/'.$cate_post->cate_post_slug)); ?>"><?php echo e($cate_post->cate_post_name); ?> </a></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</li>
<li class="parent parent-megamenu">
<a href="">NƯỚC HOA - MỸ PHẨM </a>
<span class="toggle-submenu"></span>
<div class="megamenu drop-menu">
<ul>
<?php $__currentLoopData = $cate_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $cate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($cate->cate->cate_id==4): ?>
<li class="col-md-3">
<div class="img-categori">
<a href=""><img alt="img" src="<?php echo e(URL::to('public/uploads/product/'.$cate->category_image)); ?>"></a>
</div>
<strong class="title"><a href="<?php echo e(route('show.category.home',[$cate->slug_category_product,$cate->category_id])); ?>"><?php echo e($cate->category_name); ?></a></strong>
<ul class="list-submenu">
<?php $__currentLoopData = $all_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($pro->category_id==$cate->category_id ): ?>
<li><a href="<?php echo e(URL::to('/chi-tiet-san-pham',$pro->slug_product)); ?>"><?php echo e($pro->product_name); ?> </a></li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</li>
<li class="parent parent-megamenu">
<a href="Contact.html">ĐỒ NGỦ </a>
<span class="toggle-submenu"></span>
<div class="megamenu drop-menu">
<ul>
<?php $__currentLoopData = $cate_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $cate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($cate->cate->cate_id==3 && $key%2==0): ?>
<li class="col-md-3">
<strong class="title"><a href="<?php echo e(route('show.category.home',[$cate->slug_category_product,$cate->category_id])); ?>"><?php echo e($cate->category_name); ?></a></strong>
<ul class="list-submenu">
<?php $__currentLoopData = $all_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($pro->category_id==$cate->category_id ): ?>
<li><a href="<?php echo e(URL::to('/chi-tiet-san-pham',$pro->slug_product)); ?>"><?php echo e($pro->product_name); ?> </a></li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php elseif($cate->cate->cate_id==3 &&$key%2!=0): ?>
<strong class="title"><a href="<?php echo e(route('show.category.home',[$cate->slug_category_product,$cate->category_id])); ?>"><?php echo e($cate->category_name); ?></a></strong>
<ul class="list-submenu">
<?php $__currentLoopData = $all_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($pro->category_id==$cate->category_id ): ?>
<li><a href="<?php echo e(URL::to('/chi-tiet-san-pham',$pro->slug_product)); ?>"><?php echo e($pro->product_name); ?> </a></li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<li class="col-md-3">
<div class="img-categori">
<a href=""><img alt="img" src="<?php echo e(URL::to('public/uploads/images/img-categori5.jpg')); ?>"></a>
</div>
</li>
</ul>
</div>
</li>
<li class="parent parent-submenu">
<a href="Contact.html"> PHỤ KIỆN</a>
<span class="toggle-submenu"></span>
<div class="submenu drop-menu">
<ul >
<?php $__currentLoopData = $cate_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $cate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($cate->cate->cate_id==5): ?>
<li><a href="<?php echo e(URL::to('/',$cate->slug_category_product)); ?>"><?php echo e($cate->category_name); ?> </a></li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</li>
</ul>
</div><!-- menu -->
</div>
</div>
</div>
</div><!-- header-content -->
<div class=" header-nav ">
<div class="container">
<div class="box-header-nav">
<span data-action="toggle-nav-cat" class="nav-toggle-menu nav-toggle-cat"><span>DANH MỤC </span><i aria-hidden="true" class="fa fa-bars"></i></span>
<span data-action="toggle-nav" class="nav-toggle-menu"><span>Menu</span><i aria-hidden="true" class="fa fa-bars"></i></span>
<!-- categori -->
<div class="block-nav-categori">
<div class="block-title">
<span>DANH MỤC</span>
</div>
<div class="block-content">
<ul class="ui-categori">
<li class="parent">
<a href="">
ĐỒ NGỦ
</a>
<span class="toggle-submenu"></span>
<div class="submenu" style="background-image: url(images/media/index1/bgmenu.jpg);">
<ul class="categori-list clearfix">
<?php $__currentLoopData = $cate_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $cate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($cate->cate->cate_id==3): ?>
<li class="col-sm-3">
<strong class="title"><a href=""><?php echo e($cate->category_name); ?></a></strong>
<ul>
<?php $__currentLoopData = $all_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($pro->category_id==$cate->category_id ): ?>
<li><a href="<?php echo e(URL::to('/chi-tiet-san-pham',$pro->slug_product)); ?>"><?php echo e($pro->product_name); ?> </a></li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</li>
<li class="parent">
<a href="">
NƯỚC HOA - MỸ PHẨM
</a>
<span class="toggle-submenu"></span>
<div class="submenu">
<?php $__currentLoopData = $slide; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$slider7): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($slider7->slider_code==7): ?>
<div class="categori-img">
<a href=""><img src="public/uploads/slider/<?php echo e($slider7->slider_image); ?>" alt="categori-img"></a>
</div>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<ul class="categori-list">
<?php $__currentLoopData = $cate_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $cate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($cate->cate->cate_id==4): ?>
<li class="col-sm-3">
<strong class="title"><a href=""><?php echo e($cate->category_name); ?></a></strong>
<?php $__currentLoopData = $all_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($pro->category_id==$cate->category_id ): ?>
<ul>
<li><a href="<?php echo e(URL::to('/chi-tiet-san-pham',$pro->slug_product)); ?>"><?php echo e($pro->product_name); ?> </a></li>
</ul>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
</li>
<li class="parent">
<a href="">
SẢN PHẨM NỔI BẬT
</a>
<span class="toggle-submenu"></span>
<div class="submenu">
<strong class="subtitle"><span>SẢN PHẨM NỔI BẬT</span></strong>
<div class="owl-carousel"
data-nav="true"
data-dots="false"
data-margin="30"
data-autoplayTimeout="300"
data-autoplay="true"
data-loop="true"
data-responsive='{
"0":{"items":1},
"380":{"items":1},
"480":{"items":1},
"600":{"items":1},
"992":{"items":4}
}'>
<?php $__currentLoopData = $all_attr; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="product-item product-item-opt-1">
<div class="product-item-info"><form>
<div class="product-item-photo">
<a class="product-item-img" href="<?php echo e(URL::to('/chi-tiet-san-pham',$product->product->slug_product)); ?>"><img alt="product name" src="<?php echo e(URL::to('public/uploads/product/'.$product->product_image)); ?>"></a>
</div>
<div class="product-item-detail">
<strong class="product-item-name"><a href="<?php echo e(URL::to('/chi-tiet-san-pham',$product->product->slug_product)); ?>"><?php echo e($product->product->product_name); ?></a></strong>
<div class="product-item-price">
<span class="price"><?php echo e(number_format($product->product_price,0,',','.')); ?>đ </span>
</div>
</div>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</li>
<?php $__currentLoopData = $cate_product; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=> $cate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($cate->cate->cate_id==5): ?>
<li>
<a href="<?php echo e(URL::to('/',$cate->slug_category_product)); ?>">
<?php echo e($cate->category_name); ?>
</a>
</li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<div class="view-all-categori">
<a class="open-cate btn-view-all">Xem thêm </a>
</div>
</div>
</div><!-- categori -->
<!-- search -->
<div class="block-search">
<div class="block-title">
<span>Search</span>
</div>
<div class="block-content">
<div class="form-search">
<form action="<?php echo e(URL::to('/tim-kiem')); ?>" method="POST">
<?php echo e(csrf_field()); ?>
<div class="box-group">
<input type="text" class="form-control" placeholder="I’m searching for...">
<input class="btn btn-search" type="submit" value="">
</div>
</form>
</div>
</div>
</div>
<!-- block mini cart -->
<div class="block-minicart dropdown">
<?php if(Session::get('cart')!=true): ?>
<a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown">
<span class="cart-icon"></span>
<span class="cart-text">Giỏ Hàng</span>
<span class="counter qty">
<span class="counter-number">0</span>
<span class="counter-label">0 <span>Item(s)</span></span>
<span class="counter-price">0</span>
</span>
</a>
<?php else: ?>
<?php
$total = 0;
$qty =0;
?>
<div class="dropdown-menu">
<form action="<?php echo e(url('/gio-hang')); ?>">
<div class="minicart-content-wrapper" >
<div class="minicart-items-wrapper">
<?php $__currentLoopData = Session::get('cart'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $cart): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$subtotal = $cart['product_price']*$cart['product_qty'];
$total+=$subtotal;
$qty += $cart['product_qty']
?>
<ol class="minicart-items">
<li class="product-item">
<a class="product-item-photo" href="#" title="The Name Product">
<img class="product-image-photo" src="<?php echo e(asset('public/uploads/product/'.$cart['product_image'])); ?>" alt="The Name Product">
</a>
<div class="product-item-details">
<strong class="product-item-name">
<a href="#"><?php echo e($cart['product_name']); ?></a>
</strong>
<div class="product-item-price">
<span class="price"><?php echo e(number_format($cart['product_price'],0,',','.')); ?>đ</span>
</div>
<div class="product-item-qty">
<span class="label">Số lượng: </span ><span class="number"><?php echo e($cart['product_qty']); ?></span>
</div>
<div class="product-item-actions">
<a class="action delete" href="<?php echo e(url('/del-product/'.$cart['session_id'])); ?>" title="Remove item">
<span>Xóa</span>
</a>
</div>
</div>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ol>
</div>
<div class="subtotal">
<span class="label">TỔNG TIỀN</span>
<span class="price"><?php echo e(number_format($total,0,',','.')); ?>đ</span>
</div>
<div class="actions">
<!-- <a class="btn btn-viewcart" href="">
<span>Shopping bag</span>
</a> -->
<input type="submit" value="Thanh toán" name="checkout" class="btn btn-checkout">
</div>
</div>
</form>
</div>
<a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown">
<span class="cart-icon"></span>
<span class="cart-text">cart</span>
<span class="counter qty">
<span class="counter-number"><?php echo e($qty); ?></span>
<span class="counter-label"><?php echo e($qty); ?> <span>Item(s)</span></span>
<span class="counter-price"><?php echo e(number_format($total,0,',','.')); ?>đ</span>
</span>
</a>
<?php endif; ?>
</div>
</div>
<!-- block mini cart -->
</div>
</div>
</div>
</header><!-- end HEADER -->
</div>
<?php echo $__env->yieldContent('content'); ?>
<!-- FOOTER -->
<footer class="site-footer footer-opt-12">
<div class="container ">
<div class="footer-column">
<div class="column-left">
<div class="row">
<div class="col-md-4 col-sm-4">
<div class="links">
<h3 class="title">DKAshop</h3>
<ul >
<li><a href="#">About us</a></li>
<li><a href="#">Customer Service</a></li>
<li><a href="#">New Collection</a></li>
<li><a href="#">Manufacturers</a></li>
<li><a href="#">Privacy policy</a></li>
<li><a href="#">Terms & condition</a></li>
<li><a href="#">Blog</a></li>
</ul>
</div>
</div>
<div class="col-md-4 col-sm-4">
<div class="links">
<h3 class="title">products</h3>
<ul >
<li><a href="#">New In</a></li>
<li><a href="#">Women</a></li>
<li><a href="#">Men</a></li>
<li><a href="#">Best Sellers</a></li>
<li><a href="#">Top Brands</a></li>
<li><a href="#">Sale & Special Offers</a></li>
<li><a href="#">Lookbook</a></li>
</ul>
</div>
</div>
<div class="col-md-4 col-sm-4">
<div class="links">
<h3 class="title">customer service</h3>
<ul >
<li><a href="#">Advanced Search</a></li>
<li><a href="#">Orders and Returns</a></li>
<li><a href="#">Contact Us</a></li>
<li><a href="#">RSS</a></li>
<li><a href="#">Help & FAQs</a></li>
<li><a href="#">Consultant</a></li>
<li><a href="#">Store Locations</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="column-right">
<div class="block-social">
<div class="block-title">Let’s Socialize </div>
<div class="block-content">
<a href="" class="sh-facebook"><i class="fa fa-facebook" aria-hidden="true"></i></a>
<a href="" class="sh-twitter"><i class="fa fa-twitter" aria-hidden="true"></i></a>
<a href="" class="sh-linkedin"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
<a href="" class="sh-google"><i class="fa fa-google-plus" aria-hidden="true"></i></a>
<a href="" class="sh-pinterest"><i class="fa fa-pinterest-p" aria-hidden="true"></i></a>
<a href="" class="sh-youtube"><i class="fa fa-youtube" aria-hidden="true"></i></a>
</div>
</div>
<div class="block-newletter">
<div class="block-title">SIGN UP FOR NEWSLETTER</div>
<div class="block-content">
<form>
<div class="input-group">
<input type="text" class="form-control" placeholder="Your email address...">
<span class="input-group-btn">
<button class="btn btn-subcribe" type="button"><span>Subcribe</span></button>
</span>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="payment-methods">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment1.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment2.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment3.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment4.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment5.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment6.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment7.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment8.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment9.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment10.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment11.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment12.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment13.jpg')); ?>">
<img alt="payment" src="<?php echo e(asset('public/uploads/icon/payment14.jpg')); ?>">
</div>
<div class="footer-bottom">
<div class="links">
<ul>
<li><a href="">Online Shopping </a></li>
<li><a href="">Promotions </a></li>
<li><a href="">My Orders </a></li>
<li><a href="">Help </a></li>
<li><a href="">Site Map </a></li>
<li><a href="">Customer Service </a></li>
<li><a href="">Support </a></li>
</ul>
<ul>
<li><a href="">Most Populars </a></li>
<li><a href="">Best Sellers </a></li>
<li><a href="">New Arrivals </a></li>
<li><a href="">Special Products </a></li>
<li><a href=""> Manufacturers </a></li>
<li><a href="">Our Stores </a></li>
<li><a href="">Shipping </a></li>
<li><a href="">Payments </a></li>
<li><a href="">Payments </a></li>
<li><a href="">Refunds </a></li>
</ul>
<ul>
<li><a href="">Terms & Conditions </a></li>
<li><a href="">Policy </a></li>
<li><a href="">Policy </a></li>
<li><a href=""> Shipping </a></li>
<li><a href="">Payments </a></li>
<li><a href="">Returns </a></li>
<li><a href="">Refunds </a></li>
<li><a href="">Warrantee </a></li>
<li><a href="">FAQ </a></li>
<li><a href="">Contact </a></li>
</ul>
</div>
<div class="copyright">
Copyright © 2021 DKAeShop. All Rights Reserved. Designed by Cầm Nguyễn
</div>
</div>
</div>
</footer><!-- end FOOTER -->
<!--back-to-top -->
<a href="#" class="back-to-top">
<i aria-hidden="true" class="fa fa-angle-up"></i>
</a>
<!-- jQuery -->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/jquery.min.js')); ?>"></script>
<!-- sticky -->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/jquery.sticky.js')); ?>"></script>
<!-- OWL CAROUSEL Slider -->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/owl.carousel.min.js')); ?>"></script>
<!-- Boostrap -->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/bootstrap.min.js')); ?>"></script>
<!-- Countdown -->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/jquery.countdown.min.js')); ?>"></script>
<!--jquery Bxslider -->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/jquery.bxslider.min.js')); ?>"></script>
<!-- actual -->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/jquery.actual.min.js')); ?>"></script>
<!-- Chosen jquery-->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/chosen.jquery.min.js')); ?>"></script>
<!-- parallax jquery-->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/jquery.parallax-1.1.3.js')); ?>"></script>
<!-- elevatezoom -->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/jquery.elevateZoom.min.js')); ?>"></script>
<!-- fancybox -->
<script src="<?php echo e(asset('public/frontend/js/fancybox/source/jquery.fancybox.pack.js')); ?>"></script>
<script src="<?php echo e(asset('public/frontend/js/fancybox/source/helpers/jquery.fancybox-media.js')); ?>"></script>
<script src="<?php echo e(asset('public/frontend/js/fancybox/source/helpers/jquery.fancybox-thumbs.js')); ?>"></script>
<!-- arcticmodal -->
<script src="<?php echo e(asset('public/frontend/js/arcticmodal/jquery.arcticmodal.js')); ?>"></script>
<!-- Main -->
<script type="text/javascript" src="<?php echo e(asset('public/frontend/js/main.js')); ?>"></script>
<!-- Js for notification Cart -->
<link href="<?php echo e(asset('public/frontend/css/sweetalert.css')); ?>" rel="stylesheet">
<!-- Photo js -->
<script src="<?php echo e(asset('public/frontend/js/jquery.prettyPhoto.js')); ?>"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/vi_VN/sdk.js#xfbml=1&version=v11.0" nonce="yXKxYRde"></script>
<script type="text/javascript">
$(function(){
$('.orderby').change(function(){
$('#form_order').submit();
});
});
</script>
<script type="text/javascript">
$(document).ready(function(){
// $('.choosesize').on('change', function(){
//
$('.choosesize').click(function(){
// var size =$('#size').val();
var attr_id =$(this).val();
//var _token = $('meta[name="csrf-token"]').attr('content');
// alert(attr_id);
// alert(size);
// alert(_token);
$.ajax({ url: '<?php echo e(url('/selete-size-product')); ?>',
method : 'get',
dataType: 'json',
data: {attr_id :attr_id },
success: function(data){
$('#price').html(data[0]);
$('#sku').html(data[1]);
$('#qty').html(data[2]);
$('#input').html(data[3]);
$('#image').html(data[4]);
}
});
});
});
</script>
<script type="text/javascript">
$(document).ready(function(){
$('.add-to-cart').click(function(){
var id = $(this).data('id_product');
var cart_product_id = $('.cart_product_id_' + id).val();
var cart_product_name = $('.cart_product_name_' + id).val();
var cart_product_desc = $('.cart_product_desc_' + id).val();
var cart_product_image = $('.cart_product_image_' + id).val();
var cart_product_price = $('.cart_product_price_' + id).val();
var cart_product_qty = $('.cart_product_qty_' + id).val();
var cart_product_sku = $('.cart_product_sku_' + id).val();
// var _token = $('input[name="_token"]').val();
$.ajax({
url: '<?php echo e(url('/add-cart-ajax')); ?>',
method: 'POST',
headers:{
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
data:{cart_product_id:cart_product_id,cart_product_name:cart_product_name,cart_product_desc:cart_product_desc,cart_product_image:cart_product_image,cart_product_price:cart_product_price,cart_product_qty:cart_product_qty,cart_product_sku:cart_product_sku},
success:function(data){
swal({
title: "Đã thêm sản phẩm vào giỏ hàng",
text: "Bạn tiếp tục mua hàng hoặc tới giỏ hàng để thanh toán",
showCancelButton: true,
cancelButtonText: "Chọn mua tiếp",
confirmButtonClass: "btn-success",
confirmButtonText: "Đến giỏ hàng",
closeOnConfirm: false
},
function() {
window.location.href = "<?php echo e(url('/gio-hang')); ?>";
});
}
});
setTimeout(function(){ location.reload() }, 5000);
});
});
</script>
<script type="text/javascript">
$(document).ready(function(){
$('.choose').on('change', function(){
var action =$(this).attr('id');
var ma_id =$(this).val();
var _token = $('input[name="_token"]').val();
//var _token = $('meta[name="csrf-token"]').attr('content');
var result='';
// alert(matp);
// alert(_token);
if (action=='city') {
result='province';
}else{
result='wards';
}
$.ajax({ url: '<?php echo e(url('/selete-delivery-home')); ?>',
method : 'POST',
data: {action:action,ma_id:ma_id,_token:_token},
success: function(data){
$('#'+result).html(data);
}
});
});
$('.calculate_delivery').click(function(){
var matp= $('.city').val();
var maqh = $('.province').val();
var xaid = $('.wards').val();
var _token = $('input[name="_token"]').val();
if(matp!=''&&maqh!=''&&xaid!=''){
$.ajax({ url: '<?php echo e(url('/calculate-fee')); ?>',
method : 'POST',
data: {matp:matp,maqh:maqh,xaid:xaid,_token:_token},
success: function(data){
location.reload();
}
});
}
else{
alert('Vui lòng chọn địa chỉ giao hàng');
}
});
});
$('.send_order').click(function(){
swal({
title: "Xác nhận đặt hàng?",
text: "Bạn đồng ý đặt hàng phải không ạ!",
type: "warning",
showCancelButton: true,
confirmButtonClass: "btn-danger",
confirmButtonText: "Vân Tôi đặt hàng !",
cancelButtonText: "Không, Tôi không đặt!",
closeOnConfirm: false
},
function(isConfirm) {
if (isConfirm) {
var shipping_email = $('.shipping_email').val();
var shipping_name = $('.shipping_name').val();
var shipping_address = $('.shipping_address').val();
var shipping_phone = $('.shipping_phone').val();
var shipping_notes = $('.shipping_notes').val();
var shipping_method = $('.payment_select').val();
var order_fee = $('.order_fee').val();
var order_coupon = $('.order_coupon').val();
var _token = $('input[name="_token"]').val();
$.ajax({
url: '<?php echo e(url('/confirm-order')); ?>',
method: 'POST',
data:{shipping_email:shipping_email,shipping_name:shipping_name,shipping_address:shipping_address,shipping_phone:shipping_phone,shipping_notes:shipping_notes,order_fee:order_fee,order_coupon:order_coupon,_token:_token,shipping_method:shipping_method},
success:function(data){
}
});
swal("Đã Đặt Hàng Thành Công", "Chúng tôi sẽ liên hệ ngay.", "success");
setTimeout(function(){ location.reload() }, 3000);
}
else {
swal("Đã Hũy Đặt Hàng", "Cảm ơn bạn hy vọng bạn sẽ quay lại", "error");
}
});
});
</script>
</footer>
</body>
</html> <?php /**PATH /var/www/charming.vn/resources/views/layout.blade.php ENDPATH**/ ?>