Location: PHPKode > projects > phpimageview > includes/form.login.inc.php
<html>
<head>
<title>theimages Administration</title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
	<link rel="stylesheet" href="<?php print $thei_dir->pre.$thei_dir->theme; ?>/styles.css" type="text/css">
	<link rel="stylesheet" href="<?php print $thei_dir->pre.$thei_dir->theme; ?>/styles.form.css" type="text/css">
	<link rel="stylesheet" href="<?php print $thei_dir->pre.$thei_dir->theme; ?>/styles.html_elem.css" type="text/css">
</head>
<body  bgcolor="#efefef" leftmargin="2" marginwidth="0" topmargin="2" marginheight="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
 	<td valign="top" width="100%" background="<?php print $thei_dir->pre.$thei_dir->theme; ?>/images/titlebarbg.gif"><img src="<?php print $thei_dir->pre.$thei_dir->theme; ?>/images/titlebar.gif" />&nbsp;</td>
 	</tr>
</table>
<form name="login" method="post" action="<?=$_SERVER['PHP_SELF'];?>">
  	<table align="center"  width="80%" border="0" cellspacing="0" cellpadding="0">
    	<tr> 
      		<td colspan="3" align="center"><b>You must authenticate to access this area</b></td>
		    
		</tr>
		<tr> 
      		<td colspan="3" align="center">&nbsp;</td>
		    
		</tr>
		<tr> 
			<td width="35%">&nbsp;</td>
			<td width="15%">User </td>
		    <td width="50%">
		    	<input class="text" type="text" name="ADMIN" size="20">
		    </td>
		</tr>
		<tr> 
			<td width="35%">&nbsp;</td>
			<td width="15%">Password</td>
		    <td width="50%">
		    	<input class="text" type="password" name="ADMIN_PW" size="20">
		    </td>
		</tr>
		<tr> 
	    	<td width="35%">&nbsp;</td>
			<td width="15%">&nbsp;</td>
	      	<td width="50%">
	    		<input class="submit" type="submit" name="submit" value="Login">
		      	<? 
		      		$str = $_SERVER['PHP_SELF'];
		      		$str .= (!empty($_SERVER['QUERY_STRING'])) ? '?'.$_SERVER['QUERY_STRING'] : '';
		      	?>
		      	<input type="hidden" name="request" value="<?php print $str;?>">
		   
	      	</td>
		</tr>
	</table>
</form>
<? if (isset($_GET['attempt'])) { ?>
	<table align="center"  width="80%" border="0" cellspacing="0" cellpadding="0">
    	<tr> 
      		<td colspan="3" align="center"><b>Authentication Failed</b></td>
		    
		</tr>
		<tr> 
      		<td colspan="3" align="center">&nbsp;</td>
		    
		</tr>
		
	</table>
<? } ?>
Return current item: phpimageview