@extends('view.layout.layout') @section('title') {{{ $setting['site']['site_title'] or '' }}} - {{{ $product->title or '' }}} @endsection {{--{{dd($mockexams)}}--}} @push('stylesheets') @endpush @section('page')

{{{ $product->title or '' }}}

({{{ count($product->rates) }}} {{{ trans('main.votes') }}})
@if($product['discount'] != null)
@if($product->discount->last_date-time()>86400) {{{ (floor(($product->discount->last_date-time()) / (60 * 60 * 24))) }}} @else 0 @endif {{{ trans('main.days') }}} {{{ trans('main.special_offer') }}}
2 2 2 2
4 4 4 4
0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
@elseif($product->category->discount != null)
@if($product->category->discount->last_date-time()>86400) {{{ (floor(($product->category->discount->last_date-time()) / (60 * 60 * 24)))+1 }}} @else 0 @endif Day {{{ trans('main.days') }}} {{{ trans('main.special_offer') }}}
2 2 2 2
4 4 4 4
0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
@endif
{{--
--}} {{-- {{{ $product->category->title or '' }}}--}} {{--
--}} {{-- @php $Duration = 0; @endphp--}} {{-- @foreach($parts as $part)--}} {{-- @php $Duration = $Duration + $part['duration']; @endphp--}} {{-- @endforeach--}} {{--
--}} {{-- {{{ convertToHoursMins($Duration,'%01d hour %02d min') }}}--}} {{--
--}} {{--
--}} {{-- {{{ date('d F Y',$product->create_at) }}}--}} {{--
--}} {{--
--}} {{-- --}} {{-- @php $MB = 0; @endphp--}} {{-- @foreach($parts as $part)--}} {{-- @php $MB = $MB + $part['size']; @endphp--}} {{-- @endforeach--}} {{-- {{{ $MB or '0' }}}--}} {{-- {{{ trans('main.mb') }}}--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- @if($product->support == 1)--}} {{-- {{{ 'Vendor supports this course' }}}--}} {{-- @else--}} {{-- {{{ 'Vendor doesnt support this course' }}}--}} {{-- @endif--}} {{-- --}} {{--
--}}
@if(isset($meta['price']) && $product->price != 0) {{{ currencySign() }}}{{{ price($product->id,$product->category_id,$meta['price'])['price'] }}} @else {{{ trans('main.free') }}} @endif
@if(isset($user) && $product->user_id == $user['id']) {{{ trans('main.edit_course') }}} {{{ trans('main.add_video') }}} @else @if(!$buy) @if($product->price != 0)
@endif @if($product->post == 1 && userMeta($product->user_id,'trip_mode') == 0) @if($product->price != 0)
@endif @endif @if($product->price != 0){{{ trans('main.pay') }}}@endif @else @if($product->price != 0){{{ trans('main.purchased_item') }}}@endif @endif @endif
@if(userMeta($product->user_id,'trip_mode') == 1 && userMeta($product->user_id,'trip_mode_date')>0)
{{{ trans('main.vendor_vac') }}} {{{ date('Y-m-d', userMeta($product->user_id,'trip_mode_date')) }}} {{{ trans('main.vendor_vac_2') }}}
@endif
@if(!$isPdf) @else
@endif