[comment] ui_template: Yes ui_template_name: leftonly [/comment] [tmp page_title]__COMPANY__ -- [L LOST_PASSWORD_TITLE]Lost your username or password?[/L][/tmp] [control reset=1] [control-set] [component]search_box_small[/component] [/control-set] [control-set] [component]product_tree[/component] [/control-set] [control reset=1] @_LEFTONLY_TOP_@

[L LOST_PASSWORD_TITLE]Lost your username or password?[/L]

[if cgi lost_email] [or cgi lost_username] [perl] if( $Scratch->{tried_pw_retrieve}++ > 10 ) { $Tmp->{not_ok} = 1; return '' . errmsg("Too many failed attempts.") . ''; } $Config->{NoSearch} = ''; return; [/perl] [loop search=" co=yes st=db fi=userdb rf=username,password,email sf=email se=[cgi lost_email] op=em sf=username se=[cgi lost_username] op=em os=yes" ] [tmp get_id_matches][loop-param username][/tmp] [/loop] [if value mv_search_match_count > 1] [msg arg.0='' arg.1='']Please %scontact us%s to assist you with the retrieval of your account details.[/msg] [tmp get_id_matches][/tmp] [/if] [if value mv_search_match_count == 0]

[msg arg.0='' arg.1='']Sorry, we did not find a match for the provided details. Please try again, or %scontact us%s for assistance.[/msg]

[tmp not_ok]1[/tmp]
[/if] [if scratch get_id_matches] [tmp name=id_ok][/tmp] [tmp name=id_ok interpolate=1][loop arg="[scratch get_id_matches]"][email to="[loop-data userdb email]" subject="[L]Your login information[/L]" from="__COMPANY__ [L]password minder[/L] <__EMAIL_SERVICE__>" reply="__EMAIL_SERVICE__"] [L GET_PASSWORD_MSG1]Hello! You requested that your ID and password be sent to your email address of record. The information is[/L]: [L]Username[/L]: [loop-code] [L]Password[/L]: [data table=userdb col=password key="[loop-code]" safe-data=1] [L]You can log in at[/L]: [area login] [L GET_PASSWORD_MSG2]Please contact us if we can be of service, and thank you for doing business with us.[/L] [/email][/loop][/tmp] [if !scratch id_ok] [msg arg.0='' arg.1='']Please %scontact us%s to assist you with the retrieval or your account details.[/msg] [else] [L]An e-mail with your credentials has been sent.[/L]
[L LOST_PASSWORD_SHORTNOTE]If you do not receive an email within the next 24 hours after submission, please contact us for further assistance.[/L]
[L LOST_PASSWORD_NOTE_AOL]Note: If you are using email filter options that help reduce spam, please make sure you allow e-mail to be sent to you from __EMAIL_SERVICE__[/L] [/else] [/if] [/if] [/if] [if scratch not_ok] [or cgi lost_email eq ''] [and cgi lost_username eq '']

[form-session-id] [L LOST_PASSWORD_INTRO]Please enter your username or email address to get your credentials emailed to you:[/L]
[L]Username[/L] |
| [L]or[/L]
[L]Email[/L] |
[L LOST_PASSWORD_NOTE]If you do not remember neither your username nor your email address you used upon registration, or if you do not receive an email within the next 24 hours after submission, please contact us for further assistance.[/L] [L LOST_PASSWORD_NOTE_AOL]Note: If you are using email filter options that help reduce spam, please make sure you allow e-mail to be sent to you from __EMAIL_SERVICE__[/L]

[/if]
@_LEFTONLY_BOTTOM_@