24.05.2011

Скрипт Персональная страница пользователя как вконтакте для Ucoz

Нажмите на изображение для просмотра в полном размере
Скрипт Персональная страница пользователя как вконтакте для Ucoz
Скрипт Персональная страница пользователя как вконтакте для Ucoz. От www.csomsk.ru
Установка:
Заходим в ПУ - Управ. Дизайном - Персональная страница ппользователя и заменяем на:
Code
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="inonline">
<head>
<link type="text/css" rel="StyleSheet" href="http://csomsk.ru/css/vk_prof.css" />
<link rel="stylesheet" href="http://csomsk.ru/css/vk_prv.css" type="text/css" />
<title>$HOME_PAGE_LINK$| $_NAME$ </title>
<style type="text/css">.gold1 {text-align:left;padding:3px;} .gold2 {clear:left;float:left;width:150px;} #goldI {display: none}
.etitle{background:#f1f1f1;border:1px solid #cdcbcb;text-shadow: 0.1em 0.1em 0.05em #FFF;padding:7px;}
#tableball tr td{background: #fafafa; border: 1px solid #bdbdbd; padding: 4px 10px;} .xt-edit{background-position:0 -90px;} .xt-edit-over{background-position:-15px -90px;} .xt-log{background-position:0 -315px;} .xt-log-over{background-position:-15px -315px;} .rdv {text-align:left;padding:6px;} .ldv {clear:left;float:left;width:150px;}
.screenshot img {margin:6px; padding:5px; -moz-border-radius:6px;-webkit-border-radius:6px; border-radius:6px; -moz-box-shadow:0 0px 5px #6A6A6A; box-shadow:0 0px 5px #6A6A6A;-webkit-box-shadow:0 0px 5px #6A6A6A;}</style>
</head>
<body>
</head>
<body>
  <div id="pageLayout">
<div id="pageHeader">
</div>
<div id="sideBar">
<ol id="nav">
<li id="myprofile" class="clearFix">
<a href="/index/11" class="edit">ред.</a> <a href="$PERSONAL_PAGE_LINK$" class="hasedit">Моя Страница</a> </li>
<li><A href="$HOME_PAGE_LINK$">Главная</A></li>
<li><A href="$PM_URL$">Мои Сообщения</A></li>
<li><a href="/search">Поиск информации</a></li>
<li><a href="/forum">Мой форум</a></li>
<li><a href="/forum/0-0-1-35">Все пользователи</a></li><div class="moreDiv"></div>
</ol>
<span style="font-size:12pt"><span style="color:purple">Статья месяца!</span></span>
<br>Добавляйтесь к нам в группу Вконтакте - <A href="http://vkontakte.ru/vcsomske"> CSOMSK.RU </A>  
</div>
  <div id="pageBody" class="pageBody">
  <div id="wrapH">
  <div id="wrapHI">
  <div id="header">
<b></b>  
<b></b>$_USERNAME$ <span>  
$MODER_PANEL$
  </div>
  </div>
  </div>
  <div id="wrap2">
  <div id="wrap1">
  <div id="content">
<input id="mid" value="1" type="hidden">
<input id="faveHash" value="256fd8bba2d4ff3ef8" type="hidden">
<div id="userProfile" class="clearFix">
<div align="center" id="addsms" style="display:none;position:absolute; ">
<div style="margin-top:100px;margin-left:110px;width:100%px;height:100%px;background:white;border:9px solid #cad1d9;z-index:999999999999999999999999999999999999999999999999999999999999999999999999999999999">
<div class="box_layout"><div class="box_title_wrap"><div class="box_title">
<div align="left">
Новое сообщение
</div>
</div></div>
</tbody></table>
</form>
</div>
<div class="box_controls_wrap"><div class="box_controls">  
<div id="nowEroorPm" style="display:none; padding-top: 7px; padding-left: 5px; position: absolute; color: rgb(86, 40, 40);">Отправлено!</div>
<div style="cursor:pointer;" onclick="document.getElementById('addsms').style.display='none'"><div class="button_wrap button_no"><div class="box_button" id="button2_1">Закрыть</div></div> </div>
<div style="cursor:pointer;" onclick=" messageSubmit();document.getElementById('nowEroorPm').style.display='block'"> <div class="button_wrap button_yes"><div class="box_button" id="button2_2">Отправить</div></div> </div>
</div>
</div>
</div>
</div>
  <div id="leftColumn">
<div align="center" class="screenshot">
<?if($_AVATAR$)?>$_AVATAR$
<?else?><img title="$USERNAME$" src="http://csomsk.ru/1-1-ucoz/no-ava-cs.png" border="0"><?endif?>
  </div>
  <div id="profileActions">
<?if($UNET_ID$)?><a href="$UNET_PROFILE_URL$" target="_blank"><b>uNet профиль</b></a><?endif?>
<a href="$_PM_SEND_URL$">Отправить сообщение (лс)</a>
<a href="$USERS_LIST_URL$">Список пользователей</a>  
</div>
<script>
  $(document).ready(function() {
  var forumvk = 3 * $_REPUTATION$ + 1 * $_FORUM_ENTRIES$ + 5 * $AWARDS$ + 1 * $_COM_ENTRIES$;
  $("#rater").text(forumvk);
  if (forumvk <= '1' && forumvk <= '40'){$("#rateLeft").css("width", "44px");$("#rateRight").css("width", "155px");}
  else if(forumvk >= '41' && forumvk <= '50'){$("#rateLeft").css("width", "90px");$("#rateRight").css("width", "109px");}
  else if(forumvk >= '51' && forumvk <= '70'){$("#rateLeft").css("width", "110px");$("#rateRight").css("width", "89px");}
  else if(forumvk >= '71' && forumvk <= '80'){$("#rateLeft").css("width", "140px");$("#rateRight").css("width", "59px");}
  else if(forumvk >= '81' && forumvk <= '100'){$("#rateLeft").css("width", "198px");$("#rateRight").css("width", "1px");}
  else if(forumvk >= '101' && forumvk <= '140'){$("#rateLeft").css({backgroundColor: '#c6d3dc', width: '44px'});$("#rateRight").css("width", "155px");}
  else if(forumvk >= '141' && forumvk <= '220'){$("#rateLeft").css({backgroundColor: '#c6d3dc', width: '64px'});$("#rateRight").css("width", "145px");}
  else if(forumvk >= '221' && forumvk <= '540'){$("#rateLeft").css({backgroundColor: '#c6d3dc', width: '94px'});$("#rateRight").css("width", "115px");}
  else if(forumvk >= '541' && forumvk <= '800'){$("#rateLeft").css({backgroundColor: '#c6d3dc', width: '134px'});$("#rateRight").css("width", "75px");}
  else if(forumvk >= '801' && forumvk <= '1000'){$("#rateLeft").css({backgroundColor: '#c6d3dc', width: '204px'});$("#rateRight").css("width", "5px");}
  else if(forumvk >= '1001' && forumvk <= '2000'){$("#rateLeft").css({backgroundColor: '#aebfcc', width: '44px'});$("#rateRight").css("width", "155px");}
  else if(forumvk >= '2001' && forumvk <= '4000'){$("#rateLeft").css({backgroundColor: '#b3c4d0', width: '90px'});$("#rateRight").css("width", "109px");}
  else if(forumvk >= '4001' && forumvk <= '6000'){$("#rateLeft").css({backgroundColor: '#b3c4d0', width: '110px'});$("#rateRight").css("width", "89px");}
  });
  </script>
  <div id="rate" style="cursor: pointer" href="javascript://" rel="nofollow" onclick="new _uWnd('Rh',' ',400,250,{autosize:1,maxh:300,minh:100,closeonesc:1};return false;">
  <div id="percent" style="text-align:left;"><span id="rater"></span>%</div>
  <div class="clearFix">
  <div id="rateLeft"> </div>
  <div id="rateRight"> </div>
  </div>
</div>
  <br>
</div>
  <div id="rightColumn">
  <div class="accountInfo clearFix">
  <div class="profileName" style="padding-top:0;" >
  <h2> $_NAME$ <?if($_STATUS$)?> | Статус: $_STATUS$<?endif?>  
</h2>
<br>
</div>
</div>
  <div class="basicInfo">
  <table class="profileTable" cellpadding="0" cellspacing="0">
  <tr>
  <td class="label">Логин:</td>
  <td class="data">
  <div class="dataWrap">
$_USERNAME$
  </div>
  </td>
  </tr>
  <tr>
  <td class="label">Пол:</td>
  <td class="data">
  <div class="dataWrap">
  $_GENDER_NAME$
  </div>
  </td>
  </tr>
  <tr>
  <td class="label">Дата рождения:</td>
  <td class="data">
  <div class="dataWrap">
<span id="datatxt" class="datatxt">$_BIRTHDAY$</span>
  </div>
  </td>
  </tr>
  <tr>
  <td class="label">Ранг:</td>
  <td class="data">
  <div class="dataWrap">
$_RANK_NAME$
  </div>
  </td>
  </tr>
  <tr>
  <td class="label">Нарушений:</td>
  <td class="data">
  <div class="dataWrap">
<a class="banPercent" title="Смотреть историю замечаний" href="$_BAN_READ_URL$">$_BAN_PERCENT$%</a> <?if($_BAN_DO_URL$)?>  <a href="$_BAN_DO_URL$"><img alt="" style="margin:0;padding:0;border:0;" title="Изменить уровень замечаний" src="http://s26.ucoz.net/img/fr/wm.gif" width="10" height="9" /></a><img alt="" style="margin:0;padding:0;border:0;" src="http://s26.ucoz.net/img/fr/w$_BAN_RATING$.gif" width="49" height="9" /><a href="$_BAN_DO_URL$"><img alt="" style="margin:0;padding:0;border:0;" title="Изменить уровень замечаний" src="http://s26.ucoz.net/img/fr/wp.gif" width="10" height="9" /></a><?endif?>
  </div>
  </td>
  </tr>
  <tr>
  <td class="label">Уважение:</td>
  <td class="data">
<div class="dataWrap">
  <a href="$_REP_READ_URL$$"><span id="datatxt" class="datatxt">$_REPUTATION$</span></a> (<a href="$_REP_DO_URL$"><span id="datatxt" class="datatxt">+\-</span></a>)  
  </div>
  </td>
  </tr>
  <tr>
  <tr>
  <td class="label">Возраст:</td>
  <td class="data">
  <div class="dataWrap">
$_AGE$
  </div>
  </td>
  </tr>
  </tbody></table>
  </div>
<div id="personal" class="flexOpen">
  <div class="bOpen">
  <div class="flexHeader clearFix" style="cursor: pointer;" onclick="return collapseBox('personal', this, 0.90, 0.50)" onfocus="blur()">
  <div><h2>Информация</h2></div>
  <div class="flexEdit">
  <a href="/index/11" onclick="event.cancelBubble = true; " title="">редактировать</a>
</div>
  </div>
  </div>
  <div class="c"><div align="center">
  </div><div class="flexBox clearFix"><div align="center">
  </div>
  <div class="edit"> </div>
  </h4>
  <table class="profileTable" cellpadding="0" cellspacing="0">
<tbody>
<?if($_COUNTRY$)?> <tr>
  <td class="label">Страна:</td>
  <td class="data">
  <div class="dataWrap">
$_COUNTRY$
  </div>
  </td>
  </tr>
  <?endif?>
  <tr>
  <td class="label">Группа:</td>
  <td class="data">
  <div class="dataWrap">
<span id="datatxt" class="datatxt">$_GROUP_NAME$</span>
  </div>
  </td>
  </tr>
<?if($_CITY$)?> <tr>
  <td class="label">Город:</td>
  <td class="data">
  <div class="dataWrap">
$_CITY$
  </div>
  </td>
  </tr>
  <?endif?>
<?if($_ICQ$)?> <tr>
  <td class="label">Icq\Skype:</td>
  <td class="data">
  <div class="dataWrap">
  $_ICQ$
  </div>
  </td>
  </tr>
<?endif?>
  <?if($_AOL$)?> <td class="label">Счет в интернете:</td>
  <td class="data">
  <div class="dataWrap">
$_AOL$
  </div>
  </td>
  </tr>
<?endif?>
<tr>
  <td class="label">E-mail:</td>
  <td class="data">
  <div class="dataWrap">
<?if($_IS_OWN_PROFILE$)?> $_EMAIL$ <?if($_EMAIL_IS_HIDDEN$)?><span style="font-size:7pt">(Адрес скрыт)</span><?endif?>
<?else?>
  <?if($MODER_PANEL$)?><a href="mailto:$_EMAIL$">$_EMAIL$</a><?if(!$_EMAIL_IS_VERIFIED$)?> <span style="color:red;" title="Not verified e-mail">*</span><?endif?>
  <?else?>
  <?if($_SEND_EMAIL_URL$)?><a href="$_SEND_EMAIL_URL$">Написать письмо пользователю</a>
  <?else?><i>Адрес скрыт</i>
  <?endif?>
  <?endif?>
<?endif?>
<?if($_EMAIL_VERIFICATION_URL$)?>[ <b><a href="$_EMAIL_VERIFICATION_URL$"><span style="color:red">Подтвердить e-mail</span></a></b> ]<?endif?>
  </div>
  </td>
  </tr>
<?if($GROUP_ID$='4')?> <?if($_IP_ADDRESS$)?><tr>
<td class="label">Ip:</td>
  <td class="data">
  <div class="dataWrap">
  $_IP_ADDRESS$
  </div>
  </td>
  </tr>
  <?endif?>
  </tr>
<?endif?>
<?if($_WWW$)?>
  <tr>
  <td class="label">Страничка:</td>
  <td class="data">
  <div class="dataWrap">
  $_WWW$
  </div>
  </td>
  </tr>
  <?endif?>
  <?if($_ZODIAC$)?><tr>
  <td class="label">Знак зодиака:</td>
  <td class="data">
  <div class="dataWrap">
  $_ZODIAC$
  </div>
  </td>
  </tr>
  <?endif?>
  </tr>
  <?if($_LOG_TIME$)?><tr>
  <td class="label">Последний вход:</td>
  <td class="data">
  <div class="dataWrap">
$_LOG_TIME$
  </div>
  </td>
  </tr>
  <?endif?>
<tr>
  <td class="label">Зарегистрирован:</td>
  <td class="data">
  <div class="dataWrap">
<span id="datatxt" class="datatxt">$_REG_TIME$</span>
  </div>
  </td>
  </tr>
  </tr>
  </tbody></table>
  </div>
  </div>
<?if($_IS_ACTIVITY$)?><div class="flexHeader clearFix" style="cursor: pointer;" onclick="return collapseBox('personal', this, 0.90, 0.50)" onfocus="blur()">
  <div><h2>Активность пользователя</h2></div>
  </div>
  <div class="c"><div align="center">
  </div><div class="flexBox clearFix"><div align="center">
  <?if($_COM_ENTRIES$)?> <a href="$_COM_ACTIVITY_URL$" target="_blank">комментарии(<b>$_COM_ENTRIES$</b>)</a><?endif?>
<?if($_FORUM_ENTRIES$)?> | <a href="$_FORUM_ACTIVITY_URL$" target="_blank">форум(<b>$_FORUM_ENTRIES$</b>)</a><?endif?>
<?if($_BLOG_ENTRIES$)?> | <a href="$_BLOG_ACTIVITY_URL$" target="_blank">блог(<b>$_BLOG_ENTRIES$</b>)</a><?endif?>
<?if($_NEWS_ENTRIES$)?> | <a href="$_NEWS_ACTIVITY_URL$" target="_blank">новости(<b>$_NEWS_ENTRIES$</b>)</a><?endif?>
<?if($_PUBL_ENTRIES$)?> | <a href="$_PUBL_ACTIVITY_URL$" target="_blank">статьи(<b>$_PUBL_ENTRIES$</b>)</a><?endif?>
<?if($_LOAD_ENTRIES$)?> | <a href="$_LOAD_ACTIVITY_URL$" target="_blank">файлы(<b>$_LOAD_ENTRIES$</b>)</a><?endif?>
<?if($_DIR_ENTRIES$)?> | <a href="$_DIR_ACTIVITY_URL$" target="_blank">сайты(<b>$_DIR_ENTRIES$</b>)</a><?endif?>
<?if($_BOARD_ENTRIES$)?> | <a href="$_BOARD_ACTIVITY_URL$" target="_blank">объявления(<b>$_BOARD_ENTRIES$</b>)</a><?endif?>
<?if($_PHOTO_ENTRIES$)?> | <a href="$_PHOTO_ACTIVITY_URL$" target="_blank">фото(<b>$_PHOTO_ENTRIES$</b>)</a><?endif?>
<?if($_STUFF_ENTRIES$)?> | <a href="$_STUFF_ACTIVITY_URL$" target="_blank">игры(<b>$_STUFF_ENTRIES$</b>)</a><?endif?></div>
</tbody></table>
  </div>
  </div>
  </div><?endif?>
<div id="nagrady" class="flexOpen">
  <div class="bOpen">
  <div class="flexHeader clearFix" style="cursor: pointer;" onclick="return collapseBox('nagrady', this, 0.90, 0.50)" onfocus="blur()">
  <div><h2>Подарки<span> (0) </span></h2></div>
  </div>
  </div>
  <div class="c" >
  <div class="whenOpen">
  <div class="fSub clearFix">
  <h3>
  <div style="float:left">
  </div>
  <div style="float:right">
  <a href="$AWARDS_DO_URL$">Отправить подарок</a>  
  </div>
  </h3>
У "$_NAME$" <a href="$AWARDS_READ_URL$">$AWARDS$</a> подарков
  </div>
  <?if($_SIGNATURE$)?> <br>
<div class="flexHeader clearFix" style="cursor: pointer;" onclick="return collapseBox('personal', this, 0.90, 0.50)" onfocus="blur()">
  <div><h2>Подпись:</h2></div>
  </div>
  <div class="c"><div align="center">
  </div><div class="flexBox clearFix"><div align="center">
  $_SIGNATURE$ </div>
</div>
</div>
  </div> <?endif?>  
</div>
</div>
  <div id="boxHolder"></div>
</body>
</html>
Понравилось:
Категория: Скрипты для ucoz сайтов Просмотров: 12222 Комментариев: 3
Krisss
Krisss 01.09.2011 в 18:48 2
Хорошо зделано)
GENDUG
GENDUG 01.08.2011 в 17:37 1
Прикольно спасибо wink