<tr>
<td align="right"><span class="smalltext"><b>{$lang->password}</b></span></td>
<td><input type="password" class="textbox" name="password" id="password" style="width: 100%" /></td>
</tr>
<tr>
<td align="right"><span class="smalltext"><b>{$lang->confirm_password}</b></span></td>
<td><input type="password" class="textbox" name="password2" id="password2" style="width: 100%" /></td>
</tr>
<tr>
<td colspan="2" style="display: none;" id="password_status"> </td>
</tr>
<td class="trow2" align="center">
<script type="text/javascript" src="jscripts/captcha.js?ver=1400"></script>
<table cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td align="right"><strong>{$lang->image_verification}</strong></td>
<td><input type="text" class="textbox tiptip-e" name="imagestring" value="" id="imagestring" style="width: 100%;" title="Escribe el texto que aparece en la imagen que está abajo. Este proceso se usa para evitar registros automáticos." /><input type="hidden" name="imagehash" value="{$imagehash}" id="imagehash" /></td>
</tr>
<tr>
<td id="imagestring_status" style="display: none;" colspan="2"> </td>
</tr>
<tr>
<td colspan="2" align="center"><img src="captcha.php?action=regimage&imagehash={$imagehash}" alt="{$lang->image_verification}" title="{$lang->image_verification}" id="captcha_img" /><br /><span style="color: red;" class="smalltext">{$lang->verification_subnote}</span>
<script type="text/javascript">
<!--
if(use_xmlhttprequest == "1")
{
document.write('<br \/><br \/><input type="button" class="button" tabindex="10000" name="refresh" value="{$lang->refresh}" onclick="return captcha.refresh();" \/>');
}
// -->
</script>
</td>
</tr>
</table>
</td>
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->registration}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/validator.js"></script>
</head>
<body>
{$header}
<form action="member.php" method="post" id="registration_form"><input type="text" style="visibility: hidden;" value="" name="regcheck1" /><input type="text" style="visibility: hidden;" value="true" name="regcheck2" />
{$regerrors}
<div class="content-forums">
<table border="0" cellspacing="0" cellpadding="0" class="thead">
<tr>
<td class="thead-left"> </td>
<td width="100%"><strong>{$lang->registration}</strong></td>
<td class="thead-right"> </td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="tcat"><strong>{$lang->account_details}</strong></td><td class="tcat"><strong>Registro anti-bots</strong></td></tr>
<tr>
<td class="trow1">
<table cellspacing="0" cellpadding="{$theme['tablespace']}" width="370">
<tr>
<td align="right"><span class="smalltext"><label for="username"><b>{$lang->username}</b></label></span></td>
<td><input type="text" class="textbox" name="username" id="username" style="width: 100%" value="{$username}" /></td>
</tr>
{$passboxes}
<tr>
<td align="right"><span class="smalltext"><label for="email"><b>{$lang->email}</b></label></span></td>
<td><input type="text" class="textbox" name="email" id="email" style="width: 100%" maxlength="50" value="{$email}" /></td>
</tr>
<tr>
<td align="right"><span class="smalltext"><label for="email2"><b>{$lang->confirm_email}</b></label></span></td>
<td><input type="text" class="textbox" name="email2" id="email2" style="width: 100%" maxlength="50" value="{$email2}" /></td>
</tr>
<tr>
<td colspan="2" style="display: none;" id="email_status"> </td>
</tr>
</table>
</td>
{$regimage}
</tr>
</table>
</div>
<br />
<div align="center">
<input type="hidden" name="step" value="registration" />
<input type="hidden" name="action" value="do_register" />
<input type="submit" class="button" name="regsubmit" value="{$lang->submit_registration}" />
</div>
</form>
<script type="text/javascript">
<!--
regValidator = new FormValidator('registration_form');
regValidator.register('username', 'notEmpty', {failure_message:'{$lang->js_validator_no_username}'});
regValidator.register('email', 'regexp', {match_field:'email2', regexp:'^([a-zA-Z0-9_\\.\\+\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$', failure_message:'{$lang->js_validator_invalid_email}'});
regValidator.register('email2', 'matches', {match_field:'email', status_field:'email_status', failure_message:'{$lang->js_validator_email_match}'});
{$validator_extra}
regValidator.register('username', 'ajax', {url:'xmlhttp.php?action=username_availability', loading_message:'{$lang->js_validator_checking_username}'}); // needs to be last
// -->
</script>
{$footer}
</body>
</html>