226 lines
10 KiB
PHP
226 lines
10 KiB
PHP
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<title><?php echo e($title); ?></title>
|
||
|
<meta name="description" content="">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<meta name="robots" content="all,follow">
|
||
|
<!-- Bootstrap CSS-->
|
||
|
<link rel="stylesheet" href="<?php echo e(asset('lib/hub/vendor/bootstrap/css/bootstrap.min.css')); ?>">
|
||
|
<!-- Font Awesome CSS-->
|
||
|
<link rel="stylesheet" href="<?php echo e(asset('lib/hub/vendor/font-awesome/css/font-awesome.min.css')); ?>">
|
||
|
<!-- Bootstrap Select-->
|
||
|
<link rel="stylesheet" href="<?php echo e(asset('lib/hub/vendor/bootstrap-select/css/bootstrap-select.min.css')); ?>">
|
||
|
<!-- Price Slider Stylesheets -->
|
||
|
<link rel="stylesheet" href="<?php echo e(asset('lib/hub/vendor/nouislider/nouislider.css')); ?>">
|
||
|
<!-- Custom font icons-->
|
||
|
<link rel="stylesheet" href="<?php echo e(asset('lib/hub/css/custom-fonticons.css')); ?>">
|
||
|
<!-- Google fonts - Poppins-->
|
||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700">
|
||
|
<!-- owl carousel-->
|
||
|
<link rel="stylesheet" href="<?php echo e(asset('lib/hub/vendor/owl.carousel/assets/owl.carousel.css')); ?>">
|
||
|
<link rel="stylesheet" href="<?php echo e(asset('lib/hub/vendor/owl.carousel/assets/owl.theme.default.css')); ?>">
|
||
|
<!-- theme stylesheet-->
|
||
|
<link rel="stylesheet" href="<?php echo e(asset('lib/hub/css/style.default.css')); ?>" id="theme-stylesheet">
|
||
|
<!-- Custom stylesheet - for your changes-->
|
||
|
<link rel="stylesheet" href="<?php echo e(asset('css/style.css')); ?>">
|
||
|
<!-- Favicon-->
|
||
|
<link rel="shortcut icon" href="<?php echo e(asset('lib/hub/img/favicon.ico')); ?>">
|
||
|
<!-- Modernizr-->
|
||
|
<script src="<?php echo e(asset('lib/hub/js/modernizr.custom.79639.js')); ?>"></script>
|
||
|
<!-- Tweaks for older IEs-->
|
||
|
<!--[if lt IE 9]>
|
||
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
|
||
|
<script>
|
||
|
var BASE_URL = "<?php echo e(url('')); ?>/";
|
||
|
// console.log(BASE_URL);
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<!-- navbar-->
|
||
|
<header class="header">
|
||
|
<!-- Tob Bar-->
|
||
|
|
||
|
|
||
|
<nav class="navbar navbar-expand-lg">
|
||
|
<div class="search-area">
|
||
|
<div class="search-area-inner d-flex align-items-center justify-content-center">
|
||
|
<div class="close-btn"><i class="icon-close"></i></div>
|
||
|
<form action="#">
|
||
|
<div class="form-group">
|
||
|
<input type="search" name="search" id="search" placeholder="What are you looking for?">
|
||
|
<button type="submit" class="submit"><i class="icon-search"></i></button>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="container-fluid">
|
||
|
<!-- Navbar Header --><a href="<?php echo e(url('')); ?>" class="navbar-brand">All Shop</a>
|
||
|
<button type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" class="navbar-toggler navbar-toggler-right"><i class="fa fa-bars"></i></button>
|
||
|
<!-- Navbar Collapse -->
|
||
|
<div id="navbarCollapse" class="collapse navbar-collapse">
|
||
|
<ul class="navbar-nav mx-auto">
|
||
|
<li class="nav-item"><a href="<?php echo e(url('')); ?>" class="nav-link active">Home</a>
|
||
|
</li>
|
||
|
<li class="nav-item"><a href="<?php echo e(url('shop')); ?>" class="nav-link">Shop</a>
|
||
|
</li>
|
||
|
<li class="nav-item"><a href="<?php echo e(url('contact')); ?>" class="nav-link">Contact </a>
|
||
|
</li>
|
||
|
<?php if(Session::has('is_admin') ): ?>
|
||
|
<li style="list-style:none" class"nav-item"><a class="nav-link" href="<?php echo e(url('cms/dashboard')); ?>">CMS Dash-Board</a></li>
|
||
|
|
||
|
<?php endif; ?>
|
||
|
|
||
|
<?php $__currentLoopData = $menu; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||
|
<li class="nav-item"><a href="<?php echo e(url('') .'/'. $value['url']); ?>" class="nav-link"><?php echo e($value['link']); ?> </a>
|
||
|
</li>
|
||
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||
|
</ul>
|
||
|
<div class="right-col d-flex align-items-lg-center flex-column flex-lg-row">
|
||
|
|
||
|
<?php if(Session::has('user_id') ): ?>
|
||
|
<ul>
|
||
|
<li style="color:black;list-style:none" class="nav-item welcome">Welcome <?php echo e(Session::get('user_name')); ?>
|
||
|
|
||
|
</ul>
|
||
|
<?php else: ?>
|
||
|
<ul>
|
||
|
<li style="color:black;list-style:none" class="nav-item welcome">Welcome Guest
|
||
|
</ul>
|
||
|
<?php endif; ?>
|
||
|
<!-- Search Button-->
|
||
|
<div class="search"><i class="icon-search"></i></div>
|
||
|
<!-- User Not Logged - link to login page-->
|
||
|
<div class="user">
|
||
|
<?php if(!Session::get('user_id')): ?>
|
||
|
<a id="userdetails" href="<?php echo e(url('').'/'.'user'.'/'.'login'); ?>" class="user-link">
|
||
|
<?php else: ?>
|
||
|
<a id="userdetails" href="<?php echo e(url('').'/'.'user'.'/'.'profile'); ?>" class="user-link">
|
||
|
|
||
|
<?php endif; ?>
|
||
|
<i class="icon-profile"> </i></a></div>
|
||
|
<div class="cart dropdown show"><a id="cartdetails" href="<?php echo e(url('') . '/' . 'shop/checkout'); ?>" class="dropdown-toggle">
|
||
|
<i class="icon-cart">
|
||
|
|
||
|
</i>
|
||
|
<div class="cart-no">
|
||
|
<?php echo e(Cart::getTotalQuantity()); ?>
|
||
|
|
||
|
</div>
|
||
|
</div></a><a href="cart.html" class="text-primary view-cart">View Cart</a>
|
||
|
<div aria-labelledby="cartdetails" class="dropdown-menu">
|
||
|
<!-- cart item-->
|
||
|
|
||
|
<!-- call to actions-->
|
||
|
<div class="dropdown-item CTA d-flex"><a href="<?php echo e(url('') . '/' . 'shop/checkout'); ?>" class="btn btn-template wide">View Cart</a><a href="checkout1.html" class="btn btn-template wide">Checkout</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</nav>
|
||
|
|
||
|
</header>
|
||
|
<main>
|
||
|
<div class="container">
|
||
|
<?php if(Session::has('sm-error')): ?>
|
||
|
<div class="row sm-box">
|
||
|
<div class="col-md-12">
|
||
|
<br>
|
||
|
<div class="alert alert-danger">
|
||
|
<?php echo e(Session::get('sm-error')); ?>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php endif; ?> <?php if(Session::has('sm') ): ?>
|
||
|
<div class="row sm-box">
|
||
|
<div class="col-md-12">
|
||
|
<br>
|
||
|
<div class="alert alert-success">
|
||
|
<?php echo e(Session::get('sm')); ?>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php endif; ?>
|
||
|
</div>
|
||
|
<?php echo $__env->yieldContent('main_content'); ?>
|
||
|
</main>
|
||
|
<footer class="main-footer">
|
||
|
<!-- Service Block-->
|
||
|
<div class="services-block">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-4 d-flex justify-content-center justify-content-lg-start">
|
||
|
<div class="item d-flex align-items-center">
|
||
|
<div class="icon"><i class="icon-truck"></i></div>
|
||
|
<div class="text">
|
||
|
<h6 class="no-margin text-uppercase">Free shipping & return</h6><span>Free Shipping over $300</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-4 d-flex justify-content-center">
|
||
|
<div class="item d-flex align-items-center">
|
||
|
<div class="icon"><i class="icon-coin"></i></div>
|
||
|
<div class="text">
|
||
|
<h6 class="no-margin text-uppercase">Money back guarantee</h6><span>30 Days Money Back Guarantee</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-4 d-flex justify-content-center">
|
||
|
<div class="item d-flex align-items-center">
|
||
|
<div class="icon"><i class="icon-headphones"></i></div>
|
||
|
<div class="text">
|
||
|
<h6 class="no-margin text-uppercase">053-111-111</h6><span>24/7 Available Support</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- Main Block -->
|
||
|
|
||
|
<div class="copyrights">
|
||
|
<div class="container">
|
||
|
<div class="row d-flex align-items-center">
|
||
|
<div class="text col-md-6">
|
||
|
<p>© <?php
|
||
|
echo date('Y')
|
||
|
?> <a href="https://www.linkedin.com/in/kfir-dayan-b0b132145/" target="_blank">Kfir Dayan </a> All rights reserved.</p>
|
||
|
</div>
|
||
|
<div class="payment col-md-6 clearfix">
|
||
|
<ul class="payment-list list-inline-item pull-right">
|
||
|
<li class="list-inline-item"><img src="<?php echo e(asset('lib/hub/img/visa.svg')); ?>" alt="..."></li>
|
||
|
<li class="list-inline-item"><img src="<?php echo e(asset('lib/hub/img/mastercard.svg')); ?>" alt="..."></li>
|
||
|
<li class="list-inline-item"><img src="<?php echo e(asset('lib/hub/img/paypal.svg')); ?>" alt="..."></li>
|
||
|
<li class="list-inline-item"><img src="<?php echo e(asset('lib/hub/img/western-union.svg')); ?>" alt="..."></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</footer>
|
||
|
<!-- Javascript files-->
|
||
|
<script src="<?php echo e(asset('lib/hub/vendor/jquery/jquery.min.js')); ?>"></script>
|
||
|
<script src="<?php echo e(asset('lib/hub/vendor/popper.js/umd/popper.min.js')); ?>">
|
||
|
</script>
|
||
|
<script src="<?php echo e(asset('lib/hub/vendor/bootstrap/js/bootstrap.min.js')); ?>"></script>
|
||
|
<script src="<?php echo e(asset('lib/hub/vendor/jquery.cookie/jquery.cookie.js')); ?>">
|
||
|
</script>
|
||
|
<script src="<?php echo e(asset('lib/hub/vendor/owl.carousel/owl.carousel.min.js')); ?>"></script>
|
||
|
<script src="<?php echo e(asset('lib/hub/vendor/owl.carousel2.thumbs/owl.carousel2.thumbs.min.js')); ?>"></script>
|
||
|
<script src="<?php echo e(asset('lib/hub/vendor/bootstrap-select/js/bootstrap-select.min.js')); ?>"></script>
|
||
|
<script src="<?php echo e(asset('lib/hub/vendor/nouislider/nouislider.min.js')); ?>"></script>
|
||
|
|
||
|
<script src="<?php echo e(asset('lib/hub/js/front.js')); ?>"></script>
|
||
|
<script src="<?php echo e(asset('js/script.js')); ?>"></script>
|
||
|
</body>
|
||
|
|
||
|
</html>
|