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

    Онлайн всего: 1
    Гостей: 1
    Пользователей: 0
    Главная » 2009 » Июнь » 25 » Мини-профиль
    15:00
    Мини-профиль

    Решил соединить несколько профилей, и получить один. Создаём блок и вставляем
    Code
    <center><font color="#000000" face="Verdana"><strong><script
    language="JavaScript">
    <!--begin fantasyflash.ru
    var h=(new Date()).getHours();
    if (h > 23 || h <7) document.write('Привет лунатикам! :)') ;
    if (h > 6 && h < 12) document.write('Доброе утро, $USERNAME$! Как спалось?');
    if (h > 11 && h < 19) document.write('Добрый день, $USERNAME$!');
    if (h > 18 && h < 24) document. write('Привет, $USERNAME$! Уже вечер...');
    //-->
    </script></strong></font></center>
    <center>
    <br><b>Ты в группе "$USER_GROUP$"</b><br>
    <br><?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><?else?><img class="userAvatar" title="Нет аватара" src="http://media-center.3dn.ru/avatar/noavatar.gif" border="0"> <?endif?>
    </center>
    <?if($USER_LOGGED_IN$)?>
    <br><center><input class="buttonprofile" type="button" onclick="window.open('/index/15-1'); return false;" value="Список пользователей">
    <input class="buttonprofile" type="button" onclick="window.open('/index/11'); return false;" value="Изменить сведения">
    <input class="buttonprofile" type="button" onclick="window.open('/index/14'); return false;" value="Читать ЛС ($UNREAD_PM$)"><br>
    <input class="buttonprofile" type="button" onclick="window.open('/index/8'); return false;" value="Профиль"><br>
    <input class="buttonprofile" type="button" onclick="document.location.href='$LOGOUT_LINK$'; return false;" value="Выход"> <bR></center>

    <!--IF-->
    <div class="boxContent" id="kabinet">

    <?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>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!<br><br>
    <center>$LOGIN_FORM$</center><br><?endif?></div>
    Категория: скрипты для ucoz сайта | Просмотров: 1071 | Добавил: gazibalonchik | Теги: карманные игры, Ранейшы Хочаш паўтарыць невялікае п, размнажэнне, тамагоч | Рейтинг: 0.0/0
    Всего комментариев: 6
    6 SeoMASTER  
    1
    Норма)))

    5 [KuRo]  
    1
    Поставил)

    4 gazibalonchik  
    0
    Если нравится, + ставте!

    3 gazibalonchik  
    0
    ОЙ! Я ошибся Код: <center><font color="#000000" face="Verdana"><strong><script
    language="JavaScript">
    <!--begin fantasyflash.ru
    var h=(new Date()).getHours();
    if (h > 23 || h <7) document.write('Привет лунатикам! :)') ;
    if (h > 6 && h < 12) document.write('Доброе утро, $USERNAME$! Как спалось?');
    if (h > 11 && h < 19) document.write('Добрый день, $USERNAME$!');
    if (h > 18 && h < 24) document. write('Привет, $USERNAME$! Уже вечер...');
    //-->
    </script></strong></font></center>
    <center>
    <br><b>Ты в группе "$USER_GROUP$"</b><br>
    <br><?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><?else?> <?endif?>
    </center>
    <?if($USER_LOGGED_IN$)?>
    <br><center><input class="buttonprofile" type="button" onclick="window.open('/index/15-1'); return false;" value="Список пользователей">
    <input class="buttonprofile" type="button" onclick="window.open('/index/11'); return false;" value="Изменить сведения">
    <input class="buttonprofile" type="button" onclick="window.open('/index/14'); return false;" value="Читать ЛС ($UNREAD_PM$)"><br>
    <input class="buttonprofile" type="button" onclick="window.open('/index/8'); return false;" value="Профиль"><br>
    <input class="buttonprofile" type="button" onclick="document.location.href='$LOGOUT_LINK$'; return false;" value="Выход"> <bR></center>

    <!--IF-->
    <div class="boxContent" id="kabinet">

    <?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>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь!<br><br>
    <center>$LOGIN_FORM$</center><br><?endif?></div>


    2 [KuRo]  
    1
    Да норм)

    1 денис  
    1
    норм

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