Мини профиль(для темных дизайнов) - Форум
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Мини профиль(для темных дизайнов)
SQLДата: Суббота, 19.03.2011, 10:46 | Сообщение # 1



[Table]Описание: Простенький мини профиль но красиво смотриться под темные дизайны.[/Table]
[Table]
Установка шаблона:Создаем блок и пихаем туда этот код:[/Table]
Code
<div align="center"><strong>$WDAY$ <br> $DATE$ <br> $TIME$</strong>    
    <br>    
    <?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$"style="margin-right: 7px; -moz-border-radius: 5px 5px 5px 5px; border: 3px solid rgb(224, 169, 19);" border="0"><?else?><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="http://i17.fastpic.ru/big/2011/0313/fb/520c11846f64fe4e18ede2b654bd7afb.png"style="margin-right: 7px; -moz-border-radius: 5px 5px 5px 5px; border: 3px solid rgb(224, 169, 19);" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://i17.fastpic.ru/big/2011/0313/fb/520c11846f64fe4e18ede2b654bd7afb.png"style="margin-right: 7px; -moz-border-radius: 5px 5px 5px 5px; border: 3px solid rgb(224, 169, 19);" border="0"><?endif?><?endif?>    

    <?if($USER_LOGGED_IN$)?>    

    <div align="center">Вы вошли как: <b><span style="color:orange">$USERNAME$</span></b> <br />    
    IP Адрес: <span style="color:orange"><b>$IP_ADDRESS$</b></span> <br />    
    Группа: <span style="color:orange"><b>$USER_GROUP$</b></span> <br />    
    Личных сообщений: <span style="color:orange"><b>$UNREAD_PM$</b></span></p>    

  <input class="buttonprofile" type="button" onclick="window.open('/index/8','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="Профиль">    

    <input class="buttonprofile" type="button" onclick="window.open('/index/14','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" value="ЛС">    

    <input class="buttonprofile" type="button" onclick="document.location.href='/index/10'; return false;" value="Выход">    
    </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>    
    <?else?>    
    <br> $LOGIN_FORM$    
    <?endif?></div>



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