??
You're inside public_html, but wp-admin or wp-content was not found.
Savvy
W
olf -
MANAGER
Edit File: topics.blade.php
@extends('frontEnd.layout') @section('content') <div id="main_slider"> @include('frontEnd.includes.slider') </div> <?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); $details_var = "details_" . @Helper::currentLanguage()->code; $details_var2 = "details_" . env('DEFAULT_LANGUAGE'); $slug_var = "seo_url_slug_" . @Helper::currentLanguage()->code; $slug_var2 = "seo_url_slug_" . env('DEFAULT_LANGUAGE'); $i = 0; $a = 0; ?> <section id="inner-headline1"> <div class="container"> <div class="row"> <div class="col-lg-12"> <ul class="breadcrumb"> <li><a href="{{ route("Home") }}"><i class="fa fa-home"></i></a><i class="icon-angle-right"></i> </li> @if(@$WebmasterSection!="none") <?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); if (@$WebmasterSection->$title_var != "") { $WebmasterSectionTitle = @$WebmasterSection->$title_var; } else { $WebmasterSectionTitle = @$WebmasterSection->$title_var2; } ?> <li class="active">{!! $WebmasterSectionTitle !!}</li> @elseif(@$search_word!="") <li class="active">{{ @$search_word }}</li> @else <li class="active">{{ $User->name }}</li> @endif @if($CurrentCategory!="none") @if(!empty($CurrentCategory)) <?php $category_title_var = "title_" . @Helper::currentLanguage()->code; ?> <li class="active"><i class="icon-angle-right"></i>{{ $CurrentCategory->$category_title_var }} </li> @endif @endif </ul> </div> </div> </div> </section> @if($WebmasterSection->tabpage) <!-- Nav tabs --> <div class="container"> <div class="col-xs-3"> <!-- required for floating --> <!-- Nav tabs --> <ul class="nav nav-tabs tabs-left"> @foreach($Topics as $count => $Topic) <?php if ($Topic->$title_var != "") { $title = $Topic->$title_var; } else { $title = $Topic->$title_var2; } //$count = 0; $i = 0; $niit = count($Topics); ?> <li @if ($count == 0) class="active" @endif><a href="{{ url('#'.$Topic->id .'') }}" data-toggle="tab" style="font-size:16px; color:#000;">{{$title}}</a></li> @endforeach </ul> </div> <div class="col-xs-9"> <!-- Tab panes --> <div class="tab-content"> @foreach($Topics as $Topic) <?php if ($Topic->$title_var != "") { $title = $Topic->$title_var; } else { $title = $Topic->$title_var2; } if ($Topic->$details_var != "") { $details = $details_var; } else { $details = $details_var2; } //$count = 0; ?> <div @if($count != 0 && $loop->first) class="tab-pane active" @else class="tab-pane" @endif id="{{ $Topic->id }}"> @if($Topic->photo_file !="") <div class="col-lg-12"> <img src="{{ URL::to('uploads/topics/'.$Topic->photo_file) }}" alt="{{ $title }}"/> </div> <div class="col-lg-12"> <h3>{{$title}}</h3> <p>{!! $Topic->$details !!}</p> </div> <div class="row"> @if(count($Topic->photos)>0) <!-- Gallery Start --> <div class="container-xxl py-5"> <?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); $details_var = "details_" . @Helper::currentLanguage()->code; $details_var2 = "details_" . env('DEFAULT_LANGUAGE'); $section_url = ""; $ph_count = 0; ?> <div class="row g-0"> @foreach($Topic->photos as $photo) <div class="col-lg-4 wow fadeInUp" data-wow-delay="0.1s"> <div class="row g-0"> <a class="d-block" href="{{ URL::to('uploads/topics/'.$photo->file) }}" data-lightbox="gallery"> <img class="img-fluid" src="{{ URL::to('uploads/topics/'.$photo->file) }}" alt="" style="padding:5px;margin-bottom:-10px;"> </a> </div> </div> @endforeach </div> </div> @endif </div> @else <div class="col-lg-12"> <h3>{{$title}}</h3> <p>{!! $Topic->$details !!}</p> </div> <div class="col-lg-12"> @if(count($Topic->photos)>0) <!-- Gallery Start --> <div class="container-xxl py-5"> <div class="container"> <?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); $details_var = "details_" . @Helper::currentLanguage()->code; $details_var2 = "details_" . env('DEFAULT_LANGUAGE'); $section_url = ""; $ph_count = 0; ?> <div class="row g-0"> @foreach($Topic->photos as $photo) <div class="col-lg-4 wow fadeInUp" data-wow-delay="0.1s"> <div class="row g-0"> <a class="d-block" href="{{ URL::to('uploads/topics/'.$photo->file) }}" data-lightbox="gallery"> <img class="img-fluid" src="{{ URL::to('uploads/topics/'.$photo->file) }}" alt="" style="padding:5px;margin-bottom:-10px;"> </a> </div> </div> @endforeach </div> </div> </div> @endif </div> @endif </div> @endforeach </div> </div> </div> @else <section id="content"> <div class="container"> <div class="row"> <div class="col-lg-{{(count($Categories)>0)? "8":"12"}}"> @if($Topics->total() == 0) <div class="alert alert-warning"> <i class="fa fa-info"></i> {{ __('frontend.noData') }} </div> @else <div class="row"> @if($Topics->total() > 0) @foreach($Topics as $Topic) <?php if ($Topic->$title_var != "") { $title = $Topic->$title_var; } else { $title = $Topic->$title_var2; } if ($Topic->$details_var != "") { $details = $details_var; } else { $details = $details_var2; } $section = ""; try { if ($Topic->section->$title_var != "") { $section = $Topic->section->$title_var; } else { $section = $Topic->section->$title_var2; } } catch (Exception $e) { $section = ""; } // set row div if (($i == 1 && count($Categories) > 0) || ($i == 2 && count($Categories) == 0)) { $i = 0; echo "</div><div class='row'>"; } $topic_link_url = Helper::topicURL($Topic->id); ?> <div class="col-lg-{{(count($Categories)>0)? "12":"6"}}"> <article> @if($Topic->webmasterSection->type==2 && $Topic->video_file!="") {{--video--}} <div class="post-video"> <div class="post-heading"> <h3> <a href="{{ $topic_link_url }}"> @if($Topic->icon !="") <i class="fa {!! $Topic->icon !!} "></i> @endif {{ $title }} </a></h3> </div> <div class="video-container"> @if($Topic->video_type ==1) <?php $Youtube_id = Helper::Get_youtube_video_id($Topic->video_file); ?> @if($Youtube_id !="") {{-- Youtube Video --}} <iframe allowfullscreen src="https://www.youtube.com/embed/{{ $Youtube_id }}"> </iframe> @endif @elseif($Topic->video_type ==2) <?php $Vimeo_id = Helper::Get_vimeo_video_id($Topic->video_file); ?> @if($Vimeo_id !="") {{-- Vimeo Video --}} <iframe allowfullscreen src="http://player.vimeo.com/video/{{ $Vimeo_id }}?title=0&byline=0"> </iframe> @endif @elseif($Topic->video_type ==3) @if($Topic->video_file !="") {{-- Embed Video --}} {!! $Topic->video_file !!} @endif @else <video width="100%" height="300" controls> <source src="{{ URL::to('uploads/topics/'.$Topic->video_file) }}" type="video/mp4"> Your browser does not support the video tag. </video> @endif </div> </div> @elseif($Topic->webmasterSection->type==3 && $Topic->audio_file!="") {{--audio--}} <div class="post-video"> <div class="post-heading"> <h3> <a href="{{ $topic_link_url }}"> @if($Topic->icon !="") <i class="fa {!! $Topic->icon !!} "></i> @endif {{ $title }} </a></h3> </div> @if($Topic->photo_file !="") <img src="{{ URL::to('uploads/topics/'.$Topic->photo_file) }}" alt="{{ $title }}"/> @endif <div> <audio controls> <source src="{{ URL::to('uploads/topics/'.$Topic->audio_file) }}" type="audio/mpeg"> Your browser does not support the audio element. </audio> </div> </div> @elseif(count($Topic->photos)>0) {{--photo slider--}} <div class="post-image"> <div class="post-heading"> <h3> <a href="{{ $topic_link_url }}"> @if($Topic->icon !="") <i class="fa {!! $Topic->icon !!} "></i> @endif {{ $title }} </a></h3> </div> @if($Topic->photo_file !="") <img src="{{ URL::to('uploads/topics/'.$Topic->photo_file) }}" alt="{{ $title }}"/> @endif </div> @else {{--one photo--}} <div class="post-image"> <div class="post-heading"> <h3> <a href="{{ $topic_link_url }}"> @if($Topic->icon !="") <i class="fa {!! $Topic->icon !!} "></i> @endif {{ $title }} </a></h3> </div> @if($Topic->photo_file !="") <img src="{{ URL::to('uploads/topics/'.$Topic->photo_file) }}" alt="{{ $title }}"/> @endif </div> @endif <p>{!! mb_substr(strip_tags($Topic->$details),0, 300)."..." !!}</p> <div class="bottom-article"> <ul class="meta-post"> @if($Topic->webmasterSection->date_status) <li><i class="fa fa-calendar"></i> <a>{!! Helper::formatDate($Topic->date) !!}</a> </li> @endif <li><i class="fa fa-eye"></i> <a>{{ __('frontend.visits') }} : {!! $Topic->visits !!}</a></li> @if($Topic->webmasterSection->comments_status) <li><i class="fa fa-comments"></i><a href="{{ $topic_link_url }}#comments">{{ __('frontend.comments') }} : {{count($Topic->approvedComments)}} </a> </li> @endif </ul> <a href="{{ $topic_link_url }}" class="pull-right">{{ __('frontend.readMore') }} <i class="fa fa-caret-{{ @Helper::currentLanguage()->right }}"></i></a> </div> </article> </div> <?php $i++; ?> @endforeach </div> <div class="row"> <div class="col-lg-8"> {!! $Topics->appends($_GET)->links() !!} </div> <div class="col-lg-4 text-right"> <h5 style="padding-top: 18px">{{ $Topics->firstItem() }} - {{ $Topics->lastItem() }} {{ __('backend.of') }} ( {{ $Topics->total() }} ) {{ __('backend.records') }}</h5> </div> </div> @endif @endif </div> @if(count($Categories)>0) @include('frontEnd.includes.side') @endif </div> </div> </section> @endif @endsection