起点设计资源网提供更多的素材下载资源,让你设计工作更方便!
高级搜索 收藏本站 网站地图 RSS订阅 最新专题

动易CMS

动易CMS-动易CMS循环显示指定频道栏目文章列表函数标签

『 更新时间: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

字串8

参数:频道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