Your IP : 216.73.216.40


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

<!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>iStore@IIITA</title>
  	<style type="text/css">
		@import "css/menu1.css";
  	</style>
	<base href="https://istore.iiita.ac.in/" />

	<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="store purchase inventory issue return">
	<meta name="author" content="Mithilesh Mishra, System Analyst">

	<script type="text/javascript" src="js/mootools.js"></script>
  	<script type="text/javascript" src="js/calendar.js"></script>
	<script type="text/javascript">
	//<![CDATA[
        $(function() {
    		$( "#tags" ).autocomplete({
      		source: "autocomplete.php"
    		});
  	});
	window.addEvent('domready', function() { 
		myCal1 = new Calendar({ date1: 'Y-m-d' }, { direction: 1, tweak: { x: 6, y: 0 } });
		myCal2 = new Calendar({ date2: 'Y-m-d' }, { direction: 1, tweak: { x: 6, y: 0 } });
		//myCal1 = new Calendar({ date1: 'Y-m-d' }, { classes: ['dashboard'], direction: 1 });
		//myCal2 = new Calendar({ date2: 'Y-m-d' }, { classes: ['dashboard'], direction: 1 });
	});
	//]]>
	</script>
	
	<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" />
</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");

	if ($user) {
		echo "Hello <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>';
	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");

	?>

	<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 technological applications material management can be an enjoyable science.<br>
        	Contact: 0532-2922051
        	<hr style='border: 0; border-top: 1px solid silver'>
        	Developed by: Mithilesh Kr. Mishra (System Analyst), IIIT Allahabad
	</div>
</body>
</html>