Скрипт для uСoz - Мини профиль с приятным приветствием
Всегда и везде необходимо иметь свою фишку, в том числе и в скрипте ucoz, тем более это относится к постоянно функционирующему мини профилю в представленном скрипте ucoz этой самой фишкой является приятное приветствие пользователя \ гостя.

Установка:


Code
<!-- profiles -->  
<div align="center"><strong><img src="http://big-soft.at.ua/foru.gif" border="0"> Привет: $USERNAME$</strong>  
<br> <br>  
<center><Script Language=JavaScript>  
now = new Date()  
if (now.getDay() == 0)  
document.write("Отдыхайте, завтра рабочий день...")  
if (now.getDay() == 1)  
document.write("Сегодня понедельник - настраивайтесь на работу")  
if (now.getDay() == 2)  
document.write("Уже вторник, понедельник к счастью позади!")  
if (now.getDay() == 3)  
document.write("Половина недели позади - сегодня уже среда")  
if (now.getDay() == 4)  
document.write("Сегодня четверг, скоро выходные...")  
if (now.getDay() == 5)  
document.write("Сегодня пятница - последний рабочий день")  
if (now.getDay() == 6)  
document.write("Сегодня первый день выходных!")  
</Script>  


<center>Сообщения: <img src="http://big-soft.at.ua/ico/792a904470e4.gif" ><img src="http://big-soft.at.ua/ico/292f5884f6d6.gif" ><br>  
<img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><img class="userAvatar" title="$USERNAME$" src="http://big-soft.at.ua/ico/8cc27a1c0e73.gif" border="0"><img class="userAvatar" title="$USERNAME$" src="http://big-soft.at.ua/ico/f5b4265aa726.gif" border="0">  


  
<div align="left">  
<br><img src="http://big-soft.at.ua/ico/44cc2cbcbfea.png"> Имя: <b>$USER_FULL_NAME$ </b>  


<br><img src="http://big-soft.at.ua/ico/ad26dba6be4c.png" border="0"> Ты здесь: <font color="#FF0000"><b>$USER_REG_DAYS$</b></font>-й день  
<br><img src="http://big-soft.at.ua/ico/d8d1874ddaa2.gif" border="0"> Твой IP: <font color="#FF0000"><b>$IP_ADDRESS$</b></font</a>  
<br><a target="_blank" href="/load/0-0-0-0-1"><img src="http://big-soft.at.ua/ico/d8d1874ddaa2.gif" border="0"> Добавить файл</a>  
<br><a href="/news/0-0-0-0-1"><img src="http://big-soft.at.ua/ico/b2c99ed55eff.png" border="0"> Добавить новость</a>  
<br><a href="javascript:openOnClick('options')"><img src="http://big-soft.at.ua/ico/53b788ca22ad.png" border="0"> Ред. информацию</a>  
<br><a target="_blank" href="$PERSONAL_PAGE_LINK$"><img src="http://big-soft.at.ua/ico/d8d1874ddaa2.gif" border="0"> Профиль</a>  
<br><a id="upml2" href="javascript:openOnClick('mail')"><img src="http://big-soft.at.ua/ico/292f5884f6d6.gif" border="0"> Читать ЛС (<b>$UNREAD_PM$</b>)</a>  
<br><a href="javascript:openOnClick('send')"><img src="http://big-soft.at.ua/ico/email_edit.png"> Отправить сообщение</a>  
<DIV><br><center><a target="_blank" href="$LOGOUT_LINK$"><img src="http://big-soft.at.ua/ico/exit.gif" border="0"></a></center></DIV>  
<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> </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-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("Отключите блокировку всплывающих окон!");  


  }  
</script>  
  
<br>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!  
</div>

edit post

0 коммент. для "Скрипт для uСoz - Мини профиль с приятным приветствием"

  • Отправить комментарий