Каталог файлов |
Рейтинг:5.0
Категория: Скрипты для Ucoz
Новая светлая персональная страничка для сайтов на системе uCoz.
Установка:
Панель управления, Дизайн, Управление шаблоном, Персональная страница пользователя, заменяем всё на:
Code
<html>
<head>
<title>Информация о пользователе</title>
<link type="text/css" rel="StyleSheet" href="/.s/src/css/971.css">
</head>
<body align="center" style="background-color:#f2f2f2; margin:0;padding:15%;padding-top:5%;">
<?if($_BANNED_TILL$="1")?> <table width="100%" style="margin-bottom:30px;">
<tr>
<td style="border:1px solid #710e16;background:#ae1522;padding:10px;">
<font style="color:#FFFFFF;text-shadow:1px 0px #d2d2d2;">Аккаунт заблокирован</font>
</td>
</tr>
</table><?endif?>
<table width="100%" style="border-collapse:collapse;">
<tr>
<!--Левый-->
<td class="avatar" rowspan="7" align="center"><?if($_AVATAR$)?><div class="ava">$_AVATAR$</div><?else?><div class="ava"><img src="http://mamka.do.am/noavatar_big.png" border="0"></div><?endif?></td>
<!--Левый_конец-->
<td class="center_left_block">Никнейм:</td>
<td class="center_right_block">$_USERNAME$</td>
<!--Правый-->
<td rowspan="7" valign="top">
<table width="160px" style="border-collapse:collapse;margin-left:5px;">
<tr>
<td colspan="2" align="center" style="border:1px solid #cccccc;background:ebebeb;padding:5px;color:#666666;font-weight:bold;text-shadow:1px 0px 0px #ffffff;">Активность</td>
</tr>
<tr><td class="activ_left">Файлы:</td><td class="activ_right"><a style="text-decoration:none;" href="$_LOAD_ACTIVITY_URL$">$_LOAD_ENTRIES$</a></td>
</tr>
<tr><td class="activ_left">Форум:</td><td class="activ_right"><a style="text-decoration:none;" href="$_FORUM_ACTIVITY_URL$">$_FORUM_ENTRIES$</a></td>
</tr>
<tr><td class="activ_left">Комментарии:</td><td class="activ_right"><a style="text-decoration:none;" href="$_LOAD_ACTIVITY_URL$">$_COM_ENTRIES$</a></td>
</tr>
<tr><td class="activ_left">Статьи:</td><td class="activ_right"><a style="text-decoration:none;" href="$_PUBL_ACTIVITY_URL$">$_PUBL_ENTRIES$</a></td>
</tr>
</table>
<!--Поиск-->
<table width="160px" style="border-collapse:collapse;margin-left:5px;margin-top:25px;">
<tr>
<td align="center" style="border:1px solid #cccccc;background:ebebeb;padding:1px;color:#666666;font-weight:bold;text-shadow:1px 0px 0px #ffffff;">
<form method="post" action="/index" name="fuser" style="margin:0px" class="webo4ka_poisk" id="usch">
<input type="text" class="uSearchFl" name="user" style="width:150px;text-align:center;" size="20" value="Логин пользователя" onclick="if (this.value=='Логин пользователя'){this.value='';}" maxlength="25" /><div style="display:none"><input type="submit" class="uSearchFlSbm" style="width:150px;" value="Найти пользователей" /><input type="hidden" name="a" value="15" /></div></form>
</td>
</tr>
</table>
<!--Поиск_конец-->
</td>
<!--Правый_конец-->
</tr>
<tr>
<td class="center_left_block">Полное имя:</td>
<td class="center_right_block">$_NAME$</td>
</tr>
<tr>
<td class="center_left_block">Дата Рождения:</td>
<td class="center_right_block">$_BIRTHDAY$</td>
</tr>
<tr>
<td class="center_left_block">Пол:</td>
<td class="center_right_block">$_GENDER_NAME$</td>
</tr>
<tr>
<td class="center_left_block">Группа:</td>
<td class="center_right_block">$_GROUP_NAME$</td>
</tr>
<tr>
<td height="27px"></td>
<td height="27px"></td>
</tr>
<tr>
<td class="center_left_block">E-mail:</td>
<td class="center_right_block"> <?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 style="text-decotation:none;" href="$_EMAIL_VERIFICATION_URL$"><span style="color:red">Подтвердить e-mail</span></a></b> ]<?endif?></td>
</tr>
</table>
<table width="100%" style="border-collapse:collapse;margin-top:5px;">
<tr>
<td>
<table style="width:170px;border-collapse:collapse;">
<tr>
<td colspan="2" class="prof_menu"><a href="$PERSONAL_PAGE_LINK$" style="text-decoration:none;" align="left"> Моя страница</a></td>
</tr>
<tr>
<?if($_CHANGE_DETAILS_URL$)?><td colspan="2" class="prof_menu"><a href="$_CHANGE_DETAILS_URL$" style="text-decoration:none;" align="left">Настройки</a></td><?endif?>
</tr>
<tr>
<?if($_PM_READ_URL$)?>
<td colspan="2" class="prof_menu"><a href="$PM_URL$" style="text-decoration:none;" align="left">Мои сообщения <?if($IS_NEW_PM$)?><b><font color="#ce2d2d">($UNREAD_PM$)</font></b><?endif?></a></td>
<?else?>
<td colspan="2" class="prof_menu"><a href="$_PM_SEND_URL$" style="text-decoration:none;" align="left">Отправить ЛС</a></td>
<?endif?>
</tr>
<tr>
<td class="prof_menu"><a title="Смотреть историю репутации" class="repHistory" style="text-decoration:none;" href="$_REP_READ_URL$">Репутация</a></td><td class="rep_block"><?if($_REP_DO_URL$)?><a style="text-decoration:none;" href="$_REP_DO_URL$"><b>$_REPUTATION$</b></a><?else?><b>$_REPUTATION$</b><?endif?></td>
</tr>
<tr>
<?if($_PM_READ_URL$)?><td colspan="2" class="prof_menu"><a href="$LOGOUT_LINK$" style="text-decoration:none;" align="left">Выход</a></td><?endif?>
</tr>
</table>
<table style="width:170px;border-collapse:collapse;margin-top:5px;">
<tr>
<td style="border:1px solid #0077CC;background:#7AA3BF;padding:5px;">
<?if($AWARDS_DO_URL$)?><a style="text-decoration:none;color:#FFFFFF;" href="$AWARDS_DO_URL$"><b>Отправить подарок</b></a><?else?><a href="$AWARDS_READ_URL$" style="text-decoration:none;color:#FFFFFF;"><b style="text-align:center;">У вас $AWARDS$ Подар<?if($AWARDS$%10=0||$AWARDS$%10>4||$AWARDS$%100>10&&$AWARDS$%100<15)?>ков<?else?><?if($AWARDS$%10=1)?>ок<?else?>ка<?endif?><?endif?><?endif?>
</td>
</tr>
</table>
</td>
<td width="80%" valign="top">
<table width="630px" style="border-collapse:collapse;">
<tr>
<td style="border:1px solid #d2d2d2;background:#FFFFFF;padding:5px;"><?if($_SIGNATURE$)?>$_SIGNATURE$</td><?else?> У пользователя <b>$_USERNAME$</b> нет подписи<?endif?>
</tr>
</table>
</td>
</tr>
</table>
<style>
.rep_block{
width:auto;
text-align:center;
padding:5px;
color:#666666;
background:#f4f4f4;
border-top:1px solid #cccccc;
border-right:1px solid #cccccc;
border-left:1px dotted #cccccc;
border-bottom:1px solid #cccccc;
}
.prof_menu {
width:170px;
font-weight:bold;
text-align:left;
padding:5px;
color:#666666;
background:#FFFFFF;
border:1px solid #cccccc;
}
.prof_menu:hover {
width:170px;
text-align:left;
font-weight:bold;
padding:5px;
color:#666666;
background:#f7f7f7 ;
border:1px solid #cccccc;
}
.activ_left{
width:80%;
text-align:left;
padding:5px;
color:#666666;
background:#f4f4f4;
border-top:1px solid #cccccc;
border-right:1px dotted #cccccc;
border-left:1px solid #cccccc;
border-bottom:1px solid #cccccc;
}
.activ_right{
width:20%;
padding:5px;
font-weight:bold;
text-align:center;
background:#ffffff;
border-top:1px solid #cccccc;
border-right:1px solid #cccccc;
border-left:1px dotted #cccccc;
border-bottom:1px solid #cccccc;
}
.center_right_block{
width:40%;
padding:5px;
background:#ffffff;
border-top:1px solid #cccccc;
border-right:1px solid #cccccc;
border-left:1px dotted #cccccc;
border-bottom:1px solid #cccccc;
}
.center_left_block{
width:130px;
padding:5px;
font-weight:bold;
color:#666666;
background:#ebebeb;
border-top:1px solid #cccccc;
border-right:1px dotted #cccccc;
border-left:1px solid #cccccc;
border-bottom:1px solid #cccccc;
}
.ava{
width:150px;
height:150px;
background:#ffffff;
padding:5px;
border:1px solid #cccccc;
}
.avatar{
align:center;
width:160px;
height:150px;
padding:5px;
background:#f3f3f3;
border:1px solid #cccccc;
}
</style>
</body>
</html>
<head>
<title>Информация о пользователе</title>
<link type="text/css" rel="StyleSheet" href="/.s/src/css/971.css">
</head>
<body align="center" style="background-color:#f2f2f2; margin:0;padding:15%;padding-top:5%;">
<?if($_BANNED_TILL$="1")?> <table width="100%" style="margin-bottom:30px;">
<tr>
<td style="border:1px solid #710e16;background:#ae1522;padding:10px;">
<font style="color:#FFFFFF;text-shadow:1px 0px #d2d2d2;">Аккаунт заблокирован</font>
</td>
</tr>
</table><?endif?>
<table width="100%" style="border-collapse:collapse;">
<tr>
<!--Левый-->
<td class="avatar" rowspan="7" align="center"><?if($_AVATAR$)?><div class="ava">$_AVATAR$</div><?else?><div class="ava"><img src="http://mamka.do.am/noavatar_big.png" border="0"></div><?endif?></td>
<!--Левый_конец-->
<td class="center_left_block">Никнейм:</td>
<td class="center_right_block">$_USERNAME$</td>
<!--Правый-->
<td rowspan="7" valign="top">
<table width="160px" style="border-collapse:collapse;margin-left:5px;">
<tr>
<td colspan="2" align="center" style="border:1px solid #cccccc;background:ebebeb;padding:5px;color:#666666;font-weight:bold;text-shadow:1px 0px 0px #ffffff;">Активность</td>
</tr>
<tr><td class="activ_left">Файлы:</td><td class="activ_right"><a style="text-decoration:none;" href="$_LOAD_ACTIVITY_URL$">$_LOAD_ENTRIES$</a></td>
</tr>
<tr><td class="activ_left">Форум:</td><td class="activ_right"><a style="text-decoration:none;" href="$_FORUM_ACTIVITY_URL$">$_FORUM_ENTRIES$</a></td>
</tr>
<tr><td class="activ_left">Комментарии:</td><td class="activ_right"><a style="text-decoration:none;" href="$_LOAD_ACTIVITY_URL$">$_COM_ENTRIES$</a></td>
</tr>
<tr><td class="activ_left">Статьи:</td><td class="activ_right"><a style="text-decoration:none;" href="$_PUBL_ACTIVITY_URL$">$_PUBL_ENTRIES$</a></td>
</tr>
</table>
<!--Поиск-->
<table width="160px" style="border-collapse:collapse;margin-left:5px;margin-top:25px;">
<tr>
<td align="center" style="border:1px solid #cccccc;background:ebebeb;padding:1px;color:#666666;font-weight:bold;text-shadow:1px 0px 0px #ffffff;">
<form method="post" action="/index" name="fuser" style="margin:0px" class="webo4ka_poisk" id="usch">
<input type="text" class="uSearchFl" name="user" style="width:150px;text-align:center;" size="20" value="Логин пользователя" onclick="if (this.value=='Логин пользователя'){this.value='';}" maxlength="25" /><div style="display:none"><input type="submit" class="uSearchFlSbm" style="width:150px;" value="Найти пользователей" /><input type="hidden" name="a" value="15" /></div></form>
</td>
</tr>
</table>
<!--Поиск_конец-->
</td>
<!--Правый_конец-->
</tr>
<tr>
<td class="center_left_block">Полное имя:</td>
<td class="center_right_block">$_NAME$</td>
</tr>
<tr>
<td class="center_left_block">Дата Рождения:</td>
<td class="center_right_block">$_BIRTHDAY$</td>
</tr>
<tr>
<td class="center_left_block">Пол:</td>
<td class="center_right_block">$_GENDER_NAME$</td>
</tr>
<tr>
<td class="center_left_block">Группа:</td>
<td class="center_right_block">$_GROUP_NAME$</td>
</tr>
<tr>
<td height="27px"></td>
<td height="27px"></td>
</tr>
<tr>
<td class="center_left_block">E-mail:</td>
<td class="center_right_block"> <?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 style="text-decotation:none;" href="$_EMAIL_VERIFICATION_URL$"><span style="color:red">Подтвердить e-mail</span></a></b> ]<?endif?></td>
</tr>
</table>
<table width="100%" style="border-collapse:collapse;margin-top:5px;">
<tr>
<td>
<table style="width:170px;border-collapse:collapse;">
<tr>
<td colspan="2" class="prof_menu"><a href="$PERSONAL_PAGE_LINK$" style="text-decoration:none;" align="left"> Моя страница</a></td>
</tr>
<tr>
<?if($_CHANGE_DETAILS_URL$)?><td colspan="2" class="prof_menu"><a href="$_CHANGE_DETAILS_URL$" style="text-decoration:none;" align="left">Настройки</a></td><?endif?>
</tr>
<tr>
<?if($_PM_READ_URL$)?>
<td colspan="2" class="prof_menu"><a href="$PM_URL$" style="text-decoration:none;" align="left">Мои сообщения <?if($IS_NEW_PM$)?><b><font color="#ce2d2d">($UNREAD_PM$)</font></b><?endif?></a></td>
<?else?>
<td colspan="2" class="prof_menu"><a href="$_PM_SEND_URL$" style="text-decoration:none;" align="left">Отправить ЛС</a></td>
<?endif?>
</tr>
<tr>
<td class="prof_menu"><a title="Смотреть историю репутации" class="repHistory" style="text-decoration:none;" href="$_REP_READ_URL$">Репутация</a></td><td class="rep_block"><?if($_REP_DO_URL$)?><a style="text-decoration:none;" href="$_REP_DO_URL$"><b>$_REPUTATION$</b></a><?else?><b>$_REPUTATION$</b><?endif?></td>
</tr>
<tr>
<?if($_PM_READ_URL$)?><td colspan="2" class="prof_menu"><a href="$LOGOUT_LINK$" style="text-decoration:none;" align="left">Выход</a></td><?endif?>
</tr>
</table>
<table style="width:170px;border-collapse:collapse;margin-top:5px;">
<tr>
<td style="border:1px solid #0077CC;background:#7AA3BF;padding:5px;">
<?if($AWARDS_DO_URL$)?><a style="text-decoration:none;color:#FFFFFF;" href="$AWARDS_DO_URL$"><b>Отправить подарок</b></a><?else?><a href="$AWARDS_READ_URL$" style="text-decoration:none;color:#FFFFFF;"><b style="text-align:center;">У вас $AWARDS$ Подар<?if($AWARDS$%10=0||$AWARDS$%10>4||$AWARDS$%100>10&&$AWARDS$%100<15)?>ков<?else?><?if($AWARDS$%10=1)?>ок<?else?>ка<?endif?><?endif?><?endif?>
</td>
</tr>
</table>
</td>
<td width="80%" valign="top">
<table width="630px" style="border-collapse:collapse;">
<tr>
<td style="border:1px solid #d2d2d2;background:#FFFFFF;padding:5px;"><?if($_SIGNATURE$)?>$_SIGNATURE$</td><?else?> У пользователя <b>$_USERNAME$</b> нет подписи<?endif?>
</tr>
</table>
</td>
</tr>
</table>
<style>
.rep_block{
width:auto;
text-align:center;
padding:5px;
color:#666666;
background:#f4f4f4;
border-top:1px solid #cccccc;
border-right:1px solid #cccccc;
border-left:1px dotted #cccccc;
border-bottom:1px solid #cccccc;
}
.prof_menu {
width:170px;
font-weight:bold;
text-align:left;
padding:5px;
color:#666666;
background:#FFFFFF;
border:1px solid #cccccc;
}
.prof_menu:hover {
width:170px;
text-align:left;
font-weight:bold;
padding:5px;
color:#666666;
background:#f7f7f7 ;
border:1px solid #cccccc;
}
.activ_left{
width:80%;
text-align:left;
padding:5px;
color:#666666;
background:#f4f4f4;
border-top:1px solid #cccccc;
border-right:1px dotted #cccccc;
border-left:1px solid #cccccc;
border-bottom:1px solid #cccccc;
}
.activ_right{
width:20%;
padding:5px;
font-weight:bold;
text-align:center;
background:#ffffff;
border-top:1px solid #cccccc;
border-right:1px solid #cccccc;
border-left:1px dotted #cccccc;
border-bottom:1px solid #cccccc;
}
.center_right_block{
width:40%;
padding:5px;
background:#ffffff;
border-top:1px solid #cccccc;
border-right:1px solid #cccccc;
border-left:1px dotted #cccccc;
border-bottom:1px solid #cccccc;
}
.center_left_block{
width:130px;
padding:5px;
font-weight:bold;
color:#666666;
background:#ebebeb;
border-top:1px solid #cccccc;
border-right:1px dotted #cccccc;
border-left:1px solid #cccccc;
border-bottom:1px solid #cccccc;
}
.ava{
width:150px;
height:150px;
background:#ffffff;
padding:5px;
border:1px solid #cccccc;
}
.avatar{
align:center;
width:160px;
height:150px;
padding:5px;
background:#f3f3f3;
border:1px solid #cccccc;
}
</style>
</body>
</html>
Советую взглянуть:
Ajax окна как вконтакте Отличный вид материалов форума для uCoz Шаблон CubikTemplate Особый вид ссылок
Всего комментариев: 0 | |