kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
kameshwarcollege.ac.in
/
kadmin
/
Upload FileeE
HOME
<?php //MenuAction.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/Tenders.cls.php"); loginValidate(); $db = new SiteData(); $tenObj = new Tender(); $act = isset($_REQUEST['act'])?$_REQUEST['act']:""; $ext = array("html", "htm", "php"); define("ROOT_PATH","./"); $location = "tenders.php"; switch($act) { case "addtender": { $tenObj->addTender($_REQUEST); $location = "tenders.php"; redirect ($location); }break; case "updatetender": { $tenObj->updateTender($_REQUEST); $location = "tenders.php"; $page = $_REQUEST['page']; redirect ($location.'?page='.$page); }break; case "del": { $id = (int)$_REQUEST['id']; $tenObj->deleteTender($id); $location = "tenders.php"; $page = $_REQUEST['page']; redirect ($location.'?page='.$page); }break; case "disable":{ $respond = $tenObj->disableStatus($_REQUEST['id']); $page = $_REQUEST['page']; $location = "tenders.php"; redirect ($location.'?page='.$page); }break; case "enable":{ $respond = $tenObj->enableStatus($_REQUEST['id']); $page = $_REQUEST['page']; $location = "tenders.php"; redirect ($location.'?page='.$page); }break; default : break; } //redirect ($location); ?>