OK, after playing around a bit, this (on http://shootus.com.au/):
Code:
<form action="" method="post" name="frmLogin" onsubmit="return checkLogin()">
<input type="hidden" name="frmAction" value="Login" />
<div id="logForm"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td width="130"> </td>
<td class="style9"></td>
<td class="style8"> Username </td>
<td><input name="username" type="text" class="style8" id="username" /></td>
<td class="style8"> Password </td>
<td><input name="password" type="password" class="style8" id="password" /></td>
<td> <input name="Submit" type="button" class="style8" value="Submit" onclick="javascript:loginChk()" /></td>
<td width="130"></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td class="style8"> <a href="register.php" title="register" rel="gb_page_center[500, 600]">Register here</a> </td>
<td></td>
<td class="style8"> <a href="retrieve_password.php" title="Retrieve Password" rel="gb_page_center[450, 380]">Lost Password?</a></td>
<td></td>
</tr>
</table></div>
</form>
Should be:
Code:
<div id="logForm"><form action="" method="post" name="frmLogin" onsubmit="return checkLogin()">
<input type="hidden" name="frmAction" value="Login" />
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td width="130"> </td>
<td class="style9"></td>
<td class="style8"> Username </td>
<td><input name="username" type="text" class="style8" id="username" /></td>
<td class="style8"> Password </td>
<td><input name="password" type="password" class="style8" id="password" /></td>
<td> <input name="Submit" type="button" class="style8" value="Submit" onclick="javascript:loginChk()" /></td>
<td width="130"></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td class="style8"> <a href="register.php" title="register" rel="gb_page_center[500, 600]">Register here</a> </td>
<td></td>
<td class="style8"> <a href="retrieve_password.php" title="Retrieve Password" rel="gb_page_center[450, 380]">Lost Password?</a></td>
<td></td>
</tr>
</table>
</form></div>
But, depending upon what happens with a successful login, that might or might not work out too well for that. Chances are it will be fine.
Also, this (on chkLogin.php):
Code:
<font color="#FF0000" face="Verdana" size="2"><b>Invalid Login. Please try again</font><br /><form action="" method="post" name="frmLogin" onsubmit="return checkLogin()">
<input type="hidden" name="frmAction" value="Login" />
<div id="logResults"></div>
<div id="logForm"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td width="130"> </td>
<td class="style9"></td>
<td class="style8"> Username </td>
<td><input name="username" type="text" class="style8" id="username" /></td>
<td class="style8"> Password </td>
<td><input name="password" type="password" class="style8" id="password" /></td>
<td> <input name="Submit" type="button" class="style8" value="Submit" onclick="javascript:loginChk()" /></td>
<td width="130"></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td class="style8"> <a href="register.php" title="register" rel="gb_page_center[500, 600]">Register here</a> </td>
<td></td>
<td class="style8"> <a href="retrieve_password.php" title="Retrieve Password" rel="gb_page_center[450, 380]">Lost Password?</a></td>
<td></td>
</tr>
</table></div>
</form>
should be:
Code:
<font color="#FF0000" face="Verdana" size="2"><b>Invalid Login. Please try again</font><br /><form action="" method="post" name="frmLogin" onsubmit="return checkLogin()">
<input type="hidden" name="frmAction" value="Login" />
<div id="logResults"></div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td width="130"> </td>
<td class="style9"></td>
<td class="style8"> Username </td>
<td><input name="username" type="text" class="style8" id="username" /></td>
<td class="style8"> Password </td>
<td><input name="password" type="password" class="style8" id="password" /></td>
<td> <input name="Submit" type="button" class="style8" value="Submit" onclick="javascript:loginChk()" /></td>
<td width="130"></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td class="style8"> <a href="register.php" title="register" rel="gb_page_center[500, 600]">Register here</a> </td>
<td></td>
<td class="style8"> <a href="retrieve_password.php" title="Retrieve Password" rel="gb_page_center[450, 380]">Lost Password?</a></td>
<td></td>
</tr>
</table>
</form>
Bookmarks