Рейтинг тем для vBulletin

Discussion in 'PHP' started by disait, 30 Aug 2014.

  1. disait

    disait New Member

    Joined:
    14 Aug 2010
    Messages:
    3
    Likes Received:
    0
    Reputations:
    0
    Top or Flop пример...

    [​IMG]

    Как можно вывести этот рейтинг, на главную vBACMPS?
    Code:
    <div style="float:right; PADDING-LEFT: 18px;">
    <div style=" text-align: center;  width: 40px; padding: 5.5px; background: url(http://around4you.com/images/icons/rating-green-bg.gif)"><strong id="tod_count_$post[postid]">$post[tofvalue]</strong></div>
    <div style="float:right;">
    
    <if condition="$tof_lock == 1">
            
    <span style="alt="$vbphrase[tof_alt_lock]" title="$vbphrase[tof_alt_lock]"><img src="http://around4you.com/images/icons/rating-cell-plus.gif" width="25" height="14" border="0" /></span>
    
    <else />
           
    <a style="text-decoration:none;" href="#"><span onclick="return tof_give($post[postid],'up');" alt="$vbphrase[tof_up_alt]" title="$vbphrase[tof_up_alt]"><img src="http://around4you.com/images/icons/rating-cell-plus.gif" width="25" height="14" border="0"  /></span></a>
    
    </if>
    
    </div>
    <div >
    
    <if condition="$tof_lock == 1">
    
    <span alt="$vbphrase[tof_alt_lock]" title="$vbphrase[tof_alt_lock]"><img src="http://around4you.com/images/icons/rating-cell-minus.gif" width="25" height="14" border="0" /></span>
    <else />
    <a href="#"><span onclick="return tof_give($post[postid],'down');" alt="$vbphrase[tof_down_alt]" title="$vbphrase[tof_down_alt]"><img src="http://around4you.com/images/icons/rating-cell-minus.gif" width="25" height="14" border="0" /></span></a>
    
    </if>
    
    </div></div>
    Не выводится значение $post[tofvalue]
     
    #1 disait, 30 Aug 2014
    Last edited: 31 Aug 2014
Loading...