'".$id."' ORDER BY feedid ASC"; }else{ $sid = "feedid<'".$id."' ORDER BY feedid DESC"; } global $db,$tablepre; $title=$db->fetch_one_array("SELECT feed_title from {$tablepre}xna_feed WHERE state!='0' AND ".$sid." limit 1"); $title=($title['feed_title']==""?'没有了':$title['feed_title']); return $title; } ?>