Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/indem/wisdom.bak/
Upload File :
Current File : /var/www/html/mmishra/indem/wisdom.bak/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=cpanel'>Control Panel</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 class='login'>
<tr><td>Login ID:</td>
	<td><input type='text' name='txtID' size='20' value='<?=htmlsafe($txtID)?>'></td>
</tr><tr><td>Password:</td>
	<td><input type='password' name='txtPWD' size='20' value=''></td>
</tr><tr><td rowspan='2'><img src='images/login.jpg' width='70' height='50'></td>
	<td><input type='checkbox' name='chkRem' class='input'>&nbsp;Remember me</td>
</tr><tr>
	<td><input type='submit' name='submit' value='LOGIN' style='width:80px'></td>
</tr>
</table>
<br><br>
<script>
	frmStatic.txtID.focus();
</script>
<?
if ($target) {
        $tbl = 'webpages';
	$o = mysql_fetch_object(mysql_query("select * from $tbl where pageid='$target'"));
        if ($o->pageaccess == 'admin') {
        	echo "<br>The page you are trying to access (<b>$o->pagetitle</b>) 
		requires authentication.</u><br>";
	}
}
?>