Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/istore/staff/
Upload File :
Current File : /var/www/html/mmishra/istore/staff/index.php

<?php
require("../session.inc");

echo $header;

if ($role == 'Staff') {
	echo "<b>Register</b> [ 
	<a href='staff/?pg=stockbook'>Stockbook</a> | 
	<a href='staff/?pg=departments'>Departments</a> |  
	<a href='staff/?pg=projects'>Projects</a> |  
	<a href='staff/?pg=suppliers'>Suppliers</a> | 
	<a href='staff/?pg=indentors'>Indentors</a>  
	]
	<b>Indents</b> [ 
	<a href='staff/?pg=indententry'>Entry</a> | 
	<a href='staff/?pg=indentapproval'>Approval</a> |
	<a href='staff/?pg=indentstatus'>Status</a>
	]
	<b>Materials</b> [ 
	<a href='staff/?pg=materialreceipts'>Receipts</a> | 
	<a href='staff/?pg=materialin'>In</a> | 
	<a href='staff/?pg=materialout'>Out</a> |
	<a href='staff/?pg=materialstatus'>Status</a>
	] ";
}

$pg = $_REQUEST["pg"];

if (!$pg) $pg = 'stockbook';

include("$pg.inc");

echo $footer;

/* close connection */
$mysqli->close();
?>