0) { echo ""; } //查最新 $query = "select * from 'index' where 1 ORDER BY create_time DESC limit 0,10"; $Fetch = PDO_FetchAll($query); $iFetch = count($Fetch); if ($iFetch > 0) { echo ""; } break; case "new": $query = "select * from 'index' where 1 ORDER BY create_time DESC limit 0,100"; $Fetch = PDO_FetchAll($query); $iFetch = count($Fetch); if ($iFetch > 0) { echo ""; } break; case "hot": break; }