Raistlin
|
Дата: Пятница, 30.12.2011, 19:31 | Сообщение # 1 |
Группа: Пользователи
Сообщений: 1683
Награды:
107
Репутация: 6263
Статус: 
|
Скрипт для ucoz - Мини профиль (5 кнопок)
К стандартному мегасофтовскому мини профилю добавлены две важные кнопки (статистика, добавить новость).
Код Скрипта:
Code <div align="center"><strong>Привет $USERNAME$ <br></strong></div> <div align="center"><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><hr size="2" width="100%"><img class="userAvatar" title="$USERNAME$" src="http://worldprog.at.ua/images/AVATARKAUSER.jpg" border="0"><img class="userAvatar" title="$USERNAME$" src="http://worldprog.at.ua/images/AVATARKAUSER.jpg" border="0"> Группа: <strong>$USER_GROUP$</strong> Личных сообщений: <strong>$UNREAD_PM$</strong> <center><input class="buttonprofile" onclick="document.location.href='http://worldprog.at.ua/news/0-0-0-0-1'; return false;" value="Добавить новость" type="button"></center> <input class="buttonprofile" onclick="document.location.href='/index/8'; return false;" value="Профиль" type="button"> <input class="buttonprofile" onclick="window.open('/index/14','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="ЛС" type="button"> <input class="buttonprofile" onclick="document.location.href='/index/10'; return false;" value="Выход" type="button"> <input class="buttonprofile" onclick="document.location.href='/index/0-47'; return false;" value="Статистика" type="button"> </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> <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> <hr size="2" width="100%"> <br>
|
|
|
|