kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
kameshwarschool.org
/
Upload FileeE
HOME
<?php //index.php session_start(); require_once("includes/settings.php"); require_once("includes/database.php"); require_once("includes/classes/db.cls.php"); require_once("includes/classes/sitedata.cls.php"); require_once("includes/functions/common.php"); require_once("includes/classes/Pages.cls.php"); require_once("includes/classes/DBquery.cls.php"); require_once("includes/classes/Menus.cls.php"); $conn = mysqli_connect(SYSTEM_DBHOST, SYSTEM_DBUSER, SYSTEM_DBPWD, SYSTEM_DBNAME); $db = new SiteData(); $pageObj = new Pages(); $menuObj = new Menus(); $Dbqur = new dbquery(); $project_sql = mysqli_query($conn, "select * from tbl_homecontent where id = 1 "); $hedrow = mysqli_fetch_array($project_sql); if(isset($_GET['page'])){ $url = $_REQUEST['page']; $res = $pageObj->getPageByUrl($url); $total = $res['NO_OF_ITEMS']; $page_name = stripslashes($res['oDATA'][0]['page_name']); $page_contents = stripslashes($res['oDATA'][0]['page_contents']); $page_type = stripslashes($res['oDATA'][0]['page_type']); $page_title = stripslashes($res['oDATA'][0]['page_title']); $page_metadesc = stripslashes($res['oDATA'][0]['page_metadesc']); $page_metakeywords = stripslashes($res['oDATA'][0]['page_metakeywords']); if($total == 0){redirect(SITE_HOME."index.php");} }?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]--> <title>Kameshwar International School | cbse school sargasan gandhinagar</title> <meta name="keywords" content="Kameshwar International School | cbse school sargasan gandhinagar" /> <meta name="description" content="Kameshwar International School | cbse school sargasan gandhinagar" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> <meta name="copyright" content="Copyright 2018 Kameshwar International School"/> <meta name="ROBOTS" content="index,follow"/> <meta name="revisit-after" content="3 days"/> <meta name="document-classification" content="Kameshwar International School | cbse school sargasan gandhinagar"/> <meta name="publisher" content="http://www.kisgandhinagar.ac.in/"/> <meta name="author" content="http://www.kisgandhinagar.ac.in/"/> <meta name="copyright" content="http://www.kisgandhinagar.ac.in/"/> <meta name="language" content="en-us"/> <meta name="distribution" content="GLOBAL"/> <meta name="geo.region" content="INDIA"/> <meta name="geo.placename" content="Gandhinagar, Gujarat"/> <?php include("css.php");?> </head> <body> <div id="page"> <!-- Top Bar --> <?php include("header.php");?> <div class="page-header" style="background:url(img/page-bg.jpg)0px 0px;"> <div class="breadcrumb-box"> <div class="container"> <div class="section-title text-left animated fadeInUp visible" data-animation="fadeInUp"> <h2 class="title">Photo Gallery</h2> </div> </div> </div> </div> <!-- slider --> <section id="additional" class="page-section"> <div class="container"> <div class="container"> <div class="row"> <div class="col-md-12"> <?php $sql="SELECT * FROM ihm_photo_category where category_status=1 ORDER BY category_id DESC"; $query=mysqli_query($conn, $sql); while($row=mysqli_fetch_array($query)){ ?> <div class="col-md-3"> <div> <?php $count_sql=mysqli_query($conn, "SELECT * FROM ihm_photo_gallery WHERE photo_category='$row[category_id]'"); $num_rec=mysqli_num_rows($count_sql); $sql2=mysqli_query($conn, "SELECT * FROM ihm_photo_gallery WHERE photo_category='$row[category_id]' order by photo_id desc limit 1"); $data=mysqli_fetch_array($sql2); ?> <a href="photogallery_details.php?pic_cat=<?php echo $row['category_id'];?>&cat_nm=<?php echo $row['category_name'];?>"><img src="photo/<?php echo $data['photo_file'];?>" border="0" style="height:200px; width:100%;" alt="<?php echo $row['category_name'];?>" class="pic1 morph1"></a> </div> <div class="category" style="height:50px;font-size:12px;font-weight:bold; text-align:center;"> <a href="photogallery_details.php?pic_cat=<?php echo $row['category_id'];?>&cat_nm=<?php echo $row['category_name'];?>" class="color_dark"><strong></strong> <?php echo $row['category_name']?> (<?php echo $num_rec;?>)</a></div> </div> <?php } ?> </div> </div> </div> </div> <div class="clearfix"></div> </section> <?php include("footer.php"); ?> </div> <?php include("js.php"); ?> </body> </html>