PHP168教程:如何模仿别人的网站风格
2010-06-29 10:04:22 来源:WEB开发网</tr>
<tr>
<td class="foot">
<h3 class="L"></h3>
<h3 class="R"></h3>
</td>
</tr>
</table>
<div id="AutoRows">
<!--
EOT;
foreach($listdb_moresort AS $key=>$rss){
print <<<EOT
-->
<table border="0" cellspacing="0" cellpadding="0" class="dragTable" width="100%">
<tr>
<td class="head">
<h3 class="L"></h3>
<span class="TAG"><a href="list.php?fid=$rss[fid]">$rss[name]</A></span>
<h3 class="R"></h3>
</td>
</tr>
<tr>
<td class="middle">
<ul>
<!--
EOT;
foreach($rss[article] AS $key1=>$rs){
print <<<EOT
-->
<li><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]">$rs[title]</a></li>
<!--
EOT;
}print <<<EOT
-->
</ul>
</td>
</tr>
<tr>
<td class="foot">
<h3 class="L"></h3>
<h3 class="R"></h3>
</td>
</tr>
</table>
<!--
EOT;
}print <<<EOT
-->
</div>
<SCRIPT LANGUAGE="java script">
<!--
autoTable("AutoRows");
//-->
</SCRIPT>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="dragTable" style="clear:both;display:$hide_listnews">
<tr>
<td class="head">
<h3 class="L"></h3>
<span class="TAG">文章列表</span>
<h3 class="R"></h3>
</td>
</tr>
<tr>
<td class="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listarticle">
<!--
EOT;
foreach($listdb AS $key=>$rs){
$target=$rs[target]?'_blank':'_self';
print <<<EOT
-->
<tr>
<td><span class="title"><a href="bencandy.php?fid=$rs[fid]&id=$rs[aid]" target="$target" title='$rs[full_title]'>$rs[title]</a></span>
<span class="time">({$rs[posttime]})</span> </td>
</tr>
<!--
EOT;
}print <<<EOT
-->
</table>
<div class="page">$showpage</div>
</td>
</tr>
<tr>
<td class="foot">
<h3 class="L"></h3>
<h3 class="R"></h3>
更多精彩
赞助商链接