Thread: My Account
View Single Post
  #1  
Old 05-13-2005, 11:55 PM
 
GTXPC GTXPC is offline
 

Member
  
Join Date: Feb 2005
Location: USA Ca
Posts: 15
 

Default My Account

Hi I create this because I look all over and none of the mod that I found are 100% working, so I create this this work like this.

1) Create a static page = Embedded, Name the Page My Account

2) paste this code to the page that you just created, then just make a link to that page thats it.

Code:
<TABLE border="0"> {if $config.General.use_https_login eq "Y" and $usertype eq "C"} {assign var="form_url" value=$https_location} {else} {assign var="form_url" value=$current_location} {/if} <FORM action="{$form_url}/include/login.php" method="post" name=errorform> <TR> <TD height="10" width="78" class="FormButton">{$lng.lbl_login}</TD> <TD width="10" height="10"><FONT class="Star">*</FONT></TD> <TD width="282" height="10"> <INPUT type="text" name="username" size="30"> </TD> </TR> <TR> <TD height="10" width="78" class="FormButton">{$lng.lbl_password}</TD> <TD width="10" height="10"><FONT class="Star">*</FONT></TD> <TD width="282" height="10"> <INPUT type="password" name="password" size="30"> {if $active_modules.Simple_Mode ne "" and $usertype ne "C" and $usertype ne "B"} <INPUT type="hidden" name="usertype" value="P"> {else} <INPUT type="hidden" name="usertype" value="{$usertype}"> {/if} <INPUT type="hidden" name="redirect" value="{$redirect}"> <INPUT type="hidden" name="mode" value="login"> </TD> </TR> <TR> <TD height="10" width="78" class="FormButton"></TD> <TD width="10" height="10"></TD> <TD width="282" height="10" class="ErrorMessage"> { if $main eq "login_incorrect"} {$lng.err_invalid_login} {/if} </TD> </TR> <TR> <TD height="10" width="78" class="FormButton"></TD> <TD width="10" height="10" class="FormButton"></TD> <TD width="282" height="10"> {if $js_enabled} {include file="buttons/submit.tpl" href="javascript:document.errorform.submit()" js_to_href="Y"} {else} {include file="submit_wo_js.tpl" value=$lng.lbl_submit} {/if} </TD> </TR> </FORM> </TABLE>
__________________
4.0.16
Reply With Quote