<%template _head%>
    {placefirst}{place}{placelast}
<%csharp%> //专题首页,即没有指定专题ID时 <%/csharp%> <%if classid==1%>
专题导航
<%loop id="specialClass" method="ClassFactory" type="ClassInfo" trace="false" parentid="1" needchild="false" where="classtype=1"%>
  • {specialClass.Classname}  [详细]
  • <%/loop%>
    {AdFactory.GetAd("special_index_ad_01")}
    <%loop id="special" method="ClassFactory" type="ClassInfo" trace="false" parentid="1" needchild="false" where="classtype=1"%>
    [详细]
    {special.classname}
    {special.Readme}
    <%set (List){articlelist}=ArticleFactory.GetList(conn,10,0,{special.Classid},0,"","")%> <%if articlelist.Count>0%> <%loop (ArticleInfo) list articlelist%>
    {Utils.FormatDate(list.Updatetime,"yyyy-MM-dd")}
    {list.Hits}
    <%/loop%> <%else%> 暂无专题文章 <%/if%>
    <%set (List){downlist}=DownloadFactory.GetList(conn,10,0,{special.Classid},0,"","")%> <%if downlist.Count>0%> <%loop (DownloadInfo) list2 downlist%>
    {Utils.FormatDate(list2.Updatetime,"yyyy-MM-dd")}
    {list2.Hits}
    <%/loop%> <%else%> 暂无专题下载 <%/if%>
    <%/loop%> <%else%> <%csharp%> //指定专题ID时 <%/csharp%> <%if currentclass.Child>0%>
    {currentclass.Classname}导航
    <%loop id="special" method="ClassFactory" type="ClassInfo" trace="false" parentid={currentclass.Classid} needchild="false" where="classtype=1"%>
  • {special.classname}  [详细]
  • <%/loop%>
    <%loop id="specialClass" method="ClassFactory" type="ClassInfo" trace="false" parentid={currentclass.Classid} needchild="false" where="classtype=1"%>
    [详细]
    {specialClass.Classname}
    {specialClass.Readme}
    <%set (List){articlelist}=ArticleFactory.GetList(conn,10,0,{specialClass.Classid},0,"","")%> <%if articlelist.Count>0%> <%loop (ArticleInfo) list articlelist%>
    {Utils.FormatDate(list.Updatetime,"yyyy-MM-dd")}
    {list.Hits}
    <%/loop%> <%else%> 暂无专题文章 <%/if%>
    <%set (List){downlist}=DownloadFactory.GetList(conn,10,0,{specialClass.Classid},0,"","")%> <%if downlist.Count>0%> <%loop (DownloadInfo) list2 downlist%>
    {Utils.FormatDate(list2.Updatetime,"yyyy-MM-dd")}
    {list2.Hits}
    <%/loop%> <%else%> 暂无专题下载 <%/if%>
    <%/loop%> <%else%>
    {currentclass.Readme}
    {currentclass.Classname}最新图片
    ←
      <%set (List){articlelist}=ArticleFactory.GetList(conn,20,0,{currentclass.Classid},0,"","indexpicurl <> '' order by hits desc")%> <%loop (ArticleInfo) articleimg articlelist%>
    • {articleimg.Title}[{articleimg.keyword}] {articleimg.Title}
    • <%/loop%>
    →
    更多文章>>
    {currentclass.Classname}
    <%set {articlelist}=ArticleFactory.GetList(conn,20,0,{currentclass.Classid},0,"","")%> <%if articlelist.Count>0%> <%loop (ArticleInfo) list articlelist%>
    {Utils.FormatDate(list.Updatetime,"yyyy-MM-dd")}
    {list.Hits}
    <%/loop%> <%else%> 暂无专题文章 <%/if%>
    更多下载>>
    {currentclass.Classname}
    <%set (List){downlist}=DownloadFactory.GetList(conn,20,0,{currentclass.Classid},0,"","")%> <%if downlist.Count>0%> <%loop (DownloadInfo) list2 downlist%>
    {Utils.FormatDate(list2.Updatetime,"yyyy-MM-dd")}
    {list2.Hits}
    <%/loop%> <%else%> 暂无专题下载 <%/if%>
    <%/if%> <%/if%>
    <%template _specialright%>
    <%template _bottom%> <%template _footer%>