<%template _head%> {AdFactory.GetAd("index_1")}
    <%loop id="articleflash" method="ArticleFactory" type="ArticleInfo" top="4" where="indexpicurl <> '' order by hits desc" trace="false"%>
  • {articleflash.Title}
  • <%/loop%>
    <%loop id="articleimgmall" method="ArticleFactory" type="ArticleInfo" top="4" where="indexpicurl <> '' order by hits desc" trace="false"%>
  • class="current"<%/if%>>
  • <%/loop%>
<%set (ArticleInfo){articleinfo} = ArticleFactory.GetInfo(conn,0,0,0,0,"isgood","")%>

{articleinfo.Title}

今日头条

{articleinfo.Intro}
<%loop id="topgoodinfo" method="ArticleFactory" type="ArticleInfo" trace="false" top="5"%>
<%datetostr(topgoodinfo.Updatetime,"yy-MM-dd")%>
<%/loop%>
热门文章TAG
<%loop id="articletags" module="tag" top="20" mid="50"%> {articletags.Name} <%/loop%>
<%loop id="_class" module="class" trace="false" modulename="article" needself="false" needchild="false" where="depth=1" cache="true" cachetime="120"%>
<%loop id="_articlelist" module="Article" top="10" cid={_class.Classid} cache="true" cachename="_articlelist_{_class.Classid}" cachetime="120"%>
<%datetostr(_articlelist.Updatetime,"yy-MM-dd")%>
<%/loop%>
<%set (int){nowloopid} = _class__loop__id%2%> <%if nowloopid==1%>
<%else%>
<%/if%> <%/loop%>
{AdFactory.GetAd("index_ad_01")}
最新图片
←
    <%loop id="articleimg" method="ArticleFactory" type="ArticleInfo" trace="false" top="20" where="includepic = 1 order by hits desc" cache="true" cachetime="120"%>
  • {articleimg.Title}[{articleimg.keyword}] {articleimg.Title}
  • <%/loop%>
→
<%loop id="_downclass" module="Class" modulename="download" needself="false" needchild="false" where="depth=1" cache="true" cachetime="120"%>
<%loop id="_downlist" method="LeadWit.CMS.DownloadFactory" type="DownloadInfo" trace="false" top="10" cid={_downclass.Classid} cache="true" cachename="_downlist_{_downclass.Classid}" cachetime="120"%>
<%datetostr(_downlist.Updatetime,"yy-MM-dd")%>
<%/loop%>
<%set (int){dlownclassloopid} = _downclass__loop__id%2%> <%if dlownclassloopid==1%>
<%else%>
<%/if%> <%/loop%>
{AdFactory.GetAd("index_ad_02")}
友情链接[申请]
<%template _mainRight%>
<%template _bottom%> <%template _footer%>