<?php
$sql = urlencode('SELECT COUNT(*) as ct,uid FROM `'.\Phpcmf\Service::M()->dbprefix(SITE_ID.'_wenda_comment').'` where uid>10 and DATE_SUB(CURDATE(), INTERVAL 90 DAY) <= date(from_unixtime(inputtime)) GROUP by uid ORDER BY `ct` DESC limit 20');
?>
改成