WEB开发网
开发学院CMS教程PHP168 PHP168教程:如何模仿别人的网站风格 阅读

PHP168教程:如何模仿别人的网站风格

 2010-06-29 10:04:22 来源:WEB开发网   
核心提示: </tr><tr><td class="foot"><h3 class="L"></h3><h3 class="R"

</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>

上一页  1 2 3 4 5 6 7 8  下一页

Tags:PHP 教程 如何

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接