kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
divinegurukulam.in
/
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"); require_once("includes/classes/DBquery.cls.php"); require_once("includes/classes/News.cls.php"); require_once("includes/classes/Announcement.cls.php"); $conn = mysqli_connect(SYSTEM_DBHOST,SYSTEM_DBUSER,SYSTEM_DBPWD,SYSTEM_DBNAME); $newsObj = new News(); $res = $newsObj->getNewsLimit(6); $total = $res['NO_OF_ITEMS']; $annoObj = new Announcement(); $resa = $annoObj->getAnnoLimit(6); $totaly = $resa['NO_OF_ITEMS']; $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); ?> <!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>Divine Gurukulam | CBSE School Vinzol Ahmedabad Gujarat</title> <meta name="keywords" content="Divine Gurukulam | CBSE School Vinzol Ahmedabad Gujarat" /> <meta name="description" content="Divine Gurukulam | CBSE School Vinzol Ahmedabad Gujarat" /> <meta name="copyright" content="Copyright 2021 Divine Gurukulam"/> <meta name="ROBOTS" content="index,follow"/> <meta name="revisit-after" content="3 days"/> <meta name="document-classification" content="Divine Gurukulam | CBSE School Vinzol Ahmedabad Gujarat"/> <meta name="publisher" content="Divine Gurukulam | CBSE School Vinzol Ahmedabad Gujarat"/> <meta name="author" content="Divine Gurukulam | CBSE School Vinzol Ahmedabad Gujarat"/> <meta name="copyright" content="Divine Gurukulam | CBSE School Vinzol Ahmedabad Gujarat"/> <meta name="language" content="en-us"/> <meta name="distribution" content="GLOBAL"/> <meta name="geo.region" content="INDIA"/> <meta name="geo.placename" content="Vinzol, Ahmedabad, Gujarat"/> <?php include("css.php");?> </head> <body> <div id="page"> <?php $popque=mysqli_query($conn, "SELECT * FROM `tbl_popupcontent` WHERE status=1"); if(mysqli_num_rows($popque)>0){ $prow = mysqli_fetch_array($popque); ?> <div class="popup"> <div class="cnt223"> <div > <a href="" class="close">X</a></div> <p style="text-align:center;"> <?php if ($prow['image']) { ?> <a href="apply-online.php" target="_blank"><img src="img/<?php print $prow['image']; ?>" alt="" style="width: 100%" /></a><?php } ?> <?php if ($prow['content']) { ?> <a href="apply-online.php" target="_blank"> <?php echo $prow['content']; ?> </a><?php } ?> </p> </div> </div> <?php } ?> <?php include("header.php");?> <section class="slider"> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <?php $i = 0; $get_slider = $Dbqur->fetch_data("tbl_banner","","banner_sequence asc"); foreach($get_slider as $get_row){ ?> <li data-target="#myCarousel" data-slide-to="<?=$i?>" <?php if($i==0){?> class="active"> <?php } else{?><?php }?></li> <?php $i++; } ?> </ol> <div class="carousel-inner"> <?php $i = 1; $get_banner = $Dbqur->fetch_data("tbl_banner","","banner_sequence asc"); foreach($get_banner as $get_key){ if($get_key['banner_sequence']==1){ $sequence="active"; } else{$sequence="";} ?> <div class="item <?=$sequence?>"> <img src="upload_image/<?php echo $get_key['banner_image'] ?>" alt="<?php echo $get_key['banner_name'] ?>" title="<?php echo $get_key['banner_name'] ?>" style="width:100%;"> </div> <?php } ?> <a class="left carousel-control" href="#myCarousel" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#myCarousel" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> <span class="sr-only">Next</span> </a> </div> </div> </section> <section class="clearfix linkSection "> <div class="sectionLinkArea scrolling"> <div class="container"> <div class="row"> <?php $i = 1; $feature_sql = mysqli_query($conn, "select * from tbl_features order by id Asc"); while ($row = mysqli_fetch_array($feature_sql)) { $id= $row['id']; $pageid= $row['more_link']; if(is_numeric($pageid)) { $sql_1 = "SELECT a.page_url,a.page_name from ".PAGES." a where a.page_id='$pageid'"; $res_1 = mysqli_fetch_array(mysqli_query($conn, $sql_1)); if(mysqli_num_rows(mysqli_query($conn, $sql_1))>0) { $pageid =$res_1['page_url']; $url="page.php?page=".$pageid; } else { $url = "javascript: void(0)"; } } else { $url = $pageid; } ?> <div class="col-sm-2 col-xs-6"> <a href="<?=$url?>" class="sectionLink bg-color-<?=$id?>" id="coursesLink"> <div class="linkIcon border-color-<?=$id?>"> <img src="images/featureimage/<?php echo $row['logo'];?>" width="60"> </div> <div class="linkText"><?=$row['feature_name']?></div> <i class="fa fa-chevron-down locateArrow" aria-hidden="true"></i> </a> </div> <?php } ?> </div> </div> </div> </section> <section> <div class="container"> <div class="asha-section"> <div class="col-md-3 col-xs-12 pull-right"> <div class="widget-title news-header2"> <h2 class="title">NOTICE</h2> </div> <div class="news-box2"> <ul id="demo3"> <marquee direction="up" scrollamount="2" onMouseOver="this.stop();" onMouseOut="this.start();" height="270px"> <?php for($i=0;$i<$totaly;$i++){ $id = ($resa['oDATA'][$i]['id']); $type = outText($resa['oDATA'][$i]['type']); $title = outText($resa['oDATA'][$i]['title']); $url = outText($resa['oDATA'][$i]['url']); $publish_date = outText($resa['oDATA'][$i]['publish_date']); $pdate=date("d.m.Y",strtotime($publish_date)); $link = ($resa['oDATA'][$i]['link']); $venue = ($resa['oDATA'][$i]['venue']); $file_name = ($resa['oDATA'][$i]['file_name']); $new = $resa['oDATA'][$i]['new']; ?> <?php if($type == 2){?> <li class="news-item"> <div class=""> <div class="desc_col"> <div class="news_content"> <p class="news_title"><span style="color:#fff"><?=$pdate?></span> <a href=""><?=$title?></a></p> <a href="<?=$link?>" class="button">Read more...</a> <?php if($new ==1){?><img src="img/new.gif" alt="Top Textile Trainning Institute College Cuttack Odisha " border="0" align="absmiddle"/><?php }?> </div> </div> </div> </li> <?php }?> <?php if($type == 1){?> <li class="news-item"> <div class=""> <div class="desc_col"> <div class="news_content"> <p class="news_title"><span style="color:#fff"><?=$pdate?></span> <a href=""><?=$title?> </a></p> <a href="<?=SITE_HOME?>announcement/<?=$file_name?>" class="button">Read more...</a> <?php if($new ==1){?><img src="img/new.gif" alt="Top Textile Trainning Institute College Cuttack Odisha " border="0" align="absmiddle"/><?php }?> </div> </div> </div> </li> <?php }?> <?php if($type == 0){?> <li class="news-item"> <div class=""> <div class="desc_col"> <div class="news_content"> <p class="news_title"><span style="color:#fff"><?=$pdate?></span> <a href=""><?=$title?></a></p> <a href="announcement.php?announcement=<?php print $url;?>" class="button">Read more...</a> <?php if($new ==1){?><img src="img/new.gif" alt="Top Textile Trainning Institute College Cuttack Odisha " border="0" align="absmiddle"/><?php }?> </div> </div> </div> </li> <?php } } ?> </marquee> </ul> <div class="viewall"> <a href="announcement.php">View All <i class="fa fa-angle-double-right"></i></a> </div> </div> <div class="widget-title news-header"> <h2 class="title ">NEWS & EVENTS</h2> </div> <div class="news-box"> <ul id="demo3"> <marquee direction="up" scrollamount="2" onMouseOver="this.stop();" onMouseOut="this.start();" height="270px"> <?php for($i=0;$i<$total;$i++){ $id = ($res['oDATA'][$i]['id']); $type = outText($res['oDATA'][$i]['type']); $title = outText($res['oDATA'][$i]['title']); $url = outText($res['oDATA'][$i]['url']); $publish_date = outText($res['oDATA'][$i]['publish_date']); $pdate=date("d.m.Y",strtotime($publish_date)); $link = ($res['oDATA'][$i]['link']); $venue = ($res['oDATA'][$i]['venue']); $file_name = ($res['oDATA'][$i]['file_name']); $new = $res['oDATA'][$i]['new']; ?> <?php if($type == 2){?> <li class="news-item"> <div class=""> <div class="desc_col"> <div class="news_content"> <p class="news_title"><span style="color:#ff1a00"><?=$pdate?></span> <a href=""><?=$title?></a></p> <a href="<?=$link?>" class="button">Read more...</a> <?php if($new ==1){?><img src="img/new.gif" alt="Top Textile Trainning Institute College Cuttack Odisha " border="0" align="absmiddle"/><?php }?> </div> </div> </div> </li> <?php }?> <?php if($type == 1){?> <li class="news-item"> <div class=""> <div class="desc_col"> <div class="news_content"> <p class="news_title"><span style="color:#ff1a00"><?=$pdate?></span> <a href=""><?=$title?></a></p> <a href="<?=SITE_HOME?>news-files/<?=$file_name?>" class="button">Read more...</a> <?php if($new ==1){?><img src="img/new.gif" alt="Top Textile Trainning Institute College Cuttack Odisha " border="0" align="absmiddle"/><?php }?> </div> </div> </div> </li> <?php }?> <?php if($type == 0){?> <li class="news-item"> <div class=""> <div class="desc_col"> <div class="news_content"> <p class="news_title"><span style="color:#ff1a00"><?=$pdate?></span> <a href=""><?=$title?></a></p> <a href="news.php?news=<?php print $title;?>" class="button">Read more...</a> <?php if($new ==1){?><img src="img/new.gif" alt="Top Textile Trainning Institute College Cuttack Odisha " border="0" align="absmiddle"/><?php }?> </div> </div> </div> </li> <?php } } ?> </marquee> </ul> <div class="viewall viewall2"> <a href="news.php">View All <i class="fa fa-angle-double-right"></i></a> </div> </div> </div> <div class="col-md-9 col-xs-12 v-heading pull-left" style="padding-right: 0;padding-left: 0;"> <h2 class="asha-header" align="left" >Our Facilities</h2> <?php $i = 1; $facility_sql = mysqli_query($conn, "select * from tbl_client order by client_name Asc"); while ($row = mysqli_fetch_array($facility_sql)) { $pageid= $row['more_link']; if(is_numeric($pageid)) { $sql_1 = "SELECT a.page_url,a.page_name from ".PAGES." a where a.page_id='$pageid'"; $res_1 = mysqli_fetch_array(mysqli_query($conn, $sql_1)); if(mysqli_num_rows(mysqli_query($conn, $sql_1))>0) { $pageid =$res_1['page_url']; $url="page.php?page=".$pageid; } else { $url = "javascript: void(0)"; } } else { $url = $pageid; } ?> <div class="col-md-4 ash-prg1"> <div> <div class="col-md-12 padding-0"> <span class="media-left"> <img src="images/logo_client/<?php print $row['logo']; ?>" alt="<?php echo $row['client_name'];?>" title="<?php echo $row['client_name'];?>" > </span> </div> <div class="col-md-12 padding-0 "> <div class="ash-prg"> <h2><?php echo $row['client_name'];?></h2> <p><?php echo $row['details'];?></p> <!-- <a href="page.php?page=activities"><button class="btn btn-info asha-btn">More Info</button></a> --> <a href="<?=$url?>"><button class="btn btn-info asha-btn">More Info</button></a> </div> </div> </div> </div> <?php $i++; } ?> </div> </div> </div> </section> <section id="works" class="page-section"> <div class="container work-section"> <!-- Heading --> <?php $get_heading = $Dbqur->fetch_data("tbl_titles","id = 2");?> <h2 class="asha-header" >Divine Gurukulam at a Glance</h2> <div class="row text-center"> <?php $glansql = mysqli_query($conn, "SELECT * FROM tbl_glance ORDER BY id DESC limit 4"); while($grow = mysqli_fetch_array($glansql)){ $pageid= $grow['more_link']; if(is_numeric($pageid)) { $sql_1 = "SELECT a.page_url,a.page_name from ".PAGES." a where a.page_id='$pageid'"; $res_1 = mysqli_fetch_array(mysqli_query($conn, $sql_1)); if(mysqli_num_rows(mysqli_query($conn, $sql_1))>0) { $pageid =$res_1['page_url']; $url="page.php?page=".$pageid; } else { $url = "javascript: void(0)"; } } else { $url = $pageid; } ?> <div class="col-sm-3 col-md-3 ash-best "> <div class="ash-con wp-block"> <img alt="Divine Gurukulam | CBSE School Vinzol Ahmedabad Gujarat" src="images/glance/<?php print $grow['image']; ?>" style="height: 200px; width: 340px;"> <h2><?php echo $grow['title'];?></h2> <p><?php echo substr($grow['details'],0,200);?></p> <br> <a href="<?=$url ?>" target="_blank"><button class="btn btn-info asha-read-btn">Read More</button></a> </div> </div> <?php } ?> </div> </div> </section> <section class="page-section tb-pad-30 bg-pink"> <div class="animated fadeInUp visible container" data-animation="fadeInUp"> <div class="page-inner3"> <div> <h2>Parent Reflections</h2> </div> <div class="testimonails" data-animation="fadeInUp"> <div class="owl-carousel navigation-1 dark-switch" data-pagination="false" data-items="1" data-autoplay="true" data-navigation="true"> <?php $sql = mysqli_query($conn, "SELECT * FROM tbl1_testimonial ORDER BY id DESC"); while($data = mysqli_fetch_array($sql)){ ?> <div class="item" align="center"> <div class="bottom-arrow light"> <blockquote class="small-text text-center"><?php echo $data['contents'];?></blockquote> </div> <div class="client-details text-center"> <div class="client-details"> <span><?php echo $data['Name'];?></span> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </section> <section class="page-section tb-pad-30 bg-gray"> <div class="container"> <div class="col-md-12"> <h2 align="center" class="h2-main">ACTIVITIES AT A GLANCE</h2> <?php $sql="SELECT * FROM ihm_photo_category ORDER BY category_id DESC LIMIT 4"; $query=mysqli_query($conn, $sql); while($row=mysqli_fetch_array($query)){ ?> <?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"); $data=mysqli_fetch_array($sql2); ?> <div class="col-md-3 "> <a href="photogallery_details.php?pic_cat=<?php echo $row['category_id'];?>&cat_nm=<?php echo $row['category_name'];?>"> <div class="page-inner2 padding page-radius"> <div class="image-holder"><img alt="Divine Gurukulam | CBSE School Vinzol Ahmedabad Gujarat" src="photo/<?php echo $data['photo_file'];?>" ></div> <h2><?php echo $row['category_name'];?></h2> </div> </a> </div> <?php } ?> </div> </div> </section> <?php include("footer.php");?> </div> <?php include("js.php");?> </body> </html>