Server : Apache System : Linux server.xvl.jdw.mybluehostin.me 5.14.0-611.42.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 05:30:20 EDT 2026 x86_64 User : gdckalyandurg ( 1043) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system Directory : /home/gdckalyandurg/public_html/ |
<?php
include("config.php");
$galleries = $db->selectAll('photo_gallery', '*', 'ORDER BY id DESC');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>SVGM Government Degree College, Kalyandurg</title>
<!-- Stylesheets -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/revolution-slider.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400italic,700' rel='stylesheet' type='text/css'>
<link href="css/style.css" rel="stylesheet">
<link href="css/extra.css" rel="stylesheet">
<link href="css/font-awesome.css" rel="stylesheet">
<link rel='stylesheet' id='google-font-css' href='//fonts.googleapis.com/css?family=Roboto%3A400%2C300%2C500%2C400italic%2C700%2C500italic%2FScript%3Alatin-ext%7CBitter&ver=4.8.8' type='text/css' media='all' />
<!--Favicon-->
<link rel="shortcut icon" href="images/gcm.png" type="image/x-icon">
<link rel="icon" href="images/gcm.png" type="image/x-icon">
<!-- Responsive -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link href="css/responsive.css" rel="stylesheet">
<!-- Start WOWSlider.com HEAD section -->
<link rel="stylesheet" type="text/css" href="engine1/style.css" />
<link rel="stylesheet" href="css/styles.css">
<script type="text/javascript" src="engine1/jquery.js"></script>
<!-- End WOWSlider.com HEAD section -->
<!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script><![endif]-->
<!--[if lt IE 9]><script src="js/respond.js"></script><![endif]-->
<style type="text/css">
<!--
.style2 {
color: #ff6600;
font-weight: bold;
}
-->
</style>
</head>
<body>
<div class="page-wrapper">
<?php include("includes/header.php"); ?>
<div class="page-heading">
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12">
<h1>Photo Gallery</h1>
</div>
</div>
</div>
</div>
<div class="auto-container">
<div class="welcome-content">
<div class="row">
<div class="col-sm-3 col-xs-12">
<div id="cssmenu">
<ul>
<li><a href='photogallery.php'><span>Photo Gallery</span></a></li>
</ul>
</div>
</div>
<div class="col-sm-9 col-xs-12 no-padding" >
<div class="text" align="justify" id="content">
<?php
foreach($galleries as $gallery){
$photo = $db->selectRow('gallery', '*', array('gallery_type'=>'Photo Gallery', 'pid'=>$gallery->id));
?>
<div style="float:left; width:300px; height:160px; padding:5px; border:solid 1px #ddd; margin:5px;">
<a href="photogallery-details.php?id=<?php echo $gallery->id; ?>"><img class="example-image" src="admin/<?php echo $photo['image']; ?>" width="250" height="130" alt=""/></a>
<center><a href="photogallery-details.php?id=<?php echo $gallery->id; ?>"><?php echo $gallery->title; ?></a></center>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
<div class="row clearfix"> </div>
</div>
<?php include("includes/footer.php"); ?>
</body>
</html>