{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'}
已關(guān)閉問答有{$field.total}條
{/eyou:sql}