Форма регистрации.
Управление дизайном>Пользователи>Форма регистрации пользователей
Перед тем как вставить, удалите старый код:
Code
<br><table class="manTable" id="siM63" width="100%" border="0" cellpadding="2" cellspacing="1">
<tbody><tr id="siM1"><td colspan="2" class="manTdError" id="siM2" align="center">$ERROR$
</td></tr><tr><td class="manTdSep" colspan="2" height="10"><br></td></tr>
<tr id="siM42"><td class="manTd1" id="siM43" width="35%"><br>
$LOGIN_SIGN$ <input id="siF13" class="manFlLogin" name="user" value="" size="20" style="width: 200px;" maxlength="25" onchange="PrepareLoginToChecking();SubmitLoginToCheck()" type="text">
<iframe name="lf" src="/index/8-0-*" onload="GetMessageAboutAvailableLogin()" width="1" frameborder="0" height="1"></iframe>
<input id="tch" value="*" type="hidden">
<span id="msg"></span>
<script>
function PrepareLoginToChecking()
{
var original=("-").split("*")
var neww=("~").split("*")
var xy=0
for(xy=0; xy<=(original.length-1); xy++) {
var original1="/"+original[xy]+"/g"
document.getElementById("tch").value = document.getElementById("siF13").value.replace(eval(original1), neww[xy])
}
}
function SubmitLoginToCheck()
{
if(document.getElementById("siF13").value.length <= 1)
{
document.getElementById('msg').innerHTML='<span style=\"font-size:7pt;\"><img src=\"http://src.ucoz.ru/img/icon/er.png\" align=\"absmiddle\" border=\"0\"> Введите логин</span>';
return false;
}
window.lf.location='/index/8-0-'+document.getElementById("tch").value+'';
document.getElementById('msg').innerHTML='<span style=\"font-size:7pt;\"><img src=\"http://src.ucoz.ru/img/wd/3/ajaxs.gif\" align=\"absmiddle\" border=\"0\"> Проверка логина...</span>';
}
function GetMessageAboutAvailableLogin()
{
if(document.getElementById("siF13").value.length <= 1)
{
document.getElementById('msg').innerHTML='<span style=\"font-size:7pt;\"><img src=\"http://src.ucoz.ru/img/icon/er.png\" align=\"absmiddle\" border=\"0\"> Введите логин</span>';
return false;
}
if(window.lf.document.getElementById('chUName'))
{
document.getElementById('msg').innerHTML='<span style=\"font-size:7pt;\"><img src=\"http://src.ucoz.ru/img/icon/er.png\" align=\"absmiddle\" border=\"0\"> Логин занят</span>';
}
else
{
document.getElementById('msg').innerHTML='<span style=\"font-size:7pt;\"><img src=\"http://src.ucoz.ru/img/icon/ok.png\" align=\"absmiddle\" border=\"0\"> Логин свободен</span>';
}
}
</script><br>
$PASSWORD_SIGN$ <br>$PASSWORD_FL$<br>$PASSWORD1_SIGN$ <br>$PASSWORD1_FL$ $AVATAR_SIGN$<br>
$AVATAR_FL$<br>$NAME_SIGN$<br>$NAME_FL$<br>
$EMAIL_SIGN$ $EMAIL_FL$<br>ICQ<br>$ICQ_FL$<br>$WWW_SIGN$<br>$WWW_FL$<br><br>$BIRTHDAY_SIGN$ $BIRTHDAY_FL$<br>$GENDER_SIGN$<br>$GENDER_FL$<br><br>
$SECURITY_CODE_SIGN$ $SECURITY_CODE_FL$<br><table class="manTable" id="siM63" width="100%" border="0" cellpadding="2" cellspacing="1"><tbody><tr id="siM12"></tr><tr id="siM12"><td class="manTd1" id="siM13"><font color="#ff0000"><b>$SUBSCRIPTION_SIGN$</b></font><br>$SUBSCRIPTION_FL$</td><td class="manTd2" id="siM14">
<br></td></tr></tbody></table></td></tr><tr id="siM12"><td class="manTd1" id="siM13"><br></td>
<td class="manTd2" id="siM14"><br></td><td class="manTd2" id="siM44"><br></td></tr><tr><td class="manTdSep" colspan="2" height="10"><hr class="manHr"></td></tr>
<!--IF-->
<tr id="siM64"><td class="manTdBut" colspan="2" align="center" id="siM65"><input class="manFlSbm" id="siF20" type="image" src="http://forucoz.com/img/button.png" name="sbm" value="$SUBMIT_SIGN$" /></td></tr>
</tbody></table>