<? defined('_INCLUDED_') or die('Restricted Access'); 

	$def_template_included = true;
	require_once 'page-default.php';
	include_once SYSTEM.'form_functions.php';
		
	start_content();
	page_content();
	
?>

<div id="login-form">
	<div class="title">Log In</div>
	<div class="content">
	<form action="<?=REQ_URI?>" method="post">
		<input type="hidden" name="do" value="login" />
		<input type="hidden" name="r" value="<?=@$_REQUEST['r']?>" />
	
		<div class="fields">
			<label for="username">Username:</label> <input id="username" type="text" name="username" value="<?=value('username')?>" /><br />
			<label for="password">Password:</label> <input id="password" type="password" name="password" value="" /><br />
		</div>
		<br />
		<input type="submit" name="submit" value="Log In" /><br />
		<br />
		
	</form>
	</div>
</div>

<div class="tcenter"><em>HINT: Your username is your 5-digit NALS member number found on your membership card.</em></div>
<br /><br />

<? end_content(); ?>

