Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/iws8/html/erp/
Upload File :
Current File : /var/www/html/mmishra/iws8/html/erp/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>ERP @ IIITA</title>
	<base href="https://erp.iiita.ac.in/" />
	<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" />
	<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css" media="screen" />
	
  	<script type="text/javascript" src="js/calendar.js"></script>
</head>
<body style="background: url(images/banner6.jpg); background-size: 100% 50; background-repeat: no-repeat; background-position: left top;">
	<center>
	<img src='images/iLogo.png' width='45' height='45' border='0'>
	<h1 style='color:#247BBB'><font size='+3'>I</font>NDIAN <font size='+3'>I</font>NSTITUTE OF <font size='+3'>I</font>NFORMATION <font size='+3'>T</font>ECHNOLOGY <font size='+3'>A</font>LLAHABAD</h1>
	<font size='+1'>( ERP Ver. 1.0 <sub style='color:grey; font-size:10px'><i>beta</i></sub> )</font>
	<br>
	<form name='mm' method='POST' action='<?php echo $_SERVER['PHP_SELF']; ?>' enctype='multipart/form-data' autocomplete='on'>
	<?php
	require("include/session.inc");
	$pg = $_REQUEST['pg'];
	echo "<div align='right'> <i style='font-size:14px; color:#247BBB' class='fa fa-clock-o' aria-hidden='true'></i> ".date("l, d M, Y h:i:s A")."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ";
	if ($user) {
		echo "Welcome <b>$user</b> to Intranet ERP! <i style='font-size:14px; color:#247BBB' class='fa fa-thumbs-o-up' aria-hidden='true'></i>
		you are logged in as <b>$role</b>. Please quit your session here... 
		<a href='?logout=1'><i style='font-size:14px; color:#247BBB' class='fa fa-sign-out' aria-hidden='true'></i></a>";
		
		//$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 "Welcome to Internet ERP!&nbsp;&nbsp;&nbsp;&nbsp;
		<i style='font-size:14px; color:#247BBB' class='fa fa-user-o' aria-hidden='true'></i> <input type='text' name='uid' size='10'> 
		<i style='font-size:14px; color:#247BBB' class='fa fa-key' aria-hidden='true'></i> <input type='password' name='pwd' size='10'> 
		<a href='javascript:void(0)' onclick=\"document.querySelector('form').submit()\"><i style='font-size:16px; color:#247BBB' class='fa fa-sign-in' aria-hidden='true'></i></a>";
	}
	echo "</div><br><div align='left'>";
	
	if (!$pg) {
		$pg = 'home';
		echo "<a href='?pg=about' id='nav'><i style='font-size:16px; color:#247BBB' class='fa fa-bullhorn' aria-hidden='true'></i> About</a>";
	} else echo "<a href='.' id='nav'><i style='font-size:16px; color:#247BBB' class='fa fa-home' aria-hidden='true'></i> Home</a>";
	echo "</div>";
	
	include($pg.'.inc');
	
	?>
	
	<input type='hidden' name='pg' value='<?php echo $pg; ?>'>
	<div id='footer'>
        [ Your Proxy <i style='font-size:14px; color:#247BBB' class="fa fa-laptop" aria-hidden="true"></i> <?php echo getIP(); ?> ]
		<?php 
		if ($user) {
			echo "[ <a href='?pg=websessions'><i style='font-size:14px; color:#247BBB' class='fa fa-hourglass-half' aria-hidden='true'></i> sessions</a> ]
			[ <a href='?pg=weblogs'><i style='font-size:14px; color:#247BBB' class='fa fa-random' aria-hidden='true'></i> logs</a> ]";
		}
		?>
		<hr style='border: 0; border-top: 1px solid lightblue'>
        <b><span style='font-size:14px; color:#247BBB'>&copy;</span>2017 ERP & Automation, IIIT Allahabad, Devghat, Jhalwa, Allahabad-211012 (UP) INDIA<br>
        Institute ERP system is under development by internal automation team.<br>
        Contact: 0532-2922011/2042/2238, erp.support@iiita.ac.in
        <hr style='border: 0; border-top: 1px solid lightblue'>
	</div>
	</center>
	</form>
</body>
</html>