<form id="prof-form" method="post" action="profile.php?mode=register" class="tokenized" enctype="multipart/form-data">
<input type="hidden" name="mode" value="{MODE}" />
<input type="hidden" name="reg_agreed" value="1" />
<div class="form-item sign-up">
<div class="table"> <form id="RegisterUserForm" action="" method="post">
<div class="table-cell" id="registration">
<input id="username" placeholder="username" onBlur="ajax.exec({ action: 'user_register', mode: 'check_name', username: $('#username').val()}); return false;" name="username" type="text" class="text" value="{USERNAME}" /><input id="email" placeholder="email" onBlur="ajax.exec({ action: 'user_register', mode: 'check_email', email: $('#email').val()}); return false;" name="user_email" type="tel" class="text" value="{USER_EMAIL}" /><input id="pass" placeholder="password" name="new_pass" type="password" class="text" value=""/><input id="pass_confirm" placeholder="password confirm" onBlur="ajax.exec({ action: 'user_register', mode: 'check_pass', pass: $('#pass').val(), pass_confirm: $('#pass_confirm').val() }); return false;" name="cfm_pass" class="text" type="<!-- IF SHOW_PASS -->text<!-- ELSE -->password<!-- ENDIF -->" />
<button id="registerNew" type="submit" name="submit" value="{L_SUBMIT}" class="btn main">Sign up</button>
</div>
</form>
</div>
</div>
</div></form>
</div>
</div>