Notice (8): Undefined variable: circulars [APP\View\Layouts\site.ctp, line 473]Code Context
<?php
foreach ($circulars as $circular) {
$viewFile = 'C:\xampp\htdocs\app\View\Layouts\site.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ), 'content_for_layout' => '<!--<style> @import url(http://fonts.googleapis.com/css?family=Anaheim); *{ margin: 0; padding: 0; outline: none; border: none; box-sizing: border-box; } *:before, *:after{ box-sizing: border-box; } .container1{ margin: 4% auto; width: 210px; height: 340px; /*position: relative; */ perspective: 1000px; } #carousel1{ width: 100%; height: 100%; /*position: absolute; */ transform-style: preserve-3d; animation: rotation 20s infinite linear; } #carousel1:hover{ animation-play-state: paused; } #carousel1 figure{ display: block; position: absolute; width: 90%; height: 50%px; left: 10px; top: 10px; background: black; overflow: hidden; border-radius: 5px; border: solid 1px green; } #carousel1 figure:nth-child(1){transform: rotateY(0deg) translateZ(288px);} #carousel1 figure:nth-child(2) { transform: rotateY(40deg) translateZ(288px);} #carousel1 figure:nth-child(3) { transform: rotateY(80deg) translateZ(288px);} #carousel1 figure:nth-child(4) { transform: rotateY(120deg) translateZ(288px);} #carousel1 figure:nth-child(5) { transform: rotateY(160deg) translateZ(288px);} #carousel1 figure:nth-child(6) { transform: rotateY(200deg) translateZ(288px);} #carousel1 figure:nth-child(7) { transform: rotateY(240deg) translateZ(288px);} #carousel1 figure:nth-child(8) { transform: rotateY(280deg) translateZ(288px);} #carousel1 figure:nth-child(9) { transform: rotateY(320deg) translateZ(288px);} img{ //-webkit-filter: grayscale(1); cursor: pointer; transition: all .5s ease; } img:hover{ -webkit-filter: grayscale(0); transform: scale(1.2,1.2); } @keyframes rotation{ from{ transform: rotateY(0deg); } to{ transform: rotateY(360deg); } } .portfolio .thumbnail { position: relative; } .portfolio .thumbnail:hover { cursor: pointer; } .portfolio .caption { bottom: 0; position: absolute; } .portfolio .btn { opacity: 0.75; } .hide-bullets { list-style:none; margin-left: -40px; margin-top:20px; } .thumbnail { padding: 0; height: 80px; width: 110px; //margin: 15px; } .carousel-inner>.item>img, .carousel-inner>.item>a>img { width: 100%; height: 385px; border-radius: 10px; } .col-sm-3 a { border: 1px solid transparent; border-radius: 0; transition: all 3s ease; } .col-sm-3 a:hover { border: 1px solid #ff4647; border-radius: 100% 60% / 30% 10%; background: linear-gradient(rgba(56,123,131,0.7),rgba(56,123,131,0.7)); } </style>--> <style> h1 { text-align: center; margin:20px; } .row > .column { padding: 0 8px; } .row:after { content: ""; display: table; clear: both; } .column { float: left; width: 25%; } .modal { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: black; } /* Modal Content */ .modal-content { position: relative; background-color: #fefefe; margin: auto; padding: 0; width: 90%; max-width: 800px; height: 70%; } /* The Close Button */ .close { color: white; position: absolute; top: 10px; right: 25px; font-size: 35px; font-weight: bold; } .close:hover, .close:focus { color: #999; text-decoration: none; cursor: pointer; } .mySlides { display: none; } .cursor { cursor: pointer } /* Next & previous buttons */ .prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -50px; color: white; font-weight: bold; font-size: 20px; transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none; -webkit-user-select: none; } /* Position the "next button" to the right */ .next { right: 0; border-radius: 3px 0 0 3px; } /* On hover, add a black background color with a little bit see-through */ .prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); } /* Number text (1/3 etc) */ .numbertext { color: #f2f2f2; font-size: 12px; padding: 8px 12px; position: absolute; top: 0; } img { margin-bottom: -4px; } .caption-container { text-align: center; background-color: black; padding: 2px 16px; color: white; } .demo { opacity: 0.6; } .active, .demo:hover { opacity: 1; } img.hover-shadow { transition: 0.3s } .hover-shadow:hover { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) } </style> <script> jQuery(document).ready(function ($) { $('#myCarousel').carousel({ interval: 5000 }); //Handles the carousel thumbnails $('[id^=carousel-selector-]').click(function () { var id_selector = $(this).attr("id"); try { var id = /-(\d+)$/.exec(id_selector)[1]; console.log(id_selector, id); jQuery('#myCarousel').carousel(parseInt(id)); } catch (e) { console.log('Regex failed!', e); } }); // When the carousel slides, auto update the text $('#myCarousel').on('slid.bs.carousel', function (e) { var id = $('.item.active').data('slide-number'); $('#carousel-text').html($('#slide-content-' + id).html()); }); }); </script> <!-- page header section --> <div class="page-title"> <div class="container" > <div class="row" style="background-color: rgb(0,100,130);"> <div class="col-md-12 ptn-bg"> <h2>Photo Gallery</h2> <ol class="breadcrumb"> <li><a href="/home">Home</a></li> <li><a href="/about-us">About Us</a></li> <li class="active">Photo Gallery</li> </ol> </div> </div> </div> </div> <!-- banner section ending--> <div class="container-fluid things"> <div> <h1>Photo Gallery</h1><hr style="border-top: 1px solid lightgray;width:80%;"> </div> <div class="row"> <div class="column"> <img src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%;" onclick="openModal();currentSlide(1)"> </div> <div class="column"> <img src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%;" onclick="openModal();currentSlide(2)"> </div> <div class="column"> <img src="/img/not_available" style="width:100%;" onclick="openModal();currentSlide(3)"> </div> </div> <div id="myModal" class="modal"> <span class="close cursor" onclick="closeModal()">×</span> <div class="modal-content"> <div class="mySlides"> <div class="numbertext"> 1 / 3</div> <img src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%"> </div> <div class="mySlides"> <div class="numbertext"> 2 / 3</div> <img src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%"> </div> <div class="mySlides"> <div class="numbertext"> 3 / 3</div> <img src="/img/not_available" style="width:100%"> </div> <a class="prev" onclick="plusSlides(-1)">❮</a> <a class="next" onclick="plusSlides(1)">❯</a> <div class="caption-container"> <p id="caption"></p> </div> <div class="column"> <img class="demo cursor" src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%" onclick="currentSlide(1)" alt="Nature and sunrise"> </div> <div class="column"> <img class="demo cursor" src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%" onclick="currentSlide(2)" alt="Nature and sunrise"> </div> <div class="column"> <img class="demo cursor" src="/img/not_available" style="width:100%" onclick="currentSlide(3)" alt="Nature and sunrise"> </div> </div> </div> </div> <script> function openModal() { document.getElementById('myModal').style.display = "block"; } function closeModal() { document.getElementById('myModal').style.display = "none"; } var slideIndex = 1; showSlides(slideIndex); function plusSlides(n) { showSlides(slideIndex += n); } function currentSlide(n) { showSlides(slideIndex = n); } function showSlides(n) { var i; var slides = document.getElementsByClassName("mySlides"); var dots = document.getElementsByClassName("demo"); var captionText = document.getElementById("caption"); if (n > slides.length) { slideIndex = 1 } if (n < 1) { slideIndex = slides.length } for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" active", ""); } slides[slideIndex - 1].style.display = "block"; dots[slideIndex - 1].className += " active"; captionText.innerHTML = dots[slideIndex - 1].alt; } </script> <!-- Service start --> <!--div class="causes-service" style="margin-top: 0px;"> <div class="container"> <div class="row"> <div class="col-md-12 title"> <h1>Golden Moments</h1> </div> </div> <div class="row service-blk"> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-trace').style.display = (document.getElementById('cakeErr6700b0a350111-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: memory [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>414</b>]<div id="cakeErr6700b0a350111-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-code').style.display = (document.getElementById('cakeErr6700b0a350111-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-context').style.display = (document.getElementById('cakeErr6700b0a350111-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a350111-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"row service-blk"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><?php</span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) {</span></span></code></span></pre><pre id="cakeErr6700b0a350111-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 414 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-trace').style.display = (document.getElementById('cakeErr6700b0a350edb-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Invalid argument supplied for foreach() [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>414</b>]<div id="cakeErr6700b0a350edb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-code').style.display = (document.getElementById('cakeErr6700b0a350edb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-context').style.display = (document.getElementById('cakeErr6700b0a350edb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a350edb-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"row service-blk"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><?php</span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) {</span></span></code></span></pre><pre id="cakeErr6700b0a350edb-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 414 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre> </div> </div--> <!-- <div class="container1" style="margin-top: 150px;"> <div id="carousel1"> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-trace').style.display = (document.getElementById('cakeErr6700b0a351c80-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: memory [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>432</b>]<div id="cakeErr6700b0a351c80-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-code').style.display = (document.getElementById('cakeErr6700b0a351c80-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-context').style.display = (document.getElementById('cakeErr6700b0a351c80-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a351c80-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700"><!-- <</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"container1" </span><span style="color: #0000BB">style</span><span style="color: #007700">=</span><span style="color: #DD0000">"margin-top: 150px;"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div id</span><span style="color: #007700">=</span><span style="color: #DD0000">"carousel1"</span><span style="color: #007700">></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) { </span><span style="color: #0000BB">?></span></span></code></span></pre><pre id="cakeErr6700b0a351c80-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 432 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-trace').style.display = (document.getElementById('cakeErr6700b0a3529fe-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Invalid argument supplied for foreach() [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>432</b>]<div id="cakeErr6700b0a3529fe-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-code').style.display = (document.getElementById('cakeErr6700b0a3529fe-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-context').style.display = (document.getElementById('cakeErr6700b0a3529fe-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a3529fe-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700"><!-- <</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"container1" </span><span style="color: #0000BB">style</span><span style="color: #007700">=</span><span style="color: #DD0000">"margin-top: 150px;"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div id</span><span style="color: #007700">=</span><span style="color: #DD0000">"carousel1"</span><span style="color: #007700">></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) { </span><span style="color: #0000BB">?></span></span></code></span></pre><pre id="cakeErr6700b0a3529fe-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 432 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre> <figure><img src="images/1433.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/college_2.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/full.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/road.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn5.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn1.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn2.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn3.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn4.jpg" alt="" height="175" width="100%"></figure> </div> </div>--> <!--<div class="things" style="margin-top: -80px;padding: 70px;"> <h1 style="text-align: center;margin-bottom:50px;">Image Gallery</h1> <div class="container"> <div id="main_area"> Slider <div class="row"> <div class="col-sm-6 visible-lg visible-md visible-sm" id="slider-thumbs"> Bottom switcher of slider <ul class="hide-bullets"> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-16" style="height: 100%"> <img src="images/foyr.jpg"> </a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-1" style="height: 100%"><img src="images/lib4.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-2" style="height: 100%"><img src="images/staffroom.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-3" style="height: 100%"><img src="images/lib.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-4" style="height: 100%"><img src="images/rnd.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-5" style="height: 100%"><img src="images/class.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-6" style="height: 100%"><img src="images/complab.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-7" style="height: 100%"><img src="images/rnd2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-8" style="height: 100%"><img src="images/lib3.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-9" style="height: 100%"><img src="images/cadcam.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-10" style="height: 100%"><img src="images/hostel.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-11" style="height: 100%"><img src="images/complab2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-12" style="height: 100%"><img src="images/lib2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-13" style="height: 100%"><img src="images/canteen.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-14" style="height: 100%"><img src="images/itlab.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-15" style="height: 100%"><img src="images/site1.jpg"></a> </li> </ul> </div> <div class="col-sm-6"> <div class="col-xs-12" id="slider"> Top part of the slider <div class="row"> <div class="col-sm-12" id="carousel-bounding-box"> <div class="carousel slide" id="myCarousel"> Carousel items <div class="carousel-inner"> <div class="active item" data-slide-number="16"> <img src="images/foyr.jpg"></div> <div class="item" data-slide-number="1"> <img src="images/lib4.jpg"></div> <div class="item" data-slide-number="2"> <img src="images/staffroom.jpg"></div> <div class="item" data-slide-number="3"> <img src="images/lib.jpg"></div> <div class="item" data-slide-number="4"> <img src="images/rnd.jpg"></div> <div class="item" data-slide-number="5"> <img src="images/class.jpg"></div> <div class="item" data-slide-number="6"> <img src="images/complab.jpg"></div> <div class="item" data-slide-number="7"> <img src="images/rnd2.jpg"></div> <div class="item" data-slide-number="8"> <img src="images/lib3.jpg"></div> <div class="item" data-slide-number="9"> <img src="images/cadcam.jpg"></div> <div class="item" data-slide-number="10"> <img src="images/hostel.jpg"></div> <div class="item" data-slide-number="11"> <img src="images/complab2.jpg"></div> <div class="item" data-slide-number="12"> <img src="images/lib2.jpg"></div> <div class="item" data-slide2-number="13"> <img src="images/canteen.jpg"></div> <div class="item" data-slide-number="14"> <img src="images/itlab.jpg"></div> <div class="item" data-slide-number="15"> <img src="images/site1.jpg"></div> </div> Carousel nav <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> </div> /Slider </div> </div> </div> </div>-->', 'scripts_for_layout' => '', 'title_for_layout' => 'Aboutus' ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $content_for_layout = '<!--<style> @import url(http://fonts.googleapis.com/css?family=Anaheim); *{ margin: 0; padding: 0; outline: none; border: none; box-sizing: border-box; } *:before, *:after{ box-sizing: border-box; } .container1{ margin: 4% auto; width: 210px; height: 340px; /*position: relative; */ perspective: 1000px; } #carousel1{ width: 100%; height: 100%; /*position: absolute; */ transform-style: preserve-3d; animation: rotation 20s infinite linear; } #carousel1:hover{ animation-play-state: paused; } #carousel1 figure{ display: block; position: absolute; width: 90%; height: 50%px; left: 10px; top: 10px; background: black; overflow: hidden; border-radius: 5px; border: solid 1px green; } #carousel1 figure:nth-child(1){transform: rotateY(0deg) translateZ(288px);} #carousel1 figure:nth-child(2) { transform: rotateY(40deg) translateZ(288px);} #carousel1 figure:nth-child(3) { transform: rotateY(80deg) translateZ(288px);} #carousel1 figure:nth-child(4) { transform: rotateY(120deg) translateZ(288px);} #carousel1 figure:nth-child(5) { transform: rotateY(160deg) translateZ(288px);} #carousel1 figure:nth-child(6) { transform: rotateY(200deg) translateZ(288px);} #carousel1 figure:nth-child(7) { transform: rotateY(240deg) translateZ(288px);} #carousel1 figure:nth-child(8) { transform: rotateY(280deg) translateZ(288px);} #carousel1 figure:nth-child(9) { transform: rotateY(320deg) translateZ(288px);} img{ //-webkit-filter: grayscale(1); cursor: pointer; transition: all .5s ease; } img:hover{ -webkit-filter: grayscale(0); transform: scale(1.2,1.2); } @keyframes rotation{ from{ transform: rotateY(0deg); } to{ transform: rotateY(360deg); } } .portfolio .thumbnail { position: relative; } .portfolio .thumbnail:hover { cursor: pointer; } .portfolio .caption { bottom: 0; position: absolute; } .portfolio .btn { opacity: 0.75; } .hide-bullets { list-style:none; margin-left: -40px; margin-top:20px; } .thumbnail { padding: 0; height: 80px; width: 110px; //margin: 15px; } .carousel-inner>.item>img, .carousel-inner>.item>a>img { width: 100%; height: 385px; border-radius: 10px; } .col-sm-3 a { border: 1px solid transparent; border-radius: 0; transition: all 3s ease; } .col-sm-3 a:hover { border: 1px solid #ff4647; border-radius: 100% 60% / 30% 10%; background: linear-gradient(rgba(56,123,131,0.7),rgba(56,123,131,0.7)); } </style>--> <style> h1 { text-align: center; margin:20px; } .row > .column { padding: 0 8px; } .row:after { content: ""; display: table; clear: both; } .column { float: left; width: 25%; } .modal { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: black; } /* Modal Content */ .modal-content { position: relative; background-color: #fefefe; margin: auto; padding: 0; width: 90%; max-width: 800px; height: 70%; } /* The Close Button */ .close { color: white; position: absolute; top: 10px; right: 25px; font-size: 35px; font-weight: bold; } .close:hover, .close:focus { color: #999; text-decoration: none; cursor: pointer; } .mySlides { display: none; } .cursor { cursor: pointer } /* Next & previous buttons */ .prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -50px; color: white; font-weight: bold; font-size: 20px; transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none; -webkit-user-select: none; } /* Position the "next button" to the right */ .next { right: 0; border-radius: 3px 0 0 3px; } /* On hover, add a black background color with a little bit see-through */ .prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); } /* Number text (1/3 etc) */ .numbertext { color: #f2f2f2; font-size: 12px; padding: 8px 12px; position: absolute; top: 0; } img { margin-bottom: -4px; } .caption-container { text-align: center; background-color: black; padding: 2px 16px; color: white; } .demo { opacity: 0.6; } .active, .demo:hover { opacity: 1; } img.hover-shadow { transition: 0.3s } .hover-shadow:hover { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) } </style> <script> jQuery(document).ready(function ($) { $('#myCarousel').carousel({ interval: 5000 }); //Handles the carousel thumbnails $('[id^=carousel-selector-]').click(function () { var id_selector = $(this).attr("id"); try { var id = /-(\d+)$/.exec(id_selector)[1]; console.log(id_selector, id); jQuery('#myCarousel').carousel(parseInt(id)); } catch (e) { console.log('Regex failed!', e); } }); // When the carousel slides, auto update the text $('#myCarousel').on('slid.bs.carousel', function (e) { var id = $('.item.active').data('slide-number'); $('#carousel-text').html($('#slide-content-' + id).html()); }); }); </script> <!-- page header section --> <div class="page-title"> <div class="container" > <div class="row" style="background-color: rgb(0,100,130);"> <div class="col-md-12 ptn-bg"> <h2>Photo Gallery</h2> <ol class="breadcrumb"> <li><a href="/home">Home</a></li> <li><a href="/about-us">About Us</a></li> <li class="active">Photo Gallery</li> </ol> </div> </div> </div> </div> <!-- banner section ending--> <div class="container-fluid things"> <div> <h1>Photo Gallery</h1><hr style="border-top: 1px solid lightgray;width:80%;"> </div> <div class="row"> <div class="column"> <img src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%;" onclick="openModal();currentSlide(1)"> </div> <div class="column"> <img src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%;" onclick="openModal();currentSlide(2)"> </div> <div class="column"> <img src="/img/not_available" style="width:100%;" onclick="openModal();currentSlide(3)"> </div> </div> <div id="myModal" class="modal"> <span class="close cursor" onclick="closeModal()">×</span> <div class="modal-content"> <div class="mySlides"> <div class="numbertext"> 1 / 3</div> <img src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%"> </div> <div class="mySlides"> <div class="numbertext"> 2 / 3</div> <img src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%"> </div> <div class="mySlides"> <div class="numbertext"> 3 / 3</div> <img src="/img/not_available" style="width:100%"> </div> <a class="prev" onclick="plusSlides(-1)">❮</a> <a class="next" onclick="plusSlides(1)">❯</a> <div class="caption-container"> <p id="caption"></p> </div> <div class="column"> <img class="demo cursor" src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%" onclick="currentSlide(1)" alt="Nature and sunrise"> </div> <div class="column"> <img class="demo cursor" src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%" onclick="currentSlide(2)" alt="Nature and sunrise"> </div> <div class="column"> <img class="demo cursor" src="/img/not_available" style="width:100%" onclick="currentSlide(3)" alt="Nature and sunrise"> </div> </div> </div> </div> <script> function openModal() { document.getElementById('myModal').style.display = "block"; } function closeModal() { document.getElementById('myModal').style.display = "none"; } var slideIndex = 1; showSlides(slideIndex); function plusSlides(n) { showSlides(slideIndex += n); } function currentSlide(n) { showSlides(slideIndex = n); } function showSlides(n) { var i; var slides = document.getElementsByClassName("mySlides"); var dots = document.getElementsByClassName("demo"); var captionText = document.getElementById("caption"); if (n > slides.length) { slideIndex = 1 } if (n < 1) { slideIndex = slides.length } for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" active", ""); } slides[slideIndex - 1].style.display = "block"; dots[slideIndex - 1].className += " active"; captionText.innerHTML = dots[slideIndex - 1].alt; } </script> <!-- Service start --> <!--div class="causes-service" style="margin-top: 0px;"> <div class="container"> <div class="row"> <div class="col-md-12 title"> <h1>Golden Moments</h1> </div> </div> <div class="row service-blk"> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-trace').style.display = (document.getElementById('cakeErr6700b0a350111-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: memory [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>414</b>]<div id="cakeErr6700b0a350111-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-code').style.display = (document.getElementById('cakeErr6700b0a350111-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-context').style.display = (document.getElementById('cakeErr6700b0a350111-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a350111-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"row service-blk"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><?php</span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) {</span></span></code></span></pre><pre id="cakeErr6700b0a350111-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 414 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-trace').style.display = (document.getElementById('cakeErr6700b0a350edb-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Invalid argument supplied for foreach() [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>414</b>]<div id="cakeErr6700b0a350edb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-code').style.display = (document.getElementById('cakeErr6700b0a350edb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-context').style.display = (document.getElementById('cakeErr6700b0a350edb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a350edb-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"row service-blk"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><?php</span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) {</span></span></code></span></pre><pre id="cakeErr6700b0a350edb-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 414 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre> </div> </div--> <!-- <div class="container1" style="margin-top: 150px;"> <div id="carousel1"> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-trace').style.display = (document.getElementById('cakeErr6700b0a351c80-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: memory [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>432</b>]<div id="cakeErr6700b0a351c80-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-code').style.display = (document.getElementById('cakeErr6700b0a351c80-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-context').style.display = (document.getElementById('cakeErr6700b0a351c80-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a351c80-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700"><!-- <</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"container1" </span><span style="color: #0000BB">style</span><span style="color: #007700">=</span><span style="color: #DD0000">"margin-top: 150px;"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div id</span><span style="color: #007700">=</span><span style="color: #DD0000">"carousel1"</span><span style="color: #007700">></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) { </span><span style="color: #0000BB">?></span></span></code></span></pre><pre id="cakeErr6700b0a351c80-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 432 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-trace').style.display = (document.getElementById('cakeErr6700b0a3529fe-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Invalid argument supplied for foreach() [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>432</b>]<div id="cakeErr6700b0a3529fe-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-code').style.display = (document.getElementById('cakeErr6700b0a3529fe-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-context').style.display = (document.getElementById('cakeErr6700b0a3529fe-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a3529fe-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700"><!-- <</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"container1" </span><span style="color: #0000BB">style</span><span style="color: #007700">=</span><span style="color: #DD0000">"margin-top: 150px;"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div id</span><span style="color: #007700">=</span><span style="color: #DD0000">"carousel1"</span><span style="color: #007700">></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) { </span><span style="color: #0000BB">?></span></span></code></span></pre><pre id="cakeErr6700b0a3529fe-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 432 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre> <figure><img src="images/1433.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/college_2.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/full.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/road.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn5.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn1.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn2.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn3.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn4.jpg" alt="" height="175" width="100%"></figure> </div> </div>--> <!--<div class="things" style="margin-top: -80px;padding: 70px;"> <h1 style="text-align: center;margin-bottom:50px;">Image Gallery</h1> <div class="container"> <div id="main_area"> Slider <div class="row"> <div class="col-sm-6 visible-lg visible-md visible-sm" id="slider-thumbs"> Bottom switcher of slider <ul class="hide-bullets"> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-16" style="height: 100%"> <img src="images/foyr.jpg"> </a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-1" style="height: 100%"><img src="images/lib4.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-2" style="height: 100%"><img src="images/staffroom.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-3" style="height: 100%"><img src="images/lib.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-4" style="height: 100%"><img src="images/rnd.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-5" style="height: 100%"><img src="images/class.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-6" style="height: 100%"><img src="images/complab.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-7" style="height: 100%"><img src="images/rnd2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-8" style="height: 100%"><img src="images/lib3.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-9" style="height: 100%"><img src="images/cadcam.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-10" style="height: 100%"><img src="images/hostel.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-11" style="height: 100%"><img src="images/complab2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-12" style="height: 100%"><img src="images/lib2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-13" style="height: 100%"><img src="images/canteen.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-14" style="height: 100%"><img src="images/itlab.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-15" style="height: 100%"><img src="images/site1.jpg"></a> </li> </ul> </div> <div class="col-sm-6"> <div class="col-xs-12" id="slider"> Top part of the slider <div class="row"> <div class="col-sm-12" id="carousel-bounding-box"> <div class="carousel slide" id="myCarousel"> Carousel items <div class="carousel-inner"> <div class="active item" data-slide-number="16"> <img src="images/foyr.jpg"></div> <div class="item" data-slide-number="1"> <img src="images/lib4.jpg"></div> <div class="item" data-slide-number="2"> <img src="images/staffroom.jpg"></div> <div class="item" data-slide-number="3"> <img src="images/lib.jpg"></div> <div class="item" data-slide-number="4"> <img src="images/rnd.jpg"></div> <div class="item" data-slide-number="5"> <img src="images/class.jpg"></div> <div class="item" data-slide-number="6"> <img src="images/complab.jpg"></div> <div class="item" data-slide-number="7"> <img src="images/rnd2.jpg"></div> <div class="item" data-slide-number="8"> <img src="images/lib3.jpg"></div> <div class="item" data-slide-number="9"> <img src="images/cadcam.jpg"></div> <div class="item" data-slide-number="10"> <img src="images/hostel.jpg"></div> <div class="item" data-slide-number="11"> <img src="images/complab2.jpg"></div> <div class="item" data-slide-number="12"> <img src="images/lib2.jpg"></div> <div class="item" data-slide2-number="13"> <img src="images/canteen.jpg"></div> <div class="item" data-slide-number="14"> <img src="images/itlab.jpg"></div> <div class="item" data-slide-number="15"> <img src="images/site1.jpg"></div> </div> Carousel nav <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> </div> /Slider </div> </div> </div> </div>-->' $scripts_for_layout = '' $title_for_layout = 'Aboutus'include - APP\View\Layouts\site.ctp, line 473 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::renderLayout() - CORE\Cake\View\View.php, line 543 View::render() - CORE\Cake\View\View.php, line 487 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105
Warning (2): Invalid argument supplied for foreach() [APP\View\Layouts\site.ctp, line 473]Code Context
<?php
foreach ($circulars as $circular) {
$viewFile = 'C:\xampp\htdocs\app\View\Layouts\site.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ), 'content_for_layout' => '<!--<style> @import url(http://fonts.googleapis.com/css?family=Anaheim); *{ margin: 0; padding: 0; outline: none; border: none; box-sizing: border-box; } *:before, *:after{ box-sizing: border-box; } .container1{ margin: 4% auto; width: 210px; height: 340px; /*position: relative; */ perspective: 1000px; } #carousel1{ width: 100%; height: 100%; /*position: absolute; */ transform-style: preserve-3d; animation: rotation 20s infinite linear; } #carousel1:hover{ animation-play-state: paused; } #carousel1 figure{ display: block; position: absolute; width: 90%; height: 50%px; left: 10px; top: 10px; background: black; overflow: hidden; border-radius: 5px; border: solid 1px green; } #carousel1 figure:nth-child(1){transform: rotateY(0deg) translateZ(288px);} #carousel1 figure:nth-child(2) { transform: rotateY(40deg) translateZ(288px);} #carousel1 figure:nth-child(3) { transform: rotateY(80deg) translateZ(288px);} #carousel1 figure:nth-child(4) { transform: rotateY(120deg) translateZ(288px);} #carousel1 figure:nth-child(5) { transform: rotateY(160deg) translateZ(288px);} #carousel1 figure:nth-child(6) { transform: rotateY(200deg) translateZ(288px);} #carousel1 figure:nth-child(7) { transform: rotateY(240deg) translateZ(288px);} #carousel1 figure:nth-child(8) { transform: rotateY(280deg) translateZ(288px);} #carousel1 figure:nth-child(9) { transform: rotateY(320deg) translateZ(288px);} img{ //-webkit-filter: grayscale(1); cursor: pointer; transition: all .5s ease; } img:hover{ -webkit-filter: grayscale(0); transform: scale(1.2,1.2); } @keyframes rotation{ from{ transform: rotateY(0deg); } to{ transform: rotateY(360deg); } } .portfolio .thumbnail { position: relative; } .portfolio .thumbnail:hover { cursor: pointer; } .portfolio .caption { bottom: 0; position: absolute; } .portfolio .btn { opacity: 0.75; } .hide-bullets { list-style:none; margin-left: -40px; margin-top:20px; } .thumbnail { padding: 0; height: 80px; width: 110px; //margin: 15px; } .carousel-inner>.item>img, .carousel-inner>.item>a>img { width: 100%; height: 385px; border-radius: 10px; } .col-sm-3 a { border: 1px solid transparent; border-radius: 0; transition: all 3s ease; } .col-sm-3 a:hover { border: 1px solid #ff4647; border-radius: 100% 60% / 30% 10%; background: linear-gradient(rgba(56,123,131,0.7),rgba(56,123,131,0.7)); } </style>--> <style> h1 { text-align: center; margin:20px; } .row > .column { padding: 0 8px; } .row:after { content: ""; display: table; clear: both; } .column { float: left; width: 25%; } .modal { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: black; } /* Modal Content */ .modal-content { position: relative; background-color: #fefefe; margin: auto; padding: 0; width: 90%; max-width: 800px; height: 70%; } /* The Close Button */ .close { color: white; position: absolute; top: 10px; right: 25px; font-size: 35px; font-weight: bold; } .close:hover, .close:focus { color: #999; text-decoration: none; cursor: pointer; } .mySlides { display: none; } .cursor { cursor: pointer } /* Next & previous buttons */ .prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -50px; color: white; font-weight: bold; font-size: 20px; transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none; -webkit-user-select: none; } /* Position the "next button" to the right */ .next { right: 0; border-radius: 3px 0 0 3px; } /* On hover, add a black background color with a little bit see-through */ .prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); } /* Number text (1/3 etc) */ .numbertext { color: #f2f2f2; font-size: 12px; padding: 8px 12px; position: absolute; top: 0; } img { margin-bottom: -4px; } .caption-container { text-align: center; background-color: black; padding: 2px 16px; color: white; } .demo { opacity: 0.6; } .active, .demo:hover { opacity: 1; } img.hover-shadow { transition: 0.3s } .hover-shadow:hover { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) } </style> <script> jQuery(document).ready(function ($) { $('#myCarousel').carousel({ interval: 5000 }); //Handles the carousel thumbnails $('[id^=carousel-selector-]').click(function () { var id_selector = $(this).attr("id"); try { var id = /-(\d+)$/.exec(id_selector)[1]; console.log(id_selector, id); jQuery('#myCarousel').carousel(parseInt(id)); } catch (e) { console.log('Regex failed!', e); } }); // When the carousel slides, auto update the text $('#myCarousel').on('slid.bs.carousel', function (e) { var id = $('.item.active').data('slide-number'); $('#carousel-text').html($('#slide-content-' + id).html()); }); }); </script> <!-- page header section --> <div class="page-title"> <div class="container" > <div class="row" style="background-color: rgb(0,100,130);"> <div class="col-md-12 ptn-bg"> <h2>Photo Gallery</h2> <ol class="breadcrumb"> <li><a href="/home">Home</a></li> <li><a href="/about-us">About Us</a></li> <li class="active">Photo Gallery</li> </ol> </div> </div> </div> </div> <!-- banner section ending--> <div class="container-fluid things"> <div> <h1>Photo Gallery</h1><hr style="border-top: 1px solid lightgray;width:80%;"> </div> <div class="row"> <div class="column"> <img src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%;" onclick="openModal();currentSlide(1)"> </div> <div class="column"> <img src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%;" onclick="openModal();currentSlide(2)"> </div> <div class="column"> <img src="/img/not_available" style="width:100%;" onclick="openModal();currentSlide(3)"> </div> </div> <div id="myModal" class="modal"> <span class="close cursor" onclick="closeModal()">×</span> <div class="modal-content"> <div class="mySlides"> <div class="numbertext"> 1 / 3</div> <img src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%"> </div> <div class="mySlides"> <div class="numbertext"> 2 / 3</div> <img src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%"> </div> <div class="mySlides"> <div class="numbertext"> 3 / 3</div> <img src="/img/not_available" style="width:100%"> </div> <a class="prev" onclick="plusSlides(-1)">❮</a> <a class="next" onclick="plusSlides(1)">❯</a> <div class="caption-container"> <p id="caption"></p> </div> <div class="column"> <img class="demo cursor" src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%" onclick="currentSlide(1)" alt="Nature and sunrise"> </div> <div class="column"> <img class="demo cursor" src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%" onclick="currentSlide(2)" alt="Nature and sunrise"> </div> <div class="column"> <img class="demo cursor" src="/img/not_available" style="width:100%" onclick="currentSlide(3)" alt="Nature and sunrise"> </div> </div> </div> </div> <script> function openModal() { document.getElementById('myModal').style.display = "block"; } function closeModal() { document.getElementById('myModal').style.display = "none"; } var slideIndex = 1; showSlides(slideIndex); function plusSlides(n) { showSlides(slideIndex += n); } function currentSlide(n) { showSlides(slideIndex = n); } function showSlides(n) { var i; var slides = document.getElementsByClassName("mySlides"); var dots = document.getElementsByClassName("demo"); var captionText = document.getElementById("caption"); if (n > slides.length) { slideIndex = 1 } if (n < 1) { slideIndex = slides.length } for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" active", ""); } slides[slideIndex - 1].style.display = "block"; dots[slideIndex - 1].className += " active"; captionText.innerHTML = dots[slideIndex - 1].alt; } </script> <!-- Service start --> <!--div class="causes-service" style="margin-top: 0px;"> <div class="container"> <div class="row"> <div class="col-md-12 title"> <h1>Golden Moments</h1> </div> </div> <div class="row service-blk"> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-trace').style.display = (document.getElementById('cakeErr6700b0a350111-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: memory [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>414</b>]<div id="cakeErr6700b0a350111-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-code').style.display = (document.getElementById('cakeErr6700b0a350111-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-context').style.display = (document.getElementById('cakeErr6700b0a350111-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a350111-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"row service-blk"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><?php</span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) {</span></span></code></span></pre><pre id="cakeErr6700b0a350111-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 414 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-trace').style.display = (document.getElementById('cakeErr6700b0a350edb-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Invalid argument supplied for foreach() [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>414</b>]<div id="cakeErr6700b0a350edb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-code').style.display = (document.getElementById('cakeErr6700b0a350edb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-context').style.display = (document.getElementById('cakeErr6700b0a350edb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a350edb-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"row service-blk"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><?php</span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) {</span></span></code></span></pre><pre id="cakeErr6700b0a350edb-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 414 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre> </div> </div--> <!-- <div class="container1" style="margin-top: 150px;"> <div id="carousel1"> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-trace').style.display = (document.getElementById('cakeErr6700b0a351c80-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: memory [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>432</b>]<div id="cakeErr6700b0a351c80-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-code').style.display = (document.getElementById('cakeErr6700b0a351c80-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-context').style.display = (document.getElementById('cakeErr6700b0a351c80-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a351c80-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700"><!-- <</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"container1" </span><span style="color: #0000BB">style</span><span style="color: #007700">=</span><span style="color: #DD0000">"margin-top: 150px;"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div id</span><span style="color: #007700">=</span><span style="color: #DD0000">"carousel1"</span><span style="color: #007700">></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) { </span><span style="color: #0000BB">?></span></span></code></span></pre><pre id="cakeErr6700b0a351c80-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 432 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-trace').style.display = (document.getElementById('cakeErr6700b0a3529fe-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Invalid argument supplied for foreach() [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>432</b>]<div id="cakeErr6700b0a3529fe-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-code').style.display = (document.getElementById('cakeErr6700b0a3529fe-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-context').style.display = (document.getElementById('cakeErr6700b0a3529fe-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a3529fe-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700"><!-- <</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"container1" </span><span style="color: #0000BB">style</span><span style="color: #007700">=</span><span style="color: #DD0000">"margin-top: 150px;"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div id</span><span style="color: #007700">=</span><span style="color: #DD0000">"carousel1"</span><span style="color: #007700">></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) { </span><span style="color: #0000BB">?></span></span></code></span></pre><pre id="cakeErr6700b0a3529fe-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 432 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre> <figure><img src="images/1433.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/college_2.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/full.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/road.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn5.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn1.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn2.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn3.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn4.jpg" alt="" height="175" width="100%"></figure> </div> </div>--> <!--<div class="things" style="margin-top: -80px;padding: 70px;"> <h1 style="text-align: center;margin-bottom:50px;">Image Gallery</h1> <div class="container"> <div id="main_area"> Slider <div class="row"> <div class="col-sm-6 visible-lg visible-md visible-sm" id="slider-thumbs"> Bottom switcher of slider <ul class="hide-bullets"> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-16" style="height: 100%"> <img src="images/foyr.jpg"> </a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-1" style="height: 100%"><img src="images/lib4.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-2" style="height: 100%"><img src="images/staffroom.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-3" style="height: 100%"><img src="images/lib.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-4" style="height: 100%"><img src="images/rnd.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-5" style="height: 100%"><img src="images/class.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-6" style="height: 100%"><img src="images/complab.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-7" style="height: 100%"><img src="images/rnd2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-8" style="height: 100%"><img src="images/lib3.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-9" style="height: 100%"><img src="images/cadcam.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-10" style="height: 100%"><img src="images/hostel.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-11" style="height: 100%"><img src="images/complab2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-12" style="height: 100%"><img src="images/lib2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-13" style="height: 100%"><img src="images/canteen.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-14" style="height: 100%"><img src="images/itlab.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-15" style="height: 100%"><img src="images/site1.jpg"></a> </li> </ul> </div> <div class="col-sm-6"> <div class="col-xs-12" id="slider"> Top part of the slider <div class="row"> <div class="col-sm-12" id="carousel-bounding-box"> <div class="carousel slide" id="myCarousel"> Carousel items <div class="carousel-inner"> <div class="active item" data-slide-number="16"> <img src="images/foyr.jpg"></div> <div class="item" data-slide-number="1"> <img src="images/lib4.jpg"></div> <div class="item" data-slide-number="2"> <img src="images/staffroom.jpg"></div> <div class="item" data-slide-number="3"> <img src="images/lib.jpg"></div> <div class="item" data-slide-number="4"> <img src="images/rnd.jpg"></div> <div class="item" data-slide-number="5"> <img src="images/class.jpg"></div> <div class="item" data-slide-number="6"> <img src="images/complab.jpg"></div> <div class="item" data-slide-number="7"> <img src="images/rnd2.jpg"></div> <div class="item" data-slide-number="8"> <img src="images/lib3.jpg"></div> <div class="item" data-slide-number="9"> <img src="images/cadcam.jpg"></div> <div class="item" data-slide-number="10"> <img src="images/hostel.jpg"></div> <div class="item" data-slide-number="11"> <img src="images/complab2.jpg"></div> <div class="item" data-slide-number="12"> <img src="images/lib2.jpg"></div> <div class="item" data-slide2-number="13"> <img src="images/canteen.jpg"></div> <div class="item" data-slide-number="14"> <img src="images/itlab.jpg"></div> <div class="item" data-slide-number="15"> <img src="images/site1.jpg"></div> </div> Carousel nav <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> </div> /Slider </div> </div> </div> </div>-->', 'scripts_for_layout' => '', 'title_for_layout' => 'Aboutus' ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $content_for_layout = '<!--<style> @import url(http://fonts.googleapis.com/css?family=Anaheim); *{ margin: 0; padding: 0; outline: none; border: none; box-sizing: border-box; } *:before, *:after{ box-sizing: border-box; } .container1{ margin: 4% auto; width: 210px; height: 340px; /*position: relative; */ perspective: 1000px; } #carousel1{ width: 100%; height: 100%; /*position: absolute; */ transform-style: preserve-3d; animation: rotation 20s infinite linear; } #carousel1:hover{ animation-play-state: paused; } #carousel1 figure{ display: block; position: absolute; width: 90%; height: 50%px; left: 10px; top: 10px; background: black; overflow: hidden; border-radius: 5px; border: solid 1px green; } #carousel1 figure:nth-child(1){transform: rotateY(0deg) translateZ(288px);} #carousel1 figure:nth-child(2) { transform: rotateY(40deg) translateZ(288px);} #carousel1 figure:nth-child(3) { transform: rotateY(80deg) translateZ(288px);} #carousel1 figure:nth-child(4) { transform: rotateY(120deg) translateZ(288px);} #carousel1 figure:nth-child(5) { transform: rotateY(160deg) translateZ(288px);} #carousel1 figure:nth-child(6) { transform: rotateY(200deg) translateZ(288px);} #carousel1 figure:nth-child(7) { transform: rotateY(240deg) translateZ(288px);} #carousel1 figure:nth-child(8) { transform: rotateY(280deg) translateZ(288px);} #carousel1 figure:nth-child(9) { transform: rotateY(320deg) translateZ(288px);} img{ //-webkit-filter: grayscale(1); cursor: pointer; transition: all .5s ease; } img:hover{ -webkit-filter: grayscale(0); transform: scale(1.2,1.2); } @keyframes rotation{ from{ transform: rotateY(0deg); } to{ transform: rotateY(360deg); } } .portfolio .thumbnail { position: relative; } .portfolio .thumbnail:hover { cursor: pointer; } .portfolio .caption { bottom: 0; position: absolute; } .portfolio .btn { opacity: 0.75; } .hide-bullets { list-style:none; margin-left: -40px; margin-top:20px; } .thumbnail { padding: 0; height: 80px; width: 110px; //margin: 15px; } .carousel-inner>.item>img, .carousel-inner>.item>a>img { width: 100%; height: 385px; border-radius: 10px; } .col-sm-3 a { border: 1px solid transparent; border-radius: 0; transition: all 3s ease; } .col-sm-3 a:hover { border: 1px solid #ff4647; border-radius: 100% 60% / 30% 10%; background: linear-gradient(rgba(56,123,131,0.7),rgba(56,123,131,0.7)); } </style>--> <style> h1 { text-align: center; margin:20px; } .row > .column { padding: 0 8px; } .row:after { content: ""; display: table; clear: both; } .column { float: left; width: 25%; } .modal { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: black; } /* Modal Content */ .modal-content { position: relative; background-color: #fefefe; margin: auto; padding: 0; width: 90%; max-width: 800px; height: 70%; } /* The Close Button */ .close { color: white; position: absolute; top: 10px; right: 25px; font-size: 35px; font-weight: bold; } .close:hover, .close:focus { color: #999; text-decoration: none; cursor: pointer; } .mySlides { display: none; } .cursor { cursor: pointer } /* Next & previous buttons */ .prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -50px; color: white; font-weight: bold; font-size: 20px; transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none; -webkit-user-select: none; } /* Position the "next button" to the right */ .next { right: 0; border-radius: 3px 0 0 3px; } /* On hover, add a black background color with a little bit see-through */ .prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); } /* Number text (1/3 etc) */ .numbertext { color: #f2f2f2; font-size: 12px; padding: 8px 12px; position: absolute; top: 0; } img { margin-bottom: -4px; } .caption-container { text-align: center; background-color: black; padding: 2px 16px; color: white; } .demo { opacity: 0.6; } .active, .demo:hover { opacity: 1; } img.hover-shadow { transition: 0.3s } .hover-shadow:hover { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) } </style> <script> jQuery(document).ready(function ($) { $('#myCarousel').carousel({ interval: 5000 }); //Handles the carousel thumbnails $('[id^=carousel-selector-]').click(function () { var id_selector = $(this).attr("id"); try { var id = /-(\d+)$/.exec(id_selector)[1]; console.log(id_selector, id); jQuery('#myCarousel').carousel(parseInt(id)); } catch (e) { console.log('Regex failed!', e); } }); // When the carousel slides, auto update the text $('#myCarousel').on('slid.bs.carousel', function (e) { var id = $('.item.active').data('slide-number'); $('#carousel-text').html($('#slide-content-' + id).html()); }); }); </script> <!-- page header section --> <div class="page-title"> <div class="container" > <div class="row" style="background-color: rgb(0,100,130);"> <div class="col-md-12 ptn-bg"> <h2>Photo Gallery</h2> <ol class="breadcrumb"> <li><a href="/home">Home</a></li> <li><a href="/about-us">About Us</a></li> <li class="active">Photo Gallery</li> </ol> </div> </div> </div> </div> <!-- banner section ending--> <div class="container-fluid things"> <div> <h1>Photo Gallery</h1><hr style="border-top: 1px solid lightgray;width:80%;"> </div> <div class="row"> <div class="column"> <img src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%;" onclick="openModal();currentSlide(1)"> </div> <div class="column"> <img src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%;" onclick="openModal();currentSlide(2)"> </div> <div class="column"> <img src="/img/not_available" style="width:100%;" onclick="openModal();currentSlide(3)"> </div> </div> <div id="myModal" class="modal"> <span class="close cursor" onclick="closeModal()">×</span> <div class="modal-content"> <div class="mySlides"> <div class="numbertext"> 1 / 3</div> <img src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%"> </div> <div class="mySlides"> <div class="numbertext"> 2 / 3</div> <img src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%"> </div> <div class="mySlides"> <div class="numbertext"> 3 / 3</div> <img src="/img/not_available" style="width:100%"> </div> <a class="prev" onclick="plusSlides(-1)">❮</a> <a class="next" onclick="plusSlides(1)">❯</a> <div class="caption-container"> <p id="caption"></p> </div> <div class="column"> <img class="demo cursor" src="https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg" style="width:100%" onclick="currentSlide(1)" alt="Nature and sunrise"> </div> <div class="column"> <img class="demo cursor" src="https://www.fcrit.ac.in/cdn/photoitem/Library.jpg" style="width:100%" onclick="currentSlide(2)" alt="Nature and sunrise"> </div> <div class="column"> <img class="demo cursor" src="/img/not_available" style="width:100%" onclick="currentSlide(3)" alt="Nature and sunrise"> </div> </div> </div> </div> <script> function openModal() { document.getElementById('myModal').style.display = "block"; } function closeModal() { document.getElementById('myModal').style.display = "none"; } var slideIndex = 1; showSlides(slideIndex); function plusSlides(n) { showSlides(slideIndex += n); } function currentSlide(n) { showSlides(slideIndex = n); } function showSlides(n) { var i; var slides = document.getElementsByClassName("mySlides"); var dots = document.getElementsByClassName("demo"); var captionText = document.getElementById("caption"); if (n > slides.length) { slideIndex = 1 } if (n < 1) { slideIndex = slides.length } for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" active", ""); } slides[slideIndex - 1].style.display = "block"; dots[slideIndex - 1].className += " active"; captionText.innerHTML = dots[slideIndex - 1].alt; } </script> <!-- Service start --> <!--div class="causes-service" style="margin-top: 0px;"> <div class="container"> <div class="row"> <div class="col-md-12 title"> <h1>Golden Moments</h1> </div> </div> <div class="row service-blk"> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-trace').style.display = (document.getElementById('cakeErr6700b0a350111-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: memory [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>414</b>]<div id="cakeErr6700b0a350111-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-code').style.display = (document.getElementById('cakeErr6700b0a350111-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350111-context').style.display = (document.getElementById('cakeErr6700b0a350111-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a350111-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"row service-blk"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><?php</span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) {</span></span></code></span></pre><pre id="cakeErr6700b0a350111-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 414 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-trace').style.display = (document.getElementById('cakeErr6700b0a350edb-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Invalid argument supplied for foreach() [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>414</b>]<div id="cakeErr6700b0a350edb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-code').style.display = (document.getElementById('cakeErr6700b0a350edb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a350edb-context').style.display = (document.getElementById('cakeErr6700b0a350edb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a350edb-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"row service-blk"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><?php</span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) {</span></span></code></span></pre><pre id="cakeErr6700b0a350edb-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 414 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre> </div> </div--> <!-- <div class="container1" style="margin-top: 150px;"> <div id="carousel1"> <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-trace').style.display = (document.getElementById('cakeErr6700b0a351c80-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: memory [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>432</b>]<div id="cakeErr6700b0a351c80-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-code').style.display = (document.getElementById('cakeErr6700b0a351c80-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a351c80-context').style.display = (document.getElementById('cakeErr6700b0a351c80-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a351c80-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700"><!-- <</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"container1" </span><span style="color: #0000BB">style</span><span style="color: #007700">=</span><span style="color: #DD0000">"margin-top: 150px;"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div id</span><span style="color: #007700">=</span><span style="color: #DD0000">"carousel1"</span><span style="color: #007700">></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) { </span><span style="color: #0000BB">?></span></span></code></span></pre><pre id="cakeErr6700b0a351c80-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 432 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-trace').style.display = (document.getElementById('cakeErr6700b0a3529fe-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: Invalid argument supplied for foreach() [<b>APP\View\Aboutus\photo_item.ctp</b>, line <b>432</b>]<div id="cakeErr6700b0a3529fe-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-code').style.display = (document.getElementById('cakeErr6700b0a3529fe-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6700b0a3529fe-context').style.display = (document.getElementById('cakeErr6700b0a3529fe-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6700b0a3529fe-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700"><!-- <</span><span style="color: #0000BB">div </span><span style="color: #007700">class=</span><span style="color: #DD0000">"container1" </span><span style="color: #0000BB">style</span><span style="color: #007700">=</span><span style="color: #DD0000">"margin-top: 150px;"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700"><</span><span style="color: #0000BB">div id</span><span style="color: #007700">=</span><span style="color: #DD0000">"carousel1"</span><span style="color: #007700">></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"><?php </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$memory </span><span style="color: #007700">as </span><span style="color: #0000BB">$mem</span><span style="color: #007700">) { </span><span style="color: #0000BB">?></span></span></code></span></pre><pre id="cakeErr6700b0a3529fe-context" class="cake-context" style="display: none;">$viewFile = 'C:\xampp\htdocs\app\View\Aboutus\photo_item.ctp' $dataForView = array( 'photos' => array( (int) 0 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 1 => array( 'PhotoItem' => array( [maximum depth reached] ) ), (int) 2 => array( 'PhotoItem' => array( [maximum depth reached] ) ) ) ) $photos = array( (int) 0 => array( 'PhotoItem' => array( 'id' => '2', 'title' => 'office', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/1503429013-bldn5.jpg' ) ), (int) 1 => array( 'PhotoItem' => array( 'id' => '5', 'title' => 'Library', 'image' => 'https://www.fcrit.ac.in/cdn/photoitem/Library.jpg' ) ), (int) 2 => array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) ) ) $i = (int) 4 $total = (int) 3 $photo = array( 'PhotoItem' => array( 'id' => '6', 'title' => 'Library', 'image' => '/img/not_available' ) )</pre><pre class="stack-trace">include - APP\View\Aboutus\photo_item.ctp, line 432 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::render() - CORE\Cake\View\View.php, line 479 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105</pre></div></pre> <figure><img src="images/1433.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/college_2.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/full.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/road.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn5.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn1.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn2.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn3.jpg" alt="" height="175" width="100%"></figure> <figure><img src="images/bldn4.jpg" alt="" height="175" width="100%"></figure> </div> </div>--> <!--<div class="things" style="margin-top: -80px;padding: 70px;"> <h1 style="text-align: center;margin-bottom:50px;">Image Gallery</h1> <div class="container"> <div id="main_area"> Slider <div class="row"> <div class="col-sm-6 visible-lg visible-md visible-sm" id="slider-thumbs"> Bottom switcher of slider <ul class="hide-bullets"> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-16" style="height: 100%"> <img src="images/foyr.jpg"> </a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-1" style="height: 100%"><img src="images/lib4.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-2" style="height: 100%"><img src="images/staffroom.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-3" style="height: 100%"><img src="images/lib.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-4" style="height: 100%"><img src="images/rnd.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-5" style="height: 100%"><img src="images/class.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-6" style="height: 100%"><img src="images/complab.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-7" style="height: 100%"><img src="images/rnd2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-8" style="height: 100%"><img src="images/lib3.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-9" style="height: 100%"><img src="images/cadcam.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-10" style="height: 100%"><img src="images/hostel.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-11" style="height: 100%"><img src="images/complab2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-12" style="height: 100%"><img src="images/lib2.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-13" style="height: 100%"><img src="images/canteen.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-14" style="height: 100%"><img src="images/itlab.jpg"></a> </li> <li class="col-sm-3"> <a class="thumbnail" id="carousel-selector-15" style="height: 100%"><img src="images/site1.jpg"></a> </li> </ul> </div> <div class="col-sm-6"> <div class="col-xs-12" id="slider"> Top part of the slider <div class="row"> <div class="col-sm-12" id="carousel-bounding-box"> <div class="carousel slide" id="myCarousel"> Carousel items <div class="carousel-inner"> <div class="active item" data-slide-number="16"> <img src="images/foyr.jpg"></div> <div class="item" data-slide-number="1"> <img src="images/lib4.jpg"></div> <div class="item" data-slide-number="2"> <img src="images/staffroom.jpg"></div> <div class="item" data-slide-number="3"> <img src="images/lib.jpg"></div> <div class="item" data-slide-number="4"> <img src="images/rnd.jpg"></div> <div class="item" data-slide-number="5"> <img src="images/class.jpg"></div> <div class="item" data-slide-number="6"> <img src="images/complab.jpg"></div> <div class="item" data-slide-number="7"> <img src="images/rnd2.jpg"></div> <div class="item" data-slide-number="8"> <img src="images/lib3.jpg"></div> <div class="item" data-slide-number="9"> <img src="images/cadcam.jpg"></div> <div class="item" data-slide-number="10"> <img src="images/hostel.jpg"></div> <div class="item" data-slide-number="11"> <img src="images/complab2.jpg"></div> <div class="item" data-slide-number="12"> <img src="images/lib2.jpg"></div> <div class="item" data-slide2-number="13"> <img src="images/canteen.jpg"></div> <div class="item" data-slide-number="14"> <img src="images/itlab.jpg"></div> <div class="item" data-slide-number="15"> <img src="images/site1.jpg"></div> </div> Carousel nav <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> </div> /Slider </div> </div> </div> </div>-->' $scripts_for_layout = '' $title_for_layout = 'Aboutus'include - APP\View\Layouts\site.ctp, line 473 View::_evaluate() - CORE\Cake\View\View.php, line 954 View::_render() - CORE\Cake\View\View.php, line 916 View::renderLayout() - CORE\Cake\View\View.php, line 543 View::render() - CORE\Cake\View\View.php, line 487 Controller::render() - CORE\Cake\Controller\Controller.php, line 919 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 161 [main] - APP\webroot\index.php, line 105
AGNEL CHARITIES
FR. C. RODRIGUES INSTITUTE OF TECHNOLOGYAgnel Technical Education Complex
Sector 9-A, Vashi, Navi Mumbai,
Maharashtra, India
PIN - 400703
 (An Autonomous Institute & Permanently Affiliated to University of Mumbai)
AGNEL CHARITIES'
FR. C. RODRIGUES INSTITUTE OF TECHNOLOGYAgnel Technical Education Complex Sector 9-A, Vashi, Navi Mumbai, Maharashtra, India PIN - 400703
AGNEL CHARITIES'
F.C.R.I.T
Agnel Technical Education Complex
Sector 9-A, Vashi, Navi Mumbai,
Maharashtra, India
PIN - 400703
Visitors Count
©FCRIT, Vashi. All rights reserved.
This website is best viewed in Chrome and Mozilla Firefox in 1366x768 screen resolution.