kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
kameshwarschool.org
/
kadmin
/
Upload FileeE
HOME
<?php //admin-manager.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/Admin.cls.php"); loginValidate(); $db = new SiteData(); $adminObj = new Admin(); $_curpage = currentPage(); $admin_type = $_SESSION[SES]['admin']['admin_type']; //echo $admin_type; if($admin_type==1){ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?=PAGE_TITLE?> :: ADMIN PANEL</title> <link rel="stylesheet" type="text/css" href="styles/admin.css" /> <link rel="stylesheet" type="text/css" href="styles/common.css" /> <script type='text/javascript' src='js/jquery.js'></script> <script type='text/javascript' src='js/common.js'></script> <script type='text/javascript' src='js/admin_validation.js'></script> </head> <body> <?php getMessage();?> <div class="bodydiv"> <table width="100%" border="1" bordercolor="#999999" cellpadding="0" cellspacing="0" class="bodytable"> <tr> <td colspan="2" valign="middle"><?php require_once("includes/header.php"); ?></td> </tr> <tr> <td align="center" valign="top" width="150"> <?php require_once("includes/column_left.php"); ?> </td> <td align="left" valign="top"> <div class="maincontent"> <?php $q= isset($_GET['q'])?$_GET['q']:""; switch($q) { case "view" : {include_once("includes/admin_view.php"); break;} case "add" : {include_once("includes/admin_add.php"); break;} case "edit" : {include_once("includes/admin_edit.php"); break;} case "changepass" : {include_once("includes/admin_changepass.php"); break;} default: {include_once("includes/admin_list.php"); break;} }?> </div> </td> </tr> <tr> <td colspan="2" valign="middle"><?php require_once("includes/footer.php"); ?></td> </tr> </table> </div> </body> </html> <?php }else{ redirect("index.php"); }?>