Create a new Login Page
1.) copy your template/error.html rename it to "login.html" and store it in your template folder.
2.) search in the new file template/login.html:
<p>{error_msg}</p>
and replace:
<form action="{url_login}" method="post">
<table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr>
<td class="row2">
<table width="100%" border="0" cellpadding="4" cellspacing="0">
<tr>
<tr>
<td align="right">{lang_user_name}</td>
<td width="100%"><input type="text" size="10" name="user_name" class="logininput"></td>
</tr>
<tr>
<td align="right">{lang_password}</td>
<td><input type="password" size="10" name="user_password" class="logininput"></td>
</tr>
<tr>
<td align="right"><input type="checkbox" name="auto_login" value="1" ></td>
<td><span class="smalltext">{lang_auto_login}</span></td>
</tr>
<tr>
<td align="right"><input type="hidden" name="url" value="./login.html"></td>
<td><input type="submit" value="{lang_login}" class="button"></td>
</tr>
</table>
<p> </p>
</td>
</tr>
</table>
</form>
3.) search in all template files (home, categories, detail.html the new login.html e.t.c ) and remove:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="row1">{user_box}</td>
</tr>
<tr>
<td align="center" class="row1">{template_select}</td>
</tr>
<tr>
<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
4.) search in all template files (home, categories, detail.html the new login.html e.t.c ):
<a href="{url_top_images}"><b>{lang_top_images}</b></a>
insert above:
{if user_loggedin}<span><a href="./admin/index.php">[Admin Control Panel]</a></span><span> |</span>
<span><a href="{url_control_panel}">[User Control Panel]</a></span><span> |</span>
{endif user_loggedin}
{if user_loggedout}<span><a href="{url_custom_login}">{lang_login}</a></span><span> |</span>{endif user_loggedout}
{if user_loggedin}<span><a href="{url_logout}">{lang_logout}</a></span><span> |</span>{endif user_loggedin}
5.) search in templates/member_editprofile.html:
{lang_edit_profile_msg}<br />
<br>
insert below:
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td valign="top" class="head1">
<table width="100%" border="0" cellpadding="4" cellspacing="0">
<tr>
<td colspan="2" valign="top" class="head1">{lang_loggedin_msg}</td>
</tr>
<tr>
<td class="row1">
<ul>
<li><a href="{url_lightbox}">{lang_lightbox}</a></li>
<li><a href="{url_control_panel}">{lang_control_panel}</a></li>
<li><a href="{url_logout}">{lang_logout}</a></li>
<li><a href="./admin/index.php">[Admin Control Panel]</a></li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
</table>
6.) search in includes/page_header.php:
"home_url" => ROOT_PATH,
insert above:
"url_custom_login" => $site_sess->url(ROOT_PATH."index.php?template=login"),
"url_user_logininfo" => $site_sess->url(ROOT_PATH."index.php?template=user_logininfo"),
mfg Andi