Location: PHPKode > projects > Kwalbum > kwalbum/pages/LoginPage.html.php
<?php
/*
 * Created on Aug 19, 2008
 * 2.0
 */

if ($error == 1)
	echo '<p class="error">You\'re login name or password was wrong.</p>';
?>

<fieldset>
<legend>Logging In</legend>
<form method="post" action="<?=$URLP->GetExtendedURL()?>p=Login">
<table border="0">
<tr>
 <td>Login Name:</td>
 <td><input type="text" name="name" size="15"/></td>
</tr>
<tr>
 <td>Password:</td>
 <td><input type="password" name="password" size="15"/></td>
</tr>
<tr>
 <td>Save Cookie For:</td>
 <td><select name="length">
  <option value="session">current session</option>
  <option value="86400">1 day</option>
  <option value="604800">1 week</option>
  <option value="31536000" selected="selected">1 year</option>
 </select></td>
</tr>
<tr>
 <td colspan="2"><input type="submit" name="act" value="Login"></td>
</tr>
</form>
</table>
</fieldset>
<br/>
<a href="<?=$URLP->GetExtendedURL()?>p=LostPW">Forgot your password?</a><br/>
<a href="<?=$URLP->GetExtendedURL()?>p=Register">Need an account?</a>
<br/>
Return current item: Kwalbum