Hi there,
I h been moving my login form around, but now it has stopped working. This is the code, but I can't see anything wrong with it. Any ideas?
PHP Code:
<!-- login form -->
<form action="login.php" method="post" onSubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td colspan="4" align="right" class="smallfont"> <phrase 1="$bbuserinfo[username]"><span class="style2">Member Login:</span></phrase> </td>
</tr>
<tr>
<td class="smallfont"><label for="label"><span class="white_small">Username</span>:</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username2" id="label" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onFocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"> </td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password"><span class="white_small">Password</span>:</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password2" size="10" accesskey="p" tabindex="102" /></td>
<td> </td>
</tr>
<tr>
<td class="smallfont"><label for="label3"> <span class="white_small">$vbphrase[remember_me]</span></label></td>
<td><input type="checkbox" name="cookieuser2" value="1" tabindex="103" id="label2" accesskey="c" /></td>
<td> </td>
</tr>
<tr>
<td class="smallfont"> </td>
<td><input name="submit" type="submit" class="button" accesskey="s" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" value="Login" /></td>
<td> </td>
</tr>
</table>
<input type="hidden" name="s2" value="$session[sessionhash]" />
<input type="hidden" name="do2" value="login" />
<input type="hidden" name="vb_login_md5password2" />
<input type="hidden" name="vb_login_md5password_utf2" />
</form>
<!-- / login form -->
Thanks