<?php require_once "getstatic.php"; require_once "systemcontroller.php"; $method = $_REQUEST['method']; $user_eid = $_REQUEST['user_eid']; $user_did = $_REQUEST['user_did']; $user_sid = $_REQUEST['user_sid']; $gs = new getstatic(); $sc = new systemcontroller(); switch ($method) { case 'logout': $gs->logout(); break; case 'user_operation': if (isset($user_eid)) { $sc->get_application_users_edit_data($user_eid); } if (isset($user_did)) { $sc->delete_user($user_did); } if (isset($user_sid)) { $sc->change_user_status($user_sid); } break; default: header($gs->base_url()); }
<?php @session_start(); //File Includes include "library/getstatic.php"; include "library/systemcontroller.php"; //Objects $gs = new getstatic(); $sc = new systemcontroller(); //Function Calls $gs->checksession(); $gs->checkusertype(); $baseurl = $gs->base_url(); $application_users = $sc->get_application_users(); if (isset($_POST['submit'])) { $sc->add_system_user(); } else { if (isset($_POST['edit_user_submit'])) { $sc->change_user_password(); } } $usertype = $_SESSION['usertype']; $username = $_SESSION['username']; ?> <!DOCTYPE HTML> <html> <head> <title>Stationary Management System | User Management</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="<?php echo $baseurl;
<?php include "library/webconfig.php"; include "library/logincheck.php"; $gs = new getstatic(); $baseurl = $gs->base_url(); if (isset($_POST['submit'])) { $lc = new logincheck(); $lc->login(); } ?> <!DOCTYPE HTML> <html> <head> <title>Stationary Management System</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="<?php echo $baseurl; ?> images/favicon.png"> <link rel="stylesheet" type="text/css" href="<?php echo $baseurl; ?> styles/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="<?php echo $baseurl; ?> styles/font-awesome.css"> <link rel="stylesheet" type="text/css" href="<?php echo $baseurl; ?>
<?php @session_start(); //File Includes include "library/getstatic.php"; include "library/systemcontroller.php"; //Objects $gs = new getstatic(); $sc = new systemcontroller(); //Function Calls $gs->checksession(); $baseurl = $gs->base_url(); $usertype = $_SESSION['usertype']; $username = $_SESSION['username']; ?> <!DOCTYPE HTML> <html> <head> <title>Stationary Management System | Add Stock</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="<?php echo $baseurl; ?> images/favicon.png"> <link rel="stylesheet" type="text/css" href="<?php echo $baseurl; ?> styles/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="<?php echo $baseurl; ?>