EOT; $sotids=''; if($tagArticles){ $sofenye=pages_put_html(); foreach($tagArticles as $news){ $sotids.=$news[tid].','; $postdate=date("Y-m-d h:i:s",$news[postdate]); print<<
{$news[hits]}
{$news[subject]}
作者:{$news[author]} 日期:{$postdate}
{$news[descrip]}...
EOT; } echo '
'; echo $sofenye; }else{ echo "

没有任何相关文章

"; } ?>
其他标签
EOT; foreach($hottagsdb as $tag){ echo "{$tag[tagname]}({$tag[tagsnum]}) "; } print<<
EOT; } print<<

EOT; if($sotids){ $sotids=substr($sotids,0,-1); $sqlwhere='where tid not in('.$sotids.')'; }else{ $sqlwhere=''; } $newArticles=get_topsubject(10,42,0,$sqlwhere); if($newArticles){ print<< 最新文章
    EOT; foreach($newArticles as $news){ echo "
  1. {$news[subject]}
  2. \r\n"; } print<< EOT; } print<< EOT; ?>