<!--
<?php
print <<<EOT
--> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td>
                  <!--
EOT;
foreach($listdb AS $key=>$rs){
$target=$rs[target]?'_blank':'_self';
$rs[fontweight] =($rs[fonttype]==1)?'font-weight:bold;':'';
$rs[fontcolor]  =$rs[titlecolor]?"color:$rs[titlecolor];":'';
$rs[title]=get_word($rs[full_title],14,0);
print <<<EOT
-->	

 <table width="100%" border="0" cellspacing="0" cellpadding="0" style="float:left;width:32%;margin-bottom:5px;margin-top:10px;margin-left:5px;">
  <tr>
                <td align="center" width="40%" style="padding-bottom:10px;border-bottom:1px dotted #ccc;"><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" style="border:1px solid #DDE5E6;border-top:1px solid #DDE5E6;width:110px;height:85px;display:block;padding:3px;margin-right:5px;"><img src="$rs[picurl]" onError="this.src='$webdb[www_url]/images/default/nopic.jpg'" width='110' height='85' border="0"></a></td>
                <td align="left" width="60%" style="padding-bottom:10px;border-bottom:1px dotted #ccc;"> <A HREF="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target='_blank' style="{$rs[fontweight]}{$rs[fontcolor]}" title="$rs[full_title]"><b>$rs[title]</b></a><br>浏览:{$rs[hits]} / 评论:{$rs[comments]}<br>作者:{$rs[username]} <br>日期:$rs[posttime]
                </td>
  </tr>
</table>
                  <!--
EOT;
}
print <<<EOT
-->
                </td>
              </tr>
            </table>
<!--
EOT;
?>
-->