[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Модератор форума: FeRz1k  
Форум » Вэбмастерам » Скрипты для uCoz » Раздвижной мини-профиль (Модуль: пользователи)
Раздвижной мини-профиль
Goodik39Дата: Пятница, 03.07.2009, 20:59 | Сообщение # 1
Ph0en1x aka Good'1k
Постов на форуме: 1449
Репутация:
[ 218 ]
Подарки:
[ 81 ]
Не в сети

Создаём глобальный блок и вставляем в него этот код:

Code
<DIV align="center"><script language="JavaScript">        
function process(){}        
today = new Date()        
if((today.getHours() < 12) && (today.getHours() >= 6))        
{ document.write("<b>Доброе утро, $USER_FULL_NAME$.</b>")}        
if((today.getHours() >= 12) && (today.getHours() < 18))        
{ document.write("<b>Добрый день, $USER_FULL_NAME$.</b>")}        
if((today.getHours() >= 18) && (today.getHours() <= 23))        
{ document.write("<b>Добрый вечер, $USER_FULL_NAME$.</b>")}        
if((today.getHours() >= 0) && (today.getHours() < 4))        
{ document.write("<b>Здравствуйте, $USER_FULL_NAME$. Не спится?</b>")}        
if((today.getHours() >= 4) && (today.getHours() <= 6))        
{ document.write("<b>Здравствуйте, $USER_FULL_NAME$.<br>Мы рады вас видеть в столь ранний час.</b>")}        
</script>        
<?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://jscriptix.ru/00.gif" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://i021.radikal.ru/0804/53/f5b4265aa726.gif" border="0"><?endif?><?endif?><br>        
<img src="http://s34.ucoz.net/.s/img/icon/mf.png" border="0"><a id="upml2" href="javascript:openOnClick('mail')">Читать ЛС (<b>$UNREAD_PM$</b>)</a>        

<?if($USER_LOGGED_IN$)?>        
<?endif?>        
<br>      
<?if($USER_LOGGED_IN$)?>        
<br>      
<!-- -->        
<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" bgcolor="#f8f8f8" border="0" cellpadding="0" cellspacing="0" width="75%">        
<td valign="middle" width="75%">        
<img style="cursor:hand" onclick="expandit(this)" title="Подробная информация" src="http://s54.radikal.ru/i143/0906/58/1848ff605ed5.gif">        
<span style="display:none" style=&{head};>        
<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: rgb(88, 85, 70); background-color: lightblue; text-align: justify;">        
<b>Ваш логин:</b> $USERNAME$<br>        
<b>Ваше имя:</b> $USER_FULL_NAME$<br>        
<b>Вы родились:</b> $USER_BIRTHDAY$ <br>        
<b>Ваш ID:</b> $USER_ID$<br>        
<b>Вы здесь: $USER_REG_DAYS$-й день</b><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" bgcolor="#f8f8f8" border="0" cellpadding="0" cellspacing="0" width="75%">        
<td valign="middle" width="75%">        
<img style="cursor:hand" onclick="expandit(this)" title="Доступные функции" src="http://i023.radikal.ru/0906/f1/79849bdd59d7.gif">        
<span style="display:none" style=&{head};>        
<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: rgb(88, 85, 70); background-color: lightblue; 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('/index/14-999-0-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/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>        
<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>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!<br>        
<br>$LOGIN_FORM$</br>        
<?endif?></center>        
<hr>        
<font color="#ff0000">Фраза дня:</font> <script type="text/javascript" src="http://jscriptix.ru/informer/5-1"></script>


Команда - это капитан и игроки сплоченные вместе и чем больше вы будете помогать друг другу не только в игре но и в реальной жизни, тем приятнее и выше будет подъем к вершинам киберспортивного олимпа.
 
W1nBorisДата: Среда, 24.03.2010, 17:55 | Сообщение # 2
Звание: Ефрейтор
Постов на форуме: 90
Репутация:
[ 0 ]
Подарки:
[ 0 ]
Не в сети
Не очень, очень большой много лишнего
 
Форум » Вэбмастерам » Скрипты для uCoz » Раздвижной мини-профиль (Модуль: пользователи)
  • Страница 1 из 1
  • 1
Поиск:
Статистика сайта
Последние новости Самые отвечаемые темы Последние статьи
EA раскрыла подробно... 18.04.2013
Bethesda прекращает ... 18.04.2013
Создатели World of T... 18.04.2013
Battlefield 4 не буд... 18.04.2013
Авторы Silent Hill: ... 18.04.2013
Курилка! 103
Общая тема для обсуждений 67
Изготовление аваторов 50
Новости сервера 37
Команда сайта 35
История Starcraft: Н... 10.02.2013
Почему в Valve решил... 20.08.2012
Танки рвутся в кибер... 15.08.2012
Лучшие финалы в исто... 17.06.2012
Киберспорт - спорт? ... 14.04.2012
Новые пользователи Активные пользователи Лучшие комментаторы
lamagames 12.07.2023
PiterRScaks 03.04.2022
guterNAvis 08.12.2021
cuperNAvis 20.11.2021
gIRONAvis 29.09.2021
Goodik39 1449
FeRz1k 319
WedMacK 200
warcraf 200
Rolex 156
Goodik39 56
FeRz1k 56
koJIxo3Huk 19
Die 13
scool 9