<?php $__env->startSection('title','Notre catalogue de produit '); ?>
<?php $__env->startSection('description','Notre catalogue de produit'); ?>
<?php $__env->startSection('content'); ?>
	<!--=============================================
	=            Shop page container         =
	=============================================-->
	<div class="shop-page-container mb-50">
		<div class="container">
			<div class="row">
				<div class="col-lg-3 order-2 order-lg-1">
					<!--=======  sidebar area  =======-->

					<div class="sidebar-area">
					<div class="sidebar mb-45" style="margin-top:35px;">
							<h3 class="sidebar-title" style="text-align:center"><?php echo e(__('messages.fcat')); ?></h3> 
							<form action="<?php echo e(route('articles-par-categorie')); ?>" method="post"  enctype="multipart/form-data">
							<?php echo e(csrf_field()); ?>

							<div class="login-form">
								<div class="row">
									<div class="col-md-12 col-12 mb-10">
                                   <select class="nice-select" style="width:102%;text-align:center" name="categ" required>
									<option value=""><?php echo e(__('messages.scat')); ?></option>
									<?php $__currentLoopData = $cat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cats): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
                                    <option value="<?php echo e($cats->id); ?>"> <?php echo e($cats->libelle); ?> </option>
						            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                   </select>
									</div>
									<div class="col-md-12">
									<button type="submit" class="register-button mt-0" style="width:100%;text-align:center"><?php echo e(__('messages.rec')); ?></button>
								</div>
								</div>
								</div>
								
					</div>
					
						<div class="sidebar mb-35">
							<h3 class="sidebar-title"><?php echo e(__('messages.catpr')); ?></h3>
							<ul class="product-categories">
						<!--=======  single sidebar  =======-->
						
						<?php $__currentLoopData = $cat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cats): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
						
							
							<li><a class="active" href="<?php echo e(route('articles-par-categorie2',['id'=>$cats->id])); ?>"><?php echo e($cats->libelle); ?> </a></li>
							<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
							</ul>
						</div>

						<!--=======  End of single sidebar  =======-->

						

						<!--=======  End of single sidebar  =======-->

						<!--=======  single sidebar  =======-->

						

						<!--=======  End of single sidebar  =======-->
					</div>

					<!--=======  End of sidebar area  =======-->
				</div>
				<div class="col-lg-9 order-1 order-lg-2 mb-sm-35 mb-xs-35">

					<!--=======  shop page banner  =======-->

					

					<!--=======  End of shop page banner  =======-->

					<!--=======  Shop header  =======-->

					<div class="shop-header mb-35">
						<div class="row">
						</div>
					</div>

					<!--=======  End of Shop header  =======-->

					<!--=======  Grid list view  =======-->

					<div class="shop-product-wrap grid row no-gutters mb-35">

						<?php $__currentLoopData = $prod; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $prods): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
						<div class="col-xl-4 col-lg-4 col-md-6 col-sm-6 col-12">
							<!--=======  Grid view product  =======-->

							<div class="gf-product shop-grid-view-product">
								<div class="image">
									<a href="<?php echo e(route('add_to_cart',['id'=>$prods->id])); ?>">
										<img src="<?php echo e(asset('storage/'.$prods->image_produit)); ?>" class="img-fluid" style="width:300px;height:225px;">
									</a>
									
								</div>
								<div class="product-content">
								<?php
								
									  $lang = app()->getLocale();
								
								      $pr =  number_format($prods->prix, 0, ' ', ' ');
									  
								      $catlib =  DB::table('categorie')->where('id', $prods->categorie_id)->value("libelle_$lang");
									  
								?>
									<div class="product-categories">
										<a href=""> </a>
										<a href=""><?php echo e($catlib); ?></a>
									</div>
									<h3 class="product-title"><a href="<?php echo e(route('add_to_cart',['id'=>$prods->id])); ?>"><?php echo e($prods->designation); ?></a></h3>
									<div class="price-box">
												
									

									<span class="discounted-price"><?php echo e($pr); ?> USD</span>
													
																					
													
									</div>
								</div>

							</div>

							<!--=======  End of Shop list view product  =======-->
						</div>
						<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
					</div>

					<!--=======  End of Grid list view  =======-->

					<!--=======  Pagination container  =======-->

					<?php if($prod->links() != ""): ?>
					<div class="pagination-container">
						<div class="container">
							<div class="row">
								<div class="col-lg-12">
									<!--=======  pagination-content  =======-->

									<div class="pagination-content text-center" style="text-align:center">
										<ul style="text-align:center">
											<?php echo e($prod->links()); ?>

											
										</ul>
									</div>

									<!--=======  End of pagination-content  =======-->
								</div>
							</div>
						</div>
					</div>
					<?php endif; ?>

					<!--=======  End of Pagination container  =======-->

				</div>
			</div>
		</div>
	</div>

	<!--=====  End of Shop page container  ======-->

	<?php $__env->startPush('scripts'); ?>
   


   <?php $__env->stopPush(); ?>


<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\samassmarket\resources\views/boutique2.blade.php ENDPATH**/ ?>