[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Красивый мини-профиль для ucoz
GarikДата: Суббота, 20.02.2010, 13:49 | Сообщение # 1
Сообщений: 100
Статус: Offline
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>     

       
<?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://i029.radikal.ru/0804/cb/8cc27a1c0e73.gif" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://i021.radikal.ru/0804/53/f5b4265aa726.gif" border="0"><?endif?><?endif?>     

<?if($USER_LOGGED_IN$)?>     

Полное имя: $USER_FULL_NAME$     

Ты здесь: <font color="#FF0000"><strong>$USER_REG_DAYS$</strong></font>-й день     

<a href="/news/0-0-0-0-1">Добавить новость</a>     

<a href="$PERSONAL_PAGE_LINK$">Мой профиль</a>     

<a href="javascript:openOnClick('users')">Список пользователей</a>     

<a href="javascript:openOnClick('options')">Изменить сведения</a>     

<a href="/rules.html">Правила сайта!</a>     

<a href="javascript:openOnClick('send')">Отправить ЛС</a>     

<a id="upml2" href="javascript:openOnClick('mail')">Читать ЛС (<strong>$UNREAD_PM$</strong>)</a>     

<a href="$LOGOUT_LINK$">Выход</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 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?>     

Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!  $LOGIN_FORM$
<?endif?></div>

Вот пример:
 
  • Страница 1 из 1
  • 1
Поиск: