kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
kameshwarcollege.ac.in
/
Upload FileeE
HOME
<?php //news.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/News.cls.php"); require_once("includes/classes/DBquery.cls.php"); $db = new SiteData(); $dbObj = new dbquery(); $pageObj = new Pages(); $menuObj = new Menus(); $newsObj = new News(); $page_id = stripslashes($res['oDATA'][0]['page_id']); if(isset($_REQUEST['news'])) { $news = cleanInput($_REQUEST['news']); $news_res = $newsObj->getNewsByUrl($news); $total = $news_res['NO_OF_ITEMS']; if($total == 0){redirect(SITE_HOME."news.php");} if($news_res['NO_OF_ITEMS']>0) { $page_title = outText($news_res['oDATA'][0]['title']); } else { $page_title = "All News"; } } else { $page_title = "All News"; } $Dbqur = new dbquery(); $conn = mysqli_connect(SYSTEM_DBHOST,SYSTEM_DBUSER,SYSTEM_DBPWD,SYSTEM_DBNAME); $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"> <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> <title><?php echo $page_title; ?></title> <meta name="keywords" content="<?php echo $page_title; ?>" /> <meta name="description" content="<?php echo $page_title; ?>" /> <meta name="copyright" content="Copyright 2019 Kameshwar College of Education"/> <meta name="ROBOTS" content="index,follow"/> <meta name="revisit-after" content="3 days"/> <meta name="document-classification" content="Kameshwar College of Education"/> <meta name="publisher" content="http://www.kameshwareducation.org/"/> <meta name="author" content="http://www.kameshwareducation.org/"/> <meta name="copyright" content="http://www.kameshwareducation.org/"/> <meta name="language" content="en-us"/> <meta name="distribution" content="GLOBAL"/> <meta name="geo.region" content="INDIA"/> <meta name="geo.placename" content="Gujarat"/> <link rel="shortcut icon" href="img/favicon1.png" /> <?php include("css.php");?> </head> <body> <div id="page"> <?php include("header.php");?> <!-- Sticky Navbar --> <div class="page-header" style="background:url(img/bback.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"><?php echo $page_title; ?></h2> </div> </div> </div> </div> <section id="about-us" class="page-section" style="padding-bottom:20px;"> <div class="container"> <div class="row"> <div class="col-md-9"> <div> <?php include("includes/news_body_content.php"); ?> </div> </div> <div class="col-md-3"> <div class="quicknav"> <h2 class="h2" style="margin-bottom:15px;margin-top:0;font-size:20px;"> <i class="fa fa-check-circle" style=" background: #ff7790; color: #ffffff;border-radius: 7px;padding: 3px 4px;"></i> <span>Quick Links</span></h2> </div> <?php $get_menu = $dbObj->fetch_data("ihm_menus", "menu_page = $page_id"); $get_all_sub_menu = $dbObj->fetch_data("ihm_menus", "menu_pid = '".$get_menu[0]['menu_pid']."'","menu_position asc, menu_name asc"); //echo $get_all_sub_menu[0]['menu_name'];exit; ?> <?php //include('includepage/major_macilities_left_menu.php');?> <div class="propertyTypesWidget sidebarWidget" > <ul> <?php foreach($get_all_sub_menu as $key){ if(is_numeric($key['menu_page'])){ $get_page_url = $dbObj->fetch_data("ihm_pages","page_id = '".$key['menu_page']."'"); ?> <a href="page.php?page=<?=$get_page_url[0]['page_url'];?>"><li <?php if($_REQUEST['page'] == $get_page_url[0]['page_url']){?>class="active"<?php } ?> > <?=$key['menu_name'];?> </li></a> <?php }else{ ?> <a href="<?=$key['menu_page'];?>"><li> <?=$key['menu_name'];?> </li></a> <?php } } ?> </ul> </div> </div> </div> </div> </section> <?php include("footer.php"); ?> <!-- footer --> </div> <?php include("js.php"); ?> </body> </html>