Главная » Управление дизайном » форма регистрации пользователей
удаляем там все и ставим этот код Code <TABLE border="0" cellspacing="1" cellpadding="2" width="" class="manTable" id="siM63" style="width: 100%" align="" summary="null"> ($ERROR$)?> <TBODY><TR id="siM1"><TD colspan="2" align="center" class="manTdError"
id="siM2"><FONT color="#ff0000">$ERROR$</FONT></TD></TR><TR><TD height="10" class="manTdSep" colspan="2"><HR class="manHr"></TD></TR>?>($LOGIN_FL$)?><TR id="siM42"><TD class="manTd1" width="35%" id="siM43"><IMG src="http://www.cool-ucoz.ucoz.net/rega/1.png" alt="" width="null" height="null">$LOGIN_SIGN$</TD><TD class="manTd2" id="siM44">$LOGIN_FL$
<BR><DIV id="LoginInfo">Введите логин</DIV> <script> $(document).ready(function () { $('#siF20').attr('disabled', true); }); $('#siF13').change(function () { Er = false; if ($('#siF13').attr('value').length < 2){ $('#LoginInfo').html('<img
align="absmiddle" src="http://src.ucoz.ru/img/icon/er.png"> <b
style="color: red;">Минимальная длина логина - 2
символа</b></b>'); Er = true; } if ($('#siF13').attr('value').length > 25){ $('#LoginInfo').html('<img align="absmiddle"
src="http://src.ucoz.ru/img/icon/er.png"> <b style="color:
red;">Максимальная длина логина - 25 символов</b>'); Er = true; } if ($('#siF13').attr('value').match(/[^a-zA-Z0-9\-\_\@\%\{\}\[\]\(\)\u0080-\uFFFF]/)){ $('#LoginInfo').html('<img
align="absmiddle" src="http://src.ucoz.ru/img/icon/er.png"> <b
style="color: red;">Недопустимые символы</b>'); Er = true } if (!Er){ $('#LoginInfo').html('<img
align="absmiddle" src="http://src.ucoz.ru/img/wd/3/ajaxs.gif">
<b>Подождите идет проверка...</b>'); $.get('/index/8-0-' + $('#siF13').attr('value'), function (Data) { if (Data == 'Пользователь не
найден') { $('#LoginInfo').html('<img
align="absmiddle" src="http://src.ucoz.ru/img/icon/ok.png"> <b
style="color: green;">Логин ' + $('#siF13').attr('value') + ' свободен</b>'); $('#siF20').attr('disabled', false); } else { $('#LoginInfo').html('<img align="absmiddle"
src="http://src.ucoz.ru/img/icon/er.png"> <b style="color:
red;">Логин ' + $('#siF13').attr('value') + ' занят</b>'); $('#siF20').attr('disabled', true); } }) } else { $('#siF20').attr('disabled', true); } }); </script>
</TD></TR><TR><TD height="10" class="manTdSep" colspan="2"><HR class="manHr"></TD></TR>?>($PASSWORD_FL$)?><TR id="siM45"><TD class="manTd1" id="siM46"><DIV class="udtlb"><IMG src="http://www.cool-ucoz.ucoz.net/rega/2.png"
alt="" width="null" height="null">$PASSWORD_SIGN$</DIV></TD><TD class="manTd2" id="siM47">$PASSWORD_FL$<DIV id="mypassword_text" style="display:inline;"> </DIV><DIV id="mypassword_bar" style="font-size:
1px; height: 3px; width: 0px; ">
</DIV></TD></TR><SCRIPT type="text/javascript"> var m_strUpperCase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ_"; var m_strLowerCase = "abcdefghijklmnopqrstuvwxyz-"; var m_strNumber = "0123456789"; function checkPassword(strPassword) { var nScore = 0; if (strPassword.length < 6) { nScore += 0; } else if (strPassword.length > 5 && strPassword.length < 10) { nScore += 11; } else if (strPassword.length > 9) { nScore += 33; } var nUpperCount = countContain(strPassword,
m_strUpperCase); var nLowerCount = countContain(strPassword, m_strLowerCase); var nLowerUpperCount
= nUpperCount + nLowerCount;
if (nUpperCount ==
0 &&
nLowerCount != 0) { nScore += 10; } else if (nUpperCount !=
0 &&
nLowerCount == 0) { nScore += 10; } else if (nUpperCount !=
0 &&
nLowerCount != 0) { nScore += 26; } var nNumberCount = countContain(strPassword,
m_strNumber); if (nNumberCount >=
2) { nScore += 10; } if (nNumberCount >=
4) { nScore += 26; } if (nNumberCount !=
0 &&
nLowerUpperCount != 0) { nScore += 5; } return nScore; } function runPassword(strPassword,
strFieldID) { var nScore = checkPassword(strPassword); var ctlBar = document.getElementById(strFieldID
+ "_bar"); var ctlText = document.getElementById(strFieldID
+ "_text"); if (!ctlBar || !ctlText) return; ctlBar.style.width = nScore + "%"; if (nScore == 100) { var strText = "Отличный пароль! Главное не забыть его. :)"; var strColor = "limegreen"; } else if (nScore >= 80) { var strText = "Очень хороший пароль."; var strColor = "blue"; } else if (nScore >= 65) { var strText = "Это видно, что пароль, можно уже и остановиться!"; var strColor = "dodgerblue"; } else if (nScore >= 50) { var strText = "Во-во, это ещё ничего!.."; var strColor = "mediumturquoise";
} else
if (nScore >= 25) { var strText = "Слабоват парольчик."; var strColor = "yellowgreen"; } else if (nScore != 0) { var strText = "Ужас. (qwerty и то лучше :)) "; var strColor = "firebrick"; } else { var strText = ""; var strColor = "black"; } ctlBar.style.backgroundColor = strColor; ctlText.innerHTML = "<span style='color: " + strColor + ";'> " + strText + " - " + nScore + "%</span>"; } function countContain(strPassword, strCheck) { var nCount = 0; for (i = 0; i < strPassword.length; i++) { if (strCheck.indexOf(strPassword.charAt(i)) > -1) { nCount++; } } return nCount; } document.getElementById("siF14").onkeyup="runPassword(this.value,
'mypassword')"; </SCRIPT>?>($PASSWORD1_FL$)?><TR id="siM48"><TD class="manTd1" id="siM49"><DIV class="udtlb"><IMG src="http://forucoz.com/mpr/ip.png"
border="0" alt=""><IMG src="http://www.cool-ucoz.ucoz.net/rega/2.png">$PASSWORD1_SIGN$</DIV></TD><TD class="manTd2" id="siM50">$PASSWORD1_FL$</TD></TR><TR><TD height="10" class="manTdSep" colspan="2"><HR class="manHr"></TD></TR>?> <!%IFEN5%3%--><TR
id="siM70"><TD class="manTd1" id="siM71"><IMG
src="http://forucoz.com/mpr/group.png" border="0"
alt="">$GROUP_SIGN$</TD><TD class="manTd2"
id="siM72">$GROUP_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM51"><TD
class="manTd1" id="siM52"><IMG
src="http://www.cool-ucoz.ucoz.net/rega/3.png"><IMG
src="http://forucoz.com/mpr/nameu.png" border="0"
alt="">$NAME_SIGN$</TD><TD class="manTd2"
id="siM53">$NAME_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM54"><TD
class="manTd1" id="siM55"><IMG
src="http://forucoz.com/mpr/email.png" border="0" alt=""><IMG
src="http://www.cool-ucoz.ucoz.net/rega/4.png">$EMAIL_SIGN$</TD><TD
class="manTd2"
id="siM56">$EMAIL_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM3"><TD
class="manTd1" id="siM4"><IMG
src="http://www.cool-ucoz.ucoz.net/rega/5.png"><IMG
src="http://forucoz.com/mpr/www.png" border="0"
alt="">$WWW_SIGN$</TD><TD class="manTd2"
id="siM5">$WWW_FL$</TD></TR><TR><TD height="10"
class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM6"><TD
class="manTd1" id="siM7"><IMG
src="http://www.cool-ucoz.ucoz.net/rega/6.png"><IMG
src="http://forucoz.com/mpr/icq.png" border="0"
alt="">$ICQ_SIGN$</TD><TD class="manTd2"
id="siM8">$ICQ_FL$</TD></TR><TR><TD height="10"
class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM9"><TD
class="manTd1" id="siM10">$AOL_SIGN$</TD><TD class="manTd2"
id="siM11">$AOL_FL$</TD></TR><TR><TD height="10"
class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM12"><TD
class="manTd1" id="siM13">$MSN_SIGN$</TD><TD class="manTd2"
id="siM14">$MSN_FL$</TD></TR><TR><TD height="10"
class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM15"><TD
class="manTd1" id="siM16">$YAHOO_SIGN$</TD><TD
class="manTd2"
id="siM17">$YAHOO_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM30"><TD
class="manTd1" id="siM31"><IMG
src="http://forucoz.com/mpr/denrojd.png" border="0" alt=""><IMG
src="http://www.cool-ucoz.ucoz.net/rega/7.jpg" alt="null" width="null"
height="null">$BIRTHDAY_SIGN$</TD><TD class="manTd2"
id="siM32">$BIRTHDAY_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM27"><TD
class="manTd1" id="siM28"><IMG
src="http://www.cool-ucoz.ucoz.net/rega/8.png"><IMG
src="http://forucoz.com/mpr/group.png" border="0"
alt="">$GENDER_SIGN$</TD><TD class="manTd2"
id="siM29">$GENDER_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM18"><TD
class="manTd1" id="siM19"><IMG
src="http://forucoz.com/mpr/registracia.png" border="0"
alt="">$COUNTRY_SIGN$</TD><TD class="manTd2"
id="siM20">$COUNTRY_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM21"><TD
class="manTd1" id="siM22">$STATE_SIGN$</TD><TD
class="manTd2"
id="siM23">$STATE_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM24"><TD
class="manTd1" id="siM25"><IMG
src="http://forucoz.com/mpr/vxod.png" border="0"
alt="">$CITY_SIGN$</TD><TD class="manTd2"
id="siM26">$CITY_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM36"><TD
class="manTd1" valign="top" id="siM37">$AVATAR_SIGN$</TD><TD
class="manTd2"
id="siM38">$AVATAR_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM33"><TD
class="manTd1" id="siM34">$SIGNATURE_SIGN$</TD><TD
class="manTd2"
id="siM35">$SIGNATURE_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM39"><TD
class="manTd1" id="siM40">$SUBSCRIPTION_SIGN$</TD><TD
class="manTd2"
id="siM41">$SUBSCRIPTION_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM63"><TD
class="manTd1" id="siM64">$OPTIONS_SIGN$</TD><TD
class="manTd2"
id="siM65">$OPTIONS_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM60"><TD
class="manTd1" id="siM61">$SECURITY_CODE_SIGN$</TD><TD
class="manTd2"
id="siM62">$SECURITY_CODE_FL$</TD></TR><TR><TD
height="10" class="manTdSep" colspan="2"><HR
class="manHr"></TD></TR><TR id="siM64"><TD
class="manTdBut" colspan="2" id="siM65" align="center"><INPUT
class="manFlSbm" id="siF20" type="image"
src="http://cvl-soft.3dn.ru/registration.gif" name="sbm"
value="$SUBMIT_SIGN$"></TD></TR><BR> </TBODY></TABLE> |