制作模板需要注意的问题及相关教程(2)_PHPCms教程

编辑Tag赚U币
教程Tag:暂无Tag,欢迎添加,赚取U币!

<!--banner-->
<table width="100%" height="80" cellpadding="0" cellspacing="0" class="mar_10">
<tr>
<td align="center" bgcolor="red">
<SCRIPT LANGUAGE="JavaScript" src="{PHPCMS_PATH}ads/ads.php?id=2"></SCRIPT>
</td>
</tr>
</table>

<table width="100%" cellspacing="0" cellpadding="0" class="mar_10">
{loop $cha_articles $i $cha}
<tr>
<td width="50%" valign="top">

<table width="350" cellspacing="0" cellpadding="0">
<tr>
<td class="bg_a" width="114">最新{$cha[channelname]} </td>
<td width="10"><img src="{$skindir}/images/tit3_r1.jpg" /></td>
<td align="right" width="195" class="bg_titlebar"><a href="{$cha[channelurl]}" class="m_p">更多</a> </td>
<td width="36"><img src="{$skindir}/images/tit2_r.jpg" width="36" height="25" /></td>
</tr>
</table>

<!--最新文章-->
{$articlelist(0,$cha[channelid],0,1,0,0,10,44,0,0,0,1,2,1,0,0,1,1)}


</td>
<td width="50%" valign="top">

<table width="350" cellspacing="0" cellpadding="0">
<tr>
<td class="bg_a" width="114">热点{$cha[channelname]}</td>
<td width="10"><img src="{$skindir}/images/tit3_r1.jpg" /></td>
<td align="right" width="195" class="bg_titlebar"><a href="{$cha[channelurl]}" class="m_p">更多</a> </td>
<td width="36"><img src="{$skindir}/images/tit2_r.jpg" width="36" height="25" /></td>
</tr>
</table>

<!--最新文章-->
{$articlelist(0,$cha[channelid],0,1,0,0,10,44,0,0,60,5,2,1,0,0,1,1)}


</td>
</tr>
{/loop}
</table>

<table width="100%" cellspacing="0" cellpadding="0" class="mar_10">
{loop $cha_pictures $i $cha}
<tr>

查看更多 phpcms教程  phpcms模板

来源:模板无忧//所属分类:PHPCms教程/更新时间:2007-01-29
相关PHPCms教程