kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
sisnikol.com
/
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/Menus.cls.php"); $conn = mysqli_connect(SYSTEM_DBHOST,SYSTEM_DBUSER,SYSTEM_DBPWD,SYSTEM_DBNAME); $db = new SiteData(); $pageObj = new Pages(); $menuObj = new Menus(); $project_sql = mysqli_query($conn, "select * from tbl_homecontent where id = 1 "); $hedrow = mysqli_fetch_array($project_sql); if(isset($_GET['page'])){ $url = filter($_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"> <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'> <title>Sankalp International School Nikol Ahmedabad</title> <meta name="keywords" content="Sankalp International School Nikol Ahmedabad" /> <meta name="description" content="Sankalp International School Nikol Ahmedabad" /> <meta name="copyright" content="Copyright 2021 Sankalp International School Nikol Ahmedabad"/> <meta name="ROBOTS" content="index,follow"/> <meta name="revisit-after" content="3 days"/> <meta name="document-classification" content="Sankalp International School Nikol Ahmedabad"/> <meta name="publisher" content="Sankalp International School Nikol Ahmedabad"/> <meta name="author" content="Sankalp International School Nikol Ahmedabad"/> <meta name="copyright" content="Sankalp International School Nikol Ahmedabad"/> <meta name="language" content="en-us"/> <meta name="distribution" content="GLOBAL"/> <meta name="geo.region" content="INDIA"/> <meta name="geo.placename" content="Viratnagar Road, New Nikol, Ahmedabad"/> <?php include("css.php");?> </head> <body> <div id="page"> <!-- Top Bar --> <?php include("header.php");?> <div class="page-header"> <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 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="color: #286a57; height:50px;font-size:20px;font-weight:bold; text-align:center; text-transform: uppercase;"> <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>