『 更新时间:2008-11-02 』『 字体:大 中 小 』『 作者:haiji_cn62 | 来源:动易cms 』
标签名:{$MY_循环显示指定频道栏目文章列表}
SQL查询语句:select ClassID,ChannelID,ClassName,ClassType,ParentID,Depth,OrderID,ClassPicUrl from PE_Class where ChannelID={input(0)} and ParentID={input(1)} and ClassType={input(2)} order by OrderID,ClassID
参数:频道ID 父栏目ID 栏目Type
字串6
标签内容:
字串6
{Loop}{Infobegin}
<table width="624" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="34" >
<table width="624" height="34" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="173" height="34" align="center">
<A href="{$Field(1,GetChannel,1)}/ShowClass.asp?ClassID={$Field(0,Text,0,0,0)}"><B>{$Field(2,Text,0,0,0)}</B></A>
</td>
<td width="340" height="34"></td>
<td width="111" height="34" align="center"><A href="{$Field(1,GetChannel,1)}/ShowClass.asp?ClassID={$Field(0,Text,0,0,0)}">More...</A></td> 字串2
</tr>
</table>
</td>
</tr>
<tr>
<td width="624" height="124" valign="top" style="padding-left: 5px"><!--$当前栏目中的文章列表$-->
<!--{$GetArticleList({input(0)},{$Field(0,Text,0,0,0)},true, 0,0,6, false,false,"",30,1,1,72,0,true,5,false,false,1,false,false,false,true,false,false,1,1,,,)}-->
</td>
</tr>
</table>
{Infoend}{/Loop}
字串1
功能:用于循环显示指定频道中栏目及相应文章标题列表,可在网站任意位置调用 字串1
调用方法:{$MY_循环显示指定频道栏目文章列表(频道ID,父栏目ID,栏目类型)}
字串9
若要调用图片或者下载频道内容,可修改查询语句和标签内容中的红色部分,制作相应的标签即可 字串9
Power by DedeCms CopyRight 2006-2008 www.68start.com All Rights Reserved 起点设计资源网
本站部分文章来自于网络,如有侵犯您的权益请与我们联系,本站将第一时间纠正