Понедельник, 14.07.2025, 02:35
Мой сайт
Приветствую Вас Гость | RSS
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Модератор форума: h0och  
Форма входа (PHPFusion to uCoz)
h0ochДата: Понедельник, 26.01.2009, 22:30 | Сообщение # 1
Admin >>extra-soft<<
Группа: Администраторы
Сообщений: 17
Репутация: 0
Статус: Offline
Форма входа (PHPFusion to uCoz)

1) добавим и настроим под свой дизайн следующие строки CSS:

Code
a.side {color:#111;text-decoration:none;}   
.button {   
font-family : Verdana, Arial, Helvetica, sans-serif;   
font-size : 10px;   
color : #555;   
background-color : #BDBDBD;   
height : 20px;   
border : 1px solid #555;   
margin-top : 2px;   
}   

.textbox {   
font-family : Verdana, Arial, Helvetica, sans-serif;   
font-size : 10px;   
color : #555;   
background-color : #BDBDBD;   
border : 1px solid #555;   
}

2) Главная » Управление дизайном » Редактирование шаблонов » Форма входа пользователей

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?>   

<tr>   
<td>   
<div align="center">   
<font style="font-size:7pt;color:#333;">Имя</font>   

<input class="textbox" type="text" name="user" value="" size="20" style="width:100px" maxlength="50" />   
</div>   
</td>   
</tr>   

<tr>   
<td>   
<div align="center">   
<font style="font-size:7pt;color:#333;">Пароль</font>   

<input class="textbox" type="password" name="password" size="20" style="width:100px" maxlength="15" />   
</div>   
</td>   
</tr>   

</table>   

<table border="0" cellspacing="1" cellpadding="0" width="100%">   
<tr>   
<td align="center" valign="top">   
<input id="rem$PAGE_ID$" type="checkbox" title='Запомнить меня' name="rem" value="1" checked />   
<?if($PAGE_ID$="login")?>   
<input id="hid$PAGE_ID$" type="checkbox" title='Скрытый' name="hidden" value="1" />   
<?endif?>   
<input name="sbm" type="submit" class="button" value="Логин" />   
</td>   
</tr>   

<tr>   
<td>   
<div style="font-size:7pt;text-align:center;color: #333;">   
Вы не зарегистрированны?<br>   
<a href='$REGISTER_LINK$' class='side'><U>Нажмите здесь</U></a> для регистрации.<br><br>   
Забыли пароль? <br>Запросите новый <a href="$REMINDER_LINK$" class='side'><U>здесь</U></a>.   
</div>   
</font>   
</td>   
</tr>   
</table>   
<?if($PAGE_ID$="login")?></div><?endif?>
 
  • Страница 1 из 1
  • 1
Поиск:

Copyright MyCorp © 2025Сделать бесплатный сайт с uCoz