Главная » Файлы » Скрипты для uCoz » Другие скрипты

Мини профиль для uCoz
21.06.14, 17:59:58




Установка:

Вставляем следующий код туда, где хотим видеть мини-профиль:
Код
<!-- <block5> -->  
  <div align="center">  
  <strong><font color="#000000"><SCRIPT LANGUAGE="JavaScript">  
  currentTime = new Date();
  if (currentTime.getHours() >= 6 && currentTime.getHours() <= 11 )
  document.write("Доброе утро, ");
  if (currentTime.getHours() >= 12 && currentTime.getHours() <= 17 )
  document.write("Добрый день, ");
  if (currentTime.getHours() >= 18 && currentTime.getHours() <= 23)
  document.write("Добрый вечер, ");
  if (currentTime.getHours() >= 0 && currentTime.getHours() <= 5)
  document.write("Доброй ночи, ");
  </SCRIPT><br> $USERNAME$</font></strong>
  <br>  
  <div align="center">
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="17" background="forum_border/3bd0bff61a01.png" height="17">
</td>
<td background="forum_border/290b6ff174f7.png" height="17">
</td>  
<td width="17" background="forum_border/94af9881da39.png" height="17">
</td>
</tr>
<tr>
<td width="17" background="forum_border/326a55f011dc.png">
</td>
<td>  
  <?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0" width="110px" height="110px"><?else?><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="/is.gif" border="0" width="100px" height="100px"><?else?><img class="userAvatar" title="$USERNAME$" src="/is.gif" border="0" width="100px" height="100px"><?endif?><?endif?>
</td>
<td width="17" background="forum_border/a4e3e0816fe3.png">
</td>
</tr>
<tr>
<td width="17" background="forum_border/8cb928874182.png" height="17">
</td>
<td background="forum_border/8f85b050c329.png" height="17">
</td>  
<td width="17" background="forum_border/ce48d6da8a98.png" height="17">
</td>
</tr>
</tbody></table></div>  
  <?if($USER_LOGGED_IN$)?>  
  <br>  
  <DIV align="center"><DIV style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 0px"><A title="Персональная страница" href="javascript:$PERSONAL_PAGE_LINK$"><IMG src="http://apocalypse.ucoz.kz/mini_prifile/note.png" alt="" border="0px"></A><A title="Редактировать Профиль" href="/index/11"><IMG src="http://apocalypse.ucoz.kz/mini_prifile/edit_item.png" alt="" border="0px"></A> <A title="Отправить Сообщение" href="$PM_URL$"><IMG src="http://apocalypse.ucoz.kz/mini_prifile/email_send.png" border="0"></A></DIV><DIV style="PADDING-RIGHT: 5px; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px"><u><a title="Список пользователей" href="/index/15-1"><img src="http://apocalypse.ucoz.kz/mini_prifile/users.png" border="0px"><==(</a><?if($UNREAD_PM$=0)?><a title="У Вас нет непрочитанных сообщений" onclick="window.open('$PM_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;">--$UNREAD_PM$--</a><?else?><a title="У Вас есть непрочитанные сообщения" onclick="window.open('$PM_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;"><font color="ff0000">--$UNREAD_PM$--</font></a><?endif?></a><a title="Выход из профиля" href="$LOGOUT_LINK$">)==><img src="http://apocalypse.ucoz.kz/mini_prifile/delete_item.png" border="0px"></a></u>  
  </DIV></DIV>  
  <br>  
  <b><font color="#000000">Вы здесь <strong>$USER_REG_DAYS$</strong>-й день</font></b>  
   

   

  <!-- -->
  <script language="javascript1.2">
  <!--
  var ns6=document.getElementById&&!document.all?1:0
  var head="display:''"
  var folder=''
  function expandit(curobj){
  folder=ns6?curobj.nextSibling.nextSibling.style:document.all[curobj.sourceIndex+1].style
  if (folder.display=="none")
  folder.display=""
  else
  folder.display="none"
  }
  //-->
  </script>
  <table align="center" class="gTable1" border="0" cellpadding="0" cellspacing="0" width="75%">
  <td valign="middle" width="75%">
  <img style="cursor:hand" onclick="expandit(this)" title="Подробная информация" src="http://apocalypse.ucoz.kz/info_profile_btn.png">
  <span style="display:none" style=&{head};>
  <div style="border-style: dotted; border-width: 0px; padding: 5px; font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(88, 85, 70); background-color: transperency; text-align: justify;">

  <!-- <block3> -->  
  <a title="Связаться с администратором сайта" href="index/0-3"><img src="http://apocalypse.ucoz.kz/tips.png" border="0"></img></a></div>  
  <!-- </block3> -->  

  <b>Ваш логин:</b> $USERNAME$<br>
  <b>Ваше имя:</b> $USER_FULL_NAME$<br>
  <b>Вы родились:</b> $USER_BIRTHDAY$ <br>
  <b>Ваш ID:</b> $USER_ID$<br>
  <b>Ваша група:</b> $USER_GROUP$<br>
  <b>ID вашей групы:</b> $GROUP_ID$<bR>
  <b>Ваш IP адрес:</b> $IP_ADDRESS$<br>
  <b>Ваш браузер:</b> $USER_AGENT$ $USER_AGENT_VER$<br>
  <b>Ваш пол :</b> $USER_GENDER$<br>
  <center><?if($IS_NEW_PM$)?><b>$USERNAME$ у вас <a onclick="window.open('$PM_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;">$UNREAD_PM$ ЛС</a> !</b><?endif?></centeR>
  </div>
  </td></table></span>
  <!--/-->
  <br>
  <!-- -->
  <table align="center" class="gTable1" border="0" cellpadding="0" cellspacing="0" width="75%">
  <td valign="middle" width="75%">
  <img style="cursor:hand" onclick="expandit(this)" title="Доступные функции" src="http://apocalypse.ucoz.kz/tools_profile_btn.png">
  <span style="display:none" style=&{head};>
  <div style="border-style: dotted; border-width: 0px; padding: 5px; font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(88, 85, 70); background-color: transperency; text-align: justify;">
  <center>
  <input class="buttonprofile" type="button" onclick="window.open('/index/15-1','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Список пользователей">
  <input class="buttonprofile" type="button" onclick="window.open('/index/11','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Изменить сведения">
  <input class="buttonprofile" type="button" onclick="window.open('$AWARDS_READ_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Список наград">
  <input class="buttonprofile" type="button" onclick="window.open('/load/0-0-0-0-1','pmw','scrollbars=1,top=0,left=0,resizable=1'); return false;" value="Добавить файл">
  <input class="buttonprofile" type="button" onclick="window.open('/index/14','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Читать ЛС ($UNREAD_PM$)"><br>
  <input class="buttonprofile" type="button" onclick="window.open('/index/8','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Профиль"><br>
  <input class="buttonprofile" type="button" onclick="document.location.href='/index/10'; return false;" value="Выход"> <bR>
  </center>
  </div>
  </td></table></span>
  <!--/-->
  <center>
  <?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 type="text/javascript">
  function openOnClick(client_type)
  {
  if(client_type=="mail")clientWindow = window.ZWzX("$PM_URL$","pmw","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!");
  if(client_type=="send")clientWindow = window.ZWzX("/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.ZWzX("/index/11","options","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");
  if(client_type=="users")clientWindow = window.ZWzX("$USERS_LIST_URL$","users","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");
  if(client_type=="rules")clientWindow = window.ZWzX("/index/0-8","rules","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");
  }
  </script>
  <?else?>
   
Рекомендуем Вам<br><a title="Зарегистрироваться на сайте" href="/index/3-1" target="blank">Зарегистрироваться</a><br> или<br> <a title="Войти под своим Логином и паролем" href="$LOGIN_LINK$">Войти</a><br> под своим логином  
  <?endif?>  
  <!-- </block5> -->


Всё smile
Категория: Другие скрипты | Добавил: Apocalypse | Теги: мини, для, ucoz, профиль
Просмотров: 467 | Загрузок: 0 | Рейтинг: 0.0/0
Всего комментариев: 0
Имя *:
Email: