i would like to add password reset box also in my login page pls help me what,s my problem is when i trie to reset the password it will reload to the same page not sending password reset email i would like to add both in same page the image is below

this is my login_body.html
- Code: Select all
<!-- INCLUDE overall_header.html -->
<script type="text/javascript">
// <![CDATA[
onload_functions.push('document.getElementById("<!-- IF S_ADMIN_AUTH -->{PASSWORD_CREDENTIAL}<!-- ELSE -->{USERNAME_CREDENTIAL}<!-- ENDIF -->").focus();');
// ]]>
</script>
<form action="{S_LOGIN_ACTION}" method="post" id="login">
<div>
<div><span><span></span></span>
<div>
<h2><!-- IF LOGIN_EXPLAIN -->{LOGIN_EXPLAIN}<!-- ELSE -->{L_LOGIN}<!-- ENDIF --></h2>
<fieldset <!-- IF not S_CONFIRM_CODE -->class="fields1"<!-- ELSE -->class="fields2"<!-- ENDIF -->>
<!-- IF LOGIN_ERROR --><div>{LOGIN_ERROR}</div><!-- ENDIF -->
<dl>
<dt><label for="{USERNAME_CREDENTIAL}">{L_USERNAME}:</label></dt>
<dd><input type="text" tabindex="1" name="{USERNAME_CREDENTIAL}" id="{USERNAME_CREDENTIAL}" size="25" value="{USERNAME}" /></dd>
</dl>
<dl>
<dt><label for="{PASSWORD_CREDENTIAL}">{L_PASSWORD}:</label></dt>
<dd><input type="password" tabindex="2" id="{PASSWORD_CREDENTIAL}" name="{PASSWORD_CREDENTIAL}" size="25" /></dd>
<!-- IF S_DISPLAY_FULL_LOGIN and (U_SEND_PASSWORD or U_RESEND_ACTIVATION) -->
<!-- IF U_SEND_PASSWORD --><dd><a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a></dd><!-- ENDIF -->
<!-- IF U_RESEND_ACTIVATION --><dd><a href="{U_RESEND_ACTIVATION}">{L_RESEND_ACTIVATION}</a></dd><!-- ENDIF -->
<!-- ENDIF -->
</dl>
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
<!-- ENDIF -->
<!-- IF S_DISPLAY_FULL_LOGIN -->
<dl>
<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="4" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="5" /> {L_HIDE_ME}</label></dd>
</dl>
<!-- ENDIF -->
{S_LOGIN_REDIRECT}
<dl>
<dt> </dt>
<dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" /></dd>
</dl>
</fieldset>
</div>
<span><span></span></span></div>
<!-- IF (S_AL_WL_ENABLED or S_AL_FB_ENABLED or S_AL_TW_ENABLED) and not S_ADMIN_AUTH -->
<div style="padding: 0px 10px 10px 10px; border-style: solid; border-color: grey; border-width: 1px; width: 500px;">
<center>
<h3>{L_SOCIAL_LOGIN_OPTIONS}</h3>
<br />
<!-- IF S_AL_WL_ENABLED -->
<a href="{U_AL_WL_AUTHORIZE}"><img src="alternatelogin/images/windows_live_connect.png" alt="Windows Live Connect" /></a>
<!-- ENDIF -->
<!-- IF S_AL_FB_ENABLED -->
<a onclick="window.location='alternatelogin/al_fb_connect.php';" href="#">
<img src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_long.gif" alt="Login with your Facebook account!" />
</a>
<!-- ENDIF -->
<!-- IF S_AL_TW_ENABLED -->
<a href="{U_AL_TW_REQUEST}"><img src="alternatelogin/images/sign-in-with-twitter-l.png" alt="Windows Live Connect" /></a>
<!-- ENDIF -->
</center>
</div>
<!-- ENDIF -->
</div>
</span>
</b>
</font>
</div>
</center><p>
<a name="start_here"></a>
<div id="page-body">
<form action="http://www.ashija.com/ucp.php?mode=sendpassword" method="post" id="remind">
<div>
<div><span><span></span></span>
<div>
<h2>Send password</h2>
<fieldset>
<dl>
<dt><label for="email">E-mail address:</label><br /><span>This must be the e-mail address associated with your account. If you have not changed this via your user control panel then it is the e-mail address you registered your account with.</span></dt>
<dd><input type="text" name="email" id="email" size="25" maxlength="100" /></dd>
</dl>
<dl>
<dt> </dt>
<dd><input type="submit" name="submit" id="submit" value="Submit" tabindex="2" /> <input type="reset" value="Reset" name="reset" /></dd>
</dl>
</fieldset>
</div>
<span><span></span></span></div>
</div>
</form>
</div>
<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->
<div>
<div><span><span></span></span>
<div>
<h3>{L_REGISTER}</h3>
<p>{L_LOGIN_INFO}</p>
<p><strong><a href="{U_TERMS_USE}">{L_TERMS_USE}</a> | <a href="{U_PRIVACY}">{L_PRIVACY}</a></strong></p>
<hr />
<p><a href="{U_REGISTER}">{L_REGISTER}</a></p>
</div>
<span><span></span></span></div>
</div>
<!-- ENDIF -->
</form>
<!-- INCLUDE overall_footer.html -->
this is what i added but it is not working properly
- Code: Select all
</span>
</b>
</font>
</div>
</center><p>
<a name="start_here"></a>
<div id="page-body">
<form action="http://www.ashija.com/ucp.php?mode=sendpassword" method="post" id="remind">
<div>
<div><span><span></span></span>
<div>
<h2>Send password</h2>
<fieldset>
<dl>
<dt><label for="email">E-mail address:</label><br /><span>This must be the e-mail address associated with your account. If you have not changed this via your user control panel then it is the e-mail address you registered your account with.</span></dt>
<dd><input type="text" name="email" id="email" size="25" maxlength="100" /></dd>
</dl>
<dl>
<dt> </dt>
<dd><input type="submit" name="submit" id="submit" value="Submit" tabindex="2" /> <input type="reset" value="Reset" name="reset" /></dd>
</dl>
</fieldset>
</div>
<span><span></span></span></div>
</div>
</form>
</div>
this is my site www.ashija.com





