$post) { if($post['dbdateline'] == $dateline) { $bapid = $key; break; } } } if($bapid) { $bestpost = C::t('forum_post')->fetch($posttableid, $bapid); $bestpost['message'] = messagecutstr($bestpost['message'], 400); $bestpost['avatar'] = avatar($bestpost['authorid'], 'small'); } ?>