$today"; $today_num = $Log_Model->getLogNum('n', $today_sql); $threeday_sql = "and date>$threeday"; $threeday_num = $Log_Model->getLogNum('n', $threeday_sql); $tenday_sql = "and date>$tenday"; $tenday_num = $Log_Model->getLogNum('n', $tenday_sql); if($tenday_num=='0'){echo '都好几天了 没有更新内容 | ';} elseif($threeday_num=='0'){echo '连续几天都没有更新文章了 | ';} elseif($today_num=='0'){echo '今日站长很懒 一篇文章都没更新 | ';} else{echo ' 今日已更新'.$today_num.'个资源 | ';} ?>本站共分享了个资源