$fenye
|
EOT;
if($childclass){
print<<
| 相关栏目 |
|
EOT;
foreach($childclass as $child){
if($child[fid]!=$fid)
echo "{$child[name]}\r\n";
else
echo "{$child[name]}\r\n";
}
print<< |
EOT;
}
print<<
| 文章搜索 |
EOT;
$hottagsdb=get_toptags(15);
if($hottagsdb){
print<<
EOT;
}
$repliesdb=get_topsubject(8,42,0,'where replies>0 and fid='.$fid,'order by lastpost desc');
if($repliesdb){
print<<
| 最新评论 |
EOT;
foreach($repliesdb as $news){
$lastpost=date("Y-m-d H:i",$news[lastpost]);
echo "- {$news[subject]}
\r\n";
}
print<< |
EOT;
}
if($xgArticles){
print<<
EOT;
}
if(class_exists('Calendar')){
print<<
| 日历 |
|
EOT;
$cal=new Calendar();
echo $cal->getCurrentMonthView();
print<<
|
EOT;
}
print<<
|
EOT;
?>