Главная | Мой профиль | Регистрация | Выход | ВходВы вошли как Гость | Группа "Гости"Приветствую Вас Гость | RSS
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Скрипты. » Скрипты для сайтов ucoz 2. » Мини-профиль!
Мини-профиль!
MaLeViChДата: Пятница, 19.06.2009, 10:03 | Сообщение # 1
Генералиссимус
Группа: Администраторы
Сообщений: 1049
Награды: 40
Репутация: 26
Статус: Offline
Все также. Создаем глобальный блок и туда вставляем это:

Code
<style type="text/css">
<!--
.стиль1 {
color: #FF0000;
font-weight: bold;
}
-->
</style>

<div align="center">
</div>
<div align="center">
<?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://s54.radikal.ru/i144/0811/28/2e5b092ea556.gif" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://s52.radikal.ru/i138/0811/25/69937be8d72a.gif" border="0"><?endif?>

<br>
<?endif?>
<br>

<div style="display:inline;" id="menuDiv"><ul id="tmenu0" style="margin-left:4px">
<li><span style="font-weight:bold"><img src='/miniprof/stan/menu.gif'> </span>
<ul>
<li><span style="font-weight:bold"><img src='/miniprof/stan/info.gif'> </span>
<ul>
<div align="left">
<img src="http://www.soft-team.ucoz.ru/miniprof/icon/email.png"> <TEXTname>Новые cообщения ($UNREAD_PM$) </TEXTname>
<br>
<img src="http://www.soft-team.ucoz.ru/miniprof/icon/lightning.png"> IP: $IP_ADDRESS$
<br>
<img src="http://www.soft-team.ucoz.ru/miniprof/icon/key.png"> ID: $USER_ID$
<br>
<img src="http://www.soft-team.ucoz.ru/miniprof/icon/clock.png"> Ты здесь <span class="стиль1">$USER_REG_DAYS$</span>-й день
<br>
<img src="http://www.soft-team.ucoz.ru/miniprof/icon/webmaster.gif" /> Група: $USER_GROUP$
<br>
<img src="http://www.soft-team.ucoz.ru/miniprof/icon/vcard.png" /> Имя: $USER_FULL_NAME$
<br>
<img src="http://www.soft-team.ucoz.ru/miniprof/icon/uname.png"> Логин: $USERNAME$
<br>
<img src="http://www.soft-team.ucoz.ru/miniprof/icon/ugender.png"> Пол: $USER_GENDER$
<br>
<img src="http://www.soft-team.ucoz.ru/miniprof/icon/cake.png"> День рождения: $USER_BIRTHDAY$
<br>
<img src="http://www.soft-team.ucoz.ru/miniprof/icon/clock.png"> Время: $TIME$
<br><br>
<center><a href="/index/10"><img src="http://mg-soft.ucoz.net/off.png" border="0"></a></center>
</div></ul>

</ul></li>
</ul></li>
<script type="text/javascript">
//<![CDATA[
var li = document.getElementById('tmenu0').getElementsByTagName('li');
for(i in li) if(li[i].className=='expanded') li[i].setAttribute('expanded','1');
function tmenudata0() {
this.animation_jump = 10
this.animation_delay = 2
this.imgage_gap = 3
this.pm_width_height = "0,0"
this.indent = 10;

this.use_hand_cursor = true;
this.main_item_styles = "text-decoration:none; font-weight:normal; font-family:Arial; font-size:12px; color:#gold; padding:2px; "
this.sub_item_styles = "text-decoration:none; font-weight:normal; font-family:Arial; font-size:12px; color:#333333; "
this.main_container_styles = "padding:0px;"
this.sub_container_styles = "padding-top:1px; padding-bottom:1px;"
this.main_link_styles = "color:#ffffff; text-decoration:none;"
this.main_link_hover_styles = "color:#A98579; text-decoration:underline;"
this.sub_link_styles = ""
this.sub_link_hover_styles = ""
this.main_expander_hover_styles = "text-decoration:underline;";
this.sub_expander_hover_styles = "";
}
//]]>
</script>
<script src="http://soft-team.ucoz.ru/miniprof/jsMenu.js" type="text/javascript"></script></div><script type="text/javascript">try { var nl=document.getElementById('menuDiv').getElementsByTagName('a'); var found=-1; var url=document.location.href+'/'; var len=0; for (var i=0;i<nl.length;i++){ if (url.indexOf(nl[i].href)>=0){ if (found==-1 || len<nl[i].href.length){ found=i; len=nl[i].href.length; } } } if (found>=0){ nl[found].className='ma'; } } catch(e){}</script>
</ul>
</div>
<!--!hello_msg-->
<!--JS-->
<script language=javascript type=text/javascript>
function openOnClick(js_url)
{
if(js_url=="mail")clientWindow = window.open("$PM_URL$","pmw","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!");
if(js_url=="send")clientWindow = window.open("/index/14-999-0-1","pms","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!");
if(js_url=="options")clientWindow = window.open("/index/11","options","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");
if(js_url=="users")clientWindow = window.open("$USERS_LIST_URL$","users","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");

}
</script>
</div></ul>

</ul></li>
</ul></li>
<script type="text/javascript">
//<![CDATA[
var li = document.getElementById('tmenu0').getElementsByTagName('li');
for(i in li) if(li[i].className=='expanded') li[i].setAttribute('expanded','1');
function tmenudata0() {
this.animation_jump = 10
this.animation_delay = 2
this.imgage_gap = 3
this.pm_width_height = "0,0"
this.indent = 10;

this.use_hand_cursor = true;
this.main_item_styles = "text-decoration:none; font-weight:normal; font-family:Arial; font-size:12px; color:#gold; padding:2px; "
this.sub_item_styles = "text-decoration:none; font-weight:normal; font-family:Arial; font-size:12px; color:#333333; "
this.main_container_styles = "padding:0px;"
this.sub_container_styles = "padding-top:1px; padding-bottom:1px;"
this.main_link_styles = "color:#ffffff; text-decoration:none;"
this.main_link_hover_styles = "color:#A98579; text-decoration:underline;"
this.sub_link_styles = ""
this.sub_link_hover_styles = ""
this.main_expander_hover_styles = "text-decoration:underline;";
this.sub_expander_hover_styles = "";
}
//]]>
</script>
<script src="http://soft-team.ucoz.ru/miniprof/jsMenu.js" type="text/javascript"></script></div><script type="text/javascript">try { var nl=document.getElementById('menuDiv').getElementsByTagName('a'); var found=-1; var url=document.location.href+'/'; var len=0; for (var i=0;i<nl.length;i++){ if (url.indexOf(nl[i].href)>=0){ if (found==-1 || len<nl[i].href.length){ found=i; len=nl[i].href.length; } } } if (found>=0){ nl[found].className='ma'; } } catch(e){}</script>
</ul>
</div>
<!--!hello_msg-->
<!--JS-->
<script language=javascript type=text/javascript>
function openOnClick(js_url)
{
if(js_url=="mail")clientWindow = window.open("$PM_URL$","pmw","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!");
if(js_url=="send")clientWindow = window.open("/index/14-999-0-1","pms","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!");
if(js_url=="options")clientWindow = window.open("/index/11","options","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");
if(js_url=="users")clientWindow = window.open("$USERS_LIST_URL$","users","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");

}
</script>

Прикрепления: 4412020.gif (24.1 Kb)



 
Форум » Скрипты. » Скрипты для сайтов ucoz 2. » Мини-профиль!
  • Страница 1 из 1
  • 1
Поиск:

bg.team © 2024

Сделать бесплатный сайт с uCoz

----------------------------------------------------------------------------------------