制作模板需要注意的问题及相关教程(2)_PHPCms教程
教程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教程-制作模板需要注意的问题及相关教程(2)。