Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/sip/admin/
Upload File :
Current File : /var/www/html/mmishra/sip/admin/index.php

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

//exit on session expiry
if (!$user) header("Location: /");

if ($role == 'operator') {
	header("Location: /operator/");
} else if ($role == 'user') {
        header("Location: /user/");
} else if ($role == 'guest') {
        header("Location: /guest/");
}

echo $header;

?>

[ <a href='admin/?pg=websessions'>Sessions</a> ]
[ <a href='admin/?pg=weblogs'>Logs</a> ]
[ <a href='admin/?pg=webusers'>Users</a> ]
[ <a href='/operator/'>Update</a> ]
[ <a href='/user/'>Query</a> ]


<?php
$pg = $_REQUEST["pg"];

if ($pg) include("$pg.php");

echo $footer;

?>