[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Скрипты для ucoz » Пользователи » Профиль
Профиль
warrogtДата: Суббота, 30.01.2010, 11:09 | Сообщение # 1
Проверенные
Сообщений: 9
[ 0 ]
Screen:

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

Code
<div align="center"><strong>Привет $USERNAME$ <br></strong></div>    
<div align="center"><?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><hr size="2" width="100%"><?else?><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="http://worldprog.at.ua/images/AVATARKAUSER.jpg" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://worldprog.at.ua/images/AVATARKAUSER.jpg" border="0"><?endif?><?endif?>    

<?if($USER_LOGGED_IN$)?>    

Группа: <strong>$USER_GROUP$</strong> <br />    
Личных сообщений: <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>    

<?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 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%"><?else?>    
<br>    
<?endif?>

потом :управление дизайном>>быстрая замена>>много строчный режим>> и в поле что менять вставляем это :

Code
<?if($LOGIN_FORM$)?>

на что менять:

Code
<?if($CHAT_BOX$)?>

потом еще рас :управление дизайном>>быстрая замена>>много строчный режим>> и в поле что менять вставляем это :

Code
$LOGIN_FORM$

на что менять:

Code
$GLOBAL_****$$LOGIN_FORM$

там где **** надо написать имя блока и все!

AdminДата: Понедельник, 01.02.2010, 10:10 | Сообщение # 2
Пользователи
Сообщений: 16
[ 0 ]
wink кнопки бы другие, тогда ок было бы smile
Tem1kДата: Четверг, 11.03.2010, 13:54 | Сообщение # 3
Пользователи
Сообщений: 22
[ 0 ]
Неплохой скрипт,но хотелось бы улучшить кнопки..
Форум » Скрипты для ucoz » Пользователи » Профиль
  • Страница 1 из 1
  • 1
Поиск:

загрузка...