|
Server : Microsoft-IIS/10.0 System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586 User : jxgj ( 0) PHP Version : 7.0.33 Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server Directory : D:/tmp_aspnet/root/826e9916/5874ee3e/ |
?#pragma checksum "D:\wwwroot\west202004\wwwroot\aspx\main\userorder.aspx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A6FAF230BC551BD47E618CD7654B1E508FD1379B"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具天生。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且若是
// 沉新天生代码,这些更改将会迷失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ASP {
#line 332 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Linq;
#line default
#line hidden
#line 339 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.Security;
#line default
#line hidden
#line 2 "D:\wwwroot\west202004\wwwroot\aspx\main\userorder.aspx"
using System.Collections.Generic;
#line default
#line hidden
#line 334 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Text.RegularExpressions;
#line default
#line hidden
#line 342 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.UI.WebControls;
#line default
#line hidden
#line 345 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Xml.Linq;
#line default
#line hidden
#line 341 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.UI;
#line default
#line hidden
#line 5 "D:\wwwroot\west202004\wwwroot\aspx\main\userorder.aspx"
using DTcms.Common;
#line default
#line hidden
#line 326 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System;
#line default
#line hidden
#line 344 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.UI.HtmlControls;
#line default
#line hidden
#line 335 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web;
#line default
#line hidden
#line 327 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Collections;
#line default
#line hidden
#line 331 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Configuration;
#line default
#line hidden
#line 330 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.ComponentModel.DataAnnotations;
#line default
#line hidden
#line 3 "D:\wwwroot\west202004\wwwroot\aspx\main\userorder.aspx"
using System.Text;
#line default
#line hidden
#line 340 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.Profile;
#line default
#line hidden
#line 336 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.Caching;
#line default
#line hidden
#line 4 "D:\wwwroot\west202004\wwwroot\aspx\main\userorder.aspx"
using System.Data;
#line default
#line hidden
#line 343 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.UI.WebControls.WebParts;
#line default
#line hidden
#line 329 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Collections.Specialized;
#line default
#line hidden
#line 338 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.SessionState;
#line default
#line hidden
#line 337 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
using System.Web.DynamicData;
#line default
#line hidden
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
public class aspx_main_userorder_aspx : global::DTcms.Web.UI.Page.userorder, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
private static bool @__initialized;
private static object @__fileDependencies;
#line 7 "D:\wwwroot\west202004\wwwroot\aspx\main\userorder.aspx"
override protected void OnInit(EventArgs e)
{
/*
This page was created by DTcms Template Engine at 2020-04-19 17:32:21.
本页面代码由DTcms模板引擎天生于 2020-04-19 17:32:21.
*/
base.OnInit(e);
StringBuilder templateBuilder = new StringBuilder(220000);
templateBuilder.Append("<!doctype html>\r\n<html>\r\n<head>\r\n<meta charset=\"utf-8\">\r\n<title>我的订单 - ");
templateBuilder.Append(Utils.ObjectToStr(site.name));
templateBuilder.Append("</title>\r\n<meta name=\"keywords\" content=\"");
templateBuilder.Append(Utils.ObjectToStr(site.seo_keyword));
templateBuilder.Append("\" />\r\n<meta name=\"description\" content=\"");
templateBuilder.Append(Utils.ObjectToStr(site.seo_description));
templateBuilder.Append("\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("css/pagination.css\"/>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("scripts/artdialog/ui-dialog.css\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"");
templateBuilder.Append("/templates/main");
templateBuilder.Append("/css/style.css\" />\r\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("scripts/jquery/jquery-1.11.2.min.js\"></");
templateBuilder.Append("script>\r\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("scripts/artdialog/dialog-plus-min.js\"></");
templateBuilder.Append("script>\r\n<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
templateBuilder.Append("/templates/main");
templateBuilder.Append("/js/common.js\"></");
templateBuilder.Append("script>\r\n</head>\r\n\r\n<body>\r\n<!--页面头部-->\r\n");
templateBuilder.Append("<div class=\"header\">\r\n <div class=\"head-top\">\r\n <div class=\"section\">\r\n <div class=\"left-box\">\r\n <span>客服(QQ:2258784815)</span>\r\n\r\n </div>\r\n <script type=\"text/javascript\">\r\n $.ajax({\r\n type: \"POST\",\r\n url: \"");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("tools/submit_ajax.ashx?action=user_check_login\",\r\n dataType: \"json\",\r\n timeout: 20000,\r\n success: function (data, textStatus) {\r\n if (data.status == 1) {\r\n $(\"#menu\").prepend('<a href=\"");
templateBuilder.Append(linkurl("usercenter","exit"));
templateBuilder.Append("\">退出</a><strong>|</strong>');\r\n $(\"#menu\").prepend('<a href=\"");
templateBuilder.Append(linkurl("usercenter","index"));
templateBuilder.Append("\">代理中心</a><strong>|</strong>');\r\n } else {\r\n $(\"#menu\").prepend('<a href=\"");
templateBuilder.Append(linkurl("register"));
templateBuilder.Append("\">注册</a><strong>|</strong>');\r\n $(\"#menu\").prepend('<a href=\"");
templateBuilder.Append(linkurl("login"));
templateBuilder.Append("\">代理入口</a><strong>|</strong>');\r\n }\r\n }\r\n });\r\n </");
templateBuilder.Append("script>\r\n <div id=\"menu\" class=\"right-box\">\r\n <a href=\"http://wpa.qq.com/msgrd?v=3&uin=2258784815&site=qq&menu=yes\"><i class=\"iconfont icon-phone\"></i>联系918博天堂</a><strong>|</strong>\r\n <!--<a href=\"");
templateBuilder.Append(linkurl("feedback"));
templateBuilder.Append("\" title=\"反馈\"><i class=\"iconfont icon-comment\"></i>反馈</a>-->\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"head-nav\">\r\n <div class=\"section\">\r\n <div class=\"logo\">\r\n <a href=\"");
templateBuilder.Append(linkurl("index"));
templateBuilder.Append("\"><img src=\"");
templateBuilder.Append("/templates/main");
templateBuilder.Append("/images/logo2.png\" /></a>\r\n </div>\r\n </div>\r\n </div>\r\n</div>");
templateBuilder.Append("\r\n<!--/页面头部-->\r\n\r\n<!--当前地位-->\r\n<div class=\"section\">\r\n <div class=\"location\">\r\n <span>当前地位:</span>\r\n <a href=\"");
templateBuilder.Append(linkurl("index"));
templateBuilder.Append("\">首页</a> >\r\n <a href=\"");
templateBuilder.Append(linkurl("usercenter","index"));
templateBuilder.Append("\">代理中心</a>\r\n <a href=\"");
templateBuilder.Append(linkurl("userorder","list"));
templateBuilder.Append("\">我的订单</a>\r\n </div>\r\n</div>\r\n<!--/当前地位-->\r\n\r\n<div class=\"section clearfix\">\r\n <!--页面左边-->\r\n ");
templateBuilder.Append("<script type=\"text/javascript\">\r\n //初始化附件窗口\r\n function addUserDialog(obj) {\r\n var objNum = arguments.length;\r\n var addDialog = top.dialog({\r\n id: 'renewDialogId',\r\n title: \"增长一个新的授权账号\",\r\n url: '/home/user/add_user_dialog.aspx',\r\n width: 360,\r\n height: 400,\r\n onclose: function () {\r\n var liHtml = this.returnValue; //获取返回值\r\n if (liHtml.length > 0) {\r\n var tipdialog = dialog(liHtml).show();\r\n setTimeout(function () {\r\n tipdialog.close().remove();// 关关提醒窗口\r\n location.replace('");
templateBuilder.Append(linkurl("userlicense","list"));
templateBuilder.Append("');// 刷新当前窗口\r\n }, 3000);\r\n }\r\n }\r\n }).showModal();\r\n //若是是批改状态,将对象传进去\r\n if (objNum == 1) {\r\n addDialog.data = obj;\r\n }\r\n }\r\n\r\n //初始化附件窗口\r\n function showBuyDialog(obj) {\r\n var objNum = arguments.length;\r\n var attachDialog = top.dialog({\r\n id: 'renewDialogId',\r\n title: \"采办新的群控授权 - 账户余额:¥");
templateBuilder.Append(userModel.amount.ToString());
templateBuilder.Append("元\",\r\n url: '/home/user/buy_license_dialog.aspx',\r\n width: 400,\r\n //height: 520,\r\n onclose: function () {\r\n var liHtml = this.returnValue; //获取返回值\r\n if (liHtml.length > 0) {\r\n var tipdialog = dialog(liHtml).show();\r\n setTimeout(function () {\r\n tipdialog.close().remove();// 关关提醒窗口\r\n location.replace('");
templateBuilder.Append(linkurl("userlicense","list"));
templateBuilder.Append("');// 刷新当前窗口\r\n }, 3000);\r\n }\r\n }\r\n }).showModal();\r\n //若是是批改状态,将对象传进去\r\n if (objNum == 1) {\r\n attachDialog.data = obj;\r\n }\r\n }\r\n\r\n</");
templateBuilder.Append("script>\r\n\r\n\r\n <div class=\"left-260\">\r\n <div class=\"bg-wrap\">\r\n <div class=\"avatar-box\">\r\n <a class=\"img-box\" href=\"");
templateBuilder.Append(linkurl("usercenter","avatar"));
templateBuilder.Append("\">\r\n ");
if (userModel.avatar!="")
{
templateBuilder.Append("\r\n <img src=\"");
templateBuilder.Append(Utils.ObjectToStr(userModel.avatar));
templateBuilder.Append("\" />\r\n ");
}
else
{
templateBuilder.Append("\r\n <i class=\"iconfont icon-user-full\"></i>\r\n ");
} //end for if
templateBuilder.Append("\r\n </a>\r\n <h3>\r\n ");
if (userModel.nick_name!="")
{
templateBuilder.Append("\r\n ");
templateBuilder.Append(Utils.ObjectToStr(userModel.nick_name));
templateBuilder.Append("\r\n ");
}
else
{
templateBuilder.Append("\r\n ");
templateBuilder.Append(Utils.ObjectToStr(userModel.user_name));
templateBuilder.Append("\r\n ");
} //end for if
templateBuilder.Append("\r\n </h3>\r\n <p><b>");
templateBuilder.Append(Utils.ObjectToStr(groupModel.title));
templateBuilder.Append("</b></p>\r\n </div>\r\n \r\n <div class=\"center-nav\">\r\n <ul>\r\n <li>\r\n <h2>\r\n <i class=\"iconfont icon-order\"></i>\r\n <span>授权治理</span>\r\n </h2>\r\n <div class=\"list\">\r\n <p><a href=\"");
templateBuilder.Append(linkurl("userlicense","list"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>我的群控授权列表</a></p>\r\n <p><a href=\"javascript:;\" onclick=\"showBuyDialog(this);\"><i class=\"iconfont icon-arrow-right\"></i>采办一个群控授权</a></p>\r\n <p><a href=\"javascript:;\" onclick=\"addUserDialog(this);\"><i class=\"iconfont icon-arrow-right\"></i>新开免费试用授权</a></p>\r\n </div>\r\n </li>\r\n <li>\r\n <h2>\r\n <i class=\"iconfont icon-amount\"></i>\r\n <span>余额治理</span>\r\n </h2>\r\n <div class=\"list\">\r\n <p><a href=\"");
templateBuilder.Append(linkurl("useramount","recharge"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>账户充值</a></p>\r\n <p><a href=\"");
templateBuilder.Append(linkurl("useramount","log"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>充值纪录</a></p>\r\n <p><a href=\"");
templateBuilder.Append(linkurl("useramount","list"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>出入明细</a></p>\r\n </div>\r\n </li>\r\n <li>\r\n <h2>\r\n <i class=\"iconfont icon-point\"></i>\r\n <span>积分治理</span>\r\n </h2>\r\n <div class=\"list\">\r\n <p><a href=\"");
templateBuilder.Append(linkurl("userpoint","convert"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>积分兑换</a></p>\r\n <p><a href=\"");
templateBuilder.Append(linkurl("userpoint","list"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>积明显细</a></p>\r\n </div>\r\n </li>\r\n <li>\r\n <h2>\r\n <i class=\"iconfont icon-comment\"></i>\r\n <span>站内新闻</span>\r\n </h2>\r\n <div class=\"list\">\r\n <p><a href=\"");
templateBuilder.Append(linkurl("usermessage","system"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>系统新闻</a></p>\r\n <p><a href=\"");
templateBuilder.Append(linkurl("usermessage","accept"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>收件箱</a></p>\r\n <p><a href=\"");
templateBuilder.Append(linkurl("usermessage","send"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>发件箱</a></p>\r\n </div>\r\n </li>\r\n <li>\r\n <h2>\r\n <i class=\"iconfont icon-user\"></i>\r\n <span>账户治理</span>\r\n </h2>\r\n <div class=\"list\">\r\n ");
if (userModel.id==1)
{
templateBuilder.Append("\r\n <p><a href=\"");
templateBuilder.Append(linkurl("usercenter","invite"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>约请注册</a></p>\r\n ");
} //end for if
templateBuilder.Append("\r\n\r\n <p><a href=\"");
templateBuilder.Append(linkurl("usercenter","proinfo"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>账户资料</a></p>\r\n <p><a href=\"");
templateBuilder.Append(linkurl("usercenter","avatar"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>头像设置</a></p>\r\n <p><a href=\"");
templateBuilder.Append(linkurl("usercenter","password"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>批改密码</a></p>\r\n <p><a href=\"");
templateBuilder.Append(linkurl("usercenter","exit"));
templateBuilder.Append("\"><i class=\"iconfont icon-arrow-right\"></i>退出登录</a></p>\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n \r\n </div>\r\n </div>");
templateBuilder.Append("\r\n <!--/页面左边-->\r\n \r\n <!--页面右边-->\r\n <div class=\"right-auto\">\r\n <div class=\"bg-wrap\" style=\"min-height:765px;\">\r\n ");
if (action=="list")
{
templateBuilder.Append("\r\n <!--买卖订单-->\r\n <div class=\"sub-tit\">\r\n <a class=\"add\" href=\"javascript:history.go(-1);\"><i class=\"iconfont icon-reply\"></i>返回</a>\r\n <ul>\r\n <li class=\"selected\">\r\n <a href=\"");
templateBuilder.Append(linkurl("userorder","list"));
templateBuilder.Append("\">买卖订单</a>\r\n </li>\r\n <li>\r\n <a href=\"");
templateBuilder.Append(linkurl("userorder","close"));
templateBuilder.Append("\">已关关订单</a>\r\n </li>\r\n </ul>\r\n </div>\r\n \r\n <div class=\"table-wrap\">\r\n <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"ftable\">\r\n <tr>\r\n <th width=\"16%\" align=\"left\">订单号</th>\r\n <th align=\"left\">订单商品</th>\r\n <th width=\"10%\">姓名</th>\r\n <th width=\"12%\">订单金额</th>\r\n <th width=\"20%\">下单功夫</th>\r\n <th width=\"10%\">状态</th>\r\n <th width=\"12%\">操作</th>\r\n </tr>\r\n ");
DataTable list = get_order_list(10, page, "user_id="+userModel.id+" and status<=3", out totalcount);
templateBuilder.Append(" <!--获得一个DataTable-->\r\n ");
string pagelist = get_page_link(10, page, totalcount, "userorder", action, "__id__");
templateBuilder.Append(" <!--获得分页页码列表-->\r\n ");
foreach(DataRow dr in list.Rows)
{
templateBuilder.Append("\r\n <tr>\r\n <td>" + Utils.ObjectToStr(dr["order_no"]) + "</td>\r\n <td>\r\n ");
List<DTcms.Model.article> ls = get_order_goods_list(Utils.StrToInt(Utils.ObjectToStr(dr["id"]), 0));
if (ls!=null)
{
foreach(DTcms.Model.article modelt in ls)
{
templateBuilder.Append("\r\n <a target=\"_blank\" title=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt.title));
templateBuilder.Append("\" href=\"");
templateBuilder.Append(linkurl("goods_show",modelt.id));
templateBuilder.Append("\">\r\n <img width=\"60\" height=\"60\" alt=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt.title));
templateBuilder.Append("\" src=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt.img_url));
templateBuilder.Append("\" class=\"img\">\r\n </a>\r\n ");
} //end for if
} //end for if
templateBuilder.Append("\r\n </td>\r\n <td align=\"center\">" + Utils.ObjectToStr(dr["accept_name"]) + "</td>\r\n <td align=\"center\"><strong>¥" + Utils.ObjectToStr(dr["order_amount"]) + "</strong><br />");
templateBuilder.Append(get_payment_title(Utils.StrToInt(Utils.ObjectToStr(dr["payment_id"]), 0)).ToString());
templateBuilder.Append("</td>\r\n <td align=\"center\">" + Utils.ObjectToStr(dr["add_time"]) + "</td>\r\n <td align=\"center\">\r\n ");
templateBuilder.Append(get_order_status(Utils.StrToInt(Utils.ObjectToStr(dr["id"]), 0)).ToString());
templateBuilder.Append("\r\n </td>\r\n <td align=\"center\">\r\n <a href=\"");
templateBuilder.Append(linkurl("userorder_show",Utils.ObjectToStr(dr["id"])));
templateBuilder.Append("\">查看订单</a><br />\r\n ");
if (get_order_payment_status(Utils.StrToInt(Utils.ObjectToStr(dr["id"]), 0)))
{
templateBuilder.Append("\r\n <a href=\"");
templateBuilder.Append(linkurl("payment","?action=confirm&order_no="+Utils.ObjectToStr(dr["order_no"])));
templateBuilder.Append("\">去付款</a> |\r\n ");
} //end for if
if (Utils.StrToInt(Utils.ObjectToStr(dr["status"]), 0)<2)
{
templateBuilder.Append("\r\n <a href=\"javascript:;\" onclick=\"clickSubmit('");
templateBuilder.Append(Utils.ObjectToStr(config.webpath));
templateBuilder.Append("tools/submit_ajax.ashx?action=order_cancel&order_no=" + Utils.ObjectToStr(dr["order_no"]) + "');\">取缔</a>\r\n ");
} //end for if
templateBuilder.Append("\r\n </td>\r\n </tr>\r\n ");
} //end for if
if (list.Rows.Count==0)
{
templateBuilder.Append("\r\n <tr><td colspan=\"8\" align=\"center\">暂无纪录...</td></tr>\r\n ");
} //end for if
templateBuilder.Append("\r\n </table>\r\n \r\n <div class=\"page-foot\">\r\n <div class=\"flickr right\">");
templateBuilder.Append(Utils.ObjectToStr(pagelist));
templateBuilder.Append("</div><!--搁置页码列表-->\r\n </div>\r\n </div>\r\n <!--/买卖订单-->\r\n \r\n ");
}
else if (action=="close")
{
templateBuilder.Append("\r\n <!--已关关订单-->\r\n <div class=\"sub-tit\">\r\n <a class=\"add\" href=\"javascript:history.go(-1);\"><i class=\"iconfont icon-reply\"></i>返回</a>\r\n <ul>\r\n <li>\r\n <a href=\"");
templateBuilder.Append(linkurl("userorder","list"));
templateBuilder.Append("\">买卖订单</a>\r\n </li>\r\n <li class=\"selected\">\r\n <a href=\"");
templateBuilder.Append(linkurl("userorder","close"));
templateBuilder.Append("\">已关关订单</a>\r\n </li>\r\n </ul>\r\n </div>\r\n \r\n <div class=\"table-wrap\">\r\n <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" class=\"ftable\">\r\n <tr>\r\n <th width=\"16%\" align=\"left\">订单号</th>\r\n <th align=\"left\">订单商品</th>\r\n <th width=\"10%\">姓名</th>\r\n <th width=\"12%\">订单金额</th>\r\n <th width=\"20%\">下单功夫</th>\r\n <th width=\"10%\">状态</th>\r\n <th width=\"12%\">操作</th>\r\n </tr>\r\n ");
DataTable list = get_order_list(10, page, "user_id="+userModel.id+" and status>3", out totalcount);
templateBuilder.Append(" <!--获得一个DataTable-->\r\n ");
string pagelist = get_page_link(10, page, totalcount, "userorder", action, "__id__");
templateBuilder.Append(" <!--获得分页页码列表-->\r\n ");
foreach(DataRow dr in list.Rows)
{
templateBuilder.Append("\r\n <tr>\r\n <td>" + Utils.ObjectToStr(dr["order_no"]) + "</td>\r\n <td>\r\n ");
List<DTcms.Model.article> ls = get_order_goods_list(Utils.StrToInt(Utils.ObjectToStr(dr["id"]), 0));
if (ls!=null)
{
foreach(DTcms.Model.article modelt in ls)
{
templateBuilder.Append("\r\n <a target=\"_blank\" title=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt.title));
templateBuilder.Append("\" href=\"");
templateBuilder.Append(linkurl("goods_show",modelt.id));
templateBuilder.Append("\">\r\n <img width=\"60\" height=\"60\" alt=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt.title));
templateBuilder.Append("\" src=\"");
templateBuilder.Append(Utils.ObjectToStr(modelt.img_url));
templateBuilder.Append("\" class=\"img\">\r\n </a>\r\n ");
} //end for if
} //end for if
templateBuilder.Append("\r\n </td>\r\n <td align=\"center\">" + Utils.ObjectToStr(dr["accept_name"]) + "</td>\r\n <td align=\"center\"><strong>¥" + Utils.ObjectToStr(dr["order_amount"]) + "</strong><br />");
templateBuilder.Append(get_payment_title(Utils.StrToInt(Utils.ObjectToStr(dr["payment_id"]), 0)).ToString());
templateBuilder.Append("</td>\r\n <td align=\"center\">" + Utils.ObjectToStr(dr["add_time"]) + "</td>\r\n <td align=\"center\">\r\n ");
templateBuilder.Append(get_order_status(Utils.StrToInt(Utils.ObjectToStr(dr["id"]), 0)).ToString());
templateBuilder.Append("\r\n </td>\r\n <td align=\"center\">\r\n <a href=\"");
templateBuilder.Append(linkurl("userorder_show",Utils.ObjectToStr(dr["id"])));
templateBuilder.Append("\">查看订单</a><br />\r\n </td>\r\n </tr>\r\n ");
} //end for if
if (list.Rows.Count==0)
{
templateBuilder.Append("\r\n <tr><td colspan=\"8\" align=\"center\">暂无纪录...</td></tr>\r\n ");
} //end for if
templateBuilder.Append("\r\n </table>\r\n \r\n <div class=\"page-foot\">\r\n <div class=\"flickr right\">");
templateBuilder.Append(Utils.ObjectToStr(pagelist));
templateBuilder.Append("</div><!--搁置页码列表-->\r\n </div>\r\n </div>\r\n <!--已关关订单-->\r\n ");
} //end for if
templateBuilder.Append("\r\n \r\n </div>\r\n </div>\r\n <!--页面右边-->\r\n</div>\r\n\r\n<!--页面底部-->\r\n");
templateBuilder.Append("<div class=\"footer\">\r\n <div class=\"section\">\r\n <div class=\"foot-box\" style=\"text-align:center;color:gray\">\r\n <p class=\"gray\">");
templateBuilder.Append(Utils.ObjectToStr(site.copyright));
templateBuilder.Append(" ");
templateBuilder.Append(Utils.ObjectToStr(site.crod));
templateBuilder.Append("</p>\r\n </div>\r\n </div>\r\n</div>");
templateBuilder.Append("\r\n<!--/页面底部-->\r\n</body>\r\n</html>");
Response.Write(templateBuilder.ToString());
}
#line default
#line hidden
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public aspx_main_userorder_aspx() {
string[] dependencies;
((global::DTcms.Web.UI.Page.userorder)(this)).AppRelativeVirtualPath = "~/aspx/main/userorder.aspx";
if ((global::ASP.aspx_main_userorder_aspx.@__initialized == false)) {
dependencies = new string[1];
dependencies[0] = "~/aspx/main/userorder.aspx";
global::ASP.aspx_main_userorder_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
global::ASP.aspx_main_userorder_aspx.@__initialized = true;
}
this.Server.ScriptTimeout = 30000000;
}
protected System.Web.Profile.DefaultProfile Profile {
get {
return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
}
}
protected System.Web.HttpApplication ApplicationInstance {
get {
return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void @__BuildControlTree(aspx_main_userorder_aspx @__ctrl) {
#line 1 "D:\wwwroot\west202004\wwwroot\aspx\main\userorder.aspx"
this.InitializeCulture();
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void FrameworkInitialize() {
base.FrameworkInitialize();
this.@__BuildControlTree(this);
this.AddWrappedFileDependencies(global::ASP.aspx_main_userorder_aspx.@__fileDependencies);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override int GetTypeHashCode() {
return 5381;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override void ProcessRequest(System.Web.HttpContext context) {
base.ProcessRequest(context);
}
}
}