Location: PHPKode > projects > Uchome and Discuz > template/default/do_lostpasswd.htm
<!--{template header}-->

<!--{if empty($op)}-->

<form id="theform" action="do.php?ac=lostpasswd&op=" method="POST" class="c_form">
	<table cellpadding="0" cellspacing="0" class="formtable">
		<caption>
			<h2>Retrieve password</h2>
			<p><strong>Oops! This happens to all of us.</strong><br>
First Step, Kindly enter the username you registered with. Hit the NEXT Button</p>
		</caption>
		<tr><th width="120">Username</th><td><input type="text" id="username" name="username" value="" class="t_input"> <span id="s_username"></span></td></tr>
		<tr><th>&nbsp;</th><td><input type="submit" id="lostpwsubmit" name="lostpwsubmit" value="Next" class="submit" /></td></tr>
	</table>
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
</form>

<!--{elseif $op=='email'}-->

<form id="theform" action="do.php?ac=lostpasswd&op=email" method="POST" class="c_form">
	<table cellpadding="0" cellspacing="0" class="formtable">
		<caption>
				<h2>Retrieve Password</h2>
			<p>Next Step, fill the email address you used on our site, during registration process. <br><b>Tips:</b> Now you know your E-mail id, you have used see the text box,</p>
		</caption>
		<tr><th width="120">Email Address</th><td><input type="text" id="email" name="email" value="$email" class="t_input"> <span id="s_email"></span></td></tr>
		<tr><th>&nbsp;</th><td><input type="submit" id="emailsubmit" name="emailsubmit" value="Submit" class="submit" /></td></tr>
	</table>
	<input type="hidden" id="username" name="username" value="$username">
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
</form>

<!--{elseif $op=='reset'}-->

<form id="theform" action="do.php?ac=lostpasswd&op=reset" method="POST" class="c_form">
	<table cellpadding="0" cellspacing="0" class="formtable">
		<caption>
			<h2>Reset Password</h2>
		</caption>
		<tr><th width="100">Username</th><td><!--{eval echo stripslashes($space['username']);}--></td></tr>
		<tr><th>New Password</th><td><input type="password" id="newpasswd1" name="newpasswd1" value="" class="t_input"> <span id="s_newpasswd1"></span></td></tr>
		<tr><th>Confirm New Password</th><td><input type="password" id="newpasswd2" name="newpasswd2" value="" class="t_input"> <span id="s_newpasswd2"></span></td></tr>
		<tr><th>&nbsp;</th><td><input type="submit" id="resetsubmit" name="resetsubmit" value="Submit" class="submit" /></td></tr>
	</table>
	<input type="hidden" name="uid" value="$_GET[uid]" />
	<input type="hidden" name="id" value="$_GET[id]" />
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
</form>

<!--{/if}-->

<!--{template footer}-->
Return current item: Uchome and Discuz