Главная » Статьи » Скрипты

Блок "Мини-профиль"
Качаем архив, загружаем папку profil в корень сайта
Code

<div align="center"><strong><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> $USERNAME$</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://tvoy.ucoz.ru/images/noava1.PNG" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://tvoy.ucoz.ru/images/noava1.PNG" border="0"><?endif?><?endif?>

<?if($USER_LOGGED_IN$)?>
<div align="left">
<br><img src="/profil/icons/vcard.png"> Имя: <b>$USER_FULL_NAME$ </b>

<br><img src="/profil/icons/clock.png" border="0"> Ты здесь: <font color="#FF0000"><b>$USER_REG_DAYS$</b></font>-й день
<br><img src="/profil/icons/progr.gif" border="0"> Твой IP: <font color="#FF0000"><b>$IP_ADDRESS$</b></font</a>
<br><a target="_blank" href="/news/0-0-0-0-1"><img src="/profil/icons/add.png" border="0"> Добавить новость</a>
<br><a target="_blank" href="$PERSONAL_PAGE_LINK$"><img src="/profil/icons/progr.gif" border="0"> Профиль</a>
<br><a href="javascript:openOnClick('options')"><img src="/profil/icons/wrench.png" border="0"> Ред. информацию</a>
<br><a href="/index/0-8"><img src="/profil/icons/error.png" border="0"> Правила сайта!</a>
<br><a href="javascript:openOnClick('send')"><img src="/profil/icons/email_go.png" border="0"> Отправить ЛС</a>
<br><a id="upml2" href="javascript:openOnClick('mail')"><img src="/profil/icons/email.png" border="0"> Читать ЛС (<b>$UNREAD_PM$</b>)</a>
<DIV><br><center><a target="_blank" href="$LOGOUT_LINK$"><img src="/profil/icons/exit.gif" border="0"></a></center></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?> </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 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("/index/0-8","rules","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");  
}
</script>
<?else?>
<br />Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!
$LOGIN_FORM$
<?endif?></div>


Источник: http://tvoy.ucoz.ru/_fr/0/1167972.png
Категория: Скрипты | Добавил: admin (25.01.2009)
Просмотров: 917 | Комментарии: 5 | Рейтинг: 4.0/6
Всего комментариев: 5
Tyshkan #5 Добавил  Tyshkan 15.11.2009 в 15:24
0  

легко) включи мозги сначала) wacko

Тоха #4 Добавил  Тоха 25.08.2009 в 23:01
0  

Народ.
Это скрипт легко ставить)))) dry

eXice #3 Добавил  eXice 23.08.2009 в 22:20
0  

А у меня с сайта вообще не качает, в чем проблема? отпишите пожалуйсто в ПМ

Stucano #2 Добавил  Stucano 17.08.2009 в 10:14
0  

kak postavitj ? sad

Istrong #1 Добавил  Istrong 14.06.2009 в 00:56
0  

Спасибо!Очень долго искал эту штуку =))))

Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
Профиль
Гость

Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!

Категории раздела
Скрипты [41]

Поиск

Наш опрос
Какой ваш любимый браузер?

Всего ответов: 833

Друзья сайта

Статистика

Онлайн всего: 1
Гостей: 1
Пользователей: 0

Облако тегов


Copyright MyCorp © 2024
Бесплатный конструктор сайтов - uCoz | Design by Daemond Studio.