ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home2/selectio/www/salemgovtitialumni.in/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home2/selectio/www/salemgovtitialumni.in/gallery.php

<?php include 'header.php' ;
// Check the id is valid or not
	$gallery = $pdo->prepare("SELECT * FROM tbl_photo");
	$gallery->execute();
	
	$result = $gallery->fetchAll(PDO::FETCH_ASSOC);
	$total = $gallery->rowCount();
?>
<!-- Page Banner Start -->
        <div class="section page-banner-section" style="background-image: url(assets/images/bg/page-banner.jpg);margin-top: 15%;min-height: 130px;">
            <div class="container">
                <div class="page-banner-wrap">
                    <div class="row">
                        <div class="col-lg-12">
                            <!-- Page Banner Content Start -->
                            <div class="page-banner text-center" style="margin-top: -8%;">
                                <h2 class="title" style="color: #f17a28;">Gallery</h2>
                                <ul class="breadcrumb justify-content-center">
                                    <li class="breadcrumb-item" style="color: #2e3092;"><a href="index.php">Home</a></li>
                                    <li class="breadcrumb-item active" aria-current="page" style="color: #2e3092;">Gallery</li>
                                </ul>
                            </div>
                            <!-- Page Banner Content End -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
<!-- Page Banner End -->
        
        

     <div class="section upstudy-about-section-06 section-padding" style="padding-top: 50px;padding-bottom: 60px;">
            <div class="container">
                <h2 class="title" style="padding-bottom: 30px;">Our Gallery Images</h2>
                <div class="row">
                    <?php
                     if($total> 0){
                         
                     foreach($result as $results){
                     
                     ?>
                     
                     
                     
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="dashboard/<?=$results['photo'] ?>" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    
                    <?php
                     }}
                    ?>
                    
                    
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery1.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery2.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery3.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery4.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery5.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div> <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery6.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery7.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery8.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery9.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery10.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery11.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery12.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                     <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery13.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery14.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery15.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery16.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery17.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery18.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery19.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery20.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery21.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery22.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery23.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery24.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery25.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery26.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery27.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery28.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery29.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery30.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery31.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery32.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery33.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery34.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery35.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery36.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery37.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery38.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery39.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery40.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery41.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery42.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery43.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery44.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery45.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery46.jpg" alt="Trolltunga Norway">.
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery47.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery48.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery49.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery50.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery51.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery52.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery53.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery54.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery55.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery56.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery57.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery58.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery59.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery60.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery61.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    <div class="col-lg-4" style="padding-bottom: 2%;">
                          <div class="img">
                              <img src="image/gallery/gallery62.jpg" alt="Trolltunga Norway">
                            <!--<div class="desc">Trolltunga Norway</div>-->
                          </div>
                    </div>
                    
                </div>
            
            <div class="clearfix"></div>

<!-- The Modal -->
<div id="myModal" class="modal">
  <span class="close">×</span>
  <img class="modal-content" id="img01">
  <div id="caption"></div>
</div>



            </div>
        </div>
        
        
<style>
    

/* Add Responsiveness */
.responsive {
    padding: 10 6px;
    float: left;
    width: 24.99999%;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}



/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}


/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}



/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}


@-webkit-keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0.1)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}


.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


</style>

<script>
    
// Get the modal
var modal = document.getElementById('myModal');

// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];

// When the user clicks on <span> (x), close the modal
span.onclick = function() { 
 modal.style.display = "none";
}

// Get all images and insert the clicked image inside the modal
// Get the content of the image description and insert it inside the modal image caption
var images = document.getElementsByTagName('img');
var modalImg = document.getElementById("img01");
var captionText = document.getElementById("caption");
var i;
for (i = 0; i < images.length; i++) {
   images[i].onclick = function(){
       modal.style.display = "block";
       modalImg.src = this.src;
       modalImg.alt = this.alt;
       captionText.innerHTML = this.nextElementSibling.innerHTML;
   }
}
</script>        
        
  
<?php include 'footer.php' ?>


Zerion Mini Shell 1.0