📄 tagtopics.ftl
字号:
<#include "lib/report.tpl"/>
<#import "lib/html.tpl" as html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=${_encoding?default("GBK")}" />
<#assign navtitle = "与 '${tag_name}' 相关的主题 - ">
<#include "/common/title.ftl">
<#include "/common/meta.ftl">
<link href="${_resPath}/lib/base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${_contextPath}/ef/js/prototype.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/base.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/eforumad.js"></script>
<script type="text/javascript">
function gotoPage(pNo,pSize){
var _pSize= "&_pSize=";
if(pSize){
_pSize = _pSize + pSize;
}else{
_pSize = _pSize + ${_pSize?default(_EFUserUtil.getUserPageSize(_EFUser))};
} window.location="${_UrlUtil.encodeURL("/index.do?_fn=TagTopicList&tag_id=${tag_id}&tag_name=${tag_name?url}&_pNo=\" + pNo + _pSize")};
}
function changePageSize(_pSize){
gotoPage(1,_pSize);
}
</script>
</head>
<body><!-- tagtopics.ftl -->
<div id="wrap">
<#include "header.ftl"/>
<div id="content">
<div class="commonNavLine">
<#assign onlyForumMenu = true/>
<#assign nextForumNavStr = "标签 '"+tag_name?default("")+"' 关联的主题"/>
<#include "forum_nav.ftl"/>
</div><#comment>end commonNavLine </#comment>
<#assign Search_Top = _AdsUtil.getAds("Search_Top",_tplStyle)>
<#if Search_Top?? && Search_Top!="">
<div class="bannerAD" style="margin-top:5px;">
${Search_Top}
</div>
</#if>
<div id="commonLeft">
<form method="post" id="tagSearch" action="${_UrlUtil.encodeURL("/search.do?_fn=TagSearch")}">
<input type="hidden" name="_pNo" id="_pNo" value="1">
<input type="hidden" name="searchFlag" id="searchFlag" value="0">
<div id="tagSearch" class="commonNavBox">
<table class="outline">
<tr class="hd">
<td class="td1">
搜索
</td>
<td class="td2">
<img src="${_resPath}/img/side_view_yes.gif" style="cursor:pointer;" onclick="expandContent('tagSearchTable');">
</td>
</tr>
<tbody id="tagSearchTable" class="content">
<tr class="infoLine">
<td class="option" colspan="2">
<input type="text" id="tag_name" name="tag_name" value="${tag_name?default("")}" size="18" class="input1"><@_errorField name="tag_name"/>
</td>
</tr>
<tr class="actionLine">
<td class="option" colspan="2">
<input type="button" class="middleButton" value="标签搜索" onclick="searchTagsButton('tagSearch',this,'tag_name');">
</td>
</tr>
</tbody>
</table>
</div><#comment> end tagSearch </#comment>
<#if tagSearchResults ? exists && tagSearchResults.size() > 0>
<div id="tagSearchResult" class="commonNavBox">
<table class="outline">
<tr class="hd">
<td class="td1" title="与'${tag_name?default("")}'看起来类似的标签">
相似标签
</td>
<td class="td2">
<img src="${_resPath}/img/side_view_yes.gif" style="cursor:pointer;" onclick="expandContent('tagSearchResultTable');">
</td>
</tr>
<tbody id="tagSearchResultTable" class="content">
<tr class="areaLine">
<td class="area" colspan=2>
<div class="tagCloud">
<#assign parsedSearchResults = _TagUtil.parsedTag(tagSearchResults)/>
<#list tagSearchResults as tagSearchResult>
<#if tagSearchResult_index < 19 && tagSearchResult.tag_name != tag_name>
<span><a href="${_UrlUtil.encodeURL("/index.do?_fn=TagTopicList&keywordTagName="+keywordTagName?default("")?url+"&tag_name="+tagSearchResult.tag_name?url)}" style="${tagSearchResult.tagAttribute}" target="_blank">${tagSearchResult.tag_name}</a></span>
</#if>
</#list>
</div>
</td>
</tr>
<tr class="infoLine">
<td class="td2" align="right">
<a href="javascript:doMoreTagSearch('${keywordTagName?default("")?js_string}')">更多...</a>
</td>
</tr>
</tbody>
</table>
</div><#comment> end tagSearch </#comment>
<#else>
<div id="tagSearchResult" class="commonNavBox">
<table class="outline">
<tr class="hd">
<td class="td1" title="与'${tag_name?default("")}'看起来类似的标签">
相似标签
</td>
<td class="td2">
<img src="${_resPath}/img/side_view_yes.gif" style="cursor:pointer;" onclick="expandContent('tagSearchResultTable');">
</td>
</tr>
<tbody id="tagSearchResultTable" class="content">
<tr class="areaLine">
<td class="area" colspan=2>
<div class="tagCloud">
<#assign parsedSearchResults = _TagUtil.parsedTag(_TagUtil.getCorrelativeTags(tag_name,8))/>
<#list parsedSearchResults as tagSearchResult>
<#if tagSearchResult_index < 19 && tagSearchResult.tag_name != tag_name>
<span><a href="${_UrlUtil.encodeURL("/index.do?_fn=TagTopicList&tag_name="+tagSearchResult.tag_name?url)}" style="${tagSearchResult.tagAttribute}" target="_blank">${tagSearchResult.tag_name}</a></span>
</#if>
</#list>
</div>
</td>
</tr>
<tr class="infoLine">
<td class="td2" align="right">
<a href="javascript:doMoreTagSearch('${tag_name?default("")?js_string}')">更多...</a>
</td>
</tr>
</tbody>
</table>
</div><#comment> end tagSearch </#comment>
</#if>
</form>
<div id="correlativeTags" class="commonNavBox">
<table class="outline">
<tr class="hd">
<td class="td1" title="经常与'${tag_name?default("")}'一起被使用的标签">
相关标签
</td>
<td class="td2">
<img src="${_resPath}/img/side_view_yes.gif" style="cursor:pointer;" onclick="expandContent('correlativeTagsTable');">
</td>
</tr>
<tbody id="correlativeTagsTable" class="content">
<tr class="areaLine">
<td class="area" colspan=2>
<div class="tagCloud">
<#assign correlativetags = _TagUtil.getRefTags(tag_ref?default(""))/>
<#assign parsedRelTags = _TagUtil.parsedTag(correlativetags)/>
<#list parsedRelTags as parsedRelTag>
<#if parsedRelTag.tag_name != tag_name>
<span><a href="${_UrlUtil.encodeURL("/index.do?_fn=TagTopicList&tag_name="+parsedRelTag.tag_name?url)}" style="${parsedRelTag.tagAttribute}" target="_blank">${parsedRelTag.tag_name}</a></span>
</#if>
</#list>
</div>
</td>
</tr>
</tbody>
</table>
</div><#comment> end tagSearch </#comment>
<div id="tagSearchPopTag" class="commonNavBox">
<table class="outline">
<tr class="hd">
<td class="td1">
流行标签
</td>
<td class="td2">
<img src="${_resPath}/img/side_view_yes.gif" style="cursor:pointer;" onclick="expandContent('tagSearchPopTagTable');">
</td>
</tr>
<tbody id="tagSearchPopTagTable" class="content">
<tr class="areaLine">
<td class="area" colspan=2>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -