JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "topics.blade.php"

Full Path: /var/www/lionsclub/core/resources/views/frontEnd/topics.blade.php
File size: 40.2 KB
MIME-type: text/html
Charset: utf-8

@extends('frontEnd.layout')

@section('content')

<style>
    @media (max-width:769px){
    .big-screen{
        display:none;
    }
}
@media (min-width:768px){
    .small-screen{
        display:none;
    }
}
    /* breadcrumb css  */
.breadcrumbse {
  color: #000;
  list-style: outside none;
  /* background-color: #f5f5f5; */
  border-radius: 5px;
  text-align: end;
  width: 100%;
}
.breadcrumbse > li {
  font-size: 18px;
  vertical-align: top;
}
.breadcrumbse > li,
.breadcrumbse > li > a,
.breadcrumbse > li > span {
  display: inline-block;
}
.breadcrumbse > li > a {
  color: #07d;
  text-decoration: none;
}
.breadcrumbse > li > a:hover {
  text-decoration: underline;
}
.bc3 {
  font-size: inherit;
  float: right;
}
.bc3 > li {
  display: inline;
}
.bc3 > li > a {
    display: inline;
    margin: 0 12px 0 0;
    font-size: 13px;
    font-family: 'poppins';
    text-transform: uppercase;
}
.bc3 i{
    font-size: 20px;
}
</style>

<section id="inner-headline" style="padding: 20px 20px 0px; background: aliceblue;">
    <div class="container">
        <div style="background: aliceblue;" class="row">
            <!-- <div class="col-lg-12"> -->   
            <!-- </div> -->
		<!-- <div class="verticals ten offset-by-one">
			<ol class="breadcrumbed breadcrumbed-fill2">
				<li><a href="{{ route('Home') }}"><i class="fa fa-home"></i></a></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 li">{!! $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><span>&gt; </span>&nbsp;&nbsp;&nbsp;{{ $CurrentCategory->$category_title_var }}
                    </li>
                    @endif
                    @endif
			</ol>
		</div> -->
        <div class="div" style="margin: 8px 9px 15px;">
<ul class="breadcrumbse bc3" role="menubar" aria-label="breadcrumbs">
	<li><a href="{{ route('Home') }}"><i class="fa fa-home"></i></a>&raquo;</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 li"><a>{!! $WebmasterSectionTitle !!}</a>&raquo;</li>
                    @elseif(@$search_word!="")
                    <li class="active"><a>{{ @$search_word }}</a>&raquo;</li>
                    @else
                    <li class="active"><a>{{ $User->name }}</a>&raquo;</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><a>{{ $CurrentCategory->$category_title_var }}</a> 
                    </li>
                    @endif
                    @endif
                </ul>
            </div> 

        </div>
    </div>
</section>
<section id="content">
    <div class="container">
        <div class="row">
            <div class="big-screen">
            @if(count($Categories)>0)
            @include('frontEnd.includes.side')
            @endif

            </div>
            
            <div class="col-md-7 col-lg-{{(count($Categories)>0)? "9":"12"}}">
                <!-- <article> -->
                <!-- <div class="blog-card">
                    <div class="blog-card alt">

                        <div class="meta">
                            <div class="photo" style="background-image: url(https://bhumi.ngo/wp-content/uploads/2020/12/IMG_5006.jpg)"></div>
                            <div class="details">
                                <span>hhhh</span>
                            </div>
                        </div>
                        <div class="description">
                            <div class="description-text">
                                <h3 style="font-family:'HelveticaNeue-Light'">Helping of mind in people</h3>
                                <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad eum dolorum architecto obcaecati enim dicta praesentium, quam nobis! Neque ad aliquam facilis numquam. Veritatis, sit.</p>
                                <div class="read-more">
                                    <a href="#">Read More</a>
                                </div>
                            </div>
                        </div>
                    </div> -->
                <!-- <div class="blog-card alt">
                        <div class="meta">
                            <div class="photo" style="background-image: url(https://bsmedia.business-standard.com/_media/bs/img/article/2020-09/30/full/1601405150-2084.jpg)"></div>
                            <div class="details">
                                <span>hhhh</span>
                            </div>
                        </div>
                        <div class="description">
                            <div class="description-text">
                                <h3>Happiest life that childern</h3>
                                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad eum dolorum architecto obcaecati enim dicta praesentium, quam nobis! Neque ad aliquam facilis numquam. Veritatis, sit.</p>
                                <div class="read-more">
                                    <a href="#">Read More</a>
                                </div>
                            </div>

                        </div>
                    </div> -->
                <!-- </article> -->
                <!-- <div class='row member-Highlights section-change'> -->
                <!-- <div class='row '> -->

                <!-- <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 rightside-img">
                            <div class="leftimg-side" style="background-image:url('http://161.35.52.75/uploads/banners/16681720298808.jpg')"></div>
                        </div> -->
                <!-- <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 rightside-member-top leftside-text">
                            <article class="rightside-member">                                    
                                    <div class="post-image">
                                        <div class="post-heading">
                                            <h3>
                                                <a href="http://161.35.52.75/august"> -->
                <!-- Membership highlights -->
                <!-- </a>
                                            </h3>
                                        </div>
                                    </div> 
                                <p>no contents...</p>
                                <div class="bottom-article a">                                    
                                    <a href="http://161.35.52.75/august" class="pull-right">Read More <i class="fa fa-caret-right"></i></a>
                                </div>
                            </article>
                        </div> -->
                <!-- </div> -->
                @if($Topics->total() == 0)
                <div class="alert alert-warning">
                    <i class="fa fa-info"></i> &nbsp; {{ __('frontend.noData') }}
                </div>
                @else
                <div class="row member-Highlights">
                    @if($Topics->total() > 0)

                    <?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;
                    ?>

                    <?php $count = $Topics->total(); ?>
                    @foreach($Topics as $key=>$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($Topic->video_type !== 1){
                    if (($i == 1 && count($Categories) > 0) || ($i == 2 && count($Categories) == 0)) {
                        $i = 0;
                        echo "</div><div class='row member-Highlights'>";
                    }
                }
                     else{
                         echo "<div class='row member-Highlights'>";
                     }
                    $topic_link_url = Helper::topicURL($Topic->id);
                    ?>
                    <!-- <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                                        <div class="leftimg-side" style="background-image:url('http://161.35.52.75/uploads/banners/16681720298808.jpg')"></div>
                                        
                                    </div> -->
                    <div class=" col-md-12 col-sm-12 col-xs-12 col-lg-12">

                        <!-- <div class="col-md-6 col-sm-6 col-xs-12 col-lg-{{(count($Categories)>0)? "10":"6"}}"> -->
                        <!-- <div class="rightside-member-top col-md-6 col-sm-6 col-xs-12 col-lg-{{(count($Categories)>0)? "6":"6"}}"> -->


                        <!-- <article class="rightside-member"> -->
                      
                        <article style="cursor: pointer;"
                        class="re">
                        
                            <!-- <article class="" style="background-color:red;"> -->
                            @if($Topic->webmasterSection->type==2 && $Topic->video_file!="")
                            {{--video--}}
                            <div class="post-video">
                                <div class="post-heading test1">
                                    <h3>
                                        <a href="{{ $topic_link_url }}">
                                            @if($Topic->icon !="")
                                            <i class="fa {!! $Topic->icon !!} "></i>&nbsp;
                                            @endif
                                            {{ $title }}
                                        </a>
                                    </h3>
                                </div>
                                <div class="video-container">
                                <?php
                                    // $file = $Topic->video_file; 
                                    // $parts = explode('/', $file);
                                    // dd($parts);


                                    // $xplode= $parts[sizeof($parts)-4];
                                    // dd($xplode);

                                    ?>
                                    
                                    @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&amp;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>
                                        $count=$topi
                                        <source src="{{ URL::to('uploads/topics/'.$Topic->video_file) }}" type="video/mp4">
                                        Your browser does not support the video tag.
                                    </video>
                                    @endif

                                    <!-- <div class="col-md-4 col-lg-4 col-xs-12 col-sm-12 col-xl-4">
                                        <div class="card "> -->
                                            <!-- width="355" height="315" -->
                                            <!-- <iframe src="https://www.youtube.com/embed/gg6E8kkpe-0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
                                            <div class="card-body">
                                                <h4 class="card-title">International President Brian Sheehan Biography</h4>

                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-4 col-lg-4 col-xs-12 col-sm-12 col-xl-4">
                                        <div class="card ">
                                            <iframe src="https://drive.google.com/file/d/1Z8jTYDnIJFJR3JQBViv7he0IKolRth4O/preview" allow="autoplay"></iframe>
                                            <div class="card-body">
                                                <h4 class="card-title">Together We Can</h4>

                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-4 col-lg-4 col-xs-12 col-sm-12 col-xl-4">
                                        <div class="card ">
                                            <iframe src="https://www.youtube.com/embed/KOUz-ocDL2M" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
                                            <div class="card-body">
                                                <h4 class="card-title">Outside the Box</h4>
                                            </div>
                                        </div>
                                    </div> -->
                                </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>&nbsp;
                                            @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>&nbsp;
                                            @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--}}
                            <!-- <a href="{{ $topic_link_url }}"> -->
                            <a href="{{ $topic_link_url }}" target="_blank" style="color: #000;" >

                            <?php if ($key % 2 == 0) { ?>
                                
                                
                                <div class="blog-card">
                                <?php } else { ?>
                                    <div class="blog-card alt">
                                    <?php } ?>
                                    <!-- <div class="blog-card"> -->
                                    <!-- <div class="blog-card alt"> -->
                                    <div class="meta">
                                        @if($Topic->photo_file !="")
                                        <div class="photo" style="background-size: 100% 100%;background-repeat: no-repeat; background-image: url({{ URL::to('uploads/topics/'.$Topic->photo_file) }})"></div>

                                        <div class="details">
                                            <!-- <span>hhhh</span> -->
                                            <!-- <span>{{ $title }}</span> -->
                                        </div>
                                        @endif

                                    </div>
                                    <div class="description">
                                        <div class="description-text">
                                            <!-- <h3 style="font-family:'HelveticaNeue-Light'">Helping of mind in people</h3> -->
                                            <div style=" ;overflow: hidden;">
                                                <h3 style="color: #1c4f9c;">
                                                        @if($Topic->icon !="")
                                                        <i class="fa {!! $Topic->icon !!} "></i>&nbsp;
                                                        @endif
                                                        {{ $title }}
                                                        @include('frontEnd.lionspages')
                                                </h3>
                                                <!-- <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ad eum dolorum architecto obcaecati enim dicta praesentium, quam nobis! Neque ad aliquam facilis numquam. Veritatis, sit.</p> -->
                                                <p style>{!! mb_substr(strip_tags($Topic->$details),0, 300)."..." !!}</p>

                                            </div>
                                            <div class="read-more">
                                                <!-- <a href="#">Read More</a> -->
                                                <!-- <a href="{{ $topic_link_url }}" class="pull-right">{{ __('frontend.readMore') }} <i class="{{ @Helper::currentLanguage()}}"></i></a> -->
                                            </div>
                                        </div>
                                    </div>

                                    <!-- starts -->
                                    <!-- <div class="post-image"> -->
                                    <!-- <div class="post-heading    "> -->
                                    <!-- <h3>
                                            <a href="{{ $topic_link_url }}">
                                                @if($Topic->icon !="")
                                                <i class="fa {!! $Topic->icon !!} "></i>&nbsp;
                                                @endif
                                                {{ $title }}
                                                @include('frontEnd.lionspages')
                                            </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->where("in_listing",true)) >0)
                                    <div class="row">
                                        <div class="col-lg-12">
                                            <div class="col-lg-12">
                                                <?php
                                                $cf_title_var = "title_" . @Helper::currentLanguage()->code;
                                                $cf_title_var2 = "title_" . env('DEFAULT_LANGUAGE');
                                                ?>
                                                @foreach($Topic->webmasterSection->customFields->where("in_listing",true) as $customField)
                                                <?php
                                                // check permission
                                                $view_permission_groups = [];
                                                if ($customField->view_permission_groups != "") {
                                                    $view_permission_groups = explode(",", $customField->view_permission_groups);
                                                }
                                                if (in_array(0, $view_permission_groups) || $customField->view_permission_groups == "") {
                                                    // have permission & continue
                                                ?>
                                                    @if ($customField->in_listing)
                                                    <?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 == @Helper::currentLanguage()->code))
                                                    @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_" . @Helper::currentLanguage()->code;
                                                            $cf_details_var2 = "details_en" . env('DEFAULT_LANGUAGE');
                                                            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_" . @Helper::currentLanguage()->code;
                                                            $cf_details_var2 = "details_en" . env('DEFAULT_LANGUAGE');
                                                            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">
                                                            {!! Helper::formatDate($cf_saved_val)." ".date("h:i A", 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">
                                                            {!! Helper::formatDate($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
                                                    @endif
                                                <?php
                                                }
                                                ?>
                                                @endforeach
                                            </div>
                                        </div>
                                    </div>
                                    </a>

                                    @endif
                                    {{--End of -- Additional Feilds--}}

                                    <!-- <p>{!! mb_substr(strip_tags($Topic->$details),0, 300)."..." !!}</p> -->
                                    <!-- <div class="bottom-article a"> -->
                                    <!-- 412 to 424 -->
                                    <!-- <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->links() !!}
                    </div>
                    <div class="col-lg-4 text-right records-text ">
                        <br>
                        <small style="font-family: 'Poppins';padding-right: 45px;">{{ $Topics->firstItem() }} - {{ $Topics->lastItem() }} {{ __('backend.of') }}
                            ( {{ $Topics->total()  }} ) {{ __('backend.records') }}</small>
                    </div>
                </div> -->
                @endif
                @endif
            </div>
            <div class="small-screen">
            @if(count($Categories)>0)
            @include('frontEnd.includes.side')
            @endif
            </div>

        </div>
    </div>
</section>
@endsection