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 : |
<?php if(count($SliderBanners)>0): ?> <div> <?php $__currentLoopData = $SliderBanners->slice(0,1); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $SliderBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php try { $SliderBanner_type = $SliderBanner->webmasterBanner->type; } catch (Exception $e) { $SliderBanner_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($SliderBanner_type==0): ?> <div class="text-center"> <?php $__currentLoopData = $SliderBanners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $SliderBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($SliderBanner->$details_var !=""): ?> <div><?php echo $SliderBanner->$details_var; ?></div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php elseif($SliderBanner_type==1): ?> <div id="slider" class="sl-slider-wrapper"> <div class="sl-slider"> <?php $__currentLoopData = $SliderBanners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $SliderBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="sl-slide" data-orientation="horizontal" data-slice1-rotation="-25" data-slice2-rotation="-25" data-slice1-scale="2" data-slice2-scale="2"> <div class="sl-slide-inner"> <div class="bg-img" style="background-image: url(<?php echo e(URL::to('uploads/banners/'.$SliderBanner->$file_var)); ?>);"></div> <?php if($SliderBanner->$title_var !=""): ?> <h2><?php echo $SliderBanner->$title_var; ?></h2> <?php endif; ?> <?php if($SliderBanner->$details_var !=""): ?> <blockquote> <p><?php echo nl2br($SliderBanner->$details_var); ?></p> <?php if($SliderBanner->link_url !=""): ?> <a href="<?php echo $SliderBanner->link_url; ?>" class="btn btn-theme"><?php echo e(trans('frontLang.moreDetails')); ?></a> <?php endif; ?> </blockquote> <?php endif; ?> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div><!-- /sl-slider --> <nav id="nav-dots" class="nav-dots"> <?php $i = 0; ?> <?php $__currentLoopData = $SliderBanners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $SliderBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($i == 0): ?> <span class="nav-dot-current"></span> <?php else: ?> <span></span> <?php endif; ?> <?php $i++; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </nav> </div><!-- /slider-wrapper --> <?php else: ?> <div class="text-center"> <?php $__currentLoopData = $SliderBanners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $SliderBanner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($SliderBanner->youtube_link !=""): ?> <?php if($SliderBanner->video_type ==1): ?> <?php $Youtube_id = Helper::Get_youtube_video_id($SliderBanner->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($SliderBanner->video_type ==2): ?> <?php $Vimeo_id = Helper::Get_vimeo_video_id($SliderBanner->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&byline=0"> </iframe> <?php endif; ?> <?php endif; ?> <?php endif; ?> <?php if($SliderBanner->video_type ==0): ?> <?php if($SliderBanner->$file_var !=""): ?> <video width="100%" height="500" controls> <source src="<?php echo e(URL::to('uploads/banners/'.$SliderBanner->$file_var)); ?>" type="video/mp4"> Your browser does not support the video tag. </video> <?php endif; ?> <?php endif; ?> <?php if($SliderBanner->$details_var !=""): ?> <div><?php echo $SliderBanner->$details_var; ?></div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> </div> <?php endif; ?> <?php /**PATH /var/www/bahcrestline/core/resources/views/frontEnd/includes/slider.blade.php ENDPATH**/ ?>