%load.template._MessageHead%>
<%if {errorcount}>0%>
<%load.template._errmsgbox%>
<%else%>
<%if tagType.Equals("topic")%>
[breadcrumb][link=Index.Type]首页[/link][link=forum.Type]论坛[/link][link]主题标签[/link][/breadcrumb]
<%if tag==null%>
+热门主题标签
[hr]
<%set (TagInfo[]){HotTagList}=WebTags.GetCachedHotTags(100, "topiccount")%>
<%foreach (TagInfo) tagInfo HotTagList%>
{WmlCode(tagInfo.Tagname)}
<%foreach%>
<%else%>
+相关{WmlCode(tag.Tagname)} 帖子({logcount})
<%set (int){index}=({pageid}-1)*{pagesize}%>
<%foreach (TopicInfo) topicInfo TopicList%>
<%foreach%>
<%if {pagecount}>=2%>
<%set (DetachPageInfo){detachPage}=GetDetachPageInfo(pageid,pagesize,pagecount,logcount,"帖",string.Format("{0}helper/tags/topic/{1}{2}",WebPath,tag.Tagid,LinkTail))%>
<%load.template._detachpage%>
<%end if%>
[hr]
>>热门主题标签
<%end if%>
[breadcrumb][link=Index.Type]首页[/link][link=forum.Type]论坛[/link][link]主题标签[/link][/breadcrumb]
<%else%>
<%set (Wapkang.Config.ContentsConfigInfo){contentsConfig}=Wapkang.Config.ContentsConfigs.GetConfig()%>
[breadcrumb][link=Index.Type]首页[/link][link=Contents.Type]{contentsConfig.Name}[/link][link]资源标签[/link][/breadcrumb]
<%if tag==null%>
+热门资源标签
[hr]
<%set (TagInfo[]){HotTagList}=WebTags.GetCachedHotTags(100, "articlecount")%>
<%foreach (TagInfo) tagInfo HotTagList%>
{WmlCode(tagInfo.Tagname)}
<%foreach%>
<%else%>
+相关{WmlCode(tag.Tagname)} 资源({logcount})
<%set (int){index}=({pageid}-1)*{pagesize}%>
<%foreach (ShortContentsInfo) cInfo ContentsList%>
<%foreach%>
<%if {pagecount}>=2%>
<%set (DetachPageInfo){detachPage}=GetDetachPageInfo(pageid,pagesize,pagecount,logcount,"条",string.Format("{0}helper/tags/contents/{1}{2}",WebPath,tag.Tagid,LinkTail))%>
<%load.template._detachpage%>
<%end if%>
[hr]
>>热门资源标签
<%end if%>
[breadcrumb][link=Index.Type]首页[/link][link=Contents.Type]{contentsConfig.Name}[/link][link]资源标签[/link][/breadcrumb]
<%end if%>
<%end if%>
<%load.template._Foot%>