Server IP : 173.249.157.85 / Your IP : 18.217.19.206 Web Server : Apache System : Linux server.frogzhost.com 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 User : econtech ( 1005) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/econtech/public_html/resources2/views/front/ |
Upload File : |
@extends('layouts.front') @section('content') <!-- Inner Section Start --> <section class="inner-area parallax-bg" data-background="{{asset('front/images/FnA_HD.jpg')}}" data-type="parallax" data-speed="3"> <div class="container"> <div class="section-content"> <div class="row"> <div class="col-12"> <h4>{{$event->title}}</h4> <p>Home <a href="#">{{$event->title}}</a></p> </div> </div> </div> </div> </section> <!-- Inner Section End --> <!-- Projects Section Start --> <section class="projects-section"> <div class="container"> <div class="row"> @foreach($all_events as $key => $one_event) <div class="col-md-3"></div> <div class="col-md-6 col-lg-6"> <div class="content mb-5 text-center"> <h3><a href="#">{{$one_event->title}}</a></h3> </div> <!-- <div class="projects-item style-2"> <div class="thumb"> <img src="" alt=""> <div class="content"> <div class="counter-item"> <h1>01</h1> </div> <h3><a href="{{route('pages.second',['slug'=>'events','slug2'=>$one_event->slug])}}">{{$one_event->title}}</a></h3> <h3><a href="#">{{$one_event->title}}</a></h3> </div> </div> {{-- <div class="text-bottom"> <p>{!! substr($one_event->content,0, 81) !!}</p> <a class="project-btn" href="{{route('pages.second',['slug'=>'events','slug2'=>$one_event->slug])}}">View Event</a> </div> --}} </div> --> </div> <div class="col-md-3"></div> <div class="row"> <div class="col-md-3"></div> <div class="col-md-6 col-lg-6"> <div id="slider-style-one-{{$key}}" class="carousel slide bs-slider control-round indicators-line" data-ride="carousel" data-pause="hover" data-interval="5000" style="margin: auto; margin-bottom: 35px;"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#slider-style-one-{{$key}}" data-slide-to="0" class="active"></li> <li data-target="#slider-style-one-{{$key}}" data-slide-to="1"></li> <li data-target="#slider-style-one-{{$key}}" data-slide-to="2"></li> </ol> <!-- Wrapper For Slides --> <div class="carousel-inner" role="listbox"> <!-- Third Slide --> @foreach($one_event->images as $one_image) <div class="carousel-item @if($loop->first) active @endif"> <!-- Slide Background --> <img src="{{asset($one_image->image)}}" alt="Slider Images" style="max-height: 400px;" class="slide-image"/> <div class="bs-slider-overlay"></div> </div> @endforeach <!-- End of Slide --> </div><!-- End of Wrapper For Slides --> <!-- Left Control --> <a class="left carousel-control" href="#slider-style-one-{{$key}}" role="button" data-slide="prev"> <span class="fa fa-angle-left" aria-hidden="true"></span> <span class="sr-only">Previous</span> </a> <!-- Right Control --> <a class="right carousel-control" href="#slider-style-one-{{$key}}" role="button" data-slide="next"> <span class="fa fa-angle-right" aria-hidden="true"></span> <span class="sr-only">Next</span> </a> </div> <!-- End slider-style-one Slider --> </div> <div class="col-md-3"></div> </div> @endforeach </div> </div> </section> <section class="slider-wrapper p-0"> @foreach ($all_events as $key => $one_event) @endforeach </section> @endsection @section('scripts') <script async src="https://static.addtoany.com/menu/page.js"></script> <script type="text/javascript"> var slideIndex = 1; showDivs(slideIndex); function plusDivs(n) { showDivs(slideIndex += n); } function showDivs(n) { var i; var x = document.getElementsByClassName("mySlides"); if (n > x.length) {slideIndex = 1} if (n < 1) {slideIndex = x.length} for (i = 0; i < x.length; i++) { x[i].style.display = "none"; } x[slideIndex-1].style.display = "block"; </script> @endsection