#Rips
Специалист
Автор: Ciko
Админ Панель-Внешний вид-Ваш стиль-Глобальные-userInfoPane найти:
Вставить после:
Админ Панель-Внешний вид-Ваш стиль-css-ipb_styles.css добавить у самый вниз
Админ Панель-Внешний вид-Ваш стиль-Глобальные-userInfoPane найти:
PHP:
<if test="rankimage:|:$author['member_rank_img']"> <li class='group_icon'> <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'"> <img src='{$author['member_rank_img']}' alt='' /> <else /> {$author['member_rank_img']} </if> </li> </if>
PHP:
<!-- REPUTATION BAR BY RECOUSE(FM-WEB) --><if test="cardRep:|:$this->settings['reputation_enabled'] && $this->settings['reputation_show_profile']"><div class="reputation-bg" data-tooltip="{parse expression="$author['author_reputation']['text']"}"><div class="reputation-bar<!-- GREY BAR --><if test="$author['pp_reputation_points']==0">gray width10</if><!-- /GREY BAR --><!-- RED BARS --><if test="$author['pp_reputation_points']<0 && $author['pp_reputation_points']>=-15">red</if><if test="$author['pp_reputation_points']<-15 && $author['pp_reputation_points']>=-30">red</if><if test="$author['pp_reputation_points']<-30 && $author['pp_reputation_points']>=-45">red</if><if test="$author['pp_reputation_points']<-45 && $author['pp_reputation_points']>=-60">red</if><if test="$author['pp_reputation_points']<-60">red</if><!-- /RED BAR --><!-- BLUE BARS --><if test="$author['pp_reputation_points']>=1 && $author['pp_reputation_points']<=10">blue width20</if><if test="$author['pp_reputation_points']>10 && $author['pp_reputation_points']<=20">blue width20</if><if test="$author['pp_reputation_points']>20 && $author['pp_reputation_points']<=40">blue width30</if><if test="$author['pp_reputation_points']>30 && $author['pp_reputation_points']<=80">blue width30</if><if test="$author['pp_reputation_points']>40 && $author['pp_reputation_points']<=160">blue width40</if><!-- /BLUE BARS --><!-- GREEN BARS --><if test="$author['pp_reputation_points']>50 && $author['pp_reputation_points']<=200">green width40</if><if test="$author['pp_reputation_points']>70 && $author['pp_reputation_points']<=250">green width50</if><if test="$author['pp_reputation_points']>90 && $author['pp_reputation_points']<=300">green width50</if><if test="$author['pp_reputation_points']>110 && $author['pp_reputation_points']<=350">green width60</if><if test="$author['pp_reputation_points']>130 && $author['pp_reputation_points']<=450">green</if><!-- /GREEN BARS --><!-- GOLD BARS --><if test="$author['pp_reputation_points']>150 && $author['pp_reputation_points']<=500">gold width60</if><if test="$author['pp_reputation_points']>190 && $author['pp_reputation_points']<=550">gold width70</if><if test="$author['pp_reputation_points']>230 && $author['pp_reputation_points']<=600">gold width80</if><if test="$author['pp_reputation_points']>270 && $author['pp_reputation_points']<=700">gold width90</if><if test="$author['pp_reputation_points']>800">gold</if><!-- /GOLD BARS -->">{$author['pp_reputation_points']}</div></div></if><!-- /REPUTATION BAR BY RECOUSE(FM-WEB) -->
PHP:
/** * Reputation Bar * By Recouse */.reputation-bg {background: #415C71;border: 1px solid #415C71;border-radius: 4px;-moz-border-radius: 4px;-webkit-border-radius: 4px}.reputation-bar {border-radius: 4px;-moz-border-radius: 4px;-webkit-border-radius: 4px;font: 12px/23px "Segoe UI",Arial,Tahoma,sans-serif;color: #fff;height: 21px;margin: 1px;text-align: center;}.reputation-bar.gray { background:#BDC3C7; }.reputation-bar.red { background:#C0392B; }.reputation-bar.blue { background:#3498DB; }.reputation-bar.green { background:#2ECC71; }.reputation-bar.gold { background:#F1C40F; }.reputation-bar.width10 { width: 10% }.reputation-bar.width20 { width: 20% }.reputation-bar.width30 { width: 30% }.reputation-bar.width40 { width: 40% }.reputation-bar.width50 { width: 50% }.reputation-bar.width60 { width: 60% }.reputation-bar.width70 { width: 70% }.reputation-bar.width80 { width: 80% }.reputation-bar.width90 { width: 90% }
