Location: PHPKode > projects > Employee Scheduling System > essv1-2/viewPool.php
<?php require_once('common.php'); 
// $Id: viewPool.php,v 1.1 2005/04/02 09:16:52 atrommer Exp $
checkUser($_SESSION['USERTYPE'], 2);

// check for add
if ($_REQUEST['add']){
	addUserToSuper($_SESSION['USERID'], $_REQUEST['add']);
	redirect("viewPool.php");	
}

// grab all employees
$oAllEmps = getAllEmps();

// grab super's emps
$oMyEmps = getMyEmployees($_SESSION['USERID']);

doHeader("Employee Pool");
?>
Below are all the employees stored in ESS.  
Click on an employee to add them to your management.
Once an employee has been added to your management, you can edit them just like normal.
<? doFooter(); ?>
Return current item: Employee Scheduling System