if ((!in_array($topic['fid'], $disabled_forums))) {
$i++;
if ($i < 10){
$top[$i]['tid'] = $topic['tid'];
$top[$i]['uid'] = $topic['uid'];
$top[$i]['subject'] = iconv('gbk', 'utf-8', $topic['subject']);
$top[$i]['author'] = iconv('gbk', 'utf-8', $topic['author']);
$top[$i]['author_en'] = rawurlencode($topic['author']);
$top[$i]['avatar'] = avRESIZE($topic['avatar'],'s');
$top[$i]['name'] = iconv('gbk', 'utf-8', $topic['name']);
$top[$i]['board_name'] = $topic['board_name'];
$top[$i]['lastpost'] = iconv('gbk', 'utf-8', make_descriptive_time($topic['lastpost']));
$top[$i]['replies'] = $topic['replies'];
$top[$i]['color'] = rand_color();
}
}