EOT; if($pictitledb){ print<< EOT; } print<<
图片文章
RSS订阅本栏目
$fenye
EOT; foreach($listArticles as $news){ $nfid=$news[fid]; $postdate=date("Y-m-d h:i:s",$news[postdate]); print<<
{$news[hits]}
{$news[subject]}
作者:{$news[author]} 日期:{$postdate}
{$news[descrip]}...
EOT; } print<<
$fenye
EOT; if($childclass){ print<< 相关栏目 EOT; foreach($childclass as $key=>$child){ if($child[fid]!=$fid) echo "\r\n"; else echo "\r\n"; $key++; if($key%2==0) echo ""; } print<<
{$child[name]}{$child[name]}
EOT; } print<< 本类相关文章