kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
kameshwarcollege.ac.in
/
kadmin
/
Upload FileeE
HOME
<?php //faculties.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"); require_once("../includes/classes/Faculties.cls.php"); require_once("../includes/classes/Pages.cls.php"); loginValidate(); $db = new SiteData(); $adminObj = new Admin(); $fObj = new Faculties(); $_curpage = currentPage(); $pageObj = new Pages(); $_SESSION[SES]['curpage'] = currentURL(); ?> <!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.min.js'></script> <script type='text/javascript' src='js/common.js'></script> <script type='text/javascript' src='js/fac_validation.js'></script> <script type="text/javascript"> function sortdata(orderby) { document.location.href="FacultySort.php?orderby="+orderby; } </script> <script type="text/javascript"> function validate() { if(document.form1.txtname.value=="") { alert("Please Enter Banner Name"); document.form1.txtname.focus(); return false; } if(document.form1.T2.value == "" ){ if(document.form1.img.value=="") { alert("Please Upload Image"); return false; } } if(document.form1.img.value != "") { if(!/(\.gif|\.jpg|\.png|\.jpeg)$/i.test(document.form1.img.value)) { alert("please upload a valid image file\nPlease upload a image file with an extention of one of the following :\n\n GIF,JPEG,JPG"); return false; } } if(document.form1.txtsequence.value=="") { alert("Please Enter Sequence"); document.form1.txtsequence.focus(); return false; } } </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="185"><?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 "add" :include_once("includes/puppopcont_add.php"); break; case "edit" :include_once("includes/puppopcont_edit.php"); break; default: include_once("includes/puppopcont_list.php"); break; }?> </div></td> </tr> <tr> <td colspan="2" valign="middle"><?php require_once("includes/footer.php"); ?></td> </tr> </table> </div> </body> </html>