EOT;
$sotids='';
if($soresult){
$sofenye=pages_put_html();
foreach($soresult as $news){
$sotids.=$news[tid].',';
$postdate=date("Y-m-d h:i:s",$news[postdate]);
print<<
| |||||
| ';
echo $sofenye;
}else if($soresult!==null){
echo " 没有搜索任何相关文章 "; } print<< |
EOT; if($sotids){ $sotids=substr($sotids,0,-1); $sqlwhere='where tid not in('.$sotids.')'; }else{ $sqlwhere=''; } $newArticles=get_topsubject(10,$db_homehotlen,0,$sqlwhere,'order by tid desc'); if($newArticles){ print<<