Время:
Новых сообщений: Нет
Вы на форуме дней
Ваша группа: Гость
Ваш IP: 18.219.209.144
Logical-Portal — молодежный портал со своей изюминкой, каждый сможет найти что-то интересное и полезное для себя, например наш форум общения с которым вам обязательно нужно ознакомиться.
  • Страница 1 из 1
  • 1
Репутация как в контакте
Сообщение оставлено 29.07.2010 в 12:44:22 | Сообщение #1

Это полоска репутации. Меняет размер в зависимости от количества!

Вставляем в персональную страницу пользователя:

Code
<div style="cursor:pointer;" onclick="rep_id()">          
<?if($_REPUTATION$='0')?>          
<div>          
<table width="202" border="0" cellspacing="0" cellpadding="0" style="background: #ffffff; border: 1px solid #dedede">          
<tr>          
<td height="18">          
<table height="18" cellspacing="0" cellpadding="0" style="background: #c2d0db;">          
<tr>          
<?if($_AOL$)?><td width="10"></td><?endif?>          
<?if($_CITY$)?><td width="25"></td><?endif?>          
<?if($_WWW$)?><td width="5"></td><?endif?>          
<?if($_ICQ$)?><td width="20"></td><?endif?>          
<?if($_SIGNATURE$)?><td width="100"></td><?endif?>          
<?if($_BIRTHDAY$)?><td width="32"></td><?endif?>          
<?if($_IS_ACTIVITY$)?><td width="20"></td><?endif?>          
</tr>          
</table>          
</td>          
</table>          
<div class="pro_zap">          
<script language="JavaSсript">          
          star = 0<?if($_AOL$)?> + 5<?endif?><?if($_CITY$)?> + 20<?endif?><?if($_WWW$)?> + 5<?endif?><?if($_ICQ$)?> + 10<?endif?><?if($_SIGNATURE$)?> + 30<?endif?><?if($_BIRTHDAY$)?> + 20<?endif?><?if($_IS_ACTIVITY$)?> + 10<?endif?><?if($_NEWS_ENTRIES$)?> + $_NEWS_ENTRIES$<?endif?><?if($_PHOTO_ENTRIES$)?> +$_PHOTO_ENTRIES$<?endif?><?if($_BOARD_ENTRIES$)?> +$_BOARD_ENTRIES$<?endif?><?if($_DIR_ENTRIES$)?> +$_DIR_ENTRIES$<?endif?><?if($_STUFF_ENTRIES$)?> +$_STUFF_ENTRIES$<?endif?><?if($_PUBL_ENTRIES$)?> +$_PUBL_ENTRIES$<?endif?><?if($_LOAD_ENTRIES$)?> +$_LOAD_ENTRIES$<?endif?><?if($_FORUM_ENTRIES$)?> +$_FORUM_ENTRIES$<?endif?>          

document.write(''+star+'%')          
</script>          
</div>          
</div>          
<?else?>          

<?if($_REPUTATION$>'0' and $_REPUTATION$<'1000')?>          
<table width="202" border="0" cellspacing="0" cellpadding="0" style="background: #d4e9ba; border: 1px solid #dedede">          
<tr>          
<td height="18">          
<table height="18" cellspacing="0" cellpadding="0" style="background:#b2cc91;">          
<tr>          
<?if($_REPUTATION$<'140')?><td width="$_REPUTATION$"></td><?else?><td width="140"></td><?endif?>          
</tr>          
</table>          
</td>          
</table><div class="rep_zap"><kbd class="rep_st">$_REPUTATION$</kbd></div>          
<?endif?>          

<?if($_REPUTATION$<'-1')?>          
<table width="202" border="0" cellspacing="0" cellpadding="0" style="background: #e08c8c; border: 1px solid #dedede;">          
<tr>          
<td height="18" align="right">          
<table height="18" cellspacing="0" cellpadding="0" style="background: #d74040;">          
<tr>          
<?if($_REPUTATION$<'-10')?><td width="55"></td><?else?><td width="5"></td><?endif?>          
</tr>          
</table>          
</td>          
</table>          
<div style="position:relative;top:-17"><kbd class="repno">$_REPUTATION$</kbd></div><?else?>          

<?if($_REPUTATION$>'999' and $_REPUTATION$<'7000')?>          
<table width="202" border="0" cellspacing="0" cellpadding="0" style="background: #82ac4e;          
          border: 1px solid #eeeeee; height:18px;">          
<tr><td height="15">          
<div><table height="18" cellspacing="0" cellpadding="0" style="background:#5b7d31;"><tr>          
          <?if($_REPUTATION$>'999' and $_REPUTATION$<'1500')?> <td width="20"></td><?endif?>          
          <?if($_REPUTATION$>'1500' and $_REPUTATION$<'1700')?> <td width="30"></td><?endif?>          
          <?if($_REPUTATION$>'1700' and $_REPUTATION$<'2000')?> <td width="40"></td><?endif?>          
          <?if($_REPUTATION$>'2000' and $_REPUTATION$<'2300')?> <td width="50"></td><?endif?>          
          <?if($_REPUTATION$>'2300' and $_REPUTATION$<'2500')?> <td width="60"></td><?endif?>          
          <?if($_REPUTATION$>'2500' and $_REPUTATION$<'2600')?> <td width="70"></td><?endif?>          
          <?if($_REPUTATION$>'2600' and $_REPUTATION$<'2900')?> <td width="90"></td><?endif?>          
          <?if($_REPUTATION$>'2900' and $_REPUTATION$<'3000')?> <td width="100"></td><?endif?>          
          <?if($_REPUTATION$>'3000' and $_REPUTATION$<'3300')?> <td width="115"></td><?endif?>          
          <?if($_REPUTATION$>'3300' and $_REPUTATION$<'3500')?> <td width="125"></td><?endif?>          
          <?if($_REPUTATION$>'3500' and $_REPUTATION$<'3900')?> <td width="140"></td><?endif?>          
          <?if($_REPUTATION$>'3900' and $_REPUTATION$<'4100')?> <td width="155"></td><?endif?>          
          <?if($_REPUTATION$>'4100' and $_REPUTATION$<'4400')?> <td width="170"></td><?endif?>          
          <?if($_REPUTATION$>'4400' and $_REPUTATION$<'4800')?> <td width="190"></td><?endif?>          
          <?if($_REPUTATION$>'4799' and $_REPUTATION$<'5000')?> <td width="191"></td><?endif?>          
          <?if($_REPUTATION$>'4999' and $_REPUTATION$<'7000')?> <td width="191"></td><?endif?></tr></table>          
</td></table><div class="rep_zap"><kbd class="rephit">$_REPUTATION$</kbd></div>          

<?else?>          

<?endif?>          
<?endif?>          

<?if($_REPUTATION$>'6999' and $_REPUTATION$<'100000')?>          
<table width="202" border="0" cellspacing="0" cellpadding="0" style="background: #7e9b5a;          
          border: 1px solid #eeeeee; height:18px;">          
<tr><td height="15">          
<div><table height="18" cellspacing="0" cellpadding="0" style="background:#5e7542;"><tr>          
          <?if($_REPUTATION$>'6999' and $_REPUTATION$<'8500')?> <td width="20"></td><?endif?>          
          <?if($_REPUTATION$>'1499' and $_REPUTATION$<'1700')?> <td width="30"></td><?endif?>          
          <?if($_REPUTATION$>'8499' and $_REPUTATION$<'10000')?> <td width="40"></td><?endif?>          
          <?if($_REPUTATION$>'9999' and $_REPUTATION$<'12000')?> <td width="50"></td><?endif?>          
          <?if($_REPUTATION$>'11999' and $_REPUTATION$<'15000')?> <td width="60"></td><?endif?>          
          <?if($_REPUTATION$>'14999' and $_REPUTATION$<'18000')?> <td width="70"></td><?endif?>          
          <?if($_REPUTATION$>'17999' and $_REPUTATION$<'19000')?> <td width="90"></td><?endif?>          
          <?if($_REPUTATION$>'18999' and $_REPUTATION$<'21000')?> <td width="100"></td><?endif?>          
          <?if($_REPUTATION$>'20999' and $_REPUTATION$<'23000')?> <td width="115"></td><?endif?>          
          <?if($_REPUTATION$>'22999' and $_REPUTATION$<'26000')?> <td width="125"></td><?endif?>          
          <?if($_REPUTATION$>'25999' and $_REPUTATION$<'29000')?> <td width="140"></td><?endif?>          
          <?if($_REPUTATION$>'28999' and $_REPUTATION$<'35000')?> <td width="155"></td><?endif?>          
          <?if($_REPUTATION$>'34999' and $_REPUTATION$<'39000')?> <td width="170"></td><?endif?>          
          <?if($_REPUTATION$>'38999' and $_REPUTATION$<'42000')?> <td width="190"></td><?endif?>          
          <?if($_REPUTATION$>'41999' and $_REPUTATION$<'49000')?> <td width="191"></td><?endif?>          
          <?if($_REPUTATION$>'48999' and $_REPUTATION$<'100000')?> <td width="191"></td><?endif?></tr></table>          
</td></table><div class="rep_zap"><kbd class="rephit2">$_REPUTATION$</kbd></div>          
<?endif?>          

<?endif?>          
</div>          
<style>          
.rep_zap {position:relative;top:-17;color:#fff2c8;text-align:center;}          
.pro_zap {position:relative;top:-17;color:#415a6d;text-align:center;}          
.rephit {color:#c4e79e;font-family: Arial, Helvetica, sans-serif; font-weight:bold;}          
.rephit2 {color:#cfe7b5;font-family: Arial, Helvetica, sans-serif;}          
//          
.rep_st {font-family: Arial, Helvetica, sans-serif; color:#387937;}          
.repto {padding:0;border-top:#3c8a34 1px solid}          
.repno {color:#ffe3e3;font-weight:bold;font-family: Arial, Helvetica, sans-serif; text-align:center}          
</style>
 
 
   
  • Страница 1 из 1
  • 1
Поиск:
 
Графика от: Megas, GraFOS | Дизайн сверстал E.A.
Хостинг от uCoz
Яндекс.Метрика