{eyou:sql sql='SELECT count(ask_id) as total FROM __PREFIX__weapp_ask WHERE is_review = 1'}
全部问答有{$field.total}条
{/eyou:sql}
{eyou:sql sql='SELECT count(ask_id) as total FROM __PREFIX__weapp_ask WHERE status = 1 AND is_review = 1'}
已解决问答有{$field.total}条
{/eyou:sql}
{eyou:sql sql='SELECT count(ask_id) as total FROM __PREFIX__weapp_ask WHERE status = 0 AND is_review = 1'}
未解决问答有{$field.total}条
{/eyou:sql}
{eyou:sql sql='SELECT count(ask_id) as total FROM __PREFIX__weapp_ask WHERE status = 2 AND is_review = 1'}
已关闭问答有{$field.total}条
{/eyou:sql}