各位老大好呀!!请问一下自定义函数标签怎么样分行分列
http://bbs.kesion.com/dispbbs.asp?boardID=2&ID=13604&page=1
我用的是自定义函数这个我搞好了!!但是为什么只能显示一列!我想让它显示5行5列怎么搞呀!!!
此主题相关图片如下:
下面是代码:
[loop=3]
<table cellSpacing="0" cellPadding="0" width="160" align="center" border="0">
<tr>
<td>
<table cellSpacing="0" cellPadding="0" width="247" border="0">
<tr>
<td>
<table height="110" cellSpacing="0" cellPadding="0" width="196" border="0">
<tr>
<td width="163" height="124">
<table cellSpacing="1" cellPadding="0" bgColor="#e1e1e1" border="0">
<tr>
<td bgColor="#ffffff" vborder="0">
<table cellSpacing="1" cellPadding="0" bgColor="#d7d7d7" border="0">
<tr>
<td bgColor="#ffffff">
<table cellSpacing="1" cellPadding="0" bgColor="#b2b2b2" border="0">
<tr>
<td width="153" bgColor="#ffffff">
<table cellSpacing="0" cellPadding="8" width="100%" border="0">
<tr>
<td>
<table cellSpacing="0" cellPadding="1" width="100%" border="0">
<tr>
<td align="middle" bgColor="#808080"><a href="{$GetInstallDir}Admin/{$Field(id,GetInfoUrl,2,1)}" target="_blank" #808080?(origin,Text,0,...,0,)}? {$Field?(id,Num,0,2)}? #808080?(id,Num,0,2)}? #808080><img height="120" alt="" src="{$GetInstallDir}/127.0.0.1/{$Field(photourl,Text,0,...,0,)}" width="160" border="0"></a></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td>
<div align="center"><a href="{$GetInstallDir}Admin/{$Field(id,GetInfoUrl,2,1)}" target="_blank">{$Field(title,Text,0,...,0,)} </a></div></td>
</tr>
<tr>
<td>
<div align="center"><font color="#999999">人气:<font color="#999999">{$Field(hits,Num,0,2)}</font> 照片:<font color="#666666">1</font> 投票:{$Field(score,Num,0,2)}</font></div></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
[/loop] [loop=3]
<table cellSpacing="0" cellPadding="0" width="160" align="center" border="0">
<tr>
<td>
<table cellSpacing="0" cellPadding="0" width="247" border="0">
<tr>
<td>
<table height="110" cellSpacing="0" cellPadding="0" width="196" border="0">
<tr>
<td width="163" height="124">
<table cellSpacing="1" cellPadding="0" bgColor="#e1e1e1" border="0">
<tr>
<td bgColor="#ffffff" vborder="0">
<table cellSpacing="1" cellPadding="0" bgColor="#d7d7d7" border="0">
<tr>
<td bgColor="#ffffff">
<table cellSpacing="1" cellPadding="0" bgColor="#b2b2b2" border="0">
<tr>
<td width="153" bgColor="#ffffff">
<table cellSpacing="0" cellPadding="8" width="100%" border="0">
<tr>
<td>
<table cellSpacing="0" cellPadding="1" width="100%" border="0">
<tr>
<td align="middle" bgColor="#808080"><a href="{$GetInstallDir}Admin/{$Field(id,GetInfoUrl,2,1)}" target="_blank" #808080?(origin,Text,0,...,0,)}? {$Field?(id,Num,0,2)}? #808080?(id,Num,0,2)}? #808080><img height="120" alt="" src="{$GetInstallDir}/127.0.0.1/{$Field(photourl,Text,0,...,0,)}" width="160" border="0"></a></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr>
<td>
<div align="center"><a href="{$GetInstallDir}Admin/{$Field(id,GetInfoUrl,2,1)}" target="_blank">{$Field(title,Text,0,...,0,)} </a></div></td>
</tr>
<tr>
<td>
<div align="center"><font color="#999999">人气:<font color="#999999">{$Field(hits,Num,0,2)}</font> 照片:<font color="#666666">1</font> 投票:{$Field(score,Num,0,2)}</font></div></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
[/loop]
上次一个老大说一个图加一个[loop=3] ..[/loop]我加了怎么显示的都是一样的呀!!
老大们有没有其它的办法呀!!
小弟在这里谢谢你们了!!俺是新手!!
还有用CSS哪里控制??不知道!!
求求大家了说一下嘛!!!
唉问了几天了!