Мой сайт Среда, 09.07.2025, 18:31
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Мини профиль для форума
ProGamer
Среда, 24.10.2012, 10:33

ICQ пользователя:
Skype пользователя:
Сайт пользователя:
Установка:
Дизайн управление дизайном - форум - общий вид страниц форума
Вставляем это между<head></head>
Code
<style>.mini_prof_out {background-color: #f4f4f4; border:1px solid #9db0bf; padding: 4px 10px; position: fixed; bottom: 4px; right: 4px; opacity: 0.5; text-align: center;} .mini_prof_on {background-color: #f4f4f4; border:1px solid #9db0bf; padding: 4px 10px; position: fixed; bottom: 4px; right: 4px; opacity: 1; text-align: center;} #mini_prof #close_miniprof {color: #810000; text-decoration: underline; cursor: pointer;} #mini_prof #open_miniprof {color: #3e8144; text-decoration: underline; cursor: pointer;}</style>

Это вставить до </body>
Code
<div class="gDivBottomLeft"></div><div class="gDivBottomCenter"></div><div class="gDivBottomRight"></div>       
     <div class="mini_prof_out" onmouseover="this.className='mini_prof_on'" onmouseout="this.className='mini_prof_out'" id="mini_prof"><div id="sam_profil" style="display:none">       
     <div align="center"><strong>Привет: $USERNAME$</strong>           
     <br>           
     <?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://i042.radikal.ru/0907/df/336b96928b62.png" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://gamesmir.com/img/guest.gif" border="0"><?endif?><?endif?>           

     <?if($USER_LOGGED_IN$)?>           
     <br>Полное имя: $USER_FULL_NAME$           
     <br>Ты здесь: <font color="#FF0000"><b>$USER_REG_DAYS$</b></font>-й день           
     <br><a href="javascript:openOnClick('users')">Список пользователей</a>           
     <br><a href="javascript:openOnClick('options')">Изменить сведения</a>           
     <br><a href="javascript:openOnClick('rules')">Правила сайта!</a>           
     <br><a href="javascript:openOnClick('send')">Отправить ЛС</a>           
     <br><a id="upml2" href="javascript:openOnClick('mail')">Читать ЛС (<b>$UNREAD_PM$</b>)</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 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>           
     <?else?>           
     <br>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!           
     <?endif?></div>       
     </div><span id="open_miniprof">Мини профиль</span><span id="close_miniprof" style="display:none">Скрыть</span></div><script type="text/javascript">$(document).ready(function(){$("#open_miniprof").click(function(){$(this).hide(100); $("#close_miniprof, #sam_profil").show(100); $("#sam_profil").css("text-align","left");}); $("#close_miniprof").click(function(){$(this).hide(100); $("#sam_profil").hide(100); $("#open_miniprof").show(100); $("#sam_profil").css("text-align","center");});});</script>

 
  • Страница 1 из 1
  • 1
Поиск:

Copyright MyCorp © 2025
Конструктор сайтовuCoz