ok

Mini Shell

Direktori : /home2/globaltriumphfou/public_html/
Upload File :
Current File : /home2/globaltriumphfou/public_html/gallery.php

<!DOCTYPE html>
<html lang="zxx">
<head>
  <title>Gallery-Global Triumph Foundation</title>
  <meta charset="UTF-8">
  <link rel="shortcut icon" href="img/logos/fav.png"/>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <!-- Bootstrap CSS-->
  <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
  <!-- Font-Awesome -->
  <link rel="stylesheet" type="text/css" href="css/font-awesome.css">
  <!-- Icomoon -->
  <link rel="stylesheet" type="text/css" href="css/icomoon.css">
  <!-- Slider -->
  <link rel="stylesheet" type="text/css" href="css/swiper.min.css">
  <link rel="stylesheet" type="text/css" href="css/slider.css">
  <!-- Animate.css -->
  <link rel="stylesheet" href="css/animate.css">
  <!-- Owl Carousel  -->
  <link rel="stylesheet" href="css/owl.carousel.css">
  <!-- Main Styles -->
  <link rel="stylesheet" type="text/css" href="css/default.css">
  <link rel="stylesheet" type="text/css" href="css/styles.css" id="colors">
  <!-- Fonts Google -->
  <link href="https://fonts.googleapis.com/css?family=Fira+Sans:100,200,300,400,500,600,700,800,900" rel="stylesheet">
  <link rel="stylesheet" href="lightbox/css/lightbox.min.css">

</head>
<body>
<!-- Preloader Start-->
<div id="preloader">
  <div class="row loader">
    <div class="loader-icon"></div>
  </div>
</div>
<!-- Preloader End -->
<?php include "inc_header.php";
include "ps_pagination.php";
$limit=20;
if(isset($_REQUEST['eid']))
{
	$eid=$_REQUEST['eid'];
	$sqlt="select * from gallery_cat,gal_images where `gallery_cat`.`aw_id`=`gal_images`.`EP_Eid` and `gallery_cat`.`aw_id`='$eid'";
}
else
$sqlt="select * from gallery_cat,gal_images where `gallery_cat`.`aw_id`=`gal_images`.`EP_Eid`";
$galquery=mysqli_query($connection,$sqlt);
$num=mysqli_num_rows($galquery);
if($num>0)
{
	$pager = new PS_Pagination($connection, $sqlt,$limit, 5,'eid='.$_REQUEST['eid']);
	$pager->setDebug(true);
	$dquery = $pager->paginate();
} 
while($rows=mysqli_fetch_assoc($dquery))
{
	$rowsa[]=$rows;
}
$galcatqry=mysqli_query($connection,"select * from gallery_cat order by aw_id desc");
?>
<!-- Info Video Section START -->
 <!--Start Courses Area-->
<div class="section-block">
  <div class="container">
    <div class="row">
			<div class="col-md-9 col-sm-8 col-12">
			<div class="row justify-content-center gallery">
					  <?php
					  if($num>0){ ?>
					<table class="table table-bordered">
							<tr>
								<td align="center" valign="middle">Total = <?php echo $num; ?></td>
								<td align="center" valign="middle" class="first"><?php echo $pager->renderFirst();  ?></td>
								<td align="center" valign="middle" class="next"><?php echo  $pager->renderPrev();  ?></td>
								<td align="center" valign="middle" class="next"><?php echo $pager->renderNext();  ?></td>
								<td align="center" valign="middle" class="first"><?php echo $pager->renderLast();  ?></td>
							</tr>
						</table>
					<?php }
					  for($i=0;$i<count($rowsa);$i++){
					   ?> 
					 <div class="galleryItem col-lg-3 col-md-6" style="padding:10px;border:1px solid #bcbcbc">
						 <a class="example-image-link" href="gallery-images/<?php echo $rowsa[$i]['EP_Image']; ?>" data-lightbox="example-set" data-title=""><img class="card-img-top" style="cursor:pointer" src="gallery-images/<?php echo $rowsa[$i]['EP_Image']; ?>"></a>
					  </div>
					 
						<?php 
					} ?>
				</div>
			</div>	
				     <!-- Right Side START -->
      <div class="col-md-3 col-sm-4 col-12">
        <div class="blog-list-right">
          <div class="blog-list-left-heading" style="margin:0;padding:0;">
            <h4>Categories</h4>
          </div>
          <div class="blog-categories">
            <ul>
			<?php while($rows=mysqli_fetch_assoc($galcatqry)){ ?>
              <li><a href="gallery?eid=<?php echo $rows['aw_id']; ?>"><?php echo $rows['aw_name']; ?></a></li>
			<?php } ?>
            </ul>
          </div>



        </div>
      </div>
      <!-- Right Side END -->
				
			</div>
            </div>
        </div>
        <!--End Courses Area-->
<?php include "inc_footer.php"; ?>


<!-- Scroll to top button Start -->
<a href="#" class="scroll-to-top"><i class="fa fa-angle-up" aria-hidden="true"></i></a>
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/owl.carousel.js"></script>
<script src="js/navigation.js"></script>
<script src="js/navigation.fixed.js"></script>
<script src="js/wow.min.js"></script>
<script src="js/jquery.counterup.min.js"></script>
<script src="js/waypoints.min.js"></script>
<script src="js/tabs.min.js"></script>
<script src="js/jquery.mb.YTPlayer.min.js"></script>
<script src="js/swiper.min.js"></script>
<script src="js/isotope.pkgd.min.js"></script>
<script src="js/modernizr.js"></script>
<script src="js/main.js"></script>
<script src="lightbox/js/lightbox-plus-jquery.min.js"></script>
</body>
</html>

Zerion Mini Shell 1.0