85 lines
2.9 KiB
Smarty
85 lines
2.9 KiB
Smarty
|
|
{include file='header.tpl'}
|
||
|
|
|
||
|
|
{* $Id: lostpass.tpl 133 2009-03-22 20:16:35Z john $ *}
|
||
|
|
|
||
|
|
<div class='page_header'>{lang_print id=33}</div>
|
||
|
|
|
||
|
|
{lang_print id=34}
|
||
|
|
<br />
|
||
|
|
<br />
|
||
|
|
|
||
|
|
{* SHOW SUCCESS MESSAGE IF NO ERROR *}
|
||
|
|
{* if $submitted == 1 AND $is_error == 0}
|
||
|
|
|
||
|
|
<table cellpadding='0' cellspacing='0'>
|
||
|
|
<tr>
|
||
|
|
<td class='result'>
|
||
|
|
<div class='success'>
|
||
|
|
<img src='./images/success.gif' border='0' class='icon' />
|
||
|
|
{lang_print id=35}
|
||
|
|
</div>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
|
||
|
|
{else *}
|
||
|
|
|
||
|
|
{if $is_error==745}
|
||
|
|
If your email was found in the database you will receive an email with further instructions. If your profile is inactive then a reactivation request has been received and you will be notified when your profile has been reactivated.
|
||
|
|
{elseif $submitted == 1 AND $is_error == 0}If your email was found in the database you will receive an email with further instructions. If your profile is inactive then a reactivation request has been received and you will be notified when your profile has been reactivated.
|
||
|
|
{elseif $is_error != 0}If your email was found in the database you will receive an email with further instructions. If your profile is inactive then a reactivation request has been received and you will be notified when your profile has been reactivated.
|
||
|
|
|
||
|
|
{/if}
|
||
|
|
{if $is_error!=745}{literal}
|
||
|
|
|
||
|
|
<script>
|
||
|
|
i=0;
|
||
|
|
function checkmail(){
|
||
|
|
if(i==0){
|
||
|
|
jQuery("#form1").submit();
|
||
|
|
}
|
||
|
|
i=1;
|
||
|
|
|
||
|
|
}</script>{/literal}
|
||
|
|
<form action='lostpass1.php' method='post' onsubmit="return checkmail();" id="form1">
|
||
|
|
<table cellpadding='0' cellspacing='0' class='form'>
|
||
|
|
<tr>
|
||
|
|
<td class='form1'>Email</td>
|
||
|
|
<td class='form2'><input type='text' class='text' name='user_email' maxlength='70' size='40' /></td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class='form1'>Username</td>
|
||
|
|
<td class='form2'><input type='text' class='text' name='user_name' maxlength='70' size='40' /></td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class='form1'></td>
|
||
|
|
<td class='form2'><input type='checkbox' class='text' name='agree' value="1" /> By checking this box, you are stating that you own the email address entered and that you wish to recieve an email with instructions on how to reset your password</td>
|
||
|
|
</tr>
|
||
|
|
<tr>
|
||
|
|
<td class='form1'> </td>
|
||
|
|
<td class='form2'>
|
||
|
|
<table cellpadding='0' cellspacing='0'>
|
||
|
|
<tr>
|
||
|
|
<td>
|
||
|
|
<input type='submit' class='button' value='{lang_print id=749}' onClick="this.disabled=true;
|
||
|
|
this.value='Sending…';
|
||
|
|
this.form.submit();" />
|
||
|
|
<input type='hidden' name='task' value='send_email' />
|
||
|
|
</form>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<form action='login.php' method='POST'>
|
||
|
|
<input type='submit' class='button' value='{lang_print id=39}' />
|
||
|
|
</form>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</form>
|
||
|
|
{/if}
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
|
||
|
|
{* /if *}
|
||
|
|
|
||
|
|
{include file='footer.tpl'}
|