showtopic.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:146k
- <%@ Page language="c#" AutoEventWireup="false" EnableViewState="false" Inherits="Discuz.Web.showtopic" %>
- <%@ Import namespace="System.Data" %>
- <%@ Import namespace="Discuz.Common" %>
- <%@ Import namespace="Discuz.Forum" %>
- <%@ Import namespace="Discuz.Entity" %>
- <script runat="server">
- override protected void OnInit(EventArgs e)
- {
- /*
- This page was created by Discuz!NT Template Engine at 2010/2/8 15:43:54.
- 本页面代码由Discuz!NT模板引擎生成于 2010/2/8 15:43:54.
- */
- base.OnInit(e);
- templateBuilder.Capacity = 220000;
- if (infloat!=1)
- {
- templateBuilder.Append("<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">rn");
- templateBuilder.Append("<html xmlns="http://www.w3.org/1999/xhtml">rn");
- templateBuilder.Append("<head>rn");
- templateBuilder.Append("<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />rn");
- if (pagetitle=="首页")
- {
- templateBuilder.Append("<title>");
- templateBuilder.Append(config.Forumtitle.ToString().Trim());
- templateBuilder.Append(" ");
- templateBuilder.Append(config.Seotitle.ToString().Trim());
- templateBuilder.Append(" - Powered by Discuz!NT</title>rn");
- }
- else
- {
- templateBuilder.Append("<title>");
- templateBuilder.Append(pagetitle.ToString());
- templateBuilder.Append(" - ");
- templateBuilder.Append(config.Forumtitle.ToString().Trim());
- templateBuilder.Append(" ");
- templateBuilder.Append(config.Seotitle.ToString().Trim());
- templateBuilder.Append(" - Powered by Discuz!NT</title>rn");
- } //end if
- templateBuilder.Append(meta.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append("<meta name="generator" content="Discuz!NT 3.1.0" />rn");
- templateBuilder.Append("<meta name="author" content="Discuz!NT Team and Comsenz UI Team" />rn");
- templateBuilder.Append("<meta name="copyright" content="2001-2010 Comsenz Inc." />rn");
- templateBuilder.Append("<meta http-equiv="x-ua-compatible" content="ie=7" />rn");
- templateBuilder.Append("<link rel="icon" href="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("favicon.ico" type="image/x-icon" />rn");
- templateBuilder.Append("<link rel="shortcut icon" href="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("favicon.ico" type="image/x-icon" />rn");
- templateBuilder.Append("<link rel="stylesheet" href="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/dnt.css" type="text/css" media="all" />rn");
- templateBuilder.Append("<link rel="stylesheet" href="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/float.css" type="text/css" />rn");
- templateBuilder.Append(link.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append("<script type="text/javascript">rn");
- templateBuilder.Append("var creditnotice='");
- templateBuilder.Append(Scoresets.GetValidScoreNameAndId().ToString().Trim());
- templateBuilder.Append("'; rn");
- templateBuilder.Append("var forumpath = "");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("";rn");
- templateBuilder.Append("</");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("javascript/common.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("javascript/template_report.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("javascript/template_utils.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("javascript/ajax.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript">rn");
- templateBuilder.Append(" var aspxrewrite = ");
- templateBuilder.Append(config.Aspxrewrite.ToString().Trim());
- templateBuilder.Append(";rn");
- templateBuilder.Append(" var IMGDIR = '");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/images'rn");
- templateBuilder.Append(" var allowfloatwin = ");
- templateBuilder.Append(config.Allowfloatwin.ToString().Trim());
- templateBuilder.Append("rn");
- templateBuilder.Append(" var rooturl="");
- templateBuilder.Append(rooturl.ToString());
- templateBuilder.Append("";rn");
- templateBuilder.Append("</");
- templateBuilder.Append("script>rn");
- templateBuilder.Append(script.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append("</head>rn");
- templateBuilder.Append("<body onkeydown="if(event.keyCode==27) return false;">rn");
- templateBuilder.Append("<div id="append_parent"></div><div id="ajaxwaitid"></div>rn");
- templateBuilder.Append("<div id="submenu">rn");
- templateBuilder.Append(" <div class="wrap s_clear">rn");
- if (usergroupinfo.Allowsearch>0)
- {
- templateBuilder.Append(" <form method="post" action="");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("search.aspx" target="_blank" onsubmit="bind_keyword(this);;" class="right">rn");
- templateBuilder.Append(" <input type="hidden" name="poster" />rn");
- templateBuilder.Append(" <input type="hidden" name="keyword" />rn");
- templateBuilder.Append(" <input type="hidden" name="type" value="" />rn");
- templateBuilder.Append(" <input id="keywordtype" type="hidden" name="keywordtype" value="0" />rn");
- templateBuilder.Append(" <a href="javascript:void(0);" class="drop" id="quicksearch" onclick="showMenu(this.id, false);" onmouseover="MouseCursor(this);">快速搜索</a>rn");
- templateBuilder.Append(" <input type="text" name="keywordf" value="输入搜索关键字" onblur="if(this.value=='')this.value=defaultValue" onclick="if(this.value==this.defaultValue)this.value = ''" onkeydown="if(this.value==this.defaultValue)this.value = ''" class="txt"/>rn");
- templateBuilder.Append(" <input name="searchsubmit" type="submit" value="" class="btnsearch"/>rn");
- templateBuilder.Append(" </form>rn");
- templateBuilder.Append(" <script type="text/javascript">rn");
- templateBuilder.Append(" function bind_keyword(form) {rn");
- templateBuilder.Append(" if (form.keywordtype.value == '9') {rn");
- templateBuilder.Append(" form.action = '");
- templateBuilder.Append(forumurl.ToString());
- templateBuilder.Append("forumsearch.aspx?q=' + escape(form.keywordf.value);rn");
- templateBuilder.Append(" } else if (form.keywordtype.value == '8') {rn");
- templateBuilder.Append(" form.keyword.value = '';rn");
- templateBuilder.Append(" form.poster.value = form.keywordf.value;rn");
- templateBuilder.Append(" } else {rn");
- templateBuilder.Append(" form.poster.value = '';rn");
- templateBuilder.Append(" form.keyword.value = form.keywordf.value;rn");
- templateBuilder.Append(" if (form.keywordtype.value == '2')rn");
- templateBuilder.Append(" form.type.value = 'spacepost';rn");
- templateBuilder.Append(" if (form.keywordtype.value == '3')rn");
- templateBuilder.Append(" form.type.value = 'album';rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" </");
- templateBuilder.Append("script>rn");
- } //end if
- templateBuilder.Append(" <span class="avataonline right">rn");
- if (userid==-1)
- {
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("login.aspx" onClick="floatwin('open_login', '");
- templateBuilder.Append(rooturl.ToString());
- templateBuilder.Append("login.aspx', 600, 410);return false;">[登录]</a>rn");
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("register.aspx" onClick="floatwin('open_register', '");
- templateBuilder.Append(rooturl.ToString());
- templateBuilder.Append("register.aspx', 600, 410);return false;">[注册]</arn");
- templateBuilder.Append(" >rn");
- }
- else
- {
- templateBuilder.Append(" 欢迎<a class="drop" id="viewpro" onMouseOver="showMenu(this.id)">");
- templateBuilder.Append(username.ToString());
- templateBuilder.Append("</a>rn");
- templateBuilder.Append(" <span class="pipe">|</span>rn");
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("logout.aspx?userkey=");
- templateBuilder.Append(userkey.ToString());
- templateBuilder.Append("">退出</a>rn");
- templateBuilder.Append(" <span class="pipe">|</span>rn");
- } //end if
- templateBuilder.Append(" </span>rn");
- if (userid!=-1)
- {
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("usercpinbox.aspx" class="inbox" title="");
- templateBuilder.Append(oluserinfo.Newpms.ToString().Trim());
- templateBuilder.Append("条新短消息">收件箱</a>rn");
- if (oluserinfo.Newpms>0)
- {
- templateBuilder.Append("<cite>");
- templateBuilder.Append(oluserinfo.Newpms.ToString().Trim());
- templateBuilder.Append("</cite>rn");
- } //end if
- templateBuilder.Append(" <span class="pipe">|</span>rn");
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("usercpnotice.aspx?filter=all" class="notice">通知</a>rn");
- if (oluserinfo.Newnotices>0)
- {
- templateBuilder.Append("<cite>");
- templateBuilder.Append(oluserinfo.Newnotices.ToString().Trim());
- templateBuilder.Append("</cite>rn");
- } //end if
- templateBuilder.Append(" <span class="pipe">|</span>rn");
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("usercp.aspx" class="usercp">用户中心</a>rn");
- templateBuilder.Append(" <span class="pipe">|</span>rn");
- if (useradminid==1)
- {
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("admin/index.aspx" target="_blank" class="systemmanage">系统设置</a>rn");
- templateBuilder.Append(" <span class="pipe">|</span>rn");
- } //end if
- templateBuilder.Append(" <a href="javascript:void(0);" class="drop" id="mymenu" onMouseOver="showMenu(this.id, false);" >我的</a>rn");
- templateBuilder.Append(" <ul class="popupmenu_popup headermenu_popup" id="mymenu_menu" style="display: none">rn");
- templateBuilder.Append(" <li><a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("mytopics.aspx">我的主题</a></li>rn");
- templateBuilder.Append(" <li><a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("myposts.aspx">我的帖子</a></li>rn");
- templateBuilder.Append(" <li><a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("search.aspx?posterid=current&type=digest">我的精华</a></li>rn");
- templateBuilder.Append(" <li><a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("myattachment.aspx">我的附件</a></li>rn");
- templateBuilder.Append(" <li><a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("usercpsubscribe.aspx">我的收藏</a></li>rn");
- if (config.Enablespace==1)
- {
- templateBuilder.Append(" <li><a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("space/">我的空间</a></li>rn");
- } //end if
- if (config.Enablealbum==1)
- {
- templateBuilder.Append(" <li><a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("showalbumlist.aspx?uid=");
- templateBuilder.Append(userid.ToString());
- templateBuilder.Append("">我的相册</a></li>rn");
- } //end if
- if (config.Enablemall==1)
- {
- templateBuilder.Append(" <li><a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("usercpmygoods.aspx">我的商品</a></li>rn");
- } //end if
- templateBuilder.Append(" </ul>rn");
- } //end if
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("<div id="header">rn");
- templateBuilder.Append(" <div class="wrap s_clear">rn");
- templateBuilder.Append(" <h2><a href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("index.aspx" title="Discuz!NT|BBS|论坛"><img src="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/images/logo.gif" alt="Discuz!NT|BBS|论坛"/></a></h2>rn");
- if (headerad!="")
- {
- templateBuilder.Append(" <div id="ad_headerbanner"></div>rn");
- } //end if
- templateBuilder.Append(" <ul id="menu">rn");
- templateBuilder.Append(" ");
- templateBuilder.Append(mainnavigation.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(" </ul>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append("</div>rn");
- }
- else
- {
- Response.Clear();
- Response.ContentType = "Text/XML";
- Response.Expires = 0;
- Response.Cache.SetNoStore();
-
- templateBuilder.Append("<?xml version="1.0" encoding="utf-8"?><root><![CDATA[rn");
- } //end if
- templateBuilder.Append("<script type="text/javascript">rn");
- templateBuilder.Append("var templatepath = "");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("";rn");
- templateBuilder.Append("var postminchars = parseInt(");
- templateBuilder.Append(config.Minpostsize.ToString().Trim());
- templateBuilder.Append(");rn");
- templateBuilder.Append("var postmaxchars = parseInt(");
- templateBuilder.Append(config.Maxpostsize.ToString().Trim());
- templateBuilder.Append(");rn");
- templateBuilder.Append("var disablepostctrl = parseInt(");
- templateBuilder.Append(disablepostctrl.ToString());
- templateBuilder.Append(");rn");
- templateBuilder.Append("var attachtransname = "");
- templateBuilder.Append(Scoresets.GetTopicAttachCreditsTransName().ToString().Trim());
- templateBuilder.Append("";rn");
- templateBuilder.Append("var forumtitle = '");
- templateBuilder.Append(config.Forumtitle.ToString().Trim());
- templateBuilder.Append("';rn");
- templateBuilder.Append("function modaction(action, pid, extra) rn");
- templateBuilder.Append("{rn");
- templateBuilder.Append(" if(!action) rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" return;rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" var extra = !extra ? '' : '&' + extra;rn");
- templateBuilder.Append(" if(!pid && in_array(action, ['delposts', 'banpost'])) rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" var checked = 0;rn");
- templateBuilder.Append(" var pid = '';rn");
- templateBuilder.Append(" for(var i = 0; i < $('postsform').elements.length; i++) rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" if($('postsform').elements[i].name.match('topiclist')) rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" checked = 1;rn");
- templateBuilder.Append(" break;rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" } rn");
- templateBuilder.Append(" else rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" var checked = 1;rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" if(!checked) rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" alert('请选择需要操作的帖子');rn");
- templateBuilder.Append(" } rn");
- templateBuilder.Append(" else rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" floatwinreset = 1;rn");
- templateBuilder.Append(" $('postsform').action = 'topicadmin.aspx?action='+ action +'&fid=");
- templateBuilder.Append(forumid.ToString());
- templateBuilder.Append("&tid=");
- templateBuilder.Append(topicid.ToString());
- templateBuilder.Append("&infloat=1&nopost=1' + (!$('postsform').pid.value ? '' : '&postid=' + $('postsform').pid.value) + extra;rn");
- templateBuilder.Append(" floatwin('open_mods', '', 250, 220);rn");
- templateBuilder.Append(" $('floatwin_mods').innerHTML = '';rn");
- templateBuilder.Append(" ajaxpost('postsform', 'floatwin_mods', '');rn");
- templateBuilder.Append(" if(is_ie) rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" doane(event);rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" hideMenu();rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append("}rn");
- templateBuilder.Append("function pidchecked(obj) rn");
- templateBuilder.Append("{rn");
- templateBuilder.Append(" if(obj.checked) rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" if(is_ie && !is_opera) rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" var inp = document.createElement('<input name="topiclist[]" />');rn");
- templateBuilder.Append(" } rn");
- templateBuilder.Append(" else rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" var inp = document.createElement('input');rn");
- templateBuilder.Append(" inp.name = 'topiclist[]';rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" inp.id = 'topiclist_' + obj.value;rn");
- templateBuilder.Append(" inp.value = obj.value;rn");
- templateBuilder.Append(" inp.style.display = 'none';rn");
- templateBuilder.Append(" $('postsform').appendChild(inp);rn");
- templateBuilder.Append(" } rn");
- templateBuilder.Append(" elsern");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" $('postsform').removeChild($('topiclist_' + obj.value));rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append("}rn");
- templateBuilder.Append("var modclickcount = 0;rn");
- templateBuilder.Append("function modclick(obj, pid) rn");
- templateBuilder.Append("{rn");
- templateBuilder.Append(" if(obj.checked) rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" modclickcount++;rn");
- templateBuilder.Append(" if($('postsform').pid.value)rn");
- templateBuilder.Append(" $('postsform').pid.value += "," + pid;rn");
- templateBuilder.Append(" elsern");
- templateBuilder.Append(" $('postsform').pid.value = pid;rn");
- templateBuilder.Append(" } rn");
- templateBuilder.Append(" else rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" modclickcount--;rn");
- templateBuilder.Append(" if(modclickcount > 0)rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" $('postsform').pid.value = $('postsform').pid.value.replace("," + pid + ",", ",");rn");
- templateBuilder.Append(" $('postsform').pid.value = $('postsform').pid.value.replace("," + pid, "");rn");
- templateBuilder.Append(" $('postsform').pid.value = $('postsform').pid.value.replace(pid + ",", "");rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" elsern");
- templateBuilder.Append(" $('postsform').pid.value = '';rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" $('modcount').innerHTML = modclickcount;rn");
- templateBuilder.Append(" if(modclickcount > 0) rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" var offset = fetchOffset(obj); rn");
- templateBuilder.Append(" $('modlayer').style.top = offset['top'] - 65 + 'px';rn");
- templateBuilder.Append(" $('modlayer').style.left = offset['left'] - 215 + 'px';rn");
- templateBuilder.Append(" $('modlayer').style.display = '';rn");
- templateBuilder.Append(" } rn");
- templateBuilder.Append(" else rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" $('modlayer').style.display = 'none';rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append("}rn");
- templateBuilder.Append("</");
- templateBuilder.Append("script>rn");
- if (enabletag)
- {
- templateBuilder.Append("<script type="text/javascript" src="cache/tag/closedtags.txt"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="cache/tag/colorfultags.txt"></");
- templateBuilder.Append("script>rn");
- } //end if
- templateBuilder.Append("<script type="text/javascript" src="javascript/template_showtopic.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/template_share.js"></");
- templateBuilder.Append("script>rn");
- int loopi = 1;
-
- if (page_err==0)
- {
- templateBuilder.Append("<div id="nav">rn");
- templateBuilder.Append(" <div class="wrap s_clear">rn");
- templateBuilder.Append(" <a id="forumlist" href="");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("" rn");
- if (config.Forumjump==1)
- {
- templateBuilder.Append("onmouseover="showMenu(this.id);" onmouseout="showMenu(this.id);"rn");
- } //end if
- templateBuilder.Append(" class="title">");
- templateBuilder.Append(config.Forumtitle.ToString().Trim());
- templateBuilder.Append("</a> » ");
- templateBuilder.Append(ShowForumAspxRewrite(forum.Pathlist.Trim(),forumid,forumpageid).ToString().Trim());
- templateBuilder.Append("rn");
- int ishtmltitle = Topics.GetMagicValue(topic.Magic, MagicType.HtmlTitle);
-
- if (ishtmltitle==1)
- {
- templateBuilder.Append(" » <strong>");
- templateBuilder.Append(Topics.GetHtmlTitle(topic.Tid).ToString().Trim());
- templateBuilder.Append("</strong>rn");
- }
- else
- {
- templateBuilder.Append(" » <strong>");
- templateBuilder.Append(topic.Title.ToString().Trim());
- templateBuilder.Append("</strong>rn");
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append("</div>rn");
- if (config.Forumjump==1)
- {
- templateBuilder.Append(" ");
- templateBuilder.Append(Caches.GetForumListMenuDivCache(usergroupid,userid,config.Extname).ToString().Trim());
- templateBuilder.Append("rn");
- } //end if
- if (pagewordad.Length>0)
- {
- templateBuilder.Append("<div id="ad_text" class="ad_text sclear">rn");
- templateBuilder.Append(" <table cellspacing="1" cellpadding="0" width="100%" summary="text ad">rn");
- templateBuilder.Append(" <tbody>rn");
- templateBuilder.Append(" <tr>rn");
- int adindex = 0;
-
- int pageword__loop__id=0;
- foreach(string pageword in pagewordad)
- {
- pageword__loop__id++;
- if (adindex<4)
- {
- templateBuilder.Append(" <td>");
- templateBuilder.Append(pageword.ToString());
- templateBuilder.Append("</td>rn");
- adindex = adindex+1;
-
- }
- else
- {
- templateBuilder.Append(" </tr><tr>rn");
- templateBuilder.Append(" <td>");
- templateBuilder.Append(pageword.ToString());
- templateBuilder.Append("</td>rn");
- adindex = 1;
-
- } //end if
- } //end loop
- if (pagewordad.Length%4>0)
- {
- for (int j = 0; j < (4 - pagewordad.Length % 4); j++)
- {
-
- templateBuilder.Append(" <td> </td>rn");
- }
-
- } //end if
- templateBuilder.Append(" </tr>rn");
- templateBuilder.Append(" </tbody>rn");
- templateBuilder.Append(" </table>rn");
- templateBuilder.Append("</div>rn");
- } //end if
- templateBuilder.Append("<div class="wrap s_clear thread" id="wrap">rn");
- templateBuilder.Append("<div class="main viewthread">rn");
- templateBuilder.Append(" <div id="forumheader" class="s_clear">rn");
- templateBuilder.Append(" <h1>rn");
- if (forum.Applytopictype==1 && forum.Topictypeprefix==1)
- {
- templateBuilder.Append(" <cite>");
- templateBuilder.Append(topictypes.ToString());
- templateBuilder.Append("</cite>rn");
- } //end if
- templateBuilder.Append(" ");
- templateBuilder.Append(topic.Title.ToString().Trim());
- templateBuilder.Append(" rn");
- templateBuilder.Append(" </h1>rn");
- templateBuilder.Append(" <p class="forumstats">[ <em>");
- templateBuilder.Append(topicviews.ToString());
- templateBuilder.Append("</em> 查看 / <em>");
- templateBuilder.Append(topic.Replies.ToString().Trim());
- templateBuilder.Append("</em> 回复 ]</p>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="pages_btns">rn");
- templateBuilder.Append(" <div class="pages">rn");
- templateBuilder.Append(" <cite class="pageback">");
- templateBuilder.Append(listlink.ToString());
- templateBuilder.Append("</cite>rn");
- if (pagecount!=1)
- {
- templateBuilder.Append(" ");
- templateBuilder.Append(pagenumbers.ToString());
- templateBuilder.Append("rn");
- if (pagecount>8)
- {
- templateBuilder.Append(" <kbd><b id="pageidtxt1" title="可以输入页码按回车键自动跳转" onclick="$('pageidtxt1').style.display='none';$('pageidinput1').style.display='';$('pageidinput1').focus();">");
- templateBuilder.Append(pageid.ToString());
- templateBuilder.Append("</b>rn");
- templateBuilder.Append(" <input name="gopage" type="text" class="txt" id="pageidinput1" value="");
- templateBuilder.Append(pageid.ToString());
- templateBuilder.Append("" style="display:none;text-align:center;" onfocus="this.value=this.defaultValue;this.size=this.value.length;this.select();" onblur="$('pageidinput1').style.display='none';$('pageidtxt1').style.display='';" onKeyDown="if(event.keyCode==13) { if(");
- templateBuilder.Append(config.Aspxrewrite.ToString().Trim());
- templateBuilder.Append(") {window.location='showtopic-");
- templateBuilder.Append(topicid.ToString());
- templateBuilder.Append("-' + (parseInt(this.value) > 0 ? parseInt(this.value) : 1) + '");
- templateBuilder.Append(config.Extname.ToString().Trim());
- templateBuilder.Append("';}else{window.location='showtopic.aspx?topicid=");
- templateBuilder.Append(topicid.ToString());
- templateBuilder.Append("&page=' + (parseInt(this.value) > 0 ? parseInt(this.value) : 1);}}if((event.keyCode >= 48 && event.keyCode <= 57) || event.keyCode==8){this.size=this.value.length+1;return true;}else{return false;}" size="");
- templateBuilder.Append(pageid.ToString().Trim().Length.ToString().Trim());
- templateBuilder.Append("" maxlength="9" />/ ");
- templateBuilder.Append(pagecount.ToString());
- templateBuilder.Append("</kbd>rn");
- } //end if
- templateBuilder.Append(" ");
- templateBuilder.Append(nextpage.ToString());
- templateBuilder.Append("rn");
- } //end if
- templateBuilder.Append(" </div>rn");
- if (userid<0||canposttopic)
- {
- templateBuilder.Append(" <span onmouseover="if($('newspecial_menu').childNodes.length>0) showMenu(this.id);" id="newspecial" class="postbtn"><a title="发新话题" id="newtopic" href="posttopic.aspx?forumid=");
- templateBuilder.Append(forum.Fid.ToString().Trim());
- templateBuilder.Append("" onmouseover="if($('newspecial_menu').childNodes.length>0) showMenu(this.id);" onclick="floatwin('open_newthread', this.href, 600, 410, '600,0');doane(event);"><img alt="发新话题" src="templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/images/newtopic.gif"/></a></span>rn");
- } //end if
- if (userid<0||canreply)
- {
- templateBuilder.Append(" <span class="replybtn"><a href="postreply.aspx?topicid=");
- templateBuilder.Append(topicid.ToString());
- templateBuilder.Append("&forumpage=");
- templateBuilder.Append(forumpageid.ToString());
- templateBuilder.Append("" onclick="floatwin('open_reply', this.href, 600, 410, '600,0');doane(event);"><img src="templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/images/reply.gif" border="0" alt="回复该主题" /></a></span>rn");
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <form id="postsform" name="postsform" method="post" action="topicadmin.aspx?action=moderate&forumid=");
- templateBuilder.Append(forumid.ToString());
- templateBuilder.Append("">rn");
- templateBuilder.Append(" <input name="forumid" type="hidden" value="");
- templateBuilder.Append(forumid.ToString());
- templateBuilder.Append("" />rn");
- templateBuilder.Append(" <input name="topicid" type="hidden" value="");
- templateBuilder.Append(topicid.ToString());
- templateBuilder.Append("" />rn");
- templateBuilder.Append(" <input name="operat" type="hidden" value="delposts" />rn");
- templateBuilder.Append(" <input name="pid" type="hidden" />rn");
- if (ismoder==1)
- {
- templateBuilder.Append(" <div style="display:none;width:165px;" id="modlayer">rn");
- templateBuilder.Append(" <span>选中</span><strong id="modcount">1</strong><span>篇: </span>rn");
- templateBuilder.Append(" <a onclick="modaction('banpost')" href="javascript:;">屏蔽</a>rn");
- templateBuilder.Append(" <a onclick="modaction('delposts')" href="javascript:;">删除</a>rn");
- templateBuilder.Append(" </div>rn");
- } //end if
- templateBuilder.Append(" <div id="postsContainer">rn");
- int post__loop__id=0;
- foreach(ShowtopicPagePostInfo post in postlist)
- {
- post__loop__id++;
- templateBuilder.Append(" <table id="");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("" summary="");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("" cellspacing="0" cellpadding="0" class="topic_table">rn");
- templateBuilder.Append(" <tbody>rn");
- templateBuilder.Append(" <tr>rn");
- templateBuilder.Append(" <td class="postauthor" id="");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("">rn");
- if (post.Posterid!=-1)
- {
- templateBuilder.Append(" <!-- member menu -->rn");
- templateBuilder.Append(" <div class="popupmenu_popup userinfopanel" id="");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append(loopi.ToString());
- templateBuilder.Append("" style="display:none; clip: rect(auto auto auto auto); position:absolute;" initialized ctrlkey="userinfo2">rn");
- templateBuilder.Append(" <div class="popavatar">rn");
- templateBuilder.Append(" <div id="");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append(loopi.ToString());
- templateBuilder.Append("_ma"></div>rn");
- templateBuilder.Append(" <ul class="profile_side">rn");
- templateBuilder.Append(" <li class="post_pm"><a onclick="floatwin('open_postpm', this.href, 600, 410, '600,0');doane(event);" href="usercppostpm.aspx?msgtoid=");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append("" target="_blank">发送短消息</a></li>rn");
- if (useradminid==1||useradminid==2)
- {
- templateBuilder.Append(" <li class="edit_user"><a href="modcp.aspx?operation=edituser&op=edit&uid=");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append("" target="_blank">编辑该用户</a></li>rn");
- } //end if
- templateBuilder.Append(" </ul>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="popuserinfo">rn");
- templateBuilder.Append(" <dl class="s_clear">rn");
- if (Utils.InArray("uid",userfaceshow))
- {
- templateBuilder.Append("<dt>UID</dt><dd>");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append("</dd>rn");
- } //end if
- if (Utils.InArray("bday",userfaceshow))
- {
- templateBuilder.Append("<dt>生日</dt><dd>");
- templateBuilder.Append(post.Bday.ToString().Trim());
- templateBuilder.Append("</dd>rn");
- } //end if
- if (Utils.InArray("posts",userfaceshow))
- {
- templateBuilder.Append("<dt>帖子</dt><dd>");
- templateBuilder.Append(post.Posts.ToString().Trim());
- templateBuilder.Append("</dd>rn");
- } //end if
- if (Utils.InArray("digestposts",userfaceshow))
- {
- templateBuilder.Append("<dt>精华</dt><dd>");
- templateBuilder.Append(post.Digestposts.ToString().Trim());
- templateBuilder.Append("</dd>rn");
- } //end if
- if (Utils.InArray("credits",userfaceshow))
- {
- templateBuilder.Append("<dt>积分</dt><dd>");
- templateBuilder.Append(post.Credits.ToString().Trim());
- templateBuilder.Append("</dd>rn");
- } //end if
- if (score[1].ToString().Trim()!="" && Utils.InArray("extcredits1",userfaceshow))
- {
- templateBuilder.Append("<dt>" + score[1].ToString().Trim() + "</dt><dd>");
- templateBuilder.Append(post.Extcredits1.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[1].ToString().Trim() + "</dd>rn");
- } //end if
- if (score[2].ToString().Trim()!="" && Utils.InArray("extcredits2",userfaceshow))
- {
- templateBuilder.Append("<dt>" + score[2].ToString().Trim() + "</dt><dd>");
- templateBuilder.Append(post.Extcredits2.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[2].ToString().Trim() + "</dd>rn");
- } //end if
- if (score[3].ToString().Trim()!="" && Utils.InArray("extcredits3",userfaceshow))
- {
- templateBuilder.Append("<dt>" + score[3].ToString().Trim() + "</dt><dd>");
- templateBuilder.Append(post.Extcredits3.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[3].ToString().Trim() + "</dd>rn");
- } //end if
- if (score[4].ToString().Trim()!="" && Utils.InArray("extcredits4",userfaceshow))
- {
- templateBuilder.Append("<dt>" + score[4].ToString().Trim() + "</dt><dd>");
- templateBuilder.Append(post.Extcredits4.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[4].ToString().Trim() + "</dd>rn");
- } //end if
- if (score[5].ToString().Trim()!="" && Utils.InArray("extcredits5",userfaceshow))
- {
- templateBuilder.Append("<dt>" + score[5].ToString().Trim() + "</dt><dd>");
- templateBuilder.Append(post.Extcredits5.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[5].ToString().Trim() + "</dd>rn");
- } //end if
- if (score[6].ToString().Trim()!="" && Utils.InArray("extcredits6",userfaceshow))
- {
- templateBuilder.Append("<dt>" + score[6].ToString().Trim() + "</dt><dd>");
- templateBuilder.Append(post.Extcredits6.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[6].ToString().Trim() + "</dd>rn");
- } //end if
- if (score[7].ToString().Trim()!="" && Utils.InArray("extcredits7",userfaceshow))
- {
- templateBuilder.Append("<dt>" + score[7].ToString().Trim() + "</dt><dd>");
- templateBuilder.Append(post.Extcredits7.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[7].ToString().Trim() + "</dd>rn");
- } //end if
- if (score[8].ToString().Trim()!="" && Utils.InArray("extcredits8",userfaceshow))
- {
- templateBuilder.Append("<dt>" + score[8].ToString().Trim() + "</dt><dd>");
- templateBuilder.Append(post.Extcredits8.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[8].ToString().Trim() + "</dd>rn");
- } //end if
- if (Utils.InArray("gender",userfaceshow))
- {
- templateBuilder.Append("<dt>性别</dt><dd><script type="text/javascript">document.write(displayGender(");
- templateBuilder.Append(post.Gender.ToString().Trim());
- templateBuilder.Append("));</");
- templateBuilder.Append("script></dd>rn");
- } //end if
- if (Utils.InArray("location",userfaceshow))
- {
- templateBuilder.Append("<dt>来自</dt><dd>");
- templateBuilder.Append(post.Location.ToString().Trim());
- templateBuilder.Append("</dd>rn");
- } //end if
- if (Utils.InArray("oltime",userfaceshow))
- {
- templateBuilder.Append("<dt>在线时间</dt><dd>");
- templateBuilder.Append(post.Oltime.ToString().Trim());
- templateBuilder.Append("</dd>rn");
- } //end if
- if (Utils.InArray("joindate",userfaceshow))
- {
- templateBuilder.Append("<dt>注册时间</dt><dd>rn");
- templateBuilder.Append(Convert.ToDateTime(post.Joindate).ToString("yyyy-MM-dd"));
- templateBuilder.Append("</dd>rn");
- } //end if
- if (Utils.InArray("lastvisit",userfaceshow))
- {
- templateBuilder.Append("<dt>最后登录</dt><dd>rn");
- templateBuilder.Append(Convert.ToDateTime(post.Lastvisit).ToString("yyyy-MM-dd"));
- templateBuilder.Append("</dd>rn");
- } //end if
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" <div class="imicons s_clear">rn");
- if (post.Msn!="")
- {
- templateBuilder.Append(" <a href="mailto:");
- templateBuilder.Append(post.Msn.ToString().Trim());
- templateBuilder.Append("" target="_blank" class="msn">");
- templateBuilder.Append(post.Msn.ToString().Trim());
- templateBuilder.Append("</a>rn");
- } //end if
- if (post.Skype!="")
- {
- templateBuilder.Append(" <a href="skype:");
- templateBuilder.Append(post.Skype.ToString().Trim());
- templateBuilder.Append("" target="_blank" class="skype">");
- templateBuilder.Append(post.Skype.ToString().Trim());
- templateBuilder.Append("</a>rn");
- } //end if
- if (post.Icq!="")
- {
- templateBuilder.Append(" <a href="http://wwp.icq.com/scripts/search.dll?to=");
- templateBuilder.Append(post.Icq.ToString().Trim());
- templateBuilder.Append("" target="_blank" class="icq">");
- templateBuilder.Append(post.Icq.ToString().Trim());
- templateBuilder.Append("</a>rn");
- } //end if
- if (post.Qq!="")
- {
- templateBuilder.Append(" <a href="http://wpa.qq.com/msgrd?V=1&Uin=");
- templateBuilder.Append(post.Qq.ToString().Trim());
- templateBuilder.Append("&Site=");
- templateBuilder.Append(config.Forumtitle.ToString().Trim());
- templateBuilder.Append("&Menu=yes" target="_blank" class="qq">");
- templateBuilder.Append(post.Qq.ToString().Trim());
- templateBuilder.Append("</a>rn");
- } //end if
- if (post.Yahoo!="")
- {
- templateBuilder.Append(" <a href="http://edit.yahoo.com/config/send_webmesg?.target=");
- templateBuilder.Append(post.Yahoo.ToString().Trim());
- templateBuilder.Append("&.src=pg" target="_blank" class="yahoo">");
- templateBuilder.Append(post.Yahoo.ToString().Trim());
- templateBuilder.Append("</a>rn");
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="imicons s_clear">rn");
- aspxrewriteurl = this.UserInfoAspxRewrite(post.Posterid);
-
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(aspxrewriteurl.ToString());
- templateBuilder.Append("" target="_blank" class="public_info">查看公共资料</a>rn");
- templateBuilder.Append(" <a href="search.aspx?posterid=");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append("" class="all_topic">搜索帖子</a> rn");
- if (useradminid>0)
- {
- if (admininfo.Allowviewip==1)
- {
- templateBuilder.Append(" <a onclick="floatwin('open_getip', this.href, 400, 170, '600,0');doane(event);" href="getip.aspx?pid=");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("&topicid=");
- templateBuilder.Append(topicid.ToString());
- templateBuilder.Append("" title="查看IP" class="ip">查看IP</a>rn");
- } //end if
- if (admininfo.Allowbanuser==1)
- {
- templateBuilder.Append(" <a href="useradmin.aspx?action=banuser&uid=");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append("" onclick="floatwin('open_mods', this.href, 250, 270, '600,0');doane(event);" title="禁止用户" class="forbid_user">禁止用户</a>rn");
- } //end if
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <!-- member menu -->rn");
- } //end if
- if (post__loop__id==postlist.Count)
- {
- templateBuilder.Append(" <a name="lastpost"></a>rn");
- } //end if
- if (post.Posterid!=-1)
- {
- templateBuilder.Append(" <!--register user-->rn");
- templateBuilder.Append(" <cite>rn");
- templateBuilder.Append(" <span rn");
- if (post.Onlinestate==1)
- {
- templateBuilder.Append("class="onlineyes" title="在线"rn");
- }
- else
- {
- templateBuilder.Append("class="onlineno" title="未在线"rn");
- } //end if
- templateBuilder.Append(">");
- templateBuilder.Append(post.Poster.ToString().Trim());
- templateBuilder.Append("</span>rn");
- templateBuilder.Append(" </cite>rn");
- templateBuilder.Append(" <div id="");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append(loopi.ToString());
- templateBuilder.Append("_a">rn");
- if (config.Showavatars==1)
- {
- templateBuilder.Append(" <div class="avatar">rn");
- string avatarurl = Avatars.GetAvatarUrl(post.Posterid);
-
- templateBuilder.Append(" <img src="");
- templateBuilder.Append(avatarurl.ToString());
- templateBuilder.Append("" onerror="this.onerror=null;this.src='");
- templateBuilder.Append(forumpath.ToString());
- templateBuilder.Append("templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/images/noavatar_medium.gif';" alt="头像" id="memberinfo_");
- templateBuilder.Append(loopi.ToString());
- templateBuilder.Append("" onmouseover="showauthor(this,");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append(loopi.ToString());
- templateBuilder.Append(")"/>rn");
- templateBuilder.Append(" </div>rn");
- } //end if
- if (post.Nickname!="")
- {
- templateBuilder.Append(" <p><em>");
- templateBuilder.Append(post.Nickname.ToString().Trim());
- templateBuilder.Append("</em></p>rn");
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <p>rn");
- templateBuilder.Append(" <script type="text/javascript">rn");
- templateBuilder.Append(" ShowStars(");
- templateBuilder.Append(post.Stars.ToString().Trim());
- templateBuilder.Append(", ");
- templateBuilder.Append(config.Starthreshold.ToString().Trim());
- templateBuilder.Append(");rn");
- templateBuilder.Append(" </");
- templateBuilder.Append("script>rn");
- templateBuilder.Append(" </p>rn");
- templateBuilder.Append(" <ul class="otherinfo">rn");
- if (config.Userstatusby==1)
- {
- templateBuilder.Append(" <li><label>组别</label>");
- templateBuilder.Append(post.Status.ToString().Trim());
- templateBuilder.Append("</li>rn");
- } //end if
- if (Utils.InArray("uid",postleftshow))
- {
- templateBuilder.Append("<li><label>UID</label>");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append("</li>rn");
- } //end if
- if (Utils.InArray("bday",postleftshow))
- {
- templateBuilder.Append("<li><label>生日</label>");
- templateBuilder.Append(post.Bday.ToString().Trim());
- templateBuilder.Append("</li>rn");
- } //end if
- if (Utils.InArray("posts",postleftshow))
- {
- templateBuilder.Append("<li><label>帖子</label>");
- templateBuilder.Append(post.Posts.ToString().Trim());
- templateBuilder.Append("</li>rn");
- } //end if
- if (Utils.InArray("digestposts",postleftshow))
- {
- templateBuilder.Append("<li><label>精华</label>");
- templateBuilder.Append(post.Digestposts.ToString().Trim());
- templateBuilder.Append("</li>rn");
- } //end if
- if (Utils.InArray("credits",postleftshow))
- {
- templateBuilder.Append("<li><label>积分</label>");
- templateBuilder.Append(post.Credits.ToString().Trim());
- templateBuilder.Append("</li>rn");
- } //end if
- if (score[1].ToString().Trim()!="" && Utils.InArray("extcredits1",postleftshow))
- {
- templateBuilder.Append("<li><label>" + score[1].ToString().Trim() + "</label>");
- templateBuilder.Append(post.Extcredits1.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[1].ToString().Trim() + "</li>rn");
- } //end if
- if (score[2].ToString().Trim()!="" && Utils.InArray("extcredits2",postleftshow))
- {
- templateBuilder.Append("<li><label>" + score[2].ToString().Trim() + "</label>");
- templateBuilder.Append(post.Extcredits2.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[2].ToString().Trim() + "</li>rn");
- } //end if
- if (score[3].ToString().Trim()!="" && Utils.InArray("extcredits3",postleftshow))
- {
- templateBuilder.Append("<li><label>" + score[3].ToString().Trim() + "</label>");
- templateBuilder.Append(post.Extcredits3.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[3].ToString().Trim() + "</li>rn");
- } //end if
- if (score[4].ToString().Trim()!="" && Utils.InArray("extcredits4",postleftshow))
- {
- templateBuilder.Append("<li><label>" + score[4].ToString().Trim() + "</label>");
- templateBuilder.Append(post.Extcredits4.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[4].ToString().Trim() + "</li>rn");
- } //end if
- if (score[5].ToString().Trim()!="" && Utils.InArray("extcredits5",postleftshow))
- {
- templateBuilder.Append("<li><label>" + score[5].ToString().Trim() + "</label>");
- templateBuilder.Append(post.Extcredits5.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[5].ToString().Trim() + "</li>rn");
- } //end if
- if (score[6].ToString().Trim()!="" && Utils.InArray("extcredits6",postleftshow))
- {
- templateBuilder.Append("<li><label>" + score[6].ToString().Trim() + "</label>");
- templateBuilder.Append(post.Extcredits6.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[6].ToString().Trim() + "</li>rn");
- } //end if
- if (score[7].ToString().Trim()!="" && Utils.InArray("extcredits7",postleftshow))
- {
- templateBuilder.Append("<li><label>" + score[7].ToString().Trim() + "</label>");
- templateBuilder.Append(post.Extcredits7.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[7].ToString().Trim() + "</li>rn");
- } //end if
- if (score[8].ToString().Trim()!="" && Utils.InArray("extcredits8",postleftshow))
- {
- templateBuilder.Append("<li><label>" + score[8].ToString().Trim() + "</label>");
- templateBuilder.Append(post.Extcredits8.ToString().Trim());
- templateBuilder.Append(" " + scoreunit[8].ToString().Trim() + "</li>rn");
- } //end if
- if (Utils.InArray("gender",postleftshow))
- {
- templateBuilder.Append("<li><label>性别</label><script type="text/javascript">document.write(displayGender(");
- templateBuilder.Append(post.Gender.ToString().Trim());
- templateBuilder.Append("));</");
- templateBuilder.Append("script></li>rn");
- } //end if
- if (Utils.InArray("location",postleftshow))
- {
- templateBuilder.Append("<li><label>来自</label>");
- templateBuilder.Append(post.Location.ToString().Trim());
- templateBuilder.Append("</li>rn");
- } //end if
- if (Utils.InArray("oltime",postleftshow))
- {
- templateBuilder.Append("<li><label>在线时间</label>");
- templateBuilder.Append(post.Oltime.ToString().Trim());
- templateBuilder.Append("</li>rn");
- } //end if
- if (Utils.InArray("joindate",postleftshow))
- {
- templateBuilder.Append("<li><label>注册时间</label>rn");
- templateBuilder.Append(Convert.ToDateTime(post.Joindate).ToString("yyyy-MM-dd"));
- templateBuilder.Append("</li>rn");
- } //end if
- if (Utils.InArray("lastvisit",postleftshow))
- {
- templateBuilder.Append("<li><label>最后登录</label>rn");
- templateBuilder.Append(Convert.ToDateTime(post.Lastvisit).ToString("yyyy-MM-dd"));
- templateBuilder.Append("</li>rn");
- } //end if
- templateBuilder.Append(" </ul>rn");
- if (config.Enablespace==1 || config.Enablealbum==1)
- {
- templateBuilder.Append(" <ul class="plug">rn");
- if (config.Enablespace==1)
- {
- templateBuilder.Append(" <li class="space">rn");
- if (post.Spaceid>0)
- {
- templateBuilder.Append("<a href="");
- templateBuilder.Append(spaceurl.ToString());
- templateBuilder.Append("space/?uid=");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append("">个人空间</a>rn");
- }
- else
- {
- templateBuilder.Append("<a href="###" onclick="nospace('");
- templateBuilder.Append(post.Poster.ToString().Trim());
- templateBuilder.Append("');">个人空间</a>rn");
- } //end if
- templateBuilder.Append(" </li>rn");
- } //end if
- if (config.Enablealbum==1)
- {
- templateBuilder.Append(" <li class="album"><a href="showalbumlist.aspx?uid=");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append("">相册</a></li>rn");
- } //end if
- templateBuilder.Append(" </ul>rn");
- } //end if
- if (post.Medals!="")
- {
- templateBuilder.Append(" <div class="medals">");
- templateBuilder.Append(post.Medals.ToString().Trim());
- templateBuilder.Append("</div>rn");
- } //end if
- }
- else
- {
- templateBuilder.Append(" <cite style="padding-left:15px;">rn");
- templateBuilder.Append(" <em id="traveler_ip_");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("" name="traveler_ip" style="display:none">");
- templateBuilder.Append(post.Ip.ToString().Trim());
- templateBuilder.Append("</em>rn");
- if (useradminid>0 && admininfo.Allowviewip==1)
- {
- templateBuilder.Append(" <a href="getip.aspx?pid=");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("&topicid=");
- templateBuilder.Append(topicid.ToString());
- templateBuilder.Append("" onclick="floatwin('open_getip', this.href, 400, 170, '600,0');doane(event);" title="查看IP"><img src="templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/images/ip.gif" alt="查看IP"/></a>rn");
- } //end if
- templateBuilder.Append(" </cite>rn");
- templateBuilder.Append(" <p><em>未注册</em></p>rn");
- } //end if
- templateBuilder.Append(" </td>rn");
- templateBuilder.Append(" <td class="postcontent">rn");
- templateBuilder.Append(" <div class="postinfo">rn");
- templateBuilder.Append(" <em class="hidden"><a href="");
- templateBuilder.Append(UserInfoAspxRewrite(post.Posterid).ToString().Trim());
- templateBuilder.Append("">");
- templateBuilder.Append(post.Poster.ToString().Trim());
- templateBuilder.Append("</a></em>rn");
- if (topic.Special==4)
- {
- templateBuilder.Append(" <em>rn");
- if (post.Debateopinion==1)
- {
- templateBuilder.Append(" 正方rn");
- }
- else if (post.Debateopinion==2)
- {
- templateBuilder.Append(" 反方rn");
- }
- else
- {
- templateBuilder.Append(" 辩论主题 [<a href="");
- templateBuilder.Append(ShowDebateAspxRewrite(topicid).ToString());
- templateBuilder.Append("">辩论模式</a>]rn");
- } //end if
- templateBuilder.Append(" </em>rn");
- } //end if
- templateBuilder.Append(" <em>rn");
- String olimg = OnlineUsers.GetGroupImg(post.Groupid);
-
- templateBuilder.Append(" ");
- templateBuilder.Append(olimg.ToString());
- templateBuilder.Append("rn");
- templateBuilder.Append(Convert.ToDateTime(post.Postdatetime).ToString("yyyy-MM-dd HH:mm"));
- templateBuilder.Append("</em>rn");
- if (post.Posterid!=-1)
- {
- templateBuilder.Append(" <em>rn");
- if (onlyauthor=="1" || onlyauthor=="2")
- {
- aspxrewriteurl = this.ShowTopicAspxRewrite(topicid,0);
-
- templateBuilder.Append(" <a href="");
- templateBuilder.Append(aspxrewriteurl.ToString());
- templateBuilder.Append("">显示全部</a> rn");
- }
- else
- {
- if (topic.Posterid==post.Posterid)
- {
- templateBuilder.Append(" |<a href="showtopic.aspx?topicid=");
- templateBuilder.Append(topicid.ToString());
- templateBuilder.Append("&forumpage=");
- templateBuilder.Append(forumpageid.ToString());
- templateBuilder.Append("&onlyauthor=1&posterid=");
- templateBuilder.Append(topic.Posterid.ToString().Trim());
- templateBuilder.Append("">只看楼主</a> rn");
- }
- else
- {
- templateBuilder.Append(" |<a href="showtopic.aspx?topicid=");
- templateBuilder.Append(topicid.ToString());
- templateBuilder.Append("&forumpage=");
- templateBuilder.Append(forumpageid.ToString());
- templateBuilder.Append("&onlyauthor=2&posterid=");
- templateBuilder.Append(post.Posterid.ToString().Trim());
- templateBuilder.Append("">只看该用户</a> rn");
- } //end if
- } //end if
- templateBuilder.Append(" </em> rn");
- } //end if
- templateBuilder.Append(" <span class="right">rn");
- templateBuilder.Append(" <a href="###" class="floor" title="复制帖子链接到剪贴板" onclick="setcopy(window.location.toString().replace(/#(.*?)$/ig, '') + '#");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("', '已经复制到剪贴板')">rn");
- if (post.Postnocustom!="")
- {
- templateBuilder.Append(" ");
- templateBuilder.Append(post.Postnocustom.ToString().Trim());
- templateBuilder.Append("rn");
- }
- else
- {
- templateBuilder.Append(" ");
- templateBuilder.Append(post.Id.ToString().Trim());
- templateBuilder.Append("<sup>#</sup>rn");
- } //end if
- templateBuilder.Append(" </a>rn");
- templateBuilder.Append(" </span>rn");
- templateBuilder.Append(" <div class="msgfsize right">rn");
- templateBuilder.Append(" <label style="margin-left:4px;">字体大小: </label>rn");
- templateBuilder.Append(" <small title="正常" onclick="$('message");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("').className='t_msgfont'"><b>t</b></small>rn");
- templateBuilder.Append(" <big title="放大" onclick="$('message");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("').className='t_bigfont'"><b>T</b></big>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="change_topic right">rn");
- if (userid!=-1)
- {
- templateBuilder.Append("<script type="text/javascript">rn");
- templateBuilder.Append(" show_report_button(");
- templateBuilder.Append(forumid.ToString());
- templateBuilder.Append(");rn");
- templateBuilder.Append("</");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<span class="pipe">|</span>rn");
- if (usergroupinfo.Raterange!="" && post.Posterid!=-1)
- {
- if (post.Layer!=0)
- {
- templateBuilder.Append(" <a href="topicadmin.aspx?action=rate&forumid=");
- templateBuilder.Append(forumid.ToString());
- templateBuilder.Append("&topicid=");
- templateBuilder.Append(topic.Tid.ToString().Trim());
- templateBuilder.Append("&postid=");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("&operat=rate" onclick="floatwin('open_mods', this.href, 250, 270);return false;">评分</a><span class="pipe">|</span>rn");
- } //end if
- } //end if
- } //end if
- if (ismoder==1)
- {
- if (post.Ratetimes>0)
- {
- templateBuilder.Append(" <a href="topicadmin.aspx?action=cancelrate&forumid=");
- templateBuilder.Append(forumid.ToString());
- templateBuilder.Append("&topicid=");
- templateBuilder.Append(topic.Tid.ToString().Trim());
- templateBuilder.Append("&postid=");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append(""onclick="floatwin('open_mods', this.href, 600, 410);return false;">撤销评分</a><span class="pipe">|</span>rn");
- } //end if
- if (post.Id==1 && topic.Special==2)
- {
- if (topic.Replies>0)
- {
- templateBuilder.Append(" <a href="topicadmin.aspx?action=bonus&forumid=");
- templateBuilder.Append(forumid.ToString());
- templateBuilder.Append("&topicid=");
- templateBuilder.Append(topic.Tid.ToString().Trim());
- templateBuilder.Append("&operat=bonus" onclick="floatwin('open_mods', this.href, 400, 380);return false;">结帖</a><span class="pipe">|</span>rn");
- } //end if
- } //end if
- }
- else
- {
- if (post.Posterid!=-1 && userid==post.Posterid)
- {
- if (post.Id==1 && topic.Special==2)
- {
- if (topic.Replies>0)
- {
- templateBuilder.Append(" <a href="topicadmin.aspx?action=bonus&forumid=");
- templateBuilder.Append(forumid.ToString());
- templateBuilder.Append("&topicid=");
- templateBuilder.Append(topic.Tid.ToString().Trim());
- templateBuilder.Append("&operat=bonus" onclick="floatwin('open_mods', this.href, 400, 380);return false;">结帖</a><span class="pipe">|</span>rn");
- } //end if
- } //end if
- } //end if
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div> rn");
- templateBuilder.Append(" <div id="ad_thread2_" + post__loop__id.ToString() + ""></div>rn");
- templateBuilder.Append(" <div id="ad_thread3_" + post__loop__id.ToString() + ""></div>rn");
- templateBuilder.Append(" <div class="postmessage defaultpost">rn");
- if (post.Invisible!=-2 || ismoder==1)
- {
- if (topic.Identify>0 && post.Id==1)
- {
- templateBuilder.Append(" <div class="threadstamp" onclick="this.style.display='none';"><img src="images/identify/");
- templateBuilder.Append(topicidentify.Filename.ToString().Trim());
- templateBuilder.Append("" alt="点击关闭鉴定图章" title="点击关闭鉴定图章" /></div>rn");
- } //end if
- if (ismoder==1 && post.Invisible==-2)
- {
- templateBuilder.Append(" <div class="hintinfo">提示: 该帖已被屏蔽, 您拥有管理权限, 以下是帖子内容</div> rn");
- } //end if
- if (post.Layer!=0)
- {
- templateBuilder.Append("<h2>");
- templateBuilder.Append(post.Title.ToString().Trim());
- templateBuilder.Append("</h2>rn");
- } //end if
- templateBuilder.Append(" <div id="topictag"></div>rn");
- templateBuilder.Append(" <div id="message");
- templateBuilder.Append(post.Pid.ToString().Trim());
- templateBuilder.Append("" class="t_msgfont">rn");
- if (post.Id==1)
- {
- templateBuilder.Append(" <div id="firstpost">rn");
- } //end if
- templateBuilder.Append(" ");
- templateBuilder.Append(post.Message.ToString().Trim());
- templateBuilder.Append("rn");
- if (post.Id==1)
- {
- templateBuilder.Append(" </div>rn");
- } //end if
- if (post.Id==1 && enabletag)
- {
- templateBuilder.Append(" <script type="text/javascript">function forumhottag_callback(data){ tags = data; }</");
- templateBuilder.Append("script>rn");
- templateBuilder.Append(" <script type="text/javascript" src="cache/tag/hottags_forum_cache_jsonp.txt"></");
- templateBuilder.Append("script>rn");
- int hastag = Topics.GetMagicValue(topic.Magic, MagicType.TopicTag);
-
- if (hastag==1)
- {
- templateBuilder.Append(" <script type="text/javascript">getTopicTags(");
- templateBuilder.Append(topic.Tid.ToString().Trim());
- templateBuilder.Append(");</");
- templateBuilder.Append("script>rn");
- }
- else
- {
- templateBuilder.Append(" <script type="text/javascript">parsetag();</");
- templateBuilder.Append("script>rn");
- } //end if
- } //end if
- templateBuilder.Append(" </div>rn");
- if (post.Lastedit!="")
- {
- templateBuilder.Append(" <div class="lastediter"><img src="templates/");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("/images/lastedit.gif" alt="最后编辑"/>");
- templateBuilder.Append(post.Lastedit.ToString().Trim());
- templateBuilder.Append("</div>rn");
- } //end if
- if (attachmentlist.Count>0)
- {
- int currentattachcount = 0;
-
- int attachtemp__loop__id=0;
- foreach(ShowtopicPageAttachmentInfo attachtemp in attachmentlist)
- {
- attachtemp__loop__id++;
- if (attachtemp.Pid==post.Pid)
- {
- currentattachcount = currentattachcount + 1;
-
- } //end if
- } //end loop
- if (currentattachcount>0)
- {
- int getattachperm = attachmentlist[0].Getattachperm;
-
- if (getattachperm==1)
- {
- templateBuilder.Append(" <div class="postattachlist">rn");
- templateBuilder.Append(" <div id="BOX_overlay" style="background: #000; position: absolute; z-index:100; filter:alpha(opacity=50);-moz-opacity: 0.6;opacity: 0.6;"></div>rn");
- templateBuilder.Append(" <div id="attachpaymentlog" style="display: none; background :Aliceblue; border:0px solid #999; width:503px; height:443px;"></div>rn");
- templateBuilder.Append(" <div id="buyattach" style="display: none; background :Aliceblue; border:0px solid #999; width:503px; height:323px;"></div>rn");
- int attachment__loop__id=0;
- foreach(ShowtopicPageAttachmentInfo attachment in attachmentlist)
- {
- attachment__loop__id++;
- if (attachment.Pid==post.Pid)
- {
- if (attachment.Allowread==1)
- {
- templateBuilder.Append("<dl class="rn");
- if (attachment.Attachimgpost==1)
- {
- templateBuilder.Append("t_attachlist_imgrn");
- }
- else
- {
- templateBuilder.Append("t_attachlistrn");
- } //end if
- templateBuilder.Append(" attachimg">rn");
- templateBuilder.Append(" <dt>rn");
- if (attachment.Attachimgpost==1)
- {
- templateBuilder.Append(" <img class="absmiddle" border="0" alt="" src="images/attachicons/image.gif"/>rn");
- }
- else if (attachment.Filename.Trim().ToLower().EndsWith("rar")||attachment.Filename.Trim().ToLower().EndsWith("zip"))
- {
- templateBuilder.Append(" <img class="absmiddle" border="0" alt="" src="images/attachicons/rar.gif"/>rn");
- }
- else
- {
- templateBuilder.Append(" <img class="absmiddle" border="0" alt="" src="images/attachicons/attachment.gif"/>rn");
- } //end if
- templateBuilder.Append(" <strong>rn");
- if (attachment.Attachprice<=0)
- {
- templateBuilder.Append(" <a target="_blank" href="attachment.aspx?attachmentid=");
- templateBuilder.Append(attachment.Aid.ToString().Trim());
- templateBuilder.Append("">");
- templateBuilder.Append(attachment.Attachment.ToString().Trim());
- templateBuilder.Append("</a>rn");
- }
- else
- {
- if (attachment.Isbought==1 || post.Posterid==userid)
- {
- templateBuilder.Append(" <a target="_blank" href="attachment.aspx?attachmentid=");
- templateBuilder.Append(attachment.Aid.ToString().Trim());
- templateBuilder.Append("">");
- templateBuilder.Append(attachment.Attachment.ToString().Trim());
- templateBuilder.Append("</a>rn");
- }
- else
- {
- if (usergroupinfo.Radminid==1)
- {
- templateBuilder.Append(" <a target="_blank" href="attachment.aspx?attachmentid=");
- templateBuilder.Append(attachment.Aid.ToString().Trim());
- templateBuilder.Append("">");
- templateBuilder.Append(attachment.Attachment.ToString().Trim());
- templateBuilder.Append("</a>rn");
- }
- else
- {
- templateBuilder.Append(" ");
- templateBuilder.Append(attachment.Attachment.ToString().Trim());
- templateBuilder.Append("rn");
- } //end if
- } //end if
- } //end if
- templateBuilder.Append(" </strong>rn");
- templateBuilder.Append(" <em>(<script type="text/javascript">ShowFormatBytesStr(");
- templateBuilder.Append(attachment.Filesize.ToString().Trim());
- templateBuilder.Append(");</");
- templateBuilder.Append("script>)</em>rn");
- bool viewattach = false;
-
- if (attachment.Attachprice>0)
- {
- templateBuilder.Append(" <p>rn");
- templateBuilder.Append(" 售价(");
- templateBuilder.Append(Scoresets.GetTopicAttachCreditsTransName().ToString().Trim());
- templateBuilder.Append("):<strong>");
- templateBuilder.Append(attachment.Attachprice.ToString().Trim());
- templateBuilder.Append(" </strong> rn");
- templateBuilder.Append(" [<a onclick="BOX_show('attachpaymentlog', ");
- templateBuilder.Append(attachment.Aid.ToString().Trim());
- templateBuilder.Append(");" href="javascript:void(0);">记录</a>]rn");
- viewattach = attachment.Isbought==1;
-
- if (post.Posterid!=userid && !viewattach)
- {
- if (usergroupinfo.Radminid!=1)
- {
- templateBuilder.Append(" [<a onclick="BOX_show('buyattach', ");
- templateBuilder.Append(attachment.Aid.ToString().Trim());
- templateBuilder.Append(");" href="javascript:void(0);">购买</a>] rn");
- } //end if
- } //end if
- templateBuilder.Append(" </p>rn");
- } //end if
- templateBuilder.Append(" </dt>rn");
- templateBuilder.Append(" <dd>rn");
- templateBuilder.Append(" <p style="padding:3px 0;">rn");
- if (attachment.Description!="")
- {
- templateBuilder.Append(attachment.Description.ToString().Trim());
- templateBuilder.Append("rn");
- } //end if
- templateBuilder.Append("<span style="color:#666">(");
- templateBuilder.Append(attachment.Postdatetime.ToString().Trim());
- templateBuilder.Append(")</span></p>rn");
- if (attachment.Preview!="")
- {
- templateBuilder.Append(" <p>");
- templateBuilder.Append(attachment.Preview.ToString().Trim());
- templateBuilder.Append("</p>rn");
- } //end if
- templateBuilder.Append(" <p>rn");
- if (post.Posterid==userid || usergroupinfo.Radminid==1)
- {
- viewattach = true;
-
- } //end if
- templateBuilder.Append(" <a name="attach");
- templateBuilder.Append(attachment.Aid.ToString().Trim());
- templateBuilder.Append(""></a>rn");
- if (UserAuthority.DownloadAttachment(forum,userid,usergroupinfo))
- {
- templateBuilder.Append("<!--当用户有下载附件权限时-->rn");
- if (config.Showimages==1)
- {
- if (config.Attachimgpost==1)
- {
- if (attachment.Attachimgpost==1)
- {
- if (attachment.Attachprice<=0 || viewattach)
- {
- templateBuilder.Append(" <img alt="");
- templateBuilder.Append(attachment.Attachment.ToString().Trim());
- templateBuilder.Append("" rn");
- if (config.Showattachmentpath==1)
- {
- if (attachment.Filename.IndexOf("http")>=0)
- {
- templateBuilder.Append(" src="");
- templateBuilder.Append(attachment.Filename.ToString().Trim());
- templateBuilder.Append(""rn");
- }
- else
- {
- templateBuilder.Append(" src="upload/");
- templateBuilder.Append(attachment.Filename.ToString().Trim());
- templateBuilder.Append(""rn");
- } //end if
- }
- else
- {
- templateBuilder.Append(" src="attachment.aspx?attachmentid=");
- templateBuilder.Append(attachment.Aid.ToString().Trim());
- templateBuilder.Append(""rn");
- } //end if
- templateBuilder.Append(" onmouseover="attachimg(this, 'mouseover')" onload="attachimg(this, 'load');" onclick="zoom(this, this.src);" />rn");
- } //end if
- } //end if
- } //end if
- } //end if
- }
- else
- {
- templateBuilder.Append(" <span class=\"attachnotdown\">您所在的用户组无法下载或查看附件</span>rn");
- } //end if
- templateBuilder.Append(" </p>rn");
- templateBuilder.Append(" </dd> rn");
- templateBuilder.Append("</dl>rn");
- }
- else
- {
- templateBuilder.Append(" <span class="notdown">你的下载权限 ");
- templateBuilder.Append(usergroupinfo.Readaccess.ToString().Trim());
- templateBuilder.Append(" 低于此附件所需权限 ");
- templateBuilder.Append(attachment.Readperm.ToString().Trim());
- templateBuilder.Append(", 你无权查看此附件</span>rn");
- } //end if
- } //end if
- } //end loop
- templateBuilder.Append(" </div>rn");
- }
- else
- {
- templateBuilder.Append(" <div class="notice">rn");
- templateBuilder.Append(" 附件:<em>您所在的用户组无法下载或查看附件</em>rn");
- templateBuilder.Append(" </div>rn");
- } //end if
- } //end if
- } //end if
- if (post.Ratetimes>0)
- {
- templateBuilder.Append("<dl class="newrate s_clear">rn");
- templateBuilder.Append(" <dt>rn");
- templateBuilder.Append(" <strong><a title="本帖最近评分记录" href="#">");