Location: PHPKode > projects > Helpdesk Over Web > how/calls/calladmin.php
<?php

// Call Log Admin Menu

// Include Configuration File
require_once ('../includes/config.inc'); 

// Set the page title and include the HTML header.
$page_title = 'Helpdesk Over Web - Call Log';
include ('../includes/header.html');
	
// Output query results in a table.
echo ("<H1>Call Log</H1>");
echo ("<P>Administration options are shown in the menu below. ");
if($_SESSION['Role'] == 'Administrator')
		{
echo ("<UL>
<H4><A HREF='newcall.php'>Log New Call</A></H4>
<H4><A HREF='browseall.php'>Browse All Open Calls</A></H4>
<H4><A HREF='closedcalls.php'>Closed Call Archive</A></H4>
<H4><A HREF='assignedcalls.php'>Assigned Calls</A></H4>
<H4><A HREF='callsearch.php'>Search Calls</A></H4>
			</UL>");
}			
elseif($_SESSION['Role'] == 'Helpdesk Manager')
		{
echo ("<UL>
<H4><A HREF='newcall.php'>Log New Call</A></H4>
<H4><A HREF='browseall.php'>Browse All Open Calls</A></H4>
<H4><A HREF='closedcalls.php'>Closed Call Archive</A></H4>
<H4><A HREF='assignedcalls.php'>Assigned Calls</A></H4>
<H4><A HREF='callsearch.php'>Search Calls</A></H4>
			</UL>");
} elseif ($_SESSION['Role'] == 'Engineer')
	{
echo ("<UL>
<H4><A HREF='newcall.php'>Log New Call</A></H4>
<H4><A HREF='assignedcalls.php'>Assigned Calls</A></H4>
<H4><A HREF='closedcalls.php'>Closed Call Archive</A></H4>
</UL>");
}

echo "<P>[ <A HREF='../index.php'>Main Menu</A> ]</P>";
// Include standard HTML footer
include ('../includes/footer.html');
?>
Return current item: Helpdesk Over Web