Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/indem/old/indem/iiita/
Upload File :
Current File : /var/www/html/mmishra/indem/old/indem/iiita/login.php

<?php
if ($user) { ?>
	<div align=center>
		You are already logged in using the ID <?=$user?>.<br>
		Go to the <a href='inner.php?conf=my'>My ADA</a> page or <a href='inner.php?logout=1'>logout</a>.
		<br><br>
		If you chose the 'Remember me' option on the login page,<br> and no longer wish to get logged in
		automatically, click on the following link:<br>
		<a href="inner.php?logout=1&mode=forget">Unremember me</a>
	</div>
<? exit; } ?>
<br>
<br><b>Please login here using your login ID and password.</b><br>
<input type='hidden' name='login'> <input type='hidden' name='target' value='<?=$target?>'>
<table border=0 class='normal'>
	<tr><td align='right'>Login ID</td>
	<td><input type='text' name='txtID' size='20' class='input' value='<?=htmlsafe($txtID)?>'></td> 
	</tr><tr><td align='right'>Password</td>
	<td><input type='password' name='txtPWD' size='20' class='input' value='<?=htmlsafe($txtPWD)?>'</td>
	</tr><tr><td>&nbsp;</td>
	<td><input type='checkbox' name='chkRem' class='input'>&nbsp;Remember me</td>
	</tr><tr><td width="100px">&nbsp;</td>
	<td><input type='submit' name='submit' value='LOGIN' style='width:80px'></td>
	</tr>
</table>
<br><br>
<script>
	frmStatic.txtID.focus();
</script>
<?
if ($target) {
        $o = mysql_fetch_object(mysql_query("select * from webpages where id='$target'"));
        if ($o->access_scope == 'admin') {
        	echo "<br>The page you are trying to access (<b>$o->title</b>) requires authentication.</u><br>";
	}
}
?>