NICH
Server IP : 127.0.1.1  /  Your IP : 216.73.216.172
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/bahcrestline/core/storage/framework/views/dcdcd11726e279f12c95d10d06e508c073fbd49b.php
<?php if(!empty(@$BannersSettingsId)): ?>
    <?php
    // Get banners list array by settings ID (You can get settings ID from Webmaster >> Banners settings)
    $BannersList = Helper::BannersList($BannersSettingsId);
    ?>
    <?php if(count($BannersList)>0): ?>
        <div class="widget  hidden-xs">
            <div class="row">
                <div class="col-lg-12">
                    <!-- Slider -->
                    <?php
                    $SideBanner_type = 0;
                    ?>
                    <?php $__currentLoopData = $BannersList->slice(0,1); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $SideBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php
                        try {
                            $SideBanner_type = $SideBanner->webmasterBanner->type;
                        } catch (Exception $e) {
                            $SideBanner_type = 0;
                        }
                        ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php
                    $title_var = "title_" . trans('backLang.boxCode');
                    $details_var = "details_" . trans('backLang.boxCode');
                    $file_var = "file_" . trans('backLang.boxCode');
                    ?>
                    <?php if($SideBanner_type==0): ?>
                        
                        <div class="text-center">
                            <?php $__currentLoopData = $BannersList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $SideBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($SideBanner->code !=""): ?>
                                    <div><?php echo $SideBanner->code; ?></div>
                                <?php endif; ?>
                                <?php if($SideBanner->$details_var !=""): ?>
                                    <div><?php echo $SideBanner->$details_var; ?></div>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    <?php elseif($SideBanner_type==1): ?>
                        
                        <div class="text-center">
                            <?php $__currentLoopData = $BannersList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $SideBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div>
                                    <?php if($SideBanner->link_url !=""): ?>
                                        <a href="<?php echo $SideBanner->link_url; ?>">
                                            <?php endif; ?>
                                            <?php if($SideBanner->$file_var !=""): ?>
                                                <img src="<?php echo e(URL::to('uploads/banners/'.$SideBanner->$file_var)); ?>"
                                                     alt="<?php echo e($SideBanner->$title_var); ?>"/>
                                            <?php endif; ?>
                                            <?php if($SideBanner->link_url !=""): ?>
                                        </a>
                                    <?php endif; ?>
                                    <?php if($SideBanner->$details_var !=""): ?>
                                        <p><?php echo nl2br($SideBanner->$details_var); ?></p>
                                    <?php endif; ?>

                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    <?php else: ?>
                        
                        <div class="text-center">
                            <?php $__currentLoopData = $BannersList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $SideBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php if($SideBanner->youtube_link !=""): ?>
                                    <?php if($SideBanner->video_type ==1): ?>
                                        <?php
                                        $Youtube_id = Helper::Get_youtube_video_id($SideBanner->youtube_link);
                                        ?>
                                        <?php if($Youtube_id !=""): ?>
                                            
                                            <iframe width="100%" height="500" frameborder="0" allowfullscreen
                                                    src="https://www.youtube.com/embed/<?php echo e($Youtube_id); ?>">
                                            </iframe>
                                        <?php endif; ?>
                                    <?php elseif($SideBanner->video_type ==2): ?>
                                        <?php
                                        $Vimeo_id = Helper::Get_vimeo_video_id($SideBanner->youtube_link);
                                        ?>
                                        <?php if($Vimeo_id !=""): ?>
                                            
                                            <iframe width="100%" height="500" frameborder="0" allowfullscreen
                                                    src="http://player.vimeo.com/video/<?php echo e($Vimeo_id); ?>?title=0&amp;byline=0">
                                            </iframe>
                                        <?php endif; ?>
                                    <?php endif; ?>
                                <?php endif; ?>
                                <?php if($SideBanner->video_type ==0): ?>
                                    <?php if($SideBanner->$file_var !=""): ?>
                                        
                                        <video width="100%" height="500" controls>
                                            <source src="<?php echo e(URL::to('uploads/banners/'.$SideBanner->$file_var)); ?>"
                                                    type="video/mp4">
                                            Your browser does not support the video tag.
                                        </video>
                                    <?php endif; ?>
                                <?php endif; ?>
                                <?php if($SideBanner->$details_var !=""): ?>
                                    <div><?php echo $SideBanner->$details_var; ?></div>
                                <?php endif; ?>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                <?php endif; ?>
                <!-- end slider -->
                </div>
            </div>
        </div>
    <?php endif; ?>
<?php endif; ?><?php /**PATH /var/www/bahcrestline/core/resources/views/frontEnd/includes/banners.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team