eccredit.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:7k
- <%@ Page language="c#" AutoEventWireup="false" EnableViewState="false" Inherits="Discuz.Mall.Pages.eccredit" %>
- <%@ 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 2009-9-22 17:24:48.
- 本页面代码由Discuz!NT模板引擎生成于 2009-9-22 17:24:48.
- */
- base.OnInit(e);
- templateBuilder.Capacity = 220000;
- templateBuilder.Append("<!--TheCurrent start-->rn");
- if (page_err==0)
- {
- if (ispost)
- {
- }
- else
- {
- templateBuilder.Append("<script type="text/javascript" src="javascript/ajax.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/template_eccredit.js"></");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<script type="text/javascript">rn");
- templateBuilder.Append("zoomstatus = parseInt(1);rn");
- templateBuilder.Append("</");
- templateBuilder.Append("script>rn");
- templateBuilder.Append("<div id="foruminfo">rn");
- templateBuilder.Append(" <div id="nav">rn");
- templateBuilder.Append(" <a id="A1" href="forumindex.aspx" >");
- templateBuilder.Append(config.Forumtitle.ToString().Trim());
- templateBuilder.Append("</a> » <strong>");
- templateBuilder.Append(userinfo.Username.ToString().Trim());
- templateBuilder.Append(" 的信用评价</strong>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div id="headsearch">rn");
- templateBuilder.Append(" <div id="search">rn");
- if (usergroupinfo.Allowsearch>0)
- {
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append("</div> rn");
- templateBuilder.Append("<div class="mainbox viewthread">rn");
- templateBuilder.Append(" <h1><strong>");
- templateBuilder.Append(userinfo.Username.ToString().Trim());
- templateBuilder.Append(" 的信用评价</strong></h1>rn");
- templateBuilder.Append(" <table cellspacing="0" cellpadding="0" summary="">rn");
- templateBuilder.Append(" <tr>rn");
- templateBuilder.Append(" <td class="postcontent creditbox">rn");
- templateBuilder.Append(" <h2>卖家信用</h2>rn");
- templateBuilder.Append(" <div id="sellercredit" class="creditdetail"></div>rn");
- templateBuilder.Append(" <h2>买家信用</h2>rn");
- templateBuilder.Append(" <div id="buyercredit" class="creditdetail"></div>rn");
- templateBuilder.Append(" </td>rn");
- templateBuilder.Append(" <td class="postauthor">rn");
- templateBuilder.Append(" <dl>rn");
- aspxrewriteurl = this.UserInfoAspxRewrite(userinfo.Uid);
-
- templateBuilder.Append(" <dt>发起人</dt><dd><a href="");
- templateBuilder.Append(aspxrewriteurl.ToString());
- templateBuilder.Append("">");
- templateBuilder.Append(userinfo.Username.ToString().Trim());
- templateBuilder.Append("</a></dd>rn");
- templateBuilder.Append(" <dt>卖家信用</dt><dd><span id="sellercreditnum"></span></dd>rn");
- templateBuilder.Append(" <dt>买家信用</dt><dd><span id="buyercreditnum"></span></dd>rn");
- templateBuilder.Append(" <dt>卖家好评率</dt><dd><span id="sellergoodrate"></span></dd>rn");
- templateBuilder.Append(" <dt>买家好评率</dt><dd><span id="buyergoodrate"></span></dd>rn");
- templateBuilder.Append(" <dt>注册时间</dt><dd>");
- templateBuilder.Append(joindate.ToString());
- templateBuilder.Append("</dd>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" </td>rn");
- templateBuilder.Append(" </tr>rn");
- templateBuilder.Append(" </table>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("<div class="mainbox othergoodsinfo">rn");
- templateBuilder.Append(" <ul class="tabs">rn");
- templateBuilder.Append(" <li id="recentrate" style="display:none;"></li>rn");
- templateBuilder.Append(" <li id="fromall" class="current"><a href="#" onclick="ajaxgetrate(");
- templateBuilder.Append(userinfo.Uid.ToString().Trim());
- templateBuilder.Append(", 0, 0, '', 'fromall');">收到的所有评价</a></li>rn");
- templateBuilder.Append(" <li id="fromseller" ><a href="#" onclick="ajaxgetrate(");
- templateBuilder.Append(userinfo.Uid.ToString().Trim());
- templateBuilder.Append(", 1, 0, '', 'fromseller');">来自卖家的评价</a></li>rn");
- templateBuilder.Append(" <li id="frombuyer"><a href="#" onclick="ajaxgetrate(");
- templateBuilder.Append(userinfo.Uid.ToString().Trim());
- templateBuilder.Append(", 2, 0, '', 'frombuyer');">来自买家的评价</a></li>rn");
- templateBuilder.Append(" <li id="toothers"><a href="#" onclick="ajaxgetrate(");
- templateBuilder.Append(userinfo.Uid.ToString().Trim());
- templateBuilder.Append(", 3, 0, '', 'toothers');">给他人的评价</a></li>rn");
- templateBuilder.Append(" </ul>rn");
- templateBuilder.Append(" <div id="ratelist_html" class="creditmessage"></div>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("<script type="text/javascript">rn");
- templateBuilder.Append("var creditrulesjsondata = ");
- templateBuilder.Append(creditrulesjsondata.ToString());
- templateBuilder.Append(";rn");
- templateBuilder.Append("var templatepath = '");
- templateBuilder.Append(templatepath.ToString());
- templateBuilder.Append("';rn");
- templateBuilder.Append("var usercredit_data = ");
- templateBuilder.Append(sb_usercredit.ToString());
- templateBuilder.Append(";rn");
- templateBuilder.Append("var uid = ");
- templateBuilder.Append(userinfo.Uid.ToString().Trim());
- templateBuilder.Append(";rn");
- templateBuilder.Append("gettradecredit(usercredit_data[0].sixmonth + usercredit_data[0].sixmonthago, true, 'sellercreditnum'); //卖家信用rn");
- templateBuilder.Append("gettradecredit(usercredit_data[3].sixmonth + usercredit_data[3].sixmonthago, false, 'buyercreditnum'); //买家信用rn");
- templateBuilder.Append("loadratedata(0,3,'sellercredit','sellergoodrate'); rn");
- templateBuilder.Append("loadratedata(3,6,'buyercredit','buyergoodrate'); rn");
- templateBuilder.Append("ajaxgetrate(uid, 0, 0, '', 'fromall');rn");
- templateBuilder.Append("</");
- templateBuilder.Append("script> rn");
- } //end if
- }
- else
- {
- templateBuilder.Append("</div>rn");
- } //end if
- Response.Write(templateBuilder.ToString());
- }
- </script>