Реклама

  • Страница 1 из 11
    Модератор форума: N_O_O_B 
    Форум » Система для uCoz » Скрипты (CStav.Ru) » Скрипт мини-профиля новый
    Скрипт мини-профиля новый
    N_O_O_B
    Дата: Воскресенье, 25.03.2012, 13:34 | Сообщение # 1
    csdm.moy.su
    Постов: «346»
    Генерал-майор
    999


    Установка:
    В CSS вставляем:

    Code
    .eTextcsdm {text-align:justify; padding:10px;}


    В блок вставляем в HTML:
    Code
    <?if($USER_LOGGED_IN$)?>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <tr>
    <td align="center"><img src="http://csdm.moy.su/p/grin.png" width="100" height="20" /><br><?if($USER_AVATAR_URL$)?>   
    <img title="$USERNAME$" src="$USER_AVATAR_URL$" border="0">
    <?else?><?if($USER_LOGGED_IN$)?><img title="$USERNAME$" src="http://csdm.moy.su/images2/no_ava.jpg" border="0"><?endif?><?endif?>
    <div align="center"><img src="http://csdm.moy.su/p/grin.png" width="100" height="20" /></div>
    <div align="left" class="eTextcsdm"> Время: <b>$TIME$</b> <br>Вы вошли как: <strong>$USERNAME$</strong>
    <br>IP Адрес: <strong>$IP_ADDRESS$</strong>
    <br>Личных сообщений: <strong>$UNREAD_PM$</strong>
    <br>Группа: <strong>$USER_GROUP$</strong>
    </div>
    <div align="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">
    </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>
    </div>
    </table><?else?> <table width="100%" border="0" cellspacing="0" cellpadding="0">   
    <tr> <td align="center"><img src="http://csdm.moy.su/p/grin.png" width="100" height="20" /></td></tr>
    <tr>
    <td align="center"><img title="$USERNAME$" src="http://csdm.moy.su/images2/no_ava.jpg" border="0"></td>
    </tr>
    <tr> <td align="center"><img src="http://csdm.moy.su/p/grin.png" width="100" height="20" /></td></tr>

    <tr>
    <td align="center">$LOGIN_FORM$</td>
    </tr>
    </table><?endif?>



    Форум » Система для uCoz » Скрипты (CStav.Ru) » Скрипт мини-профиля новый
    Страница 1 из 11
    Поиск:

    Статистика на форуме: