| Server IP : 127.0.1.1  /  Your IP : 216.73.216.152 Web Server : Apache/2.4.52 (Ubuntu) System : Linux bahcrestlinepropertiesllc 5.15.0-113-generic #123-Ubuntu SMP Mon Jun 10 08:16:17 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/bahcrestline/core/storage/framework/views/  | 
Upload File :  | 
<div class="col-lg-3">
    <aside class="right-sidebar">
        <?php if(count($Categories)>0): ?>
            <?php
            $category_title_var = "title_" . trans('backLang.boxCode');
            $slug_var = "seo_url_slug_" . trans('backLang.boxCode');
            $slug_var2 = "seo_url_slug_" . trans('backLang.boxCodeOther');
            ?>
            <div class="widget">
                
                <ul class="list-group">
                    <?php $__currentLoopData = $Categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $Category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php $active_cat = ""; ?>
                        <?php if($CurrentCategory!="none"): ?>
                            <?php if(!empty($CurrentCategory)): ?>
                                <?php if($Category->id == $CurrentCategory->id): ?>
                                    <?php $active_cat = "class=active"; ?>
                                <?php endif; ?>
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php
                        $ccount = $category_and_topics_count[$Category->id];
                        if ($Category->$slug_var != "" && Helper::GeneralWebmasterSettings("links_status")) {
                            if (trans('backLang.code') != env('DEFAULT_LANGUAGE')) {
                                $Category_link_url = url(trans('backLang.code') . "/" . $Category->$slug_var);
                            } else {
                                $Category_link_url = url($Category->$slug_var);
                            }
                        } else {
                            if (trans('backLang.code') != env('DEFAULT_LANGUAGE')) {
                                $Category_link_url = route('FrontendTopicsByCatWithLang', ["lang" => trans('backLang.code'), "section" => $Category->webmasterSection->name, "cat" => $Category->id]);
                            } else {
                                $Category_link_url = route('FrontendTopicsByCat', ["section" => $Category->webmasterSection->name, "cat" => $Category->id]);
                            }
                        }
                        ?>
                        <li class="list-group-item">
                            <a <?php echo e($active_cat); ?> href="<?php echo e($Category_link_url); ?>">
                                <?php if($Category->icon !==""): ?>
                                    <i class="fa <?php echo e($Category->icon); ?>"></i>  
                                <?php endif; ?>
                                <?php echo e($Category->$category_title_var); ?><span
                                        class="badge"><?php echo e($ccount); ?></span></a></li>
                        <?php $__currentLoopData = $Category->fatherSections; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $MnuCategory): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <?php $active_cat = ""; ?>
                            <?php if($CurrentCategory!="none"): ?>
                                <?php if(!empty($CurrentCategory)): ?>
                                    <?php if($MnuCategory->id == $CurrentCategory->id): ?>
                                        <?php $active_cat = "class=active"; ?>
                                    <?php endif; ?>
                                <?php endif; ?>
                            <?php endif; ?>
                            <?php
                            $ccount = $category_and_topics_count[$MnuCategory->id];
                            if ($MnuCategory->$slug_var != "" && Helper::GeneralWebmasterSettings("links_status")) {
                                if (trans('backLang.code') != env('DEFAULT_LANGUAGE')) {
                                    $SubCategory_link_url = url(trans('backLang.code') . "/" . $MnuCategory->$slug_var);
                                } else {
                                    $SubCategory_link_url = url($MnuCategory->$slug_var);
                                }
                            } else {
                                if (trans('backLang.code') != env('DEFAULT_LANGUAGE')) {
                                    $SubCategory_link_url = route('FrontendTopicsByCatWithLang', ["lang" => trans('backLang.code'), "section" => $MnuCategory->webmasterSection->name, "cat" => $MnuCategory->id]);
                                } else {
                                    $SubCategory_link_url = route('FrontendTopicsByCat', ["section" => $MnuCategory->webmasterSection->name, "cat" => $MnuCategory->id]);
                                }
                            }
                            ?>
                            <li class="list-group-item">
                                <a <?php echo e($active_cat); ?>  href="<?php echo e($SubCategory_link_url); ?>">
                                    <?php if($MnuCategory->icon !==""): ?>
                                        <i class="fa <?php echo e($MnuCategory->icon); ?>"></i>  
                                    <?php endif; ?>
                                    <?php echo e($MnuCategory->$category_title_var); ?><span
                                            class="badge"><?php echo e($ccount); ?></span></a></li>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            </div>
        <?php endif; ?>
        <div class="widget  hidden-xs">
            <h5 class="widgetheading"><?php echo e(trans('backLang.search')); ?></h5>
            <?php echo e(Form::open(['route'=>['searchTopics'],'method'=>'POST','class'=>'form-search'])); ?>
            <div class="input-group">
                <?php echo Form::text('search_word',@$search_word, array('placeholder' => trans('frontLang.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>
            <?php echo e(Form::close()); ?>
        </div>
        <?php if(count($TopicsMostViewed)>0): ?>
            <?php
            $side_title_var = "title_" . trans('backLang.boxCode');
            $side_title_var2 = "title_" . trans('backLang.boxCodeOther');
            $slug_var = "seo_url_slug_" . trans('backLang.boxCode');
            $slug_var2 = "seo_url_slug_" . trans('backLang.boxCodeOther');
            ?>
            <div class="hot-properties hidden-xs">
                <h4><?php echo e(trans('frontLang.mostViewed')); ?></h4>
                <?php $__currentLoopData = $TopicsMostViewed; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $TopicMostViewed): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php
                    if ($TopicMostViewed->$side_title_var != "") {
                        $side_title = $TopicMostViewed->$side_title_var;
                    } else {
                        $side_title = $TopicMostViewed->$side_title_var2;
                    }
                    if ($TopicMostViewed->$slug_var != "" && Helper::GeneralWebmasterSettings("links_status")) {
                        if (trans('backLang.code') != env('DEFAULT_LANGUAGE')) {
                            $topic_link_url = url(trans('backLang.code') . "/" . $TopicMostViewed->$slug_var);
                        } else {
                            $topic_link_url = url($TopicMostViewed->$slug_var);
                        }
                    } else {
                        if (trans('backLang.code') != env('DEFAULT_LANGUAGE')) {
                            $topic_link_url = route('FrontendTopicByLang', ["lang" => trans('backLang.code'), "section" => $TopicMostViewed->webmasterSection->name, "id" => $TopicMostViewed->id]);
                        } else {
                            $topic_link_url = route('FrontendTopic', ["section" => $TopicMostViewed->webmasterSection->name, "id" => $TopicMostViewed->id]);
                        }
                    }
                    ?>
                    <div class="row">
                        <?php
                        $detal_w1 = 12;
                        $detal_w2 = 12;
                        ?>
                        <?php if($TopicMostViewed->photo_file !=""): ?>
                            <?php
                            $detal_w1 = 8;
                            $detal_w2 = 7;
                            ?>
                            <div class="col-lg-4 col-sm-5">
                                <a href="<?php echo e($topic_link_url); ?>">
                                    <img src="<?php echo e(URL::to('uploads/topics/'.$TopicMostViewed->photo_file)); ?>"
                                         class="img-responsive img-circle" alt="<?php echo e($side_title); ?>"/>
                                </a>
                            </div>
                        <?php elseif($TopicMostViewed->webmasterSection->type==2 && $TopicMostViewed->video_file!=""): ?>
                            <?php
                            $detal_w1 = 8;
                            $detal_w2 = 7;
                            ?>
                            <div class="col-lg-4 col-sm-5">
                                <a href="<?php echo e($topic_link_url); ?>">
                                    <?php if($TopicMostViewed->video_type ==1): ?>
                                        <?php
                                        $Youtube_id = Helper::Get_youtube_video_id($TopicMostViewed->video_file);
                                        ?>
                                        <?php if($Youtube_id !=""): ?>
                                            <img src="http://img.youtube.com/vi/<?php echo e($Youtube_id); ?>/0.jpg"
                                                 class="img-responsive img-circle" alt="<?php echo e($side_title); ?>"/>
                                        <?php endif; ?>
                                    <?php elseif($TopicMostViewed->video_type ==2): ?>
                                        <?php
                                        $Vimeo_id = Helper::Get_vimeo_video_id($TopicMostViewed->video_file);
                                        ?>
                                        <?php if($Vimeo_id !=""): ?>
                                            <?php
                                            $hash = unserialize(file_get_contents("http://vimeo.com/api/v2/video/$Vimeo_id.php"));
                                            ?>
                                            <img src="<?php echo e($hash[0]['thumbnail_large']); ?>"
                                                 class="img-responsive img-circle" alt="<?php echo e($side_title); ?>"/>
                                        <?php endif; ?>
                                    <?php endif; ?>
                                </a>
                            </div>
                        <?php endif; ?>
                        <div class="col-lg-<?php echo e($detal_w1); ?> col-sm-<?php echo e($detal_w2); ?>">
                            <h5><a href="<?php echo e($topic_link_url); ?>"><?php echo e($side_title); ?></a></h5>
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        <?php endif; ?>
            <?php
            // View side banners
            $BannersSettingsId = 3; // You can get settings ID from Webmaster >> Banners settings
            ?>
            <?php echo $__env->make('frontEnd.includes.banners', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    </aside>
</div><?php /**PATH /var/www/bahcrestline/core/resources/views/frontEnd/includes/side.blade.php ENDPATH**/ ?>