[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Модератор форума: ACJIAH  
Форум Counter-Strike 1.6 » Всё для uCoz.Ru » Скрипт для uCoz » Скрипт форма входа + Мини-Профиль! [Как у нас на сайте]
Скрипт форма входа + Мини-Профиль! [Как у нас на сайте]
ACJIAHДата: Суббота, 10/Ноя/2012, 19:22 | Сообщение # 1

Группа: Забаненые

Сообщений: 82

Ранг:Рядовой


Репутация: 32767
Статус:


Скрины :
Мини профиль : http://all-for-cs.clan.su/scripts/mini-profil1.bmp
Форма входа : http://all-for-cs.clan.su/scripts/mini-profil2.bmp

Установка :
1. Включяем конструктор
2.Добовляем блок
3. Вставляем в блок код

Код :

Code
<!-- Мини-профиль World-Top.Ucoz.Ru by *SAM* -->
<div align="Center"><div style="width:150px;background:url('http://all-for-cs.clan.su/mini-profil/fon.bmp') repeat-x #494949; border: #000000 1px solid; color:#8e8e8e;">  
<span class="blockmenu"> <script language="javascript" type=text/javascript>
currentTime = new Date();
if (currentTime.getHours() >= 6 && currentTime.getHours() <= 11 )
document.write("<center>Доброе утро, ");
if (currentTime.getHours() >= 12 && currentTime.getHours() <= 17 )
document.write("<center>Добрый день, ");
if (currentTime.getHours() >= 18 && currentTime.getHours() <= 23)
document.write("<center>Добрый вечер, ");
if (currentTime.getHours() >= 0 && currentTime.getHours() <= 5)
document.write("<center>Доброй ночи, ");
  </script><noscript>Приветствую,</noscript> <b>$USERNAME$</b></span></div></div>
<br>  

  <center> <?if($USER_AVATAR_URL$)?><img alt="Аватарка" class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><?else?><?if($USER_LOGGED_IN$)?><img alt="Нет аватара" class="userAvatar" title="Аватар не установлен" src="http://all-for-cs.clan.su/Forum/no_avatar.png" border="0"><?else?><img alt="Гость" class="userAvatar" title="$USERNAME$" src="http://all-for-cs.clan.su/mini-profil/vxod_ava.gif" border="0"><?endif?><?endif?></center>  
  <br>
<?if($USER_LOGGED_IN$)?>
<div align="left"><img src="http://all-for-cs.clan.su/mini-profil/user.png" border="0" alt="•"> Имя: <b>$USER_FULL_NAME$</b><br>
<img src="http://all-for-cs.clan.su/mini-profil/vcard.png" border="0" alt="•"> Вы пользователь: <b>№$USER_ID$</b><br>
<img src="http://all-for-cs.clan.su/mini-profil/clock.png" border="0" alt="•"> Вы здесь: <span style="color: #ff0000"><b>$USER_REG_DAYS$</b></span>-й день<br>
<img src="http://all-for-cs.clan.su/mini-profil/monitor.png" border="0" alt="•"> Ваш IP: <b>$IP_ADDRESS$</b><br>
<img src="http://all-for-cs.clan.su/mini-profil/star.png" border="0" alt="→"> <a title="Ваш профиль" href="$PERSONAL_PAGE_LINK$">Персональная страница</a><br>
<img src="http://all-for-cs.clan.su/mini-profil/wrench.png" border="0" alt="→"> <a title="Изменение личной информации" href="javascript:openOnClick('options')">Изменить информацию</a><br>
<?if($UNREAD_PM$ || $IS_NEW_PM$)?><img src="http://all-for-cs.clan.su/mini-profil/email_open.png" border="0" alt="→"> <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><?else?><img src="http://all-for-cs.clan.su/mini-profil/email.png" border="0" alt="→"><?endif?> <a id="upml2" href="javascript:openOnClick('mail')" title="Личные сообщения (ЛС)">Читать сообщения<?if($UNREAD_PM$)?> (<B>$UNREAD_PM$</B>)<?endif?></a><br>
<img src="http://all-for-cs.clan.su/mini-profil/email_go.png" border="0" alt="→"> <a title="Отправить ЛС" href="javascript:openOnClick('send')">Отправить сообщение</a><br>
<img src="http://all-for-cs.clan.su/mini-profil/group_edit.png" border="0" alt="→"> <a title="Список пользователей" href="javascript:openOnClick('users')">Пользователи сайта</a> </div>
<div align="center" id="anyclass"><br><a href="javascript://" title="Покинуть сайт" onclick="if (confirm('Вы действительно хотите выйти?')) {alert('Счастливого пути Вам.');location.href='$LOGOUT_LINK$';} else {alert('Спасибо, что остались с нами!')};"><img alt="Выход" src="http://all-for-cs.clan.su/mini-profil/exit.png" border="0" alt="→"></a></div>

<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-0-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("Отключите блокировку всплывающих окон!");

}
</script>
<?else?>
<div style="border-style: dotted; border-color: rgb(100, 100, 100) rgb(100, 100, 100) rgb(190, 190, 190); border-width: 1px; 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: #707070; background-color: inherit; text-align: justify;"><center>Гость, пожалуйста зарегистрируйтесь или авторизируйтесь!</center></div>
<?endif?>
<?if($LOGIN_FORM$)?><br>
$LOGIN_FORM$<?endif?><!-- /Мини-профиль World-Top.Ucoz.Ru by *SAM* -->


 
Форум Counter-Strike 1.6 » Всё для uCoz.Ru » Скрипт для uCoz » Скрипт форма входа + Мини-Профиль! [Как у нас на сайте]
  • Страница 1 из 1
  • 1
Поиск: