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

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

<td width="50%" valign="top">
<table width="350" cellspacing="0" cellpadding="0">
<tr>
<td class="bg_p" width="114">最新{$cha[channelname]} </td>
<td width="10"><img src="{$skindir}/images/tit3_r.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>

<!--最新图片列表-->
{$picpicture(0,$cha[channelid],0,1,0,0,6,14,0,0,0,1,1,0,100,100,3)}

</td>
<td width="50%" valign="top">
<table width="350" cellspacing="0" cellpadding="0">
<tr>
<td class="bg_p" width="114">热点{$cha[channelname]} </td>
<td width="10"><img src="{$skindir}/images/tit3_r.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>

<!--最新图片列表-->
{$picpicture(0,$cha[channelid],0,1,0,0,6,14,0,0,60,5,1,0,100,100,3)}
</td>
</tr>
{/loop}

</table>

<table width="100%" cellspacing="0" cellpadding="0" class="mar_10">
{loop $cha_downs $i $cha}
<tr>
<td width="50%" valign="top">
<table width="350" cellspacing="0" cellpadding="0">
<tr>
<td class="bg_d" width="114">最新{$cha[channelname]} </td>
<td width="10"><img src="{$skindir}/images/tit3_r2.jpg" /></td>
<td width="195" align="right" class="bg_titlebar"><a href="{$cha[channelurl]}" class="m_d">更多</a> </td>
<td width="36"><img src="{$skindir}/images/tit2_r.jpg" width="36" height="25" /></td>

查看更多 phpcms教程  phpcms模板

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