| Current Path : /var/www/html/mmishra/ilight/ |
| Current File : /var/www/html/mmishra/ilight/index.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>iLight@IIITA</title>
<style type="text/css">
@import "css/menu1.css";
</style>
<base href='https://ilight.iiita.ac.in/' />
<link href='css/style.css' rel='stylesheet' />
<link rel='SHORTCUT ICON' href='images/logo.ico'>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<meta name='description' content='electrical, maintenance, civil'>
<meta name='author' content='Dr. M.K. Mshra, System Analyst'>
</head>
<body>
<center>
<font weight='bold' size='+2' color='orange'>INSTITUTE WORKS<img src='images/iLogo.png' width='40' height='40' border='0'> DEPARTMENT</font>
<h1>Indian Institute of Information Technology Allahabad</h1>
<font size='+1'>( <img src='images/iLight.png' width='25' height='25' border='0' /> iLight Ver. 1.0 )</font>
<br>
</center>
<form method='POST' action='<?php echo $_SERVER['PHP_SELF']; ?>' enctype='multipart/form-data'>
<?php
require("session.inc");
if ($user) {
echo "Hello <b>$user!</b> you are logged in as <b>$role</b>.";
$rs = mysql_query("select modules from webusers where userid='$user'");
if (mysql_num_rows($rs)) {
$o = mysql_fetch_object($rs);
$module = $o->modules;
} else {
$module = 'public';
}
} else echo '<br>';
include("menu.inc");
$pg = $_REQUEST["pg"];
if (!$pg) $pg = 'home';
//if (!$user && $pg != 'home') echo '<h1>Please login into the system first.</h1>';
//else
include("$pg.inc");
/*
$rs = mysql_query("select * from el_config");
$o = mysql_fetch_object($rs);
echo "<br><br><br><br>
<div align='right'>
[ Date reading: $o->datereading | Date billing: $o->datebilling | Date mailing: $o->datemailing ]
</div>";
*/
?>
<input type='hidden' name='pg' value='<?php echo $pg; ?>'>
</form>
<br><br>
<div id='footer' align='center'>
<hr style='border: 0; border-top: 1px solid yellow'>
<b>©2015 Institute Works Department, IIIT Allahabad, Devghat, Jhalwa, Allahabad-211012 (UP) INDIA<br>
Care is better than maintenance. Avoid self-engineering, consult institute works department.<br>
Contact: 0532-2922034/2590
<hr style='border: 0; border-top: 1px solid yellow'>
Developed by: Dr. M.K. Mishra (System Analyst), IIIT Allahabad
</div>
</body>
</html>