output('
'); $this->output_count($themeobject, qa_opt('cache_qcount'), 'main/1_question', 'main/x_questions'); $this->output_count($themeobject, qa_opt('cache_acount'), 'main/1_answer', 'main/x_answers'); if (qa_opt('comment_on_qs') || qa_opt('comment_on_as')) $this->output_count($themeobject, qa_opt('cache_ccount'), 'main/1_comment', 'main/x_comments'); $this->output_count($themeobject, qa_opt('cache_userpointscount'), 'main/1_user', 'main/x_users'); $themeobject->output('
'); } public function output_count($themeobject, $value, $langsingular, $langplural) { require_once QA_INCLUDE_DIR . 'app/format.php'; $themeobject->output('

'); if ($value == 1) $themeobject->output(qa_lang_html_sub($langsingular, '1', '1')); else $themeobject->output(qa_lang_html_sub($langplural, '' . qa_format_number((int)$value, 0, true) . '')); $themeobject->output('

'); } }