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