PATH:
home
/
lab2454c
/
.trash
/
core
/
resources
/
views
/
templates
/
basic
/
user
/
order
@extends($activeTemplate.'layouts.frontend') @section('content') <section class="product-single pt-120 pb-120"> <div class="container"> <div class="row gy-5 justify-content-between"> <div class="col-lg-8"> <div class="body__containt__main body__containt__main__inner no-padding"> <div class="decade__moments"> <div class="container"> <h3 class="title mt-0 mb-4"> <b>{{__($product->title)}}</b> </h3> <div class="features__wrapp"> <div class="row"> @forelse($product->productImages as $productImage) @php if (isset($productImage)) { $imageName = explode('.', $productImage->file); $ext = $imageName[count($imageName) - 1]; } @endphp <div class="col-xl-6 clo-lg-6 col-md-6 mr__top"> <div class="features__card"> <div class="image__box"> @if(isset($productImage)) @if($ext == 'mp4' || $ext == 'mov') <video width="100%" height="100%" controls> <source src="{{ asset('assets/images/product/'.$productImage->file) }}" type="video/mp4"> Your browser does not support the video tag. </video> @else <img src="{{ getImage(imagePath()['product']['path'].'/'.$productImage->file,imagePath()['product']['size'])}}" alt="@lang('product')" /> @endif @endif </div> <div class="overlay__wrapp"> <a href="#" data-toggle="modal" data-bs-toggle="modal" data-bs-target="#exampleModal{{ $productImage->id }}"> <i class="ico__box"> </i> </a> </div> </div> <div class="modal fade modal__main" id="exampleModal{{ $productImage->id }}" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog modal__dialog"> <div class="modal-content modal__content"> <div class="modal-header modal__header"> <button type="button" class="btn-close close__btn" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body modal__body"> <div class="row m-0"> <div class="col-xl-12 clo-lg-12 col-md-12 p-0"> <div class="image__box" style="text-align: center;"> @if(isset($productImage)) @if($ext == 'mp4' || $ext == 'mov') <video width="80%" controls> <source src="{{ asset('assets/images/product/'.$productImage->file) }}" type="video/mp4"> Your browser does not support the video tag. </video> @else <img src="{{ getImage(imagePath()['product']['path'].'/'.$productImage->file,imagePath()['product']['size'])}}" alt="@lang('product')" style="width:auto;"/> @endif @endif </div> </div> </div> </div> </div> </div> </div> </div> @empty <h4>No Images/Videos Listed</h4> @endforelse </div> </div> </div> </div> </div> </div> <div class="col-lg-4"> <aside class="product-single-sidebar ms-xl-3 ms-xxl-5"> <div class="seller-area mb-4"> <h6 class="about-seller mb-4"> @lang('About Seller') </h6> <div class="seller"> <div class="official-checkmark"> <i class="las la-check"></i> </div> <div class="thumb"> @if(isset($product->user->image)) <img src="{{ getImage(imagePath()['profile']['user']['path'].'/'. $product->user->image,imagePath()['profile']['user']['size']) }}" alt="@lang('client')"> @endif </div> <div class="cont"> @if(isset($product->user)) <h6 class="title">{{__($product->user->fullname)}}</h6> @else <h6 class="title">Admin</h6> @endif </div> </div> <ul class="seller-info mt-4"> @if(isset($product->user)) <li> @lang('Since'): <span class="text--base">{{showDateTime($product->user->created_at, 'd M Y')}}</span> </li> @endif </ul> </div> </aside> </div> </div> </div> </section> @endsection
[+]
..
[-] index.blade.php
[edit]
[-] detail.blade.php
[edit]