<!--
<?php
print <<<EOT
--> 

<!--
EOT;
$i=0;
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],22);
print <<<EOT
-->
<div class="pic_130_200">
	<div class="pic"><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" title='$rs[full_title]'><img onerror="this.src='$webdb[www_url]/images/default/nopic.jpg'" src="$rs[picurl]"></a></div>
	<div class="tit"><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" title='$rs[full_title]'>$rs[title]</a></div>
</div>
<!--
EOT;
}
print <<<EOT
-->

<!--
EOT;
?>
-->