想在网站上加个投票功能,网上教程最后的显示效果是竖式的,想要这种横排的,哪位有LOOP的代码能不能提供以下,谢谢!
这个LOOP是竖式的。
[loop=10]
<table width="400" border="0" cellspacing="0" cellpadding="0" style="padding-bottom:5px;">
<tr>
<td height="144" align="center" style="padding-bottom:5px;">
<table width="138" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="tu"><a href="{$Field(ID,GetInfoUrl,2,1)}"><img src="{$Field(PhotoUrl,Text,0,...,0,)}" width="138" height="138" border="0"/></a></td></tr>
<tr>
<td height="5" align="center"></td>
</tr>
<tr>
<td height="20" align="center" class="conter_right_ziti">姓 名:<a href="{$Field(ID,GetInfoUrl,2,1)}"><span class="conter_right_ziti">{$Field(Title,Text,0,...,0,)}</span></a></td></tr>
<tr>
<td height="20" align="center" class="conter_right_ziti">所在区域:<a href="{$Field(ID,GetInfoUrl,2,1)}"><span class="conter_right_ziti">{$Field(KS_area,Text,0,...,0,)}</span></a></td></tr>
<tr>
<td align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="conter_right_ziti2">得票数:{$Field(Score,Num,0,2)}</td><td valign="top">
<a href="/Item/vote.asp?m=2&id={$Field(ID,GetInfoUrl,2,2)}"><img src="/images/anniu.gif" width="58" height="16" border="0"></a>
</td></tr>
</table></td>
</tr>
</table>
</td>
<td width="200" valign="top" style="padding-bottom:5px;"><p>自我介绍:</p>
<p>{$Field(picturecontent,Text,0,...,0,)}</p></td>
</tr>
</table>
[/loop]