- <%@ Page language="c#" AutoEventWireup="false" EnableViewState="false" Inherits="Discuz.Web.mallgoodslist" %>
- <%@ 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 2008/5/26 11:27:38.
- 本页面代码由Discuz!NT模板引擎生成于 2008/5/26 11:27:38.
- */
- base.OnInit(e);
- 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");
- templateBuilder.Append("" + meta.ToString() + "rn");
- if (pagetitle=="首页")
- {
- templateBuilder.Append("<title>" + config.Forumtitle.ToString().Trim() + " - Powered by Discuz!NT</title>rn");
- }
- else
- {
- templateBuilder.Append("<title>" + pagetitle.ToString() + " " + config.Seotitle.ToString().Trim() + " - " + config.Forumtitle.ToString().Trim() + " - Powered by Discuz!NT</title>rn");
- } //end if
- templateBuilder.Append("<link rel="icon" href="favicon.ico" type="image/x-icon" />rn");
- templateBuilder.Append("<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />rn");
- templateBuilder.Append("<!-- 调用样式表 -->rn");
- templateBuilder.Append("<link rel="stylesheet" href="templates/" + templatepath.ToString() + "/mall.css" type="text/css" media="all" />rn");
- templateBuilder.Append("" + link.ToString() + "rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/template_report.js"></" + "script>rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/template_utils.js"></" + "script>rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/common.js"></" + "script>rn");
- templateBuilder.Append("<script type="text/javascript" src="javascript/menu.js"></" + "script>rn");
- templateBuilder.Append("<script type="text/javascript">rn");
- templateBuilder.Append(" var aspxrewrite = " + config.Aspxrewrite.ToString().Trim() + ";rn");
- templateBuilder.Append("</" + "script>rn");
- templateBuilder.Append("" + script.ToString() + "rn");
- templateBuilder.Append("</head>rn");
- templateBuilder.Append("<body>rn");
- templateBuilder.Append("<div id="wraper">rn");
- templateBuilder.Append(" <div id="header">rn");
- templateBuilder.Append(" <h2><img src="templates/" + templatepath.ToString() + "/images/logo.gif" alt="商城"/></h2>rn");
- templateBuilder.Append(" <p id="topmenu">rn");
- templateBuilder.Append(" <a href="" + config.Forumurl.ToString().Trim() + "">论坛</a>rn");
- if (config.Enablespace==1)
- {
- templateBuilder.Append(" <a href="" + config.Spaceurl.ToString().Trim() + "">" + config.Spacename.ToString().Trim() + "</a>rn");
- } //end if
- if (config.Enablealbum==1)
- {
- templateBuilder.Append(" <a href="" + config.Albumurl.ToString().Trim() + "">" + config.Albumname.ToString().Trim() + "</a>rn");
- } //end if
- if (config.Enablemall==2)
- {
- templateBuilder.Append(" <a href="mallindex" class="reg">商城</a>rn");
- } //end if
- if (userid==-1)
- {
- templateBuilder.Append(" <a href="" + forumurl.ToString() + "login.aspx" class="reg">登录</a>rn");
- templateBuilder.Append(" <a href="" + forumurl.ToString() + "register.aspx" class="reg">注册</a>rn");
- }
- else
- {
- templateBuilder.Append(" 欢迎: " + username.ToString() + " rn");
- templateBuilder.Append(" <a href="" + forumurl.ToString() + "logout.aspx?userkey=" + userkey.ToString() + "" class="reg">退出</a>rn");
- templateBuilder.Append(" <a href="" + forumurl.ToString() + "usercp.aspx" class="reg">用户中心</a>rn");
- if (useradminid==1)
- {
- templateBuilder.Append(" <a href="" + forumurl.ToString() + "admin/index.aspx" target="_blank" class="reg">系统设置</a>rn");
- } //end if
- } //end if
- if (usergroupinfo.Allowsearch>0)
- {
- templateBuilder.Append(" <a href="" + forumurl.ToString() + "search.aspx">搜索</a>rn");
- } //end if
- templateBuilder.Append(" <a href="" + forumurl.ToString() + "help.aspx" target="_blank">帮助</a> rn");
- templateBuilder.Append(" </p>rn");
- if (headerad!="")
- {
- templateBuilder.Append(" <div id="ad">" + headerad.ToString() + "</div>rn");
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div id="menu">rn");
- templateBuilder.Append(" <span>商城</span>rn");
- templateBuilder.Append(" <ul>rn");
- if (userid!=-1)
- {
- templateBuilder.Append(" <li><a href="" + forumurl.ToString() + "usercpinbox.aspx">短消息</a></li>rn");
- } //end if
- templateBuilder.Append(" <li><a href="" + forumurl.ToString() + "showuser.aspx">会员</a></li>rn");
- if (userid!=-1)
- {
- templateBuilder.Append(" <li id="my" onMouseOver="showMenu(this.id);" onMouseOut="showMenu(this.id);"><a href="###" class="mycontent">我的</a></li>rn");
- } //end if
- templateBuilder.Append(" <li><a href="" + forumurl.ToString() + "tags.aspx">标签</a></li>rn");
- templateBuilder.Append(" <li><a href="" + forumurl.ToString() + "showtemplate.aspx">界面</a></li>rn");
- templateBuilder.Append(" <li><a href="" + forumurl.ToString() + "archiver/index.aspx">简洁版本</a></li>rn");
- templateBuilder.Append(" <li class="noground"><a href="" + forumurl.ToString() + "onlineuser.aspx">在线</a></li>rn");
- templateBuilder.Append(" </ul>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div id="search">rn");
- templateBuilder.Append(" <form method="post" action="search.aspx">rn");
- if (usergroupinfo.Allowsearch>0)
- {
- templateBuilder.Append(" <form method="post" action="search.aspx" target="_blank" onsubmit="bind_keyword(this);">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(" <div id="searchbar">rn");
- templateBuilder.Append(" <dl>rn");
- templateBuilder.Append(" <dt id="quicksearch" class="s2" onclick="showMenu(this.id, false);" onmouseover="MouseCursor(this);">帖子标题</dt>rn");
- templateBuilder.Append(" <dd class="textinput"><input type="text" name="keywordf" value="" class="text"/></dd>rn");
- templateBuilder.Append(" <dd><input name="searchsubmit" type="submit" value="" class="s3"/></dd>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </form>rn");
- 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");
- } //end if
- templateBuilder.Append(" </form>rn");
- templateBuilder.Append(" <strong>公告:</strong>rn");
- templateBuilder.Append(" <marquee direction="left" scrollamount="2" scrolldelay="1" onmouseover="this.stop();" onmouseout="this.start();">rn");
- int announcement__loop__id=0;
- foreach(DataRow announcement in announcementlist.Rows)
- {
- announcement__loop__id++;
- templateBuilder.Append(" " + announcement["starttime"].ToString().Trim() + "<a href="announcement.aspx#" + announcement["id"].ToString().Trim() + "">" + announcement["title"].ToString().Trim() + "</a>rn");
- } //end loop
- templateBuilder.Append(" </marquee>rn");
- templateBuilder.Append(" </div>rn");
- if (config.Enabletag==1)
- {
- templateBuilder.Append("<!--tag-->rn");
- templateBuilder.Append(" <script type="text/javascript" src="cache/tag/closedtags.txt"></" + "script>rn");
- templateBuilder.Append(" <script type="text/javascript" src="cache/tag/colorfultags.txt"></" + "script>rn");
- templateBuilder.Append(" <script type="text/javascript" src="javascript/template_tags.js"></" + "script> rn");
- templateBuilder.Append(" <script type="text/javascript" src="javascript/ajax.js"></" + "script>rn");
- templateBuilder.Append(" <div id="keyword">rn");
- templateBuilder.Append(" <div class="keywordbody">rn");
- 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");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <!--tag end-->rn");
- } //end if
- if (page_err==0)
- {
- templateBuilder.Append("<script type="text/javascript">rn");
- templateBuilder.Append("var templatepath = "" + templatepath.ToString() + "";rn");
- templateBuilder.Append("var forumpath = "" + forumpath.ToString() + "";rn");
- templateBuilder.Append("var aspxrewrite = " + config.Aspxrewrite.ToString().Trim() + ";rn");
- templateBuilder.Append("</" + "script>rn");
- templateBuilder.Append("<script language="javascript" src="javascript/template_mallgoodslist.js"></" + "script>rn");
- templateBuilder.Append(" <div id="pageinfo">rn");
- templateBuilder.Append(" <em>当前位置:</em><a href="mallindex.aspx">商城首页</a> >> " + goodscategoryinfo.Pathlist.ToString().Trim() + "rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="mainbox sortbox">rn");
- templateBuilder.Append(" <dl>rn");
- templateBuilder.Append(" <dt>商品分类</dt>rn");
- templateBuilder.Append(" <dd id="categories"></dd>rn");
- templateBuilder.Append(" <script language="javascript">rn");
- templateBuilder.Append(" " + subcategoriesjson.ToString() + "rn");
- templateBuilder.Append(" loadcategory(" + config.Aspxrewrite.ToString().Trim() + ");rn");
- templateBuilder.Append(" </" + "script>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="mainbox">rn");
- templateBuilder.Append(" <div id="contentbox">rn");
- templateBuilder.Append(" <div class="theadbox">rn");
- templateBuilder.Append(" <h4>全部商品</h4>rn");
- templateBuilder.Append(" <table border="0" cellpadding="0" cellspacing="0">rn");
- templateBuilder.Append(" <tr>rn");
- templateBuilder.Append(" <td class="forumallpages"><strong>" + pageid.ToString() + "</strong> / " + pagecount.ToString() + " 页</td>rn");
- templateBuilder.Append(" <td width="10"> </td>rn");
- templateBuilder.Append(" <td class="forumallpages">" + pagenumbers.ToString() + "</td>rn");
- 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");
- templateBuilder.Append(" </tr>rn");
- templateBuilder.Append(" </table>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="commendbox">rn");
- templateBuilder.Append(" 排序:rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="shoplist">rn");
- templateBuilder.Append(" <form id="shoplist" name="shoplist" method="post" action="#">rn");
- templateBuilder.Append(" <table width=100% cellpadding="0" cellspacing="0" border="0">rn");
- templateBuilder.Append(" <thead>rn");
- templateBuilder.Append(" <tr>rn");
- templateBuilder.Append(" <th class="selectpro" colspan="2"><input class="btn" onclick="#" type="button" value="对比产品" style="margin-left:25px;" /></th>rn");
- templateBuilder.Append(" <th class="shoptitle">宝贝名称/卖家</th>rn");
- templateBuilder.Append(" <th class="ntnumbers">价格排序</th>rn");
- templateBuilder.Append(" <th class="ntnumbers">运费</th>rn");
- templateBuilder.Append(" <th class="ntnumbers">所在地</th>rn");
- templateBuilder.Append(" <th class="ntnumbers">剩余时间</th>rn");
- templateBuilder.Append(" </tr>rn");
- templateBuilder.Append(" </thead>rn");
- int goodsinfo__loop__id=0;
- foreach(Goodsinfo goodsinfo in goodslist)
- {
- goodsinfo__loop__id++;
- templateBuilder.Append(" <tbody>rn");
- templateBuilder.Append(" <tr class="list" onmouseover="this.className='liston'" onmouseout="this.className='list'">rn");
- aspxrewriteurl = this.ShowGoodsAspxRewrite(goodsinfo.Goodsid);
- templateBuilder.Append(" <td><input type="checkbox" name="goodsid" value="" + goodsinfo.Goodsid.ToString().Trim() + "" /></td>rn");
- templateBuilder.Append(" <td><a href="" + aspxrewriteurl.ToString() + "" target="_blank">rn");
- if (goodsinfo.Goodspic=="")
- {
- 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");
- }
- else
- {
- 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");
- } //end if
- templateBuilder.Append(" </a></td> rn");
- templateBuilder.Append(" <td class="goodstitle">rn");
- templateBuilder.Append(" <h4><a href="" + aspxrewriteurl.ToString() + "" target="_blank">" + goodsinfo.Htmltitle.ToString().Trim() + "</a></h4>rn");
- templateBuilder.Append(" <p>卖家:rn");
- aspxrewriteurl = this.UserInfoAspxRewrite(goodsinfo.Selleruid);
- templateBuilder.Append(" <a href="" + aspxrewriteurl.ToString() + "" target="_blank">" + goodsinfo.Seller.ToString().Trim() + "</a></p>rn");
- 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");
- templateBuilder.Append(" </td>rn");
- templateBuilder.Append(" <!--<td class="listitem"><img src="http://img.taobao.com/2k7/sys/prepay/prepay_icon_00.gif"></td>-->rn");
- templateBuilder.Append(" <td><p class="price">" + goodsinfo.Price.ToString().Trim() + "</p></td>rn");
- templateBuilder.Append(" <td>" + goodsinfo.Ordinaryfee.ToString().Trim() + "</td>rn");
- templateBuilder.Append(" <td>" + goodsinfo.Locus.ToString().Trim() + "</td>rn");
- templateBuilder.Append(" <td>" + goodsinfo.Expiration.ToString().Trim() + "</td>rn");
- templateBuilder.Append(" </tr>rn");
- templateBuilder.Append(" </tbody>rn");
- } //end loop
- templateBuilder.Append(" </table>rn");
- templateBuilder.Append(" </form>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="theadbox">rn");
- templateBuilder.Append(" <table border="0" cellpadding="0" cellspacing="0">rn");
- templateBuilder.Append(" <tr>rn");
- templateBuilder.Append(" <td class="forumallpages"><strong>" + pageid.ToString() + "</strong> / " + pagecount.ToString() + " 页</td>rn");
- templateBuilder.Append(" <td width="10"> </td>rn");
- templateBuilder.Append(" <td class="forumallpages">" + pagenumbers.ToString() + "</td>rn");
- 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");
- templateBuilder.Append(" </tr>rn");
- templateBuilder.Append(" </table>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div id="sidebox">rn");
- templateBuilder.Append(" <div class="box salebox">rn");
- templateBuilder.Append(" <h2><strong>掌柜推荐</strong></h2>rn");
- templateBuilder.Append(" <div class="innerbox majorbox">rn");
- templateBuilder.Append(" <dl>rn");
- templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
- templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
- templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
- templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" <dl>rn");
- templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
- templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
- templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
- templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" <dl>rn");
- templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
- templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
- templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
- templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="box salebox">rn");
- templateBuilder.Append(" <h2><strong>热荐店铺</strong></h2>rn");
- templateBuilder.Append(" <div class="innerbox majorbox">rn");
- templateBuilder.Append(" <dl>rn");
- templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
- templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
- templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
- templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" <dl>rn");
- templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
- templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
- templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
- templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" <dl>rn");
- templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
- templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
- templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
- templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" <dl>rn");
- templateBuilder.Append(" <dt><img src="images/mall/proimg.gif" alt="产品名称"/></dt>rn");
- templateBuilder.Append(" <dd class="title"><a href="#">弹力北极熊</a></dd>rn");
- templateBuilder.Append(" <dd>商家:<a href="#">青云玩具店</a></dd>rn");
- templateBuilder.Append(" <dd>价格:<em>656</em>元</dd>rn");
- templateBuilder.Append(" </dl>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="box salebox">rn");
- templateBuilder.Append(" <h2><strong>人气排行</strong></h2> rn");
- templateBuilder.Append(" <div class="innerbox rankingbox">rn");
- templateBuilder.Append(" <div class="tabsbox">rn");
- templateBuilder.Append(" <ul>rn");
- templateBuilder.Append(" <li class="cur"><a href="#">女装</a></li>rn");
- templateBuilder.Append(" <li><a href="#">手机</a></li>rn");
- templateBuilder.Append(" <li><a href="#">男装</a></li>rn");
- templateBuilder.Append(" <li><a href="#">彩妆</a></li>rn");
- templateBuilder.Append(" </ul>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="rankbox">rn");
- templateBuilder.Append(" <ul>rn");
- templateBuilder.Append(" <li><cite>1</cite>日本HIGh品牌裤装</li>rn");
- templateBuilder.Append(" <li><cite>2</cite>日本HIGh品牌裤装</li>rn");
- templateBuilder.Append(" <li><cite>3</cite>日本HIGh品牌裤装</li>rn");
- templateBuilder.Append(" <li><cite>4</cite>日本HIGh品牌裤装</li>rn");
- templateBuilder.Append(" <li><cite>5</cite>日本HIGh品牌裤装</li>rn");
- templateBuilder.Append(" <li><cite>6</cite>日本HIGh品牌裤装</li>rn");
- templateBuilder.Append(" <li><cite>7</cite>日本HIGh品牌裤装</li>rn");
- templateBuilder.Append(" <li><cite>8</cite>日本HIGh品牌裤装</li>rn");
- templateBuilder.Append(" <li><cite>9</cite>日本HIGh品牌裤装</li>rn");
- templateBuilder.Append(" </ul>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" </div>rn");
- }
- else
- {
- templateBuilder.Append("<div class="ntforumbox">rn");
- templateBuilder.Append(" <div class="titlebar">rn");
- templateBuilder.Append(" <h3>出现了" + page_err.ToString() + "个错误</h3>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="forumerror">rn");
- templateBuilder.Append(" " + msgbox_text.ToString() + "rn");
- templateBuilder.Append(" <p class="errorback">rn");
- templateBuilder.Append(" <script language="javascript">rn");
- templateBuilder.Append(" if(" + msgbox_showbacklink.ToString() + ")rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" document.write("<a href=\"" + msgbox_backlink.ToString() + "\">返回上一步</a> |   ");rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" </" + "script>rn");
- templateBuilder.Append(" <a href="forumindex.aspx">论坛首页</a>rn");
- if (usergroupid==7)
- {
- templateBuilder.Append("  | <a href="register.aspx">注册</a>rn");
- } //end if
- templateBuilder.Append(" </p>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append("</div>rn");
- } //end if
- if (footerad!="")
- {
- templateBuilder.Append("<!--底部广告显示-->rn");
- templateBuilder.Append("<div id="bottomad">" + footerad.ToString() + "</div>rn");
- templateBuilder.Append("<!--底部广告结束-->rn");
- } //end if
- templateBuilder.Append("<div id="forumfooter">rn");
- templateBuilder.Append(" <div class="footercopy">rn");
- templateBuilder.Append(" <p>rn");
- templateBuilder.Append(" 版权所有 <a href="" + config.Weburl.ToString().Trim() + "" target="_blank">" + config.Webtitle.ToString().Trim() + "</a> " + config.Linktext.ToString().Trim() + "rn");
- if (config.Sitemapstatus==1)
- {
- templateBuilder.Append(" <a href="tools/sitemap.aspx" target="_blank" title="百度论坛收录协议">Sitemap</a>rn");
- } //end if
- templateBuilder.Append(" " + config.Statcode.ToString().Trim() + "rn");
- templateBuilder.Append(" </p>rn");
- 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> <em>2.5.0 rn");
- if (config.Licensed==1)
- {
- 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");
- } //end if
- templateBuilder.Append(" " + config.Forumcopyright.ToString().Trim() + "</em>rn");
- if (config.Debug!=0)
- {
- templateBuilder.Append("<br/>rn");
- templateBuilder.Append(" Processed in " + this.Processtime.ToString().Trim() + " second(s)rn");
- if (isguestcachepage==1)
- {
- templateBuilder.Append(" (Cached).rn");
- }
- else if (querycount>1)
- {
- templateBuilder.Append(" , " + querycount.ToString() + " queries.rn");
- }
- else
- {
- templateBuilder.Append(" , " + querycount.ToString() + " query.rn");
- } //end if
- } //end if
- templateBuilder.Append(" " + config.Icp.ToString().Trim() + "rn");
- templateBuilder.Append(" </span>rn");
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append(" <div class="footergoto">rn");
- templateBuilder.Append(" <span><img src="templates/" + templatepath.ToString() + "/images/gototop2.gif" alt="返顶部" onclick="window.scrollTo(0,0)" /></span>rn");
- if (config.Stylejump==1)
- {
- if (userid!=-1 || config.Guestcachepagetimeout<=0)
- {
- templateBuilder.Append(" <select onchange="if(this.options[this.selectedIndex].value != '') {window.location=('showtemplate.aspx?templateid='+this.options[this.selectedIndex].value) }">rn");
- templateBuilder.Append(" <option selected>切换界面...</option>rn");
- templateBuilder.Append(" " + templatelistboxoptions.ToString() + "rn");
- templateBuilder.Append(" </select>rn");
- } //end if
- } //end if
- templateBuilder.Append(" </div>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("<div id="my_menu" class="ntdropmenu" style="display: none;">rn");
- templateBuilder.Append(" <a href="mytopics.aspx">我的主题</a>rn");
- templateBuilder.Append(" <a href="myposts.aspx">我的帖子</a>rn");
- templateBuilder.Append(" <a href="search.aspx?posterid=" + userid.ToString() + "&type=digest">我的精华</a>rn");
- templateBuilder.Append(" <a href="myattachment.aspx">我的附件</a>rn");
- if (config.Enablespace==1)
- {
- templateBuilder.Append(" <a href="" + spaceurl.ToString() + "space/">我的空间</a>rn");
- } //end if
- if (config.Enablealbum==1)
- {
- templateBuilder.Append(" <a href="showalbumlist.aspx?uid=" + userid.ToString() + "">我的相册</a>rn");
- } //end if
- if (config.Enablemall>=1)
- {
- templateBuilder.Append(" <a href="usercpmygoods.aspx">我的商品</a>rn");
- } //end if
- templateBuilder.Append(" <script type="text/javascript" src="javascript/mymenu.js"></" + "script>rn");
- templateBuilder.Append("</div>rn");
- if (querydetail!="")
- {
- 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");
- templateBuilder.Append("<table width="100%" cellspacing="0" cellpadding="0" align="center">rn");
- templateBuilder.Append("<tbody>rn");
- templateBuilder.Append("<tr>rn");
- templateBuilder.Append("<td colspan="3">rn");
- templateBuilder.Append("<span onclick="$('debug_bar').style.display = 'none'" style="cursor: pointer;">[关闭]</span>rn");
- templateBuilder.Append("<span onclick="debugdisplay('debugwinquery')" style="cursor: pointer;"> | [查询 " + querycount.ToString() + " 次]</span>rn");
- templateBuilder.Append("<!--rn");
- templateBuilder.Append("<span onclick="debugdisplay('debugwininclude')" style="cursor: pointer;"> | [引用19 个]</span>rn");
- templateBuilder.Append("<span onclick="debugdisplay('debugwindcookie')" style="cursor: pointer;"> | [DCOOKIE]</span>rn");
- templateBuilder.Append("<span onclick="debugdisplay('debugwindsession')" style="cursor: pointer;"> | [DSESSION]</span>rn");
- templateBuilder.Append("<span onclick="debugdisplay('debugwincache')" style="cursor: pointer;"> | [DCACHE]</span>rn");
- templateBuilder.Append("<span onclick="debugdisplay('debugwinplugin')" style="cursor: pointer;"> | [DPLUGIN]</span>rn");
- templateBuilder.Append("<span onclick="debugdisplay('debugwinsettings')" style="cursor: pointer;"> | [settings]</span>rn");
- templateBuilder.Append("<span onclick="debugdisplay('debugwinenv')" style="cursor: pointer;"> | [环境]</span>rn");
- templateBuilder.Append("-->rn");
- templateBuilder.Append("</td>rn");
- templateBuilder.Append("</tr>rn");
- templateBuilder.Append("</tbody>rn");
- templateBuilder.Append("</table>rn");
- templateBuilder.Append("<div id="debugwinquery" style="display: none;">" + querydetail.ToString() + "</div>rn");
- templateBuilder.Append("<script type="text/javascript">rn");
- templateBuilder.Append("function debugdisplay(id)rn");
- templateBuilder.Append("{rn");
- templateBuilder.Append(" if ($(id).style.display == 'none')rn");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" $(id).style.display = '';rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append(" elsern");
- templateBuilder.Append(" {rn");
- templateBuilder.Append(" $(id).style.display = 'none';rn");
- templateBuilder.Append(" }rn");
- templateBuilder.Append("}rn");
- templateBuilder.Append("</" + "script>rn");
- templateBuilder.Append("</div>rn");
- } //end if
- if (floatad!="")
- {
- templateBuilder.Append(" <script type="text/javascript" src="javascript/template_floatadv.js"></" + "script>rn");
- templateBuilder.Append(" " + floatad.ToString() + "rn");
- templateBuilder.Append(" <script type="text/javascript">theFloaters.play();</" + "script>rn");
- }
- else if (doublead!="")
- {
- templateBuilder.Append(" <script type="text/javascript" src="javascript/template_floatadv.js"></" + "script>rn");
- templateBuilder.Append(" " + doublead.ToString() + "rn");
- templateBuilder.Append(" <script type="text/javascript">theFloaters.play();</" + "script>rn");
- } //end if
- templateBuilder.Append("" + mediaad.ToString() + "rn");
- templateBuilder.Append("" + inforumad.ToString() + "rn");
- templateBuilder.Append("<div id="quicksearch_menu" class="searchmenu" style="display: none;">rn");
- 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");
- 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");
- 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");
- templateBuilder.Append(" <div onclick="document.getElementById('keywordtype').value='8';document.getElementById('quicksearch').innerHTML='作 者';document.getElementById('quicksearch_menu').style.display='none';" onmouseover="MouseCursor(this);">作 者</div>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("</div>rn");
- templateBuilder.Append("</body>rn");
- templateBuilder.Append("</html>rn");
- Response.Write(templateBuilder.ToString());
- }
- </script>