Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/istore/
Upload File :
Current File : /var/www/html/mmishra/istore/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>
  	<title>iStore@IIITA</title>
	<base href="https://istore.iiita.ac.in/" />
  	<style type="text/css">
		@import "css/menu1.css";
  	</style>
	<meta charset="utf-8">
  	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta name="description" content="store purchase inventory issue return" />
	<meta name="author" content="Dr. M.K. Mishra, System Analyst" />
	
	<link rel='SHORTCUT ICON' href="images/logo.ico" />
	<link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="css/calendar.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="css/dashboard.css" media="screen" />

  	<script type="text/javascript" src="js/calendar.js"></script>
</head>
<body>
	<center>
	<font weight='bold' size='+2' color='white'>STORE PURCHASE<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/iStore.jpg' width='25' height='25' border='0' /> iStore Ver. 1.0 )</font>
	<br>
	</center>
	<form name='mm' method='POST' action='<?php echo $_SERVER['PHP_SELF']; ?>' enctype='multipart/form-data' autocomplete='on'>

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

		if ($user) {
			echo "Welcome <b>$user!</b> you are logged in as <b>$role</b>";
			$rs = mysql_query("select module from webusers where userid='$user'");
			if (mysql_num_rows($rs)) {
				$o = mysql_fetch_object($rs);
				$module = $o->module;
			} else {
				$module = 'public';
			}
		 
		} else echo "<br>";
		echo "<div align='right'>".date("l, d M, Y h:i:s A")."</div>";
		include("menu.inc");
	
		//update status of online tenders
		mysql_query("update t_tenders set status='Offline' where status='Online' and date_submission<'".date("Y-m-d")."'");
	
		$pg = $_REQUEST["pg"];
		if (!$pg) $pg = 'home';

		include("$pg.inc");

		?>
		<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 silver'>
       	<b>&copy;2015 Store & Purchase Department, IIIT Allahabad, Devghat, Jhalwa, Allahabad-211012 (UP) INDIA<br>
       	With smart applications of technology material management becomes enjoyable exercise.<br>
       	Contact: 0532-2922051
       	<hr style='border: 0; border-top: 1px solid silver'>
       	Developed by: Dr. M.K. Mishra (System Analyst), IIIT Allahabad
	</div>
</body>
</html>