Server IP : 66.29.132.124 / Your IP : 3.147.77.51 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/./book24.ng/modules/News/Views/frontend/blocks/list-news/ |
Upload File : |
@php $translation = $row->translateOrOrigin(app()->getLocale()); @endphp <div class="item-news"> <div class="thumb-image"> <a href="{{$row->getDetailUrl()}}"> @if($row->image_id) @if(!empty($disable_lazyload)) <img src="{{get_file_url($row->image_id,'medium')}}" class="img-responsive" alt="{{$translation->name ?? ''}}"> @else {!! get_image_tag($row->image_id,'medium',['class'=>'img-responsive','alt'=>$row->title]) !!} @endif @endif </a> </div> <div class="caption"> <div class="item-date"> <ul> @php $category = $row->getCategory; @endphp @if(!empty($category)) @php $t = $category->translateOrOrigin(app()->getLocale()); @endphp <li> <a href="{{$category->getDetailUrl(app()->getLocale())}}"> {{$t->name ?? ''}} </a> </li> @endif <li class="dot"> {{ display_date($row->updated_at)}} </li> </ul> </div> <h3 class="item-title"><a href="{{$row->getDetailUrl()}}"> {!! clean($translation->title) !!} </a></h3> <div class="item-desc"> {!! get_exceprt($translation->content,70,"...") !!} </div> <div class="item-more"> <a class="btn-readmore" href="{{$row->getDetailUrl()}}">{{ __('Read More')}}</a> </div> </div> </div>