{php $start = strtotime(date("Y/m/d",time()-24*60*60)); $end = mktime(0, 0, 0, date('m'), date('d'), date('Y')); $sql="addtime >=".$start." and addtime<".$end." and isshow=1 "; $yesterdaynum= M('article')->getCount($sql); /}
{php $start = strtotime(date("Y/m/d",time()-24*60*60)); $end = mktime(0, 0, 0, date('m'), date('d'), date('Y')); $sql="addtime >=".$start." and addtime<".$end." and isshow=1 "; $yesterdaynum= M('article')->getCount($sql); /}