/recruitment/admin/admin_dashboard.php
PHP | 181 lines | 155 code | 22 blank | 4 comment | 10 complexity | e10b35cd156d2969d09aed4c5a250ab2 MD5 | raw file
Possible License(s): LGPL-2.1
- <?php
- if (!isset($_SESSION)) {
- session_start();
- }
-
- if(!isset($_SESSION['msgDetails'])){
- $_SESSION['msgCaption'] = '';
- $_SESSION['msgDetails'] = '';
- }
-
- if(!isset($_SESSION['user_account_row_id']) || $_SESSION['user_account_row_id'] < 1){
- include_once('../access_error.php');
- $redirectToURL = '../';
-
- header("location: $redirectToURL");
- exit();
- }
-
- require_once('../../lib/database.php');
- openConnection();
-
- require_once('../helper_functions.php');
- load_settings_into_session_vars();
-
- //clear/reset other session vars to start clean:
-
- //1. Interview Panels:
-
-
- //2. Interview Panel Members:
- $_SESSION['mem_FullNames'] = '';
- $_SESSION['mem_PNumber'] = '';
- $_SESSION['mem_Department'] = 0;
- $_SESSION['mem_Role'] = '';
- $_SESSION['interview_panel_member_delete_id'] = 0;
- $_SESSION['interview_panel_member_edit_id'] = 0;
-
- $_SESSION['interview_schedule_id'] = 0;
-
- ?>
-
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <?php require_once("../../partials/cssimports.php") ?>
- <title>ABU Zaria | Online Job Vacancies and Recruitment Portal</title>
- <meta name="keywords" content="ABU Zaria, job vacancies, recruitment">
- <meta name="description" content="The official online job vacancies and recruitment portal of Ahmadu Bello University, Zaria - Nigeria.">
- <link href="../recruit_css/style.css" rel="stylesheet" type="text/css" media="screen" />
- <style type="text/css">
- .hero-unit {
- background-color: #fff;
- opacity: 0.8;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- background-image: url('../../assets/img/banner-recruitment.png');
- min-height: 120px;
- }
-
- .hero-unit p a.btn {
- opacity: 1;
- }
-
- </style>
- <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
- <!--[if lt IE 9]>
- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
-
- </head>
-
- <body>
- <?php include_once dirname(__FILE__) . "/../../partials/recruit_navbar.php" ?>
- <div id="container" class="container">
- <div class="span12">
- <div class="page-header">
- <h2>Welcome to Admin Dashboard<small> <?php echo $_SESSION['full_names']?> <font size="-1"><a href="../logout.php">[Log Out]</a></font></small></h2>
- <noscript>
- <?php include_once('../no_javascript.php');?>
- </noscript>
- <?php
- if(isset($_SESSION['msgDetails']) && strlen($_SESSION['msgDetails']) > 0 ) {
- // echo $_SESSION['msgDetails'];
- $_SESSION['msgCaption'] = '';
- $_SESSION['msgDetails'] = '';
- }
- ?>
- </div>
-
- <div class="dashboard_div" style="width:90%">
- <div class="div_caption"><strong>Perform Your Admin Actions Here</strong></div>
- <br />
- <div class="dashboard_div" style="width:27%; height:230px">
- <div class="div_caption"><strong>Business Rules Settings</strong></div>
- <p><strong>Set global parameters that control the behaviour of the recruitments portlet:</strong></p>
- <ul>
-
- <li>Accounts expiry threshold <strong>– <?php echo $_SESSION['biz_MaxThreshold'];?> days</strong></li>
- <li>Applicants' max. picture uploads <strong>– <?php echo $_SESSION['biz_MaxPixChange'];?>x</strong></li>
- <li>Applicants' max. biodata edits <strong>– <?php echo $_SESSION['biz_MaxBiodataEdit'];?>x</strong></li>
- <li>Applicants' max. job applications <strong>– <?php echo $_SESSION['biz_MaxJobApps'];?></strong></li>
- <li>Referees per job application <strong>– <?php echo $_SESSION['biz_Referees'];?></strong></li>
- </ul><br />
- <p align="right"><a class="btn btn-success" href="admin_set_business_rules.php">Update Business Rules »</a></p>
- </div>
-
- <div class="dashboard_div" style="width:27%; height:230px">
- <div class="div_caption"><strong>Users / Applicants</strong></div>
- <p><strong>Perform actions related to applicants or users of the recruitments portlet, like:</strong></p>
- <ul>
- <li><a href="block_account.php">Block users' / applicants' accounts</a></li>
- <li><a href="unblock_account.php">Unblock users' / applicants' accounts</a></li>
- <li><a href="password_reset.php">Reset users' / applicants' passwords</a></li>
- <li><a href="#">View / track application status</a></li>
- <li><a href="#">View / print applicants' CVs</a></li>
- <li><a href="modify_senatorial_district.php">Edit Senatorial Districts</a></li>
- <li><a href="add_senatorial_district.php">Add/Delete Senatorial Districts</a></li>
- </ul>
- <p align="center"><strong>(click the appropriate link to proceed)</strong></p>
- </div>
-
- <div class="dashboard_div" style="width:27%; height:230px">
- <div class="div_caption"><strong>Interviews</strong></div>
- <p><strong>Manage job interviews-related elements or operations here, such as:</strong></p>
- <ul>
- <li><a href="interview_panels_manage.php">Manage job interview panels</a></li>
- <li><a href="interview_panel_members.php">Manage panel memberships</a></li>
- <li><a href="interview_schedule.php">Manage job interview schedules</a></li>
- <li><a href="interview_score_items.php">Manage interview scoring parameters</a></li>
- <li><a href="interview_score_settings.php">Set / Edit interview scoring points</a></li>
- <li><a href="shortlist_applicants.php">Shortlist applicants for interview</a></li>
- <li><a href="interview_score_entry.php">Record or edit job interview results</a></li>
- </ul>
- <p align="center"><strong>(click the appropriate link to proceed)</strong></p><br />
- </div>
-
- <div class="dashboard_div" style="width:27%; height:230px">
- <div class="div_caption"><strong>New Appointments</strong></div>
- <p><strong>Handle operations pertaining to new appointments or employments such as:</strong></p>
- <ul>
- <li><a href="../documentation/recommend.php">Recommend new appointments</a></li>
- <li><a href="../documentation/appoint.php">Appoint new employees</a></li>
- <li><a href="../documentation/confirm_assumption_of_duty.php">Confirm assumption of duty</a></li>
- <li><a href="#">Confirm documentation</a></li>
- <li><a href="#">Manage ?????</a></li>
- <li><a href="#">Manage ?????</a></li>
- </ul><br />
- <p align="center"><strong>(Click the appropriate link to proceed)</strong></p><br />
- </div>
-
- <div class="dashboard_div" style="width:27%; height:230px">
- <div class="div_caption"><strong>Sundry Reports</strong></div>
- <p><strong>Generate all manners of recruitments-related reports for viewing or printing:</strong></p>
- <ul>
- <li>Lists of Job Applicants</li>
- <li>Lists of Job Vacancies</li>
- <li>Lists of Job Advertisements</li>
- <li>Lists of Interview Panels</li>
- <li>???????</li>
- </ul><br />
- <p align="right"><a class="btn btn-success" href="#">Generate Reports »</a></p>
- </div>
-
- <div class="dashboard_div" style="width:27%; height:230px">
- <div class="div_caption"><strong>Sundry Reports</strong></div>
- <p><strong>Generate all manners of recruitments-related reports for viewing or printing:</strong></p>
- <ul>
- <li>Lists of Job Applicants</li>
- <li>Lists of Job Vacancies</li>
- <li>Lists of Job Advertisements</li>
- <li>Lists of Interview Panels</li>
- <li>???????</li>
- </ul><br />
- <p align="right"><a class="btn btn-success" href="#">Generate Reports »</a></p>
- </div>
- </div>
- </div><!-- /span12 -->
- </div><!-- /container -->
- </body>
- </html>