$value) { $tids[] = $value['id']; } if($tids) { $threadinfo = C::t('forum_thread')->fetch_all($tids); } foreach($list as $key=>$value) { $list[$key]['replies'] = $threadinfo[$value['id']]['replies']; $list[$key]['author'] = $threadinfo[$value['id']]['author']; } $variable = array( 'list' => $list, 'perpage' => $GLOBALS['perpage'], 'count' => $GLOBALS['count'], ); mobile_core::result(mobile_core::variable($variable)); } } ?>