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

File "side.blade.php"

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

<style>
    .panel-group .panel-heading+.panel-collapse .panel-body {
        border-top: none;
    }

    .right-sidebar .panel {
        margin-bottom: 10px;
        background-color: #fff;
        border: none;
    }

    .right-sidebar.panel-title a {
        color: #656565;
    }

    .panel-default>.panel-heading {
        color: #333;
        background-color: #fff;
    }

    .panel-group .panel-heading {
        border-bottom: 2px solid #005398;

    }

    .widget h4 {
        font-weight: 600;
        margin-bottom: 10px !important;
    }

    .panel-heading {
        padding: 5px 15px;
        border-bottom: 1px solid transparent;
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
    }

    .panel-body ul hr {
        height: 1px;
        background-color: #FFC900;
        border: none;
        width: 40%;
        margin-top: 5px;
        margin-bottom: 1px;
    }

    .title-panel a {
        font-weight: 600;
        margin-bottom: 5px;
    }
    .right-sidebar {
    border-left: 0px;
    padding: 0 0 0 10px;
    }
.recent-view img {
    width: 150px;
    max-height: 110px;
    box-shadow: 0px 0px 10px 0px;
}
.recent li{
    border-bottom: 1px solid #c6c8cb;
}
.cat ul.cat li .active {
    color: #1c4f9c;
    background: #ffe98e;
    padding: 6px 74px;
    border-radius: 10px;
}
.categories-text h5{
    border-bottom: 2px solid #005398;
}
.categories-text h5 span {
    display: inline-block;
    border-bottom-width: 2px;
    /* margin-bottom: 0px !important; */
    background: #005398;
    border-radius: 2px 2px 0px 0px;
    padding: 10px;
    font-size: 16px;
    color: #ffffff;
}
</style>
<?php

use App\Helpers\Helper;
?>

<!-- <div class="col-lg-4"> -->
<div class="col-lg-3 col-md-4" style="font-family: Poppins !important;">
    <aside class="right-sidebar side1">

        <!-- <div class="widget side1">
            {{Form::open(['route'=>['searchTopics'],'method'=>'POST','class'=>'form-search'])}}
            <div class="input-group input-group-sm">
                {!! Form::text('search_word',@$search_word, array('placeholder' => __('frontend.search'),'class' => 'form-control','id'=>'search_word','required'=>'')) !!}
                <span class="input-group-btn">
                    <button type="submit" class="btn btn-theme"><i class="fa fa-search"></i></button>
                </span>
            </div>
            {{Form::close()}}Good evening to all


        </div> -->
        @if(count($Categories)>0)
        <?php
        $title_var = "title_" . @Helper::currentLanguage()->code;
        $title_var2 = "title_" . env('DEFAULT_LANGUAGE');
        $category_title_var = "title_" . @Helper::currentLanguage()->code;
        $slug_var = "seo_url_slug_" . @Helper::currentLanguage()->code;
        $slug_var2 = "seo_url_slug_" . env('DEFAULT_LANGUAGE');
        ?>
        <div class="widget side2 categories-text">

            <h5 class=" ">
                <span>{{ __('frontend.categories') }}</span>
            </h5>
            <div class="panel-group" id="accordion">
                <!-- <div class="panel panel-default">
      <div class="panel-heading">
        <h4 class="panel-title">
          <a data-toggle="collapse" data-parent="#accordion" href="#collapse1">Membership Highlights</a>
        </h4>
      </div>
      <div id="collapse1" class="panel-collapse collapse in">
        <div class="panel-body">
            <ul>
                <li>Membership-1</li> <hr>
                <li>Membership-2</li><hr>
                <li>Membership-3</li><hr>
            </ul>
       </div>
      </div>
    </div> -->
                <!-- <div class="panel panel-default">
      <div class="panel-heading">
        <h4 class="panel-title">
          <a data-toggle="collapse" data-parent="#accordion" href="#collapse2">Women Membership</a>
        </h4>
      </div>
      <div id="collapse2" class="panel-collapse collapse">
        <div class="panel-body">
        <ul>
                <li>Membership-1</li> <hr>
                <li>Membership-2</li><hr>
                <li>Membership-3</li><hr>
            </ul>
       </div>
      </div>
    </div> -->
                <!-- <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4 class="panel-title">
                            <a data-toggle="collapse" data-parent="#accordion" href="#collapse3">Family Membership</a>
                        </h4>
                    </div>
                    <div id="collapse3" class="panel-collapse collapse">
                        <div class="panel-body">
                            <ul>
                                <li>Membership-1</li>
                                <hr>
                                <li>Membership-2</li>
                                <hr>
                                <li>Membership-3</li>
                                <hr>
                            </ul>
                        </div>
                    </div>
                </div>
            </div> -->
            <ul class="cat side1 text-left ">

                @foreach($Categories as $Category)

                <?php $active_cat = ""; ?>
                @if($CurrentCategory!="none")
                @if(!empty($CurrentCategory))
                @if($Category->id == $CurrentCategory->id)
                <?php $active_cat = "class=active"; ?>
                @endif
                @endif
                @endif
                <?php
                if ($Category->$title_var != "") {
                    $Category_title = $Category->$title_var;
                } else {
                    $Category_title = $Category->$title_var2;
                }
                $ccount = $category_and_topics_count[$Category->id];
                ?>
                <li>
                    @if($Category->icon !="")
                    <i class="fa {{$Category->icon}}"></i> &nbsp;
                    @endif
                    <a {{ $active_cat }} href="{{ Helper::categoryURL($Category->id) }}" target="_blank"><i style="color: #005398 ;font-weight: 700;" class="fa fa-angle-right" aria-hidden="true"></i>
                                    {{ $Category_title }}</a>
                    <!-- <span class="pull-right side1">({{ $ccount }})</span> -->
                </li>
                @foreach($Category->fatherSections as $MnuCategory)
                <?php $active_cat = ""; ?>
                @if($CurrentCategory!="none")
                @if(!empty($CurrentCategory))
                @if($MnuCategory->id == $CurrentCategory->id)
                <?php $active_cat = "class=active"; ?>
                @endif
                @endif
                @endif
                <?php
                if ($MnuCategory->$title_var != "") {
                    $MnuCategory_title = $MnuCategory->$title_var;
                } else {
                    $MnuCategory_title = $MnuCategory->$title_var2;
                }
                $ccount = $category_and_topics_count[$MnuCategory->id];
                ?>
                <li> &nbsp; &nbsp; &nbsp;
                    @if($MnuCategory->icon !="")
                    <i class="fa {{$MnuCategory->icon}}"></i> &nbsp;
                    @endif
                    <a {{ $active_cat }} href="{{ Helper::categoryURL($MnuCategory->id) }}" target="_blank"> <i style="color: #000;font-weight: 600;" class="fa fa-angle-right" aria-hidden="true"></i>  {{ $MnuCategory_title }}</a>
                    <!-- <span class="pull-right side2">({{ $ccount }})</span> -->
                </li>
                @endforeach

                @endforeach
            </ul>
        </div>

        @endif
        @if(count($TopicsMostViewed)>0)
        <?php
        $side_title_var = "title_" . @Helper::currentLanguage()->code;
        $side_title_var2 = "title_" . env('DEFAULT_LANGUAGE');
        $slug_var = "seo_url_slug_" . @Helper::currentLanguage()->code;
        $slug_var2 = "seo_url_slug_" . env('DEFAULT_LANGUAGE');
        ?>
        <div class="widget side3 categories-text">
            <h5 class="">
                <span>{{ __('frontend.mostViewed') }}</span>
            </h5>
            <ul class="recent">
                <?php $count=count($TopicsMostViewed)-1;?>
                @foreach($TopicsMostViewed as $key=>$TopicMostViewed)
                <?php
                if ($TopicMostViewed->$side_title_var != "") {
                    $side_title = $TopicMostViewed->$side_title_var;
                } else {
                    $side_title = $TopicMostViewed->$side_title_var2;
                }
                $topic_link_url = Helper::topicURL($TopicMostViewed->id);
                ?>
                <?php if($key==$count){?><li style="border-bottom:none;">
                    <?php }else{ ?><li style="border-bottom:1px solid  #c6c8cb;"><?php }  ?>
                <!-- <li  > -->
                    <!-- <div class="row"> -->
                        
                        <div class=" recent-view" style="display: flex;flex-direction: column;margin: 0px 0px 0px 4px;">
                            <a href="{{ $topic_link_url }}" style="background-image: url('{{ asset('img/big-loader.gif')}}'); "target="_blank">
                                @if($TopicMostViewed->photo_file !="")
                                <img src="{{ URL::to('uploads/topics/'.$TopicMostViewed->photo_file) }}" class="pull-left" alt="{{ $side_title }}" />
                                @elseif($TopicMostViewed->webmasterSection->type==2 && $TopicMostViewed->video_file!="")
                                @if($TopicMostViewed->video_type ==1)
                                <?php
                                $Youtube_id = Helper::Get_youtube_video_id($TopicMostViewed->video_file);
                                ?>
                                @if($Youtube_id !="")
                                <img src="//img.youtube.com/vi/{{$Youtube_id}}/0.jpg" class="pull-left" alt="{{ $side_title }}" />
                                @endif
                                @elseif($TopicMostViewed->video_type ==2)
                                <?php
                                $Vimeo_id = Helper::Get_vimeo_video_id($TopicMostViewed->video_file);
                                ?>
                                @if($Vimeo_id !="")
                                <?php
                                $hash = unserialize(file_get_contents("https://vimeo.com/api/v2/video/$Vimeo_id.php"));
                                ?>

                                <img src="{{ $hash[0]['thumbnail_large'] }}" class="pull-left" alt="{{ $side_title }}" />
                                @endif
                                @endif
                                @endif
                            </a>
                            <h6>
                                <a href="{{ $topic_link_url }}" target="_blank">{{ $side_title }}</a>
                            </h6>
                        </div>
                    <!-- </div> -->
                </li>
                @endforeach
            </ul>
        </div>
        @endif

        @include('frontEnd.includes.banners',["BannersSettingsId"=>Helper::GeneralWebmasterSettings("side_banners_section_id")])

    </aside>
</div>