Location: PHPKode > projects > Kwalbum > kwalbum/pages/LostPWPage.html.php
<?php
/*
 * Created on Sep 16, 2008
 * 2.0
 */

echo $this->msg;
if (isset($this->finished))
	return;
?>
<fieldset>
<legend>Lost Password</legend>
<?php
if (!isset($_GET['h']))
{
	?>
<form method="post" action="<?=$URLP->GetExtendedURL()?>p=LostPW">
If you've forgotten your password, just enter your login name and email address that you registered with and a link will be emailed to you to set a new password.
<table border="0">
<tr><td>Login Name:</td><td><input type="text" name="name" /></td></tr>
<tr><td>Email Address:</td><td><input type="text" name="email" /></td></tr>
<tr><td colspan="2"><input type="submit" name='action' value="Send Request" /></td></tr>
</table>
	<?php
}
else
{
	?>
			Enter your new password here.<br/>
<form method="post" action="<?=$URLP->GetExtendedURL()?>&amp;p=LostPW&amp;h=<?=$this->newHash?>">
New Password: <input type="password" name="pw" size="15"/> <input type="submit" name="action" value="Change It">
	<?php
}
?>
</form>
</fieldset>
<br/>
Return current item: Kwalbum