5���#��a`,>����������1T���W�����{X�ɘ�}G�4�"��ҕ4z�5F>e6*��[��\�;��%*U0LUUr2�cp�n��ݢ�kɜ��Y��͌3��+bG�����0#el���۴�o�e,,�jO�*M���1X��/3�z�)W^�,p>��s{��İQs��:�ޝd|w
���:f�I��e$���~�+ajX�jnT8����0'���S��>KI�UP���&���kN
Server IP : 78.111.106.131 / Your IP : 216.73.216.232 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/7.2.34 System : User : nobody ( 99) PHP Version : 7.2.34 Disable Function : proc_open,system,passthru,exec,popen,shell_exec,dbmopen,suexec,escapeshellcmd,show_source,escapeshellarg,symlink,eval,php_uname,pcntl_exec MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /webler/tggtd.org/core/resources/views/frontEnd/ |
Upload File : |
@extends('frontEnd.layout') @section('content') <section id="inner-headline"> <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") <li class="active">{!! trans('backLang.'.$WebmasterSection->name) !!}</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_" . trans('backLang.boxCode'); ?> <li class="active"><i class="icon-angle-right"></i>{{ $CurrentCategory->$category_title_var }} </li> @endif @endif </ul> </div> </div> </div> </section> <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> {{ trans('frontLang.noData') }} </div> @else <div class="row"> @if($Topics->total() > 0) <?php $title_var = "title_" . trans('backLang.boxCode'); $title_var2 = "title_" . trans('backLang.boxCodeOther'); $details_var = "details_" . trans('backLang.boxCode'); $details_var2 = "details_" . trans('backLang.boxCodeOther'); $slug_var = "seo_url_slug_" . trans('backLang.boxCode'); $slug_var2 = "seo_url_slug_" . trans('backLang.boxCodeOther'); $i = 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'>"; } if ($Topic->$slug_var != "" && Helper::GeneralWebmasterSettings("links_status")) { if (trans('backLang.code') != env('DEFAULT_LANGUAGE')) { $topic_link_url = url(trans('backLang.code') . "/" . $Topic->$slug_var); } else { $topic_link_url = url($Topic->$slug_var); } } else { if (trans('backLang.code') != env('DEFAULT_LANGUAGE')) { $topic_link_url = route('FrontendTopicByLang', ["lang" => trans('backLang.code'), "section" => $Topic->webmasterSection->name, "id" => $Topic->id]); } else { $topic_link_url = route('FrontendTopic', ["section" => $Topic->webmasterSection->name, "id" => $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-slider"> <div class="post-heading"> <h3> <a href="{{ $topic_link_url }}"> @if($Topic->icon !="") <i class="fa {!! $Topic->icon !!} "></i> @endif {{ $title }} </a></h3> </div> <!-- start flexslider --> <div class="p-slider flexslider"> <ul class="slides"> @if($Topic->photo_file !="") <li> <img src="{{ URL::to('uploads/topics/'.$Topic->photo_file) }}" alt="{{ $title }}"/> </li> @endif @foreach($Topic->photos as $photo) <li> <img src="{{ URL::to('uploads/topics/'.$photo->file) }}" alt="{{ $photo->title }}"/> </li> @endforeach </ul> </div> <!-- end flexslider --> </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 {{--Additional Feilds--}} @if(count($Topic->webmasterSection->customFields) >0) <div class="row"> <div class="col-lg-12"> <div class="col-lg-12"> <?php $cf_title_var = "title_" . trans('backLang.boxCode'); $cf_title_var2 = "title_" . trans('backLang.boxCodeOther'); ?> @foreach($Topic->webmasterSection->customFields as $customField) <?php if ($customField->$cf_title_var != "") { $cf_title = $customField->$cf_title_var; } else { $cf_title = $customField->$cf_title_var2; } $cf_saved_val = ""; $cf_saved_val_array = array(); if (count($Topic->fields) > 0) { foreach ($Topic->fields as $t_field) { if ($t_field->field_id == $customField->id) { if ($customField->type == 7) { // if multi check $cf_saved_val_array = explode(", ", $t_field->field_value); } else { $cf_saved_val = $t_field->field_value; } } } } ?> @if(($cf_saved_val!="" || count($cf_saved_val_array) > 0) && ($customField->lang_code == "all" || $customField->lang_code == trans('backLang.boxCode'))) @if($customField->type ==12) {{--Vimeo Video Link--}} @elseif($customField->type ==11) {{--Youtube Video Link--}} @elseif($customField->type ==10) {{--Video File--}} @elseif($customField->type ==9) {{--Attach File--}} @elseif($customField->type ==8) {{--Photo File--}} @elseif($customField->type ==7) {{--Multi Check--}} <div class="row field-row"> <div class="col-lg-3"> {!! $cf_title !!} : </div> <div class="col-lg-9"> <?php $cf_details_var = "details_" . trans('backLang.boxCode'); $cf_details_var2 = "details_en" . trans('backLang.boxCodeOther'); if ($customField->$cf_details_var != "") { $cf_details = $customField->$cf_details_var; } else { $cf_details = $customField->$cf_details_var2; } $cf_details_lines = preg_split('/\r\n|[\r\n]/', $cf_details); $line_num = 1; ?> @foreach ($cf_details_lines as $cf_details_line) @if (in_array($line_num,$cf_saved_val_array)) <span class="badge"> {!! $cf_details_line !!} </span> @endif <?php $line_num++; ?> @endforeach </div> </div> @elseif($customField->type ==6) {{--Select--}} <div class="row field-row"> <div class="col-lg-3"> {!! $cf_title !!} : </div> <div class="col-lg-9"> <?php $cf_details_var = "details_" . trans('backLang.boxCode'); $cf_details_var2 = "details_en" . trans('backLang.boxCodeOther'); if ($customField->$cf_details_var != "") { $cf_details = $customField->$cf_details_var; } else { $cf_details = $customField->$cf_details_var2; } $cf_details_lines = preg_split('/\r\n|[\r\n]/', $cf_details); $line_num = 1; ?> @foreach ($cf_details_lines as $cf_details_line) @if ($line_num == $cf_saved_val) {!! $cf_details_line !!} @endif <?php $line_num++; ?> @endforeach </div> </div> @elseif($customField->type ==5) {{--Date & Time--}} <div class="row field-row"> <div class="col-lg-3"> {!! $cf_title !!} : </div> <div class="col-lg-9"> {!! date('Y-m-d H:i:s', strtotime($cf_saved_val)) !!} </div> </div> @elseif($customField->type ==4) {{--Date--}} <div class="row field-row"> <div class="col-lg-3"> {!! $cf_title !!} : </div> <div class="col-lg-9"> {!! date('Y-m-d', strtotime($cf_saved_val)) !!} </div> </div> @elseif($customField->type ==3) {{--Email Address--}} <div class="row field-row"> <div class="col-lg-3"> {!! $cf_title !!} : </div> <div class="col-lg-9"> {!! $cf_saved_val !!} </div> </div> @elseif($customField->type ==2) {{--Number--}} <div class="row field-row"> <div class="col-lg-3"> {!! $cf_title !!} : </div> <div class="col-lg-9"> {!! $cf_saved_val !!} </div> </div> @elseif($customField->type ==1) {{--Text Area--}} @else {{--Text Box--}} <div class="row field-row"> <div class="col-lg-3"> {!! $cf_title !!} : </div> <div class="col-lg-9"> {!! $cf_saved_val !!} </div> </div> @endif @endif @endforeach </div> </div> </div> @endif {{--End of -- Additional Feilds--}} <p>{{ str_limit(strip_tags($Topic->$details), $limit = 350, $end = '...') }}</p> <div class="bottom-article"> <ul class="meta-post" style='display:none'> @if($Topic->webmasterSection->date_status) <li><i class="fa fa-calendar"></i> <a>{!! $Topic->date !!}</a> </li> @endif <li><i class="fa fa-user"></i> <a href="{{route('FrontendUserTopics',$Topic->created_by)}}">{{$Topic->user->name}}</a> </li> <li><i class="fa fa-eye"></i> <a>{{ trans('frontLang.visits') }} : {!! $Topic->visits !!}</a></li> @if($Topic->webmasterSection->comments_status) <li><i class="fa fa-comments"></i><a href="{{route('FrontendTopic',["section"=>$Topic->webmasterSection->name,"id"=>$Topic->id])}}#comments">{{ trans('frontLang.comments') }} : {{count($Topic->approvedComments)}} </a> </li> @endif </ul> <a href="{{ $topic_link_url }}" class="pull-right">{{ trans('frontLang.readMore') }} <i class="fa fa-caret-{{ trans('backLang.right') }}"></i></a> </div> </article> </div> <?php $i++; ?> @endforeach </div> <div class="row"> <div class="col-lg-8"> {!! $Topics->links() !!} </div> <div class="col-lg-4 text-right"> <br> <small>{{ $Topics->firstItem() }} - {{ $Topics->lastItem() }} {{ trans('backLang.of') }} ( {{ $Topics->total() }} ) {{ trans('backLang.records') }}</small> </div> </div> @endif @endif </div> @if(count($Categories)>0) @include('frontEnd.includes.side') @endif </div> </div> </section> @endsection