Раскрутка сайтов!
Например: cs-22.ucoz.ru
cs-22.ucoz.ru - Добро пожаловать на главную страницу
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Ucoz » Скрипты для ucoz » Скрипт мини профиля с формой входа.
Скрипт мини профиля с формой входа.
RUSSAK
Дата: Вторник, 08-11-11, 01:38 | Сообщение # 1
Пользователи
Сообщений:
187
Награды:
1
Offline


Скрипт мини профиля с формой входа:
Установка :
1.Заходим в панель управления сайта
2.Управление дизайном
3.Форма входа пользователей
4.Удаляем всё от туда и вставляем это :

Code
<?if($PAGE_ID$="login")?><div style="width: 180px;"><?endif?>        
     <table border="0" cellpadding="0" cellspacing="1" height="68" width="194">        
     <?if($ERROR$)?><tbody><tr><td colspan="2" style="color: red; text-align: center;">$ERROR$</td><?endif?>        
     </tr><tr><td nowrap="nowrap" width="20%"><img alt="" src="http://torrent-56rus.3dn.ru/f07c6c22f030.png" align="" border="0"></td><td><input class="loginField" name="user" value="" size="20" style="width: 84%;" maxlength="50" type="text"></td></tr>        
     <tr><td><img alt="" src="http://torrent-56rus.3dn.ru/06a017188847.png" align="" border="0"></td><td><input class="loginField" name="password" size="20" style="width: 84%;" maxlength="15" type="password"></td></tr>        
     </tbody></table>        
     <table border="0" cellpadding="0" cellspacing="1" width="100%">        
     <tbody><tr><td nowrap="nowrap"><input id="rem$PAGE_ID$" name="rem" value="1" checked="checked" type="checkbox"><label for="rem$PAGE_ID$">запомнить</label> <?if($PAGE_ID$="login" && $HIDDEN_ALLOWED$)?><br><input id="hid$PAGE_ID$" name="hidden" value="1" type="checkbox"><label for="hid$PAGE_ID$">скрытый</label><?endif?></td><td align="right" valign="top"><input class="loginButton" name="sbm" value="Вход" type="submit"></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>        
     </tbody></table>        
     <?if($PAGE_ID$="login")?></div><?endif?>


5.Заходим в конструктор и создаём новый блок и вставляем это :

Code
<div align="center"><strong>$WDAY$ <br> $DATE$ <br> $TIME$</strong>        
     <br>        
     <?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><?else?><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="http://torrent-56rus.3dn.ru/501.png" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://torrent-56rus.3dn.ru/501.png" border="0"><?endif?><?endif?>        

     <?if($USER_LOGGED_IN$)?>        

     <div align="center">Вы вошли как: <strong>$USERNAME$</strong>        
        <hr>        
     IP Адрес: <strong>$IP_ADDRESS$</strong>        
        <hr>        
     Группа: <strong>$USER_GROUP$</strong>        
        <hr>        
     Личных сообщений: <strong>$UNREAD_PM$</strong></p>        
        <hr>        
     <a href="/index/8"><img src="http://torrent-56rus.3dn.ru/ico_profile16.gif" border="0"></a> -        
     <a href="/index/14-0-1"><img src="http://torrent-56rus.3dn.ru/ico_post.gif" border="0"></a> -        
     <a href="/index/10-0-0"><img src="http://torrent-56rus.3dn.ru/exit.png" border="0"></a></div>        

     <?if($IS_NEW_PM$)?><script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml2','')",500)</script><?endif?>        

     <script language=javascript type=text/javascript>        
     function openOnClick(client_type)        
     {        
     if(client_type=="mail")clientWindow = window.open("$PM_URL$","pmw","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!");        
     if(client_type=="send")clientWindow = window.open("/index/14-999-0-1","pms","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!");        
     if(client_type=="options")clientWindow = window.open("/index/11","options","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");        
     if(client_type=="users")clientWindow = window.open("$USERS_LIST_URL$","users","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");        
     if(client_type=="rules")clientWindow = window.open("/rules.html","rules","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");        
     }        
     </script>        
     <?else?>        
     <br> $LOGIN_FORM$        
     <?endif?></div>




Форум » Ucoz » Скрипты для ucoz » Скрипт мини профиля с формой входа.
  • Страница 1 из 1
  • 1
Поиск: