Среда, 16.07.2025, 11:15
Меню сайта
    Форма входа
    Категории раздела
    скрипты для ucoz сайта [3099]
    шаблоны для ucoz скачать [2660]
    Иконки групп для форума [25]
    Графика для сайта [1953]
    шаблоны psd для фотошопа [27]
    кисти для фотошопа [39]
    уроки фотошопа на русском языке [4]
    стили для фотошопа [3]
    шрифты для фотошопа cs4 [12]
    Web-master [3058]
    Поиск
    Календарь
    «  Май 2009  »
    Пн Вт Ср Чт Пт Сб Вс
        123
    45678910
    11121314151617
    18192021222324
    25262728293031
    Архив записей
    Наш опрос
    Умеете ли вы писать скрипты для ucoz?
    Всего ответов: 73
    Мини-чат
    200
    Друзья сайта
  • Официальный блог
  • Сообщество uCoz
  • FAQ по системе
  • Инструкции для uCoz
  • Статистика

    Онлайн всего: 1
    Гостей: 1
    Пользователей: 0
    Главная » 2009 » Май » 23 » Качественная сборка мини-профилей
    13:25
    Качественная сборка мини-профилей
    1)


    Code
    <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://gamesmir.com/img/noavatar.gif" 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>

    2)

    Code
    <div align="center"><strong><SCRIPT LANGUAGE="JavaScript">          
    currentTime = new Date();          
    if (currentTime.getHours() >= 6 && currentTime.getHours() <= 11 )          
    document.write("Доброе утро, ");          
    if (currentTime.getHours() >= 12 && currentTime.getHours() <= 17 )          
    document.write("Добрый день, ");          
    if (currentTime.getHours() >= 18 && currentTime.getHours() <= 23)          
    document.write("Добрый вечер, ");          
    if (currentTime.getHours() >= 0 && currentTime.getHours() <= 5)          
    document.write("Доброй ночи, ");          
    </SCRIPT> $USERNAME$</strong>          
    <br> <br>          
    Сообщения: <?if($IS_NEW_PM$)?><img src="http://s42.radikal.ru/i096/0811/da/792a904470e4.gif" ><?else?><img src="http://s40.radikal.ru/i089/0811/94/292f5884f6d6.gif" ><?endif?><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://s56.radikal.ru/i152/0811/94/7504f641ae8e.png" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://s56.radikal.ru/i152/0811/94/7504f641ae8e.png" border="0"><?endif?><?endif?>          

    <span style="font-weight: bold; color: rgb(0, 102, 0);"><br><font color="#006400">Группа:</font></span> <b>$USER_GROUP$          
    <div align="center"><font color="#006400"><strong>Время:</strong></font><b>$TIME$</b><br>          

    <?if($USER_LOGGED_IN$)?>          
    <div align="left">          
    <br><img src="http://babin.at.ua/image/ico2/user.png"> Логин: <b>$USER_FULL_NAME$ </b>          
    <br><img src="http://babin.at.ua/image/ico2/key.png"> ID: <b>$USER_ID$</b>          

    <br><img src="http://babin.at.ua/image/ico2/clock.png"> Ты здесь: <font color="#FF0000"><b>$USER_REG_DAYS$</b></font>-й день          
    <br><img src=""http://soft-fan.3dn.ru/icons_forum/progr.gif" border="0"> Твой IP:<b>$IP_ADDRESS$</b>     
    <br><a target="_blank" href="$PERSONAL_PAGE_LINK$"><img src="http://soft-fan.3dn.ru/icons_forum/progr.gif" border="0"> Профиль</a>          
    <br><a href="javascript:openOnClick('users')"><img src="http://babin.at.ua/image/ico2/vcard.png"> Список пользователей</a>          
    <br><a href="javascript:openOnClick('options')"><img src="http://babin.at.ua/image/ico2/wrench.png"> Изменить информацию</a>          
    <br><a href="javascript:openOnClick('send')"><img src="http://babin.at.ua/image/ico2/email_edit.png"> Отправить сообщение</a>          
    <br><a id="upml2" href="javascript:openOnClick('mail')"><img src="http://babin.at.ua/image/ico2/email.png"> Читать ЛС (<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?> </div>          
    <DIV><br><center><a target="_blank" href="$LOGOUT_LINK$"><img src="http://s45.radikal.ru/i107/0811/26/3b4b854856bc.png" border="0"></a></center></DIV>          

    <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("Отключите блокировку всплывающих окон!");          

    }          
    </script>          
    <?else?>          
    <br>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!          
    <?endif?></div>          

    $LOGIN_FORM$

    3)


    Code
    <td style="background-color:#FFFFCC; padding-right: 4px; padding-left: 4px; padding-top: 10px" class="menu_grey">       
    <div align="center"><strong>$WDAY$ <br> $DATE$ <br> $TIME$</strong>       

    <?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://fightarena.ucoz.net/avatarfightarena.gif" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://fightarena.ucoz.net/avatarfightarena.gif" border="0"><?endif?><?endif?>       

    <?if($USER_LOGGED_IN$)?>       
    <div align="center">Вы вошли как: <strong>$USERNAME$</strong>       

    Группа: <strong>$USER_GROUP$</strong>       

    Пол: <strong>$USER_GENDER$</strong>       

    На сайте: <strong>$USER_REG_DAYS$ дней</strong></br>       
    Ты пользователь № <strong>$USER_ID$</strong><br></p>       
    Личных сообщений:<strong>$UNREAD_PM$</strong></p> </br>       
    Ваш Ip:<strong> $IP_ADDRESS$</strong> </div>       
    <div align="center"> </div>       
    <div align="left">       
    <b><center><a href="$PERSONAL_PAGE_LINK$" title="Мой профиль"><img src="http://fightarena.ucoz.net/groups_icon/lich.png" border="0" alt="" /></a>       
    <?if($USER_LOGGED_IN$)?>       
    <a href="java script://" id="upml" class="fNavLink" onclick="window.open('$PM_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;"><img src="http://fightarena.ucoz.net/groups_icon/ls.png" border="0" alt="" /></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('upml','')",500)</script><bgsound src="http://src.ucoz.net/img/fr/pm.wav" loop="1" volume="0" balance="0">       
    <?endif?><?endif?>       
    <a title="Выход" href="$LOGOUT_LINK$"><img src="http://fightarena.ucoz.net/groups_icon/vixod.png" border="0" alt="" /></a></div>       
    </script>       
    <?endif?>

    4)

    Code

    <div align="center"><strong><img src="http://kazahstan.ucoz.kz/mini/forum1.png" border="0"><br><SCRIPT LANGUAGE="JavaScript">       
    currentTime = new Date();       
    if (currentTime.getHours() >= 6 && currentTime.getHours() <= 11 )       
    document.write("Доброе утро, ");       
    if (currentTime.getHours() >= 12 && currentTime.getHours() <= 17 )       
    document.write("Добрый день, ");       
    if (currentTime.getHours() >= 18 && currentTime.getHours() <= 23)       
    document.write("Добрый вечер, ");       
    if (currentTime.getHours() >= 0 && currentTime.getHours() <= 5)       
    document.write("Доброй ночи, ");       
    </SCRIPT> $USERNAME$ !</strong>       
    <br> <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://kazahstan.ucoz.kz/mini/ava.gif" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://kazahstan.ucoz.kz/mini/rocTb0.gif" border="0"><?endif?><?endif?>       

    <?if($USER_LOGGED_IN$)?>       
    <div align="left">       
    <br><img src="http://kazahstan.ucoz.kz/mini/vcard.png"> Имя: <b>$USER_FULL_NAME$ </b>       

    <br><img src="http://kazahstan.ucoz.kz/mini/clock.png" border="0"> Ты здесь: <font color="#FF0000"><b>$USER_REG_DAYS$</b></font>-й день       
    <br><img src="http://kazahstan.ucoz.kz/mini/Command.png" border="0"> Твой IP: <font color="#FF0000"><b>$IP_ADDRESS$</b></font</a>       
    <br><a href="javascript:openOnClick('options')"><img src="http://kazahstan.ucoz.kz/mini/wrench.png" border="0"> Ред. информацию</a>       
    <br><a target="_blank" href="$PERSONAL_PAGE_LINK$"><img src="http://kazahstan.ucoz.kz/mini/Favoris.png" border="0"> Профиль</a>       
    <br><a id="upml2" href="javascript:openOnClick('mail')"><img src="http://kazahstan.ucoz.kz/mini/email.png" border="0"> Читать ЛС (<b>$UNREAD_PM$</b>)</a>       
    <DIV><br><center><a href="javascript://" title="Выход" onclick="if (confirm('Вы действительно хотите выйти?')) {alert('Счастливого пути Вам! Приходите еще! :))');location.href='$LOGOUT_LINK$';} else {alert('Спасибо за то, что вы остались! :)).')};"><img src="http://kazahstan.ucoz.kz/mini/exit.gif" border="0"></a></center></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?> </div>       

    <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("Отключите блокировку всплывающих окон!");        

    }       
    </script>       
    <?else?>       
    <br>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!       
    <?endif?></div>

    5)

    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$" border="0"><?else?><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="http://i029.radikal.ru/0804/cb/8cc27a1c0e73.gif" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://i021.radikal.ru/0804/53/f5b4265aa726.gif" border="0"><?endif?><?endif?>      

    <?if($USER_LOGGED_IN$)?>      

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

    <input class="buttonprofile" type="button" onclick="document.location.href='/index/8'; 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>

    6)

    +Легко ставиться
    +Только один скрипт
    +Красивое оформление
    +Никаких багов

    -Версия 1.0

    КОД И КАК ЕГО СТАВИТЬ:
    1.Создаем глобальный блок: PBMS
    2.Вставляем туда код:

    Code
    <!-- MityaSCRIPT profiles_v1 -->    
    <div align="center"><strong>Привет: $USERNAME$</strong>           
    <br> <br>    
    Сообщения: <?if($IS_NEW_PM$)?><img src="http://s42.radikal.ru/i096/0811/da/792a904470e4.gif" ><?else?><img src="http://s40.radikal.ru/i089/0811/94/292f5884f6d6.gif" ><?endif?><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://s46.radikal.ru/i111/0811/0d/fc11979a3233.jpg" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="http://s46.radikal.ru/i111/0811/0d/fc11979a3233.jpg" border="0"><?endif?><?endif?>           

    <?if($USER_LOGGED_IN$)?>           
    <div align="left">    
    <br><img src="http://babin.at.ua/image/ico2/user.png"> Логин: <b>$USER_FULL_NAME$ </b>    
    <br><img src="http://babin.at.ua/image/ico2/key.png"> ID: <b>$USER_ID$</b>    

    <br><img src="http://babin.at.ua/image/ico2/clock.png"> Ты здесь: <font color="#FF0000"><b>$USER_REG_DAYS$</b></font>-й день           
    <br><a href="javascript:openOnClick('users')"><img src="http://babin.at.ua/image/ico2/vcard.png"> Список пользователей</a>           
    <br><a href="javascript:openOnClick('options')"><img src="http://babin.at.ua/image/ico2/wrench.png"> Изменить информацию</a>           
    <br><a href="javascript:openOnClick('send')"><img src="http://babin.at.ua/image/ico2/email_edit.png"> Отправить сообщение</a>           
    <br><a id="upml2" href="javascript:openOnClick('mail')"><img src="http://babin.at.ua/image/ico2/email.png"> Читать ЛС (<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?> </div>    

    <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("Отключите блокировку всплывающих окон!");            

               }           
    </script>           
    <?else?>           
    <br>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!           
    <?endif?></div>

    3. Вставляем код блока в любую часть страницы (желатильно в табл или меню)

    Code
    $GLOBAL_PBMS$
    Категория: скрипты для ucoz сайта | Просмотров: 764 | Добавил: Un$toPPabLe | Рейтинг: 0.0/0
    Всего комментариев: 6
    6 DAUR_AKTOBE_KZ11  
    0
    sps vsem kto zdelal takie profili molodci ya vam zaviday biggrin

    5 Sykes  
    0
    надписи есть а картинки нету!!! cry cry cry cry cry Почему?? помогите

    4 NoName74  
    0
    нгиодин не понравился, ну может только с мегасофта dry

    1 Wolf123  
    -2
    былооооо

    2 Un$toPPabLe  
    0
    Ответь мне на вопрос: Как это могло быть? если я ее сам собирал??? может и отдельные 1-2 были, а вообще не было!

    3 qCaRTp  
    0
    Действительно было... Там тоже была сборка.. Ну хотя там не было 2-х которые ты добавил сюда.. Но зато там было на 2 больше чем сдесь..

    Добавлять комментарии могут только зарегистрированные пользователи.
    [ Регистрация | Вход ]