$_v) { $fids[$_v['id']] = $_k; } if($fids) { $favforumlist = C::t('forum_forum')->fetch_all(array_keys($fids)); foreach($favforumlist as $_fid => $_v) { $GLOBALS['list'][$fids[$_fid]]['threads'] = $_v['threads']; $GLOBALS['list'][$fids[$_fid]]['posts'] = $_v['posts']; $GLOBALS['list'][$fids[$_fid]]['todayposts'] = $_v['todayposts']; $GLOBALS['list'][$fids[$_fid]]['yesterdayposts'] = $_v['yesterdayposts']; } } $variable = array( 'list' => array_values($GLOBALS['list']), 'perpage' => $GLOBALS['perpage'], 'count' => $GLOBALS['count'], ); mobile_core::result(mobile_core::variable($variable)); } } ?>