|
@@ -69,6 +69,7 @@ class rank_listControl extends mobileControl
|
|
|
return self::outerr(errcode::ErrParamter,'该排行榜不存在或者已经过期~');
|
|
|
}
|
|
|
|
|
|
+
|
|
|
if($this->supported($list_sn)) {
|
|
|
$rank->unsupport();
|
|
|
$_SESSION['rank_list'][$list_sn]['supported'] = false;
|
|
@@ -119,7 +120,11 @@ function bonus_output_rankitem($item,$mdescs)
|
|
|
echo '<div class="msg float_l w-80 relative_li">';
|
|
|
echo '<div class="name text_l w-45 float_l overflow">' . $minfo['nickname'] . '</div>';
|
|
|
echo '<div class="number text_r w-35 float_l">' . $item['list_value'] .'元</div>';
|
|
|
- echo '<div class="float_l w-20 concern_box">';
|
|
|
+ if($item['supported'] == true) {
|
|
|
+ echo '<div class="float_l w-20 concern_box concern_box_active">';
|
|
|
+ } else {
|
|
|
+ echo '<div class="float_l w-20 concern_box">';
|
|
|
+ }
|
|
|
echo '<div class="concern">' . $item['supports'] .'</div>';
|
|
|
echo '</div>';
|
|
|
echo '<input type="hidden" class="list_sn" value="' . $item['list_sn'] .'"/>';
|