<!--<?php
print <<<EOT
-->
<br>
<table cellspacing=1 cellpadding=0 width='$tablewidth' $i_table align=center>
<tr><td><table cellspacing=0 cellpadding=8 width='100%'><tr><td bgcolor="#FFFFFF">
<b><a href='$DIR'>$db_bbsname </a> -&gt; <a href="{$DIR}f$fid.html">$forumname</a></b>
</td><td bgcolor="#FFFFFF" align=right><B><A HREF="login.php">{#header_login}</A> -&gt; <A HREF="register.php">{#header_register}</A> -&gt; <A HREF="post.php?fid=$fid">{#archive_post}</A></B></td></tr>
</table></td></tr>
</table>
<br>
<table cellspacing=1 cellpadding=7 width='$tablewidth' $i_table align=center>
<tr><td bgcolor="#FFFFFF">
<center>$pages</center>
<ul type=1 start=$startid>
<!--
EOT;
foreach($threaddb as $thread){

print <<<EOT
-->
<li><a href="{$DIR}t$thread[tid].html">$thread[subject]</a> &nbsp; <span class=smalltxt>($thread[replies] {#replies})</span></li>
<!--
EOT;

}print <<<EOT
-->

</ul>
</td></tr>
</table>
<br>
<center><b>{#archive_fullversion}: [-- <a href='thread.php?fid=$fid' target=_blank>$forumname</a> --] [-- <a href="{$DIR}f$fid.html#">top</a> --]</b></center>
<!--
EOT;
?>-->