<!--<?php print <<<EOT
-->
<p><b>主题列表:</b>$forumname</p>
<p>
<!--
EOT;
foreach($listdb as $key=>$val){print <<<EOT
-->
<a href="read.php?tid=$val[tid]">$key# $val[subject]</a>(<a href="read.php?tid=$val[tid]&amp;page=e">$val[replies]</a>)<br />
<small>[$val[author] $val[postdate]]</small><br />
<!--
EOT;
}print <<<EOT
-->
</p>
<!--
EOT;
if($pages){print <<<EOT
-->
<p>$pages</p>
<!--
EOT;
}print <<<EOT
-->
<p><a href="post.php?fid=$fid">发表文章</a> <a href="index.php?prog=cate">版块列表</a></p>
<!--
EOT;
?>-->