@extends('public.layout') @section('title', $ebook->title ) @push('meta') @endpush @section('breadcrumb')
  • {{ clean(trans('cynoebook::ebooks.ebooks')) }}
  • {{ $ebook->title }}
  • @endsection @section('content') @if (setting('cynoebook_ad1_section_enabled')) @include('public.home.sections.advertisement',['ad'=>setting('cynoebook_ad_1')]) @endif
    @include('public.ebooks.partials.ebook.images') @include('public.ebooks.partials.ebook.details')
    @if(setting('member_only_reading_books')) @if(auth()->user()) @include('public.ebooks.partials.ebook.view-files') @else

    {{ clean(trans('cynoebook::ebook.for_read_a_book_please_sign_into_your_account')) }}

    {{ clean(trans('cynoebook::ebook.login')) }}
    @endif @else @if(setting('enable_file_preview')) @include('public.ebooks.partials.ebook.view-files') @endif @endif
    @include('public.ebooks.partials.ebook.tab_contents.description') @includeWhen(setting('reviews_enabled'), 'public.ebooks.partials.ebook.tab_contents.reviews') @if(setting('enable_comment','disable')!='disable') @include('public.ebooks.partials.ebook.tab_contents.comments') @endif
    @if (setting('cynoebook_ad2_section_enabled')) @include('public.home.sections.advertisement',['ad'=>setting('cynoebook_ad_2')]) @endif @include('public.ebooks.partials.ebook_carousel', [ 'title' => clean(trans('cynoebook::ebook.related_ebooks')), 'ebooks' => $relatedEbooks ]) @if (setting('cynoebook_ad3_section_enabled')) @include('public.home.sections.advertisement',['ad'=>setting('cynoebook_ad_3')]) @endif @endsection