mallgoodslist.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:33k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <%@ Page language="c#" AutoEventWireup="false" EnableViewState="false" Inherits="Discuz.Web.mallgoodslist" %>
  2. <%@ Import namespace="System.Data" %>
  3. <%@ Import namespace="Discuz.Common" %>
  4. <%@ Import namespace="Discuz.Forum" %>
  5. <%@ Import namespace="Discuz.Entity" %>
  6. <script runat="server">
  7. override protected void OnInit(EventArgs e)
  8. {
  9. /* 
  10. This page was created by Discuz!NT Template Engine at 2008/5/26 11:27:38.
  11. 本页面代码由Discuz!NT模板引擎生成于 2008/5/26 11:27:38. 
  12. */
  13. base.OnInit(e);
  14. templateBuilder.Append("<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">rn");
  15. templateBuilder.Append("<html xmlns="http://www.w3.org/1999/xhtml">rn");
  16. templateBuilder.Append("<head>rn");
  17. templateBuilder.Append("<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />rn");
  18. templateBuilder.Append("" + meta.ToString() + "rn");
  19. if (pagetitle=="首页")
  20. {
  21. templateBuilder.Append("<title>" + config.Forumtitle.ToString().Trim() + " - Powered by Discuz!NT</title>rn");
  22. }
  23. else
  24. {
  25. templateBuilder.Append("<title>" + pagetitle.ToString() + " " + config.Seotitle.ToString().Trim() + " - " + config.Forumtitle.ToString().Trim() + " - Powered by Discuz!NT</title>rn");
  26. } //end if
  27. templateBuilder.Append("<link rel="icon" href="favicon.ico" type="image/x-icon" />rn");
  28. templateBuilder.Append("<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />rn");
  29. templateBuilder.Append("<!-- 调用样式表 -->rn");
  30. templateBuilder.Append("<link rel="stylesheet" href="templates/" + templatepath.ToString() + "/mall.css" type="text/css" media="all"  />rn");
  31. templateBuilder.Append("" + link.ToString() + "rn");
  32. templateBuilder.Append("<script type="text/javascript" src="javascript/template_report.js"></" + "script>rn");
  33. templateBuilder.Append("<script type="text/javascript" src="javascript/template_utils.js"></" + "script>rn");
  34. templateBuilder.Append("<script type="text/javascript" src="javascript/common.js"></" + "script>rn");
  35. templateBuilder.Append("<script type="text/javascript" src="javascript/menu.js"></" + "script>rn");
  36. templateBuilder.Append("<script type="text/javascript">rn");
  37. templateBuilder.Append(" var aspxrewrite = " + config.Aspxrewrite.ToString().Trim() + ";rn");
  38. templateBuilder.Append("</" + "script>rn");
  39. templateBuilder.Append("" + script.ToString() + "rn");
  40. templateBuilder.Append("</head>rn");
  41. templateBuilder.Append("<body>rn");
  42. templateBuilder.Append("<div id="wraper">rn");
  43. templateBuilder.Append(" <div id="header">rn");
  44. templateBuilder.Append(" <h2><img src="templates/" + templatepath.ToString() + "/images/logo.gif" alt="商城"/></h2>rn");
  45. templateBuilder.Append(" <p id="topmenu">rn");
  46. templateBuilder.Append("     <a href="" + config.Forumurl.ToString().Trim() + "">论坛</a>rn");
  47. if (config.Enablespace==1)
  48. {
  49. templateBuilder.Append("     <a href="" + config.Spaceurl.ToString().Trim() + "">" + config.Spacename.ToString().Trim() + "</a>rn");
  50. } //end if
  51. if (config.Enablealbum==1)
  52. {
  53. templateBuilder.Append("     <a href="" + config.Albumurl.ToString().Trim() + "">" + config.Albumname.ToString().Trim() + "</a>rn");
  54. } //end if
  55. if (config.Enablemall==2)
  56. {
  57. templateBuilder.Append("     <a href="mallindex" class="reg">商城</a>rn");
  58. } //end if
  59. if (userid==-1)
  60. {
  61. templateBuilder.Append(" <a href="" + forumurl.ToString() + "login.aspx" class="reg">登录</a>rn");
  62. templateBuilder.Append(" <a href="" + forumurl.ToString() + "register.aspx" class="reg">注册</a>rn");
  63. }
  64. else
  65. {
  66. templateBuilder.Append(" 欢迎: " + username.ToString() + "&nbsp;rn");
  67. templateBuilder.Append(" <a href="" + forumurl.ToString() + "logout.aspx?userkey=" + userkey.ToString() + "" class="reg">退出</a>rn");
  68. templateBuilder.Append(" <a href="" + forumurl.ToString() + "usercp.aspx" class="reg">用户中心</a>rn");
  69. if (useradminid==1)
  70. {
  71. templateBuilder.Append(" <a href="" + forumurl.ToString() + "admin/index.aspx" target="_blank"  class="reg">系统设置</a>rn");
  72. } //end if
  73. } //end if
  74. if (usergroupinfo.Allowsearch>0)
  75. {
  76. templateBuilder.Append(" <a href="" + forumurl.ToString() + "search.aspx">搜索</a>rn");
  77. } //end if
  78. templateBuilder.Append("     <a href="" + forumurl.ToString() + "help.aspx" target="_blank">帮助</a> rn");
  79. templateBuilder.Append(" </p>rn");
  80. if (headerad!="")
  81. {
  82. templateBuilder.Append("     <div id="ad">" + headerad.ToString() + "</div>rn");
  83. } //end if
  84. templateBuilder.Append(" </div>rn");
  85. templateBuilder.Append(" <div id="menu">rn");
  86. templateBuilder.Append("     <span>商城</span>rn");
  87. templateBuilder.Append(" <ul>rn");
  88. if (userid!=-1)
  89. {
  90. templateBuilder.Append(" <li><a href="" + forumurl.ToString() + "usercpinbox.aspx">短消息</a></li>rn");
  91. } //end if
  92. templateBuilder.Append(" <li><a href="" + forumurl.ToString() + "showuser.aspx">会员</a></li>rn");
  93. if (userid!=-1)
  94. {
  95. templateBuilder.Append(" <li id="my" onMouseOver="showMenu(this.id);" onMouseOut="showMenu(this.id);"><a href="###" class="mycontent">我的</a></li>rn");
  96. } //end if
  97. templateBuilder.Append(" <li><a href="" + forumurl.ToString() + "tags.aspx">标签</a></li>rn");
  98. templateBuilder.Append(" <li><a href="" + forumurl.ToString() + "showtemplate.aspx">界面</a></li>rn");
  99. templateBuilder.Append(" <li><a href="" + forumurl.ToString() + "archiver/index.aspx">简洁版本</a></li>rn");
  100. templateBuilder.Append(" <li class="noground"><a href="" + forumurl.ToString() + "onlineuser.aspx">在线</a></li>rn");
  101. templateBuilder.Append(" </ul>rn");
  102. templateBuilder.Append(" </div>rn");
  103. templateBuilder.Append(" <div id="search">rn");
  104. templateBuilder.Append(" <form method="post" action="search.aspx">rn");
  105. if (usergroupinfo.Allowsearch>0)
  106. {
  107. templateBuilder.Append(" <form method="post" action="search.aspx" target="_blank" onsubmit="bind_keyword(this);">rn");
  108. templateBuilder.Append(" <input type="hidden" name="poster" />rn");
  109. templateBuilder.Append(" <input type="hidden" name="keyword" />rn");
  110. templateBuilder.Append(" <input type="hidden" name="type" value="" />rn");
  111. templateBuilder.Append(" <input id="keywordtype" type="hidden" name="keywordtype" value="0"/>rn");
  112. templateBuilder.Append(" <div id="searchbar">rn");
  113. templateBuilder.Append(" <dl>rn");
  114. templateBuilder.Append(" <dt id="quicksearch" class="s2" onclick="showMenu(this.id, false);" onmouseover="MouseCursor(this);">帖子标题</dt>rn");
  115. templateBuilder.Append(" <dd class="textinput"><input type="text" name="keywordf" value="" class="text"/></dd>rn");
  116. templateBuilder.Append(" <dd><input name="searchsubmit" type="submit" value="" class="s3"/></dd>rn");
  117. templateBuilder.Append(" </dl>rn");
  118. templateBuilder.Append(" </div>rn");
  119. templateBuilder.Append(" </form>rn");
  120. templateBuilder.Append(" <script type="text/javascript">function bind_keyword(form){if(form.keywordtype.value=='8'){form.keyword.value='';form.poster.value=form.keywordf.value; } else { form.poster.value=''; form.keyword.value=form.keywordf.value;if(form.keywordtype.value == '2')form.type.value = 'spacepost';if(form.keywordtype.value == '3')form.type.value = 'album';}}</" + "script>rn");
  121. } //end if
  122. templateBuilder.Append(" </form>rn");
  123. templateBuilder.Append(" <strong>公告:</strong>rn");
  124. templateBuilder.Append(" <marquee direction="left" scrollamount="2" scrolldelay="1" onmouseover="this.stop();" onmouseout="this.start();">rn");
  125. int announcement__loop__id=0;
  126. foreach(DataRow announcement in announcementlist.Rows)
  127. {
  128. announcement__loop__id++;
  129. templateBuilder.Append(" " + announcement["starttime"].ToString().Trim() + "<a href="announcement.aspx#" + announcement["id"].ToString().Trim() + "">" + announcement["title"].ToString().Trim() + "</a>rn");
  130. } //end loop
  131. templateBuilder.Append(" </marquee>rn");
  132. templateBuilder.Append(" </div>rn");
  133. if (config.Enabletag==1)
  134. {
  135. templateBuilder.Append("<!--tag-->rn");
  136. templateBuilder.Append(" <script type="text/javascript" src="cache/tag/closedtags.txt"></" + "script>rn");
  137. templateBuilder.Append(" <script type="text/javascript" src="cache/tag/colorfultags.txt"></" + "script>rn");
  138. templateBuilder.Append(" <script type="text/javascript" src="javascript/template_tags.js"></" + "script> rn");
  139. templateBuilder.Append(" <script type="text/javascript" src="javascript/ajax.js"></" + "script>rn");
  140. templateBuilder.Append(" <div id="keyword">rn");
  141. templateBuilder.Append(" <div class="keywordbody">rn");
  142. templateBuilder.Append(" <cite>热门标签:</cite><ul id="mallhottags"><script type="text/javascript" src="cache/hottags_mall_cache_jsonp.txt" onerror="this.onerror=null;getajaxmallhottags();"></" + "script></ul>rn");
  143. templateBuilder.Append(" </div>rn");
  144. templateBuilder.Append(" </div>rn");
  145. templateBuilder.Append(" <!--tag end-->rn");
  146. } //end if
  147. if (page_err==0)
  148. {
  149. templateBuilder.Append("<script type="text/javascript">rn");
  150. templateBuilder.Append("var templatepath = "" + templatepath.ToString() + "";rn");
  151. templateBuilder.Append("var forumpath = "" + forumpath.ToString() + "";rn");
  152. templateBuilder.Append("var aspxrewrite = " + config.Aspxrewrite.ToString().Trim() + ";rn");
  153. templateBuilder.Append("</" + "script>rn");
  154. templateBuilder.Append("<script language="javascript" src="javascript/template_mallgoodslist.js"></" + "script>rn");
  155. templateBuilder.Append(" <div id="pageinfo">rn");
  156. templateBuilder.Append(" <em>当前位置:</em><a href="mallindex.aspx">商城首页</a> &gt;&gt; " + goodscategoryinfo.Pathlist.ToString().Trim() + "rn");
  157. templateBuilder.Append(" </div>rn");
  158. templateBuilder.Append(" <div class="mainbox sortbox">rn");
  159. templateBuilder.Append(" <dl>rn");
  160. templateBuilder.Append(" <dt>商品分类</dt>rn");
  161. templateBuilder.Append(" <dd id="categories"></dd>rn");
  162. templateBuilder.Append("            <script language="javascript">rn");
  163. templateBuilder.Append("     " + subcategoriesjson.ToString() + "rn");
  164. templateBuilder.Append("     loadcategory(" + config.Aspxrewrite.ToString().Trim() + ");rn");
  165. templateBuilder.Append("     </" + "script>rn");
  166. templateBuilder.Append("     </dl>rn");
  167. templateBuilder.Append(" </div>rn");
  168. templateBuilder.Append(" <div class="mainbox">rn");
  169. templateBuilder.Append(" <div id="contentbox">rn");
  170. templateBuilder.Append(" <div class="theadbox">rn");
  171. templateBuilder.Append(" <h4>全部商品</h4>rn");
  172. templateBuilder.Append(" <table border="0" cellpadding="0" cellspacing="0">rn");
  173. templateBuilder.Append("             <tr>rn");
  174. templateBuilder.Append("             <td class="forumallpages"><strong>" + pageid.ToString() + "</strong>&nbsp;&nbsp;/&nbsp;&nbsp;" + pagecount.ToString() + "&nbsp;&nbsp;页</td>rn");
  175. templateBuilder.Append("             <td width="10">&nbsp;</td>rn");
  176. templateBuilder.Append("             <td class="forumallpages">" + pagenumbers.ToString() + "</td>rn");
  177. templateBuilder.Append("             <td class="forumallpages3">跳转<input name="gopage" type="text" id="Text1" onKeyDown="if(event.keyCode==13) { if(parseInt('" + config.Aspxrewrite.ToString().Trim() + "')==1) {window.location='mallgoodslist-" + categoryid.ToString() + "-' + (parseInt(this.value) > 0 ? parseInt(this.value) : 1) + '" + config.Extname.ToString().Trim() + "';}else{window.location='mallgoodslist.aspx?categoryid=" + categoryid.ToString() + "&page=' + (parseInt(this.value) > 0 ? parseInt(this.value) : 1)}}" size="4" maxlength="9" class="colorblue2"/>页</td>rn");
  178. templateBuilder.Append("             </tr>rn");
  179. templateBuilder.Append("             </table>rn");
  180. templateBuilder.Append(" </div>rn");
  181. templateBuilder.Append(" <div class="commendbox">rn");
  182. templateBuilder.Append(" 排序:rn");
  183. templateBuilder.Append(" </div>rn");
  184. templateBuilder.Append(" <div class="shoplist">rn");
  185. templateBuilder.Append(" <form id="shoplist" name="shoplist" method="post" action="#">rn");
  186. templateBuilder.Append(" <table width=100% cellpadding="0" cellspacing="0" border="0">rn");
  187. templateBuilder.Append(" <thead>rn");
  188. templateBuilder.Append(" <tr>rn");
  189. templateBuilder.Append(" <th class="selectpro" colspan="2"><input class="btn" onclick="#" type="button" value="对比产品" style="margin-left:25px;" /></th>rn");
  190. templateBuilder.Append(" <th class="shoptitle">宝贝名称/卖家</th>rn");
  191. templateBuilder.Append(" <th class="ntnumbers">价格排序</th>rn");
  192. templateBuilder.Append(" <th class="ntnumbers">运费</th>rn");
  193. templateBuilder.Append(" <th class="ntnumbers">所在地</th>rn");
  194. templateBuilder.Append(" <th class="ntnumbers">剩余时间</th>rn");
  195. templateBuilder.Append(" </tr>rn");
  196. templateBuilder.Append(" </thead>rn");
  197. int goodsinfo__loop__id=0;
  198. foreach(Goodsinfo goodsinfo in goodslist)
  199. {
  200. goodsinfo__loop__id++;
  201. templateBuilder.Append(" <tbody>rn");
  202. templateBuilder.Append(" <tr class="list" onmouseover="this.className='liston'" onmouseout="this.className='list'">rn");
  203.  aspxrewriteurl = this.ShowGoodsAspxRewrite(goodsinfo.Goodsid);
  204. templateBuilder.Append(" <td><input type="checkbox" name="goodsid" value="" + goodsinfo.Goodsid.ToString().Trim() + "" /></td>rn");
  205. templateBuilder.Append(" <td><a href="" + aspxrewriteurl.ToString() + "" target="_blank">rn");
  206. if (goodsinfo.Goodspic=="")
  207. {
  208. templateBuilder.Append("         <img width="50" height="50"  src="templates/" + templatepath.ToString() + "/images/mall/nogoods.gif" onerror="this.onerror=null;this.src='" + goodsinfo.Goodspic.ToString().Trim() + "';"  title="" + goodsinfo.Title.ToString().Trim() + "">rn");
  209. }
  210. else
  211. {
  212. templateBuilder.Append("         <img width="50" height="50"  src="upload/" + goodsinfo.Goodspic.ToString().Trim() + "" onerror="this.onerror=null;this.src='" + goodsinfo.Goodspic.ToString().Trim() + "';"  title="" + goodsinfo.Title.ToString().Trim() + "">rn");
  213. } //end if
  214. templateBuilder.Append("                    </a></td>         rn");
  215. templateBuilder.Append(" <td class="goodstitle">rn");
  216. templateBuilder.Append(" <h4><a href="" + aspxrewriteurl.ToString() + "" target="_blank">" + goodsinfo.Htmltitle.ToString().Trim() + "</a></h4>rn");
  217. templateBuilder.Append(" <p>卖家:rn");
  218.  aspxrewriteurl = this.UserInfoAspxRewrite(goodsinfo.Selleruid);
  219. templateBuilder.Append("     <a href="" + aspxrewriteurl.ToString() + "" target="_blank">" + goodsinfo.Seller.ToString().Trim() + "</a></p>rn");
  220. templateBuilder.Append(" <p><a class="submitbutton" href="usercppostpm.aspx?msgtoid=" + goodsinfo.Selleruid.ToString().Trim() + "" target="_blank">给我留言</a> <a class="selectall" href="favorites.aspx?goodsid=" + goodsinfo.Goodsid.ToString().Trim() + "">收藏</a></p>rn");
  221. templateBuilder.Append(" </td>rn");
  222. templateBuilder.Append(" <!--<td class="listitem"><img src="http://img.taobao.com/2k7/sys/prepay/prepay_icon_00.gif"></td>-->rn");
  223. templateBuilder.Append(" <td><p class="price">" + goodsinfo.Price.ToString().Trim() + "</p></td>rn");
  224. templateBuilder.Append(" <td>" + goodsinfo.Ordinaryfee.ToString().Trim() + "</td>rn");
  225. templateBuilder.Append(" <td>" + goodsinfo.Locus.ToString().Trim() + "</td>rn");
  226. templateBuilder.Append(" <td>" + goodsinfo.Expiration.ToString().Trim() + "</td>rn");
  227. templateBuilder.Append(" </tr>rn");
  228. templateBuilder.Append(" </tbody>rn");
  229. } //end loop
  230. templateBuilder.Append(" </table>rn");
  231. templateBuilder.Append(" </form>rn");
  232. templateBuilder.Append(" </div>rn");
  233. templateBuilder.Append(" <div class="theadbox">rn");
  234. templateBuilder.Append("     <table border="0" cellpadding="0" cellspacing="0">rn");
  235. templateBuilder.Append("             <tr>rn");
  236. templateBuilder.Append("             <td class="forumallpages"><strong>" + pageid.ToString() + "</strong>&nbsp;&nbsp;/&nbsp;&nbsp;" + pagecount.ToString() + "&nbsp;&nbsp;页</td>rn");
  237. templateBuilder.Append("             <td width="10">&nbsp;</td>rn");
  238. templateBuilder.Append("             <td class="forumallpages">" + pagenumbers.ToString() + "</td>rn");
  239. templateBuilder.Append("             <td class="forumallpages3">跳转<input name="gopage" type="text" id="gopage" onKeyDown="if(event.keyCode==13) { if(parseInt('" + config.Aspxrewrite.ToString().Trim() + "')==1) {window.location='mallgoodslist-" + categoryid.ToString() + "-' + (parseInt(this.value) > 0 ? parseInt(this.value) : 1) + '" + config.Extname.ToString().Trim() + "';}else{window.location='mallgoodslist.aspx?categoryid=" + categoryid.ToString() + "&page=' + (parseInt(this.value) > 0 ? parseInt(this.value) : 1)}}" size="4" maxlength="9" class="colorblue2"/>页</td>rn");
  240. templateBuilder.Append("             </tr>rn");
  241. templateBuilder.Append("             </table>rn");
  242. templateBuilder.Append(" </div>rn");
  243. templateBuilder.Append(" </div>rn");
  244. templateBuilder.Append(" <div id="sidebox">rn");
  245. templateBuilder.Append(" <div class="box salebox">rn");
  246. templateBuilder.Append(" <h2><strong>掌柜推荐</strong></h2>rn");
  247. templateBuilder.Append(" <div class="innerbox majorbox">rn");
  248. templateBuilder.Append(" <dl>rn");
  249. templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
  250. templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
  251. templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
  252. templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
  253. templateBuilder.Append(" </dl>rn");
  254. templateBuilder.Append(" <dl>rn");
  255. templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
  256. templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
  257. templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
  258. templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
  259. templateBuilder.Append(" </dl>rn");
  260. templateBuilder.Append(" <dl>rn");
  261. templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
  262. templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
  263. templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
  264. templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
  265. templateBuilder.Append(" </dl>rn");
  266. templateBuilder.Append(" </div>rn");
  267. templateBuilder.Append(" </div>rn");
  268. templateBuilder.Append(" <div class="box salebox">rn");
  269. templateBuilder.Append(" <h2><strong>热荐店铺</strong></h2>rn");
  270. templateBuilder.Append(" <div class="innerbox majorbox">rn");
  271. templateBuilder.Append(" <dl>rn");
  272. templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
  273. templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
  274. templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
  275. templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
  276. templateBuilder.Append(" </dl>rn");
  277. templateBuilder.Append(" <dl>rn");
  278. templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
  279. templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
  280. templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
  281. templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
  282. templateBuilder.Append(" </dl>rn");
  283. templateBuilder.Append(" <dl>rn");
  284. templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
  285. templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
  286. templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
  287. templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
  288. templateBuilder.Append(" </dl>rn");
  289. templateBuilder.Append(" <dl>rn");
  290. templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
  291. templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
  292. templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
  293. templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
  294. templateBuilder.Append(" </dl>rn");
  295. templateBuilder.Append(" </div>rn");
  296. templateBuilder.Append(" </div>rn");
  297. templateBuilder.Append(" <div class="box salebox">rn");
  298. templateBuilder.Append(" <h2><strong>人气排行</strong></h2> rn");
  299. templateBuilder.Append(" <div class="innerbox rankingbox">rn");
  300. templateBuilder.Append(" <div class="tabsbox">rn");
  301. templateBuilder.Append(" <ul>rn");
  302. templateBuilder.Append(" <li class="cur"><a href="#">女装</a></li>rn");
  303. templateBuilder.Append(" <li><a href="#">手机</a></li>rn");
  304. templateBuilder.Append(" <li><a href="#">男装</a></li>rn");
  305. templateBuilder.Append(" <li><a href="#">彩妆</a></li>rn");
  306. templateBuilder.Append(" </ul>rn");
  307. templateBuilder.Append(" </div>rn");
  308. templateBuilder.Append(" <div class="rankbox">rn");
  309. templateBuilder.Append(" <ul>rn");
  310. templateBuilder.Append(" <li><cite>1</cite>日本HIGh品牌裤装</li>rn");
  311. templateBuilder.Append(" <li><cite>2</cite>日本HIGh品牌裤装</li>rn");
  312. templateBuilder.Append(" <li><cite>3</cite>日本HIGh品牌裤装</li>rn");
  313. templateBuilder.Append(" <li><cite>4</cite>日本HIGh品牌裤装</li>rn");
  314. templateBuilder.Append(" <li><cite>5</cite>日本HIGh品牌裤装</li>rn");
  315. templateBuilder.Append(" <li><cite>6</cite>日本HIGh品牌裤装</li>rn");
  316. templateBuilder.Append(" <li><cite>7</cite>日本HIGh品牌裤装</li>rn");
  317. templateBuilder.Append(" <li><cite>8</cite>日本HIGh品牌裤装</li>rn");
  318. templateBuilder.Append(" <li><cite>9</cite>日本HIGh品牌裤装</li>rn");
  319. templateBuilder.Append(" </ul>rn");
  320. templateBuilder.Append(" </div>rn");
  321. templateBuilder.Append(" </div>rn");
  322. templateBuilder.Append(" </div>rn");
  323. templateBuilder.Append(" </div>rn");
  324. templateBuilder.Append(" </div>rn");
  325. }
  326. else
  327. {
  328. templateBuilder.Append("<div class="ntforumbox">rn");
  329. templateBuilder.Append(" <div class="titlebar">rn");
  330. templateBuilder.Append(" <h3>出现了" + page_err.ToString() + "个错误</h3>rn");
  331. templateBuilder.Append(" </div>rn");
  332. templateBuilder.Append(" <div class="forumerror">rn");
  333. templateBuilder.Append(" " + msgbox_text.ToString() + "rn");
  334. templateBuilder.Append(" <p class="errorback">rn");
  335. templateBuilder.Append(" <script language="javascript">rn");
  336. templateBuilder.Append(" if(" + msgbox_showbacklink.ToString() + ")rn");
  337. templateBuilder.Append(" {rn");
  338. templateBuilder.Append(" document.write("<a href=\"" + msgbox_backlink.ToString() + "\">返回上一步</a> &nbsp; &nbsp;|&nbsp; &nbsp  ");rn");
  339. templateBuilder.Append(" }rn");
  340. templateBuilder.Append(" </" + "script>rn");
  341. templateBuilder.Append(" <a href="forumindex.aspx">论坛首页</a>rn");
  342. if (usergroupid==7)
  343. {
  344. templateBuilder.Append("  &nbsp; &nbsp|&nbsp; &nbsp; <a href="register.aspx">注册</a>rn");
  345. } //end if
  346. templateBuilder.Append(" </p>rn");
  347. templateBuilder.Append(" </div>rn");
  348. templateBuilder.Append("</div>rn");
  349. } //end if
  350. if (footerad!="")
  351. {
  352. templateBuilder.Append("<!--底部广告显示-->rn");
  353. templateBuilder.Append("<div id="bottomad">" + footerad.ToString() + "</div>rn");
  354. templateBuilder.Append("<!--底部广告结束-->rn");
  355. } //end if
  356. templateBuilder.Append("<div id="forumfooter">rn");
  357. templateBuilder.Append(" <div class="footercopy">rn");
  358. templateBuilder.Append("   <p>rn");
  359. templateBuilder.Append(" 版权所有 <a href="" + config.Weburl.ToString().Trim() + "" target="_blank">" + config.Webtitle.ToString().Trim() + "</a>&nbsp; " + config.Linktext.ToString().Trim() + "rn");
  360. if (config.Sitemapstatus==1)
  361. {
  362. templateBuilder.Append("&nbsp;<a href="tools/sitemap.aspx" target="_blank" title="百度论坛收录协议">Sitemap</a>rn");
  363. } //end if
  364. templateBuilder.Append(" " + config.Statcode.ToString().Trim() + "rn");
  365. templateBuilder.Append(" </p>rn");
  366. templateBuilder.Append(" <span>Powered by <a href="http://nt.discuz.net" target="_blank" title="Discuz!NT 2.0 (.net Framework 2.x/3.x)"><em>Discuz!NT</em></a>&nbsp;<em>2.5.0 rn");
  367. if (config.Licensed==1)
  368. {
  369. templateBuilder.Append(" (<a href="" onclick="this.href='http://nt.discuz.net/certificate/?host='+location.href.substring(0, location.href.lastIndexOf('/'))" target="_blank">Licensed</a>)rn");
  370. } //end if
  371. templateBuilder.Append(" &nbsp;&nbsp; " + config.Forumcopyright.ToString().Trim() + "</em>rn");
  372. if (config.Debug!=0)
  373. {
  374. templateBuilder.Append("<br/>rn");
  375. templateBuilder.Append(" Processed in " + this.Processtime.ToString().Trim() + " second(s)rn");
  376. if (isguestcachepage==1)
  377. {
  378. templateBuilder.Append(" (Cached).rn");
  379. }
  380. else if (querycount>1)
  381. {
  382. templateBuilder.Append("         , " + querycount.ToString() + " queries.rn");
  383. }
  384. else
  385. {
  386. templateBuilder.Append("         , " + querycount.ToString() + " query.rn");
  387. } //end if
  388. } //end if
  389. templateBuilder.Append(" " + config.Icp.ToString().Trim() + "rn");
  390. templateBuilder.Append("  </span>rn");
  391. templateBuilder.Append(" </div>rn");
  392. templateBuilder.Append(" <div class="footergoto">rn");
  393. templateBuilder.Append(" <span><img src="templates/" + templatepath.ToString() + "/images/gototop2.gif" alt="返顶部" onclick="window.scrollTo(0,0)" /></span>rn");
  394. if (config.Stylejump==1)
  395. {
  396. if (userid!=-1 || config.Guestcachepagetimeout<=0)
  397. {
  398. templateBuilder.Append(" <select onchange="if(this.options[this.selectedIndex].value != '') {window.location=('showtemplate.aspx?templateid='+this.options[this.selectedIndex].value) }">rn");
  399. templateBuilder.Append(" <option selected>切换界面...</option>rn");
  400. templateBuilder.Append(" " + templatelistboxoptions.ToString() + "rn");
  401. templateBuilder.Append(" </select>rn");
  402. } //end if
  403. } //end if
  404. templateBuilder.Append(" </div>rn");
  405. templateBuilder.Append("</div>rn");
  406. templateBuilder.Append("<div id="my_menu" class="ntdropmenu" style="display: none;">rn");
  407. templateBuilder.Append(" <a href="mytopics.aspx">我的主题</a>rn");
  408. templateBuilder.Append(" <a href="myposts.aspx">我的帖子</a>rn");
  409. templateBuilder.Append(" <a href="search.aspx?posterid=" + userid.ToString() + "&amp;type=digest">我的精华</a>rn");
  410. templateBuilder.Append("        <a href="myattachment.aspx">我的附件</a>rn");
  411. if (config.Enablespace==1)
  412. {
  413. templateBuilder.Append(" <a href="" + spaceurl.ToString() + "space/">我的空间</a>rn");
  414. } //end if
  415. if (config.Enablealbum==1)
  416. {
  417. templateBuilder.Append(" <a href="showalbumlist.aspx?uid=" + userid.ToString() + "">我的相册</a>rn");
  418. } //end if
  419. if (config.Enablemall>=1)
  420. {
  421. templateBuilder.Append(" <a href="usercpmygoods.aspx">我的商品</a>rn");
  422. } //end if
  423. templateBuilder.Append(" <script type="text/javascript" src="javascript/mymenu.js"></" + "script>rn");
  424. templateBuilder.Append("</div>rn");
  425. if (querydetail!="")
  426. {
  427. templateBuilder.Append("<div id="debug_bar" style="padding: 0pt 10px; background: rgb(232, 243, 253) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: left;">rn");
  428. templateBuilder.Append("<table width="100%" cellspacing="0" cellpadding="0" align="center">rn");
  429. templateBuilder.Append("<tbody>rn");
  430. templateBuilder.Append("<tr>rn");
  431. templateBuilder.Append("<td colspan="3">rn");
  432. templateBuilder.Append("<span onclick="$('debug_bar').style.display = 'none'" style="cursor: pointer;">[关闭]</span>rn");
  433. templateBuilder.Append("<span onclick="debugdisplay('debugwinquery')" style="cursor: pointer;"> | [查询 " + querycount.ToString() + " 次]</span>rn");
  434. templateBuilder.Append("<!--rn");
  435. templateBuilder.Append("<span onclick="debugdisplay('debugwininclude')" style="cursor: pointer;"> | [引用19 个]</span>rn");
  436. templateBuilder.Append("<span onclick="debugdisplay('debugwindcookie')" style="cursor: pointer;"> | [DCOOKIE]</span>rn");
  437. templateBuilder.Append("<span onclick="debugdisplay('debugwindsession')" style="cursor: pointer;"> | [DSESSION]</span>rn");
  438. templateBuilder.Append("<span onclick="debugdisplay('debugwincache')" style="cursor: pointer;"> | [DCACHE]</span>rn");
  439. templateBuilder.Append("<span onclick="debugdisplay('debugwinplugin')" style="cursor: pointer;"> | [DPLUGIN]</span>rn");
  440. templateBuilder.Append("<span onclick="debugdisplay('debugwinsettings')" style="cursor: pointer;"> | [settings]</span>rn");
  441. templateBuilder.Append("<span onclick="debugdisplay('debugwinenv')" style="cursor: pointer;"> | [环境]</span>rn");
  442. templateBuilder.Append("-->rn");
  443. templateBuilder.Append("</td>rn");
  444. templateBuilder.Append("</tr>rn");
  445. templateBuilder.Append("</tbody>rn");
  446. templateBuilder.Append("</table>rn");
  447. templateBuilder.Append("<div id="debugwinquery" style="display: none;">" + querydetail.ToString() + "</div>rn");
  448. templateBuilder.Append("<script type="text/javascript">rn");
  449. templateBuilder.Append("function debugdisplay(id)rn");
  450. templateBuilder.Append("{rn");
  451. templateBuilder.Append("    if ($(id).style.display == 'none')rn");
  452. templateBuilder.Append("    {rn");
  453. templateBuilder.Append("        $(id).style.display = '';rn");
  454. templateBuilder.Append("    }rn");
  455. templateBuilder.Append("    elsern");
  456. templateBuilder.Append("    {rn");
  457. templateBuilder.Append("        $(id).style.display = 'none';rn");
  458. templateBuilder.Append("    }rn");
  459. templateBuilder.Append("}rn");
  460. templateBuilder.Append("</" + "script>rn");
  461. templateBuilder.Append("</div>rn");
  462. } //end if
  463. if (floatad!="")
  464. {
  465. templateBuilder.Append(" <script type="text/javascript" src="javascript/template_floatadv.js"></" + "script>rn");
  466. templateBuilder.Append(" " + floatad.ToString() + "rn");
  467. templateBuilder.Append(" <script type="text/javascript">theFloaters.play();</" + "script>rn");
  468. }
  469. else if (doublead!="")
  470. {
  471. templateBuilder.Append(" <script type="text/javascript" src="javascript/template_floatadv.js"></" + "script>rn");
  472. templateBuilder.Append(" " + doublead.ToString() + "rn");
  473. templateBuilder.Append(" <script type="text/javascript">theFloaters.play();</" + "script>rn");
  474. } //end if
  475. templateBuilder.Append("" + mediaad.ToString() + "rn");
  476. templateBuilder.Append("" + inforumad.ToString() + "rn");
  477. templateBuilder.Append("<div id="quicksearch_menu" class="searchmenu" style="display: none;">rn");
  478. templateBuilder.Append(" <div onclick="document.getElementById('keywordtype').value='0';document.getElementById('quicksearch').innerHTML='帖子标题';document.getElementById('quicksearch_menu').style.display='none';" onmouseover="MouseCursor(this);">帖子标题</div>rn");
  479. templateBuilder.Append(" <div onclick="document.getElementById('keywordtype').value='2';document.getElementById('quicksearch').innerHTML='空间日志';document.getElementById('quicksearch_menu').style.display='none';" onmouseover="MouseCursor(this);">空间日志</div>rn");
  480. templateBuilder.Append(" <div onclick="document.getElementById('keywordtype').value='3';document.getElementById('quicksearch').innerHTML='相册标题';document.getElementById('quicksearch_menu').style.display='none';" onmouseover="MouseCursor(this);">相册标题</div>rn");
  481. templateBuilder.Append(" <div onclick="document.getElementById('keywordtype').value='8';document.getElementById('quicksearch').innerHTML='作&nbsp;&nbsp;者';document.getElementById('quicksearch_menu').style.display='none';" onmouseover="MouseCursor(this);">作&nbsp;&nbsp;者</div>rn");
  482. templateBuilder.Append("</div>rn");
  483. templateBuilder.Append("</div>rn");
  484. templateBuilder.Append("</body>rn");
  485. templateBuilder.Append("</html>rn");
  486. Response.Write(templateBuilder.ToString());
  487. }
  488. </script>