kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
shashwatschool.ac.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"> <title>Shaswat Junior School</title> <meta name="keywords" content="Shashwat Juniors A Play School" /> <meta name="description" content="Shashwat Juniors A Play School" /> <meta name="author" content="Shashwat Juniors A Play School" /> <meta name="copyright" content="Copyright 2022 Shashwat Juniors A Play School "/> <meta name="ROBOTS" content="index,follow"/> <meta name="revisit-after" content="7 days"/> <meta name="document-classification" content="Shashwat Juniors A Play School Gujarat"/> <meta name="publisher" content="Shashwat Juniors A Play School Gujarat"/> <meta name="author" content="Shashwat Juniors A Play School Gujarat"/> <meta name="copyright" content="Shashwat Juniors A Play School Gujarat"/> <meta name="language" content="en-us"/> <meta name="distribution" content="GLOBAL"/> <meta name="geo.region" content="INDIA"/> <meta name="geo.placename" content="Shashwat Juniors A Play School"/> <?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="Shashwat Juniors A Play School" 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")?> <!-- Banner --> <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> <!-- About --> <section class="page-section about"> <div class="container"> <div class="row"> <div class="col-md-5"> <?php $siteq = mysqli_query($conn, "select * from tbl_sitedetails where id=1"); $siterec = mysqli_fetch_array($siteq); $heading = $siterec['headline']; $arr = explode(' ', $heading, 2); $hed1 = $arr[0]; $hed2 = $arr[1]; $c_link = $siterec['c_link']; $page_res = $pageObj->getPageNames($c_link); //print_r($page_res); for ($i = 0; $i < $page_res['NO_OF_ITEMS']; $i++) { $page_id = $page_res['oDATA'][$i]['page_id']; $page_name = stripslashes($page_res['oDATA'][$i]['page_name']); $page_url = stripslashes($page_res['oDATA'][$i]['page_url']); if ($c_link == $page_id) { $curl = "page.php?page=" . $page_url; } else { $curl = $c_link; } } ?> <div class="frame"> <img src="images/<?php print $siterec['hcimage']; ?>" alt="Shashwat juniors a play school"> </div> </div> <div class="col-md-7"> <div class="about-text"> <h2 class="text-center"><?= $heading ?></h2> <div style="color: #000;"> <?= $siterec['content'] ?> </div> <div class="read-more" style="margin-top: 20px;"> <a href="<?= $curl ?>" class="btn" role="button">Read more</a> </div> </div> </div> </div> </div> </div> </section> <!-- Features --> <section id="featuree" class="page-section" style="padding:30px 0;background: #ffebd6;"> <div class="container work-section"> <div class="col-md-12 col-xs-12 v-heading pull-left" style="padding-right: 0;padding-left: 0;"> <?php $get_heading = $Dbqur->fetch_data("tbl_titles","id = 8"); $heading = $get_heading[0]['title']; $arr = explode(' ', $heading, 2); $hed1 = $arr[0]; $hed2 = $arr[1]; ?> <h2 style="color: #3369b1; font-weight: 500;" class="text-center"><?=$hed1;?> <?=$hed2;?></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)) { $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-xs-12 col-sm-6 col-md-4"> <div class="iconbox-theme-colored bordd-<?=$id?>"> <a class="border-left-theme-color-2-3px" href="#"> <img src="images/logo_client/<?php print $row['logo']; ?>" alt="<?php echo $row['client_name'];?>" title="<?php echo $row['client_name'];?>" style="width: 100%" alt="Shashwat juniors a play school" > </a> <div class="box-details"> <h4 class="box-title"><?php echo $row['client_name'];?></h4> <p class="text-gray"> <a class="text-theme-colored font-13" href="<?= $url ?>">Read More →</a></p> </div> </div> </div> <?php $i++; } ?> </div> </div> </section> <!-- News --> <section class="page-section news-section"> <div class="container"> <div class="row"> <div class="col-sm-12 col-md-6"> <?php $get_heading = $Dbqur->fetch_data("tbl_titles","id = 1"); $heading = $get_heading[0]['title']; $arr = explode(' ', $heading, 2); $hed1 = $arr[0]; $hed2 = $arr[1]; ?> <h2 style="font-weight: 500; color: #3369b1;"><?=$hed1;?> <?=$hed2;?></h2> <div class="scroll-bar"> <?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']; ?> <ul class="latest-posts"> <marquee direction="up" scrollamount="4" onMouseOver="this.stop();" onMouseOut="this.start();" height="210px" style="overflow-y: scroll;"> <?php if($type == 2){?> <li> <div class="post-details"> <div class="meta"> <span class="time"> <i class="fa fa-calendar"></i> <?=$pdate?></span></div> <div class="description"> <a href="#"> <?=$title?> <?php if($new ==1){?><img src="img/new.gif"></a><?php }?> </div> </div> </li> <?php }?> <?php if($type == 1){?> <li> <div class="post-details"> <div class="meta"> <span class="time"> <i class="fa fa-calendar"></i> <?=$pdate?></span></div> <div class="description"> <a href="#"> <?=$title?> <?php if($new ==1){?><img src="img/new.gif"></a><?php }?> </div> </div> </li> <?php }?> <?php if($type == 0){?> <li> <div class="post-details"> <div class="meta"> <span class="time"> <i class="fa fa-calendar"></i> <?=$pdate?></span></div> <div class="description"> <a href="#"> <?=$title?> <?php if($new ==1){?><img src="img/new.gif"></a><?php }?> </div> </div> </li> <?php } } ?> </marquee> <div class="view-more-btn"><a href="news.php" class="btn">View more <span class="fa fa-angle-double-right"></span></a></div> </ul> </div> </div> <div class="col-sm-12 col-md-6 testimonails"> <div class="notice-board"> <?php $get_heading = $Dbqur->fetch_data("tbl_titles","id = 9"); $heading = $get_heading[0]['title']; $arr = explode(' ', $heading, 2); $hed1 = $arr[0]; $hed2 = $arr[1]; ?> <h2 style="font-weight: 500; color: #3369b1;"><?=$hed1;?> <?=$hed2;?></h2> <div class="scroll-bar"> <?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']; ?> <ul class="latest-posts"> <marquee direction="up" scrollamount="4" onMouseOver="this.stop();" onMouseOut="this.start();" height="210px" style="overflow-y: scroll;"> <?php if($type == 2){?> <li> <div class="post-details"> <div class="meta"> <span class="time"> <i class="fa fa-calendar"></i> <?=$pdate?></span></div> <div class="description"> <a href="#"> <?=$title?> <?php if($new ==1){?><img src="img/new.gif"></a><?php }?> </div> </div> </li> <?php }?> <?php if($type == 1){?> <li> <div class="post-details"> <div class="meta"> <span class="time"> <i class="fa fa-calendar"></i> <?=$pdate?></span></div> <div class="description"> <a href="#"> <?=$title?> <?php if($new ==1){?><img src="img/new.gif"></a><?php }?> </div> </div> </li> <?php }?> <?php if($type == 0){?> <li> <div class="post-details"> <div class="meta"> <span class="time"> <i class="fa fa-calendar"></i> <?=$pdate?></span></div> <div class="description"> <a href="#"> <?=$title?> <?php if($new ==1){?><img src="img/new.gif"></a><?php }?> </div> </div> </li> <?php } } ?> </marquee> <div class="view-more-btn"><a href="newsandevent.php" class="btn">View more <span class="fa fa-angle-double-right"></span></a></div> </ul> </div> </div> </div> </div> </div> </section> <!-- School Activities --> <section class="page-section"> <div class="container"> <?php $get_heading = $Dbqur->fetch_data("tbl_titles","id = 11"); $heading = $get_heading[0]['title']; $arr = explode(' ', $heading, 2); $hed1 = $arr[0]; $hed2 = $arr[1]; ?> <h2 style="color: #3369b1; font-weight: 500;" class="text-center"><?=$hed1;?> <?=$hed2;?></h2> <div class="row"> <div class="col-md-12"> <div class="facilities"> <div class="row"> <?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-md-3"> <img src="images/glance/<?php print $grow['image']; ?>" alt="Shashwat juniors a play school"> <div class="facilities-card"> <h2><?php echo $grow['title'];?></h2> <div class="facilities-text"><?php echo $grow['details'];?></div> <div class="facilities-btn"><a href="<?= $url ?>" class="btn" role="button">Read more</a></div> </div> </div> <?php } ?> </div> </div> </div> </div> </section> <!-- Testimonial --> <section id="clients" class="page-section"> <div class="container"> <?php $get_heading = $Dbqur->fetch_data("tbl_titles","id = 10"); $heading = $get_heading[0]['title']; $arr = explode(' ', $heading,2); $hed1 = $arr[0]; $hed2 = $arr[1]; //$hed3 = $arr[2]; ?> <h2><?=$hed1;?> <?=$hed2;?></h2> <div class="row"> <div class="col-md-12 text-center"> <div class="owl-carousel pagination-1" data-pagination="true" data-items="3" data-autoplay="false" data-navigation="false"> <?php $sql = mysqli_query($conn, "SELECT * FROM tbl1_testimonial ORDER BY id DESC"); while($data = mysqli_fetch_array($sql)){ ?> <div class="item"> <blockquote class="small-text"><?php echo $data['contents'];?></blockquote> <div class="client-details text-center"> <div class="client-image"> <img class="img-circle" src="upload_image/<?php echo $data['logo'];?>" alt="Shashwat juniors a play school" width="80" height="80" alt="Shashwat juniors a play school" /> </div> <div class="client-details"> <strong class="text-color"><?php echo $data['Name'];?></strong> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </section> <!-- Gallery --> <section class="page-section gallery text-center"> <?php $get_heading = $Dbqur->fetch_data("tbl_titles","id = 12"); $heading = $get_heading[0]['title']; $arr = explode(' ', $heading,2); //print_r($arr); $hed1 = $arr[0]; $hed2 = $arr[1]; ?> <div class="gallery-text"> <h2><?=$hed1;?><?=$hed2;?></h2> </div><div class="row"> <?php $sql="SELECT * FROM ihm_photo_category ORDER BY category_id DESC LIMIT 8"; $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"> <img src="photo/<?php echo $data['photo_file'];?>" alt="Shashwat juniors a play school" class="images"> </div> <?php } ?> </div> <div class="view-gallery-btn text-center"><a href="photogallery.php" class="btn">View more</a></div> </section> <!-- Whatsapp float icon --> <div class="float-icon"> <a href="<?=$hedrow['whatsapp']?>" class="float" target="_blank"> <i class="fa fa-whatsapp my-float"></i> </a> </div> <!-- Footer --> <?php include("footer.php")?> <?php include("js.php")?> </div> </body> </html>