Четверг, 06.02.2025, 03:55
Главная Регистрация RSS
Приветствую Вас, Гость
[ Новые сообщения · Участники · Правила Скрипты для ucozа · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Красивый мини профиль для черных дизайнов
AdminДата: Четверг, 27.01.2011, 11:38 | Сообщение # 1
Админ
Ранг:
Группа: Администраторы
Сообщений: 57
Награды: 1
Репутация: 150
Статус: Offline

Установка:
Создаем глобальный блок.Это можно проделать следующим образом:
Админ панель - Конструктор - Включить. Конструктор
Админ панель - Конструктор - Создать новый блок

Называем его Мини-Профиль (Или Как Хотим) и перетаскиваем в любое место.

В свойствах блока вставляем код:

Code
<!-- <bc> --><!-- <bc> --><div align="center"><strong>Привет: $USERNAME$</strong>  
  <br>  
  <?if($USER_AVATAR_URL$)?><div align="center">  
  <table border="0" cellpadding="0" cellspacing="0">  
  <tbody><tr>  
  <td width="17" background="http://i071.radikal.ru/0902/ff/3bd0bff61a01.png" height="17">  
  </td>  
  <td background="http://s41.radikal.ru/i093/0902/77/290b6ff174f7.png" height="17">  
  </td>  

  <td width="17" background="http://webowner.3dn.ru/ramka/2.png" height="17">  
  </td>  
  </tr>  
  <tr>  
  <td width="17" background="http://s59.radikal.ru/i164/0902/f8/326a55f011dc.png">  
  </td>  
  <td>  
  <img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0">  
  </td>  
  <td width="17" background="http://s60.radikal.ru/i168/0902/c6/a4e3e0816fe3.png">  
  </td>  
  </tr>  
  <tr>  
  <td width="17" background="http://s60.radikal.ru/i167/0902/26/8cb928874182.png" height="17">  
  </td>  
  <td background="http://s55.radikal.ru/i147/0902/ea/8f85b050c329.png" height="17">  
  </td>  

  <td width="17" background="http://i011.radikal.ru/0902/bf/ce48d6da8a98.png" height="17">  
  </td>  
  </tr>  
  </tbody></table> </div><?else?><?if($USER_LOGGED_IN$)?><div align="center">  
  <table border="0" cellpadding="0" cellspacing="0">  
  <tbody><tr>  
  <td width="17" background="http://i071.radikal.ru/0902/ff/3bd0bff61a01.png" height="17">  
  </td>  
  <td background="http://s41.radikal.ru/i093/0902/77/290b6ff174f7.png" height="17">  
  </td>  

  <td width="17" background="http://webowner.3dn.ru/ramka/2.png" height="17">  
  </td>  
  </tr>  
  <tr>  
  <td width="17" background="http://s59.radikal.ru/i164/0902/f8/326a55f011dc.png">  
  </td>  
  <td>  
  <img class="userAvatar" title="$USERNAME$" src="http://avoe.ucoz.lv/img/uTorrent.png" border="0">  
  </td>  
  <td width="17" background="http://s60.radikal.ru/i168/0902/c6/a4e3e0816fe3.png">  
  </td>  
  </tr>  
  <tr>  
  <td width="17" background="http://s60.radikal.ru/i167/0902/26/8cb928874182.png" height="17">  
  </td>  
  <td background="http://s55.radikal.ru/i147/0902/ea/8f85b050c329.png" height="17">  
  </td>  

  <td width="17" background="http://i011.radikal.ru/0902/bf/ce48d6da8a98.png" height="17">  
  </td>  
  </tr>  
  </tbody></table> </div><?else?><div align="center">  
  <table border="0" cellpadding="0" cellspacing="0">  
  <tbody><tr>  
  <td width="17" background="http://i071.radikal.ru/0902/ff/3bd0bff61a01.png" height="17">  
  </td>  
  <td background="http://s41.radikal.ru/i093/0902/77/290b6ff174f7.png" height="17">  
  </td>  

  <td width="17" background="http://webowner.3dn.ru/ramka/2.png" height="17">  
  </td>  
  </tr>  
  <tr>  
  <td width="17" background="http://s59.radikal.ru/i164/0902/f8/326a55f011dc.png">  
  </td>  
  <td>  
  <img class="userAvatar" title="$USERNAME$" src="http://avoe.ucoz.lv/img/uTorrent.png" border="0">  
  </td>  
  <td width="17" background="http://s60.radikal.ru/i168/0902/c6/a4e3e0816fe3.png">  
  </td>  
  </tr>  
  <tr>  
  <td width="17" background="http://s60.radikal.ru/i167/0902/26/8cb928874182.png" height="17">  
  </td>  
  <td background="http://s55.radikal.ru/i147/0902/ea/8f85b050c329.png" height="17">  
  </td>  

  <td width="17" background="http://i011.radikal.ru/0902/bf/ce48d6da8a98.png" height="17">  
  </td>  
  </tr>  
  </tbody></table> </div><?endif?><?endif?>  

  <?if($USER_LOGGED_IN$)?>  
  <br>Полное имя: $USER_FULL_NAME$  
  <br>Ты здесь: <font color="#FF0000"><b>$USER_REG_DAYS$</b></font>-й день  
  <br><a href="javascript:openonclick('users')">Список пользователей</a>  
  <br><a href="javascript:openonclick('options')">Изменить сведения</a>  
  <br><a href="javascript:openonclick('send')">Отправить ЛС</a>  
  <br><a id="upml2" href="javascript:openonclick('mail')">Читать ЛС (<b>$UNREAD_PM$</b>)</a>  
  <br><a href="$LOGOUT_LINK$" title="Выход">Выход</a>  

  <?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>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!  
  <?endif?></div>  
  <center>$LOGIN_FORM$</center>
 
  • Страница 1 из 1
  • 1
Поиск: