<%@ Page language="c#" Codebehind="OrderFormFilingManage.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.OrderFormFilingManage" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextOrderForm")%>
			-
			<%=mConfigInf.strWebTitle%>
		</title>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<META content="<%=mConfigInf.strDescription%>" name=description>
		<META content="<%=mConfigInf.strKeywords%>" name=keywords>
		<LINK href="../StyleSheet1.css" rel="stylesheet">
		<LINK href="../StyleSheet2.css" rel="stylesheet">
		<SCRIPT language="javascript" id="clientEventHandlersJS">
		<!--

		//***********默认设置定义.*********************   
		tPopWait=50;//停留tWait豪秒后显示提示。   
		tPopShow=5000;//显示tShow豪秒后关闭提示   
		showPopStep=20;   
		popOpacity=100;   
			
		//***************内部变量定义*****************   
		sPop=null;   
		curShow=null;   
		tFadeOut=null;   
		tFadeIn=null;   
		tFadeWaiting=null;   
			
		document.write("<style   type='text/css'id='defaultPopStyle'>");   
		document.write(".cPopText   {     background-color:   #F8F8F5;color:#000000;   border:   1px   #000000   solid;font-color:   font-size:   12px;   padding-right:   4px;   padding-left:   4px;   height:   20px;   padding-top:   2px;   padding-bottom:   2px;   filter:   Alpha(Opacity=0)}");   
		document.write("</style>");   
		document.write("<div   id='dypopLayer'   style='position:absolute;z-index:1000;'   class='cPopText'></div>");   
			
			
		function   showPopupText(){   
		var   o=event.srcElement;   
				MouseX=event.x;   
				MouseY=event.y;   
				if(o.alt!=null   &&   o.alt!=""){o.dypop=o.alt;o.alt=""};   
						if(o.title!=null   &&   o.title!=""){o.dypop=o.title;o.title=""};   
				if(o.dypop!=sPop)   {   
								sPop=o.dypop;   
								clearTimeout(curShow);   
								clearTimeout(tFadeOut);   
								clearTimeout(tFadeIn);   
								clearTimeout(tFadeWaiting);     
								if(sPop==null   ||   sPop=="")   {   
										dypopLayer.innerHTML="";   
										dypopLayer.style.filter="Alpha()";   
										dypopLayer.filters.Alpha.opacity=0;     
										}   
								else   {   
										if(o.dyclass!=null)   popStyle=o.dyclass     
												else   popStyle="cPopText";   
										curShow=setTimeout("showIt()",tPopWait);   
								}   
			                        
				}   
		}   
			
		function   showIt(){   
						dypopLayer.className=popStyle;   
						//在这里设置..可以做出各种各样的效果.   
						dypopLayer.innerHTML="<font   color=red><b>"+sPop+"</b></font>";   
						popWidth=dypopLayer.clientWidth;   
						popHeight=dypopLayer.clientHeight;   
						if(MouseX+12+popWidth>document.body.clientWidth)   popLeftAdjust=-popWidth-24   
								else   popLeftAdjust=0;   
						if(MouseY+12+popHeight>document.body.clientHeight)   popTopAdjust=-popHeight-24   
								else   popTopAdjust=0;   
						dypopLayer.style.left=MouseX+12+document.body.scrollLeft+popLeftAdjust;   
						dypopLayer.style.top=MouseY+12+document.body.scrollTop+popTopAdjust;   
						dypopLayer.style.filter="Alpha(Opacity=0)";   
						fadeOut();   
		}   
			
		function   fadeOut(){   
				if(dypopLayer.filters.Alpha.opacity<popOpacity)   {   
						dypopLayer.filters.Alpha.opacity+=showPopStep;   
						tFadeOut=setTimeout("fadeOut()",1);   
						}   
						else   {   
								dypopLayer.filters.Alpha.opacity=popOpacity;   
								tFadeWaiting=setTimeout("fadeIn()",tPopShow);   
								}   
		}   
			
		function   fadeIn(){   
				if(dypopLayer.filters.Alpha.opacity>0)   {   
						dypopLayer.filters.Alpha.opacity-=1;   
						tFadeIn=setTimeout("fadeIn()",1);   
						}   
		}   
			
		function   hidePopupText(){   
			
			        
				clearTimeout(curShow);   
				clearTimeout(tFadeOut);   
				clearTimeout(tFadeIn);   
				clearTimeout(tFadeWaiting);     
			        
				dypopLayer.innerHTML="";   
				dypopLayer.style.filter="Alpha()";   
				dypopLayer.filters.Alpha.opacity=0;     
			                
				sPop=null;   
				curShow=null;   
				tFadeOut=null;   
				tFadeIn=null;   
				tFadeWaiting=null; 
			    
			    
		}  
		
		
		function imgHelp_onclick() {
			popUpWin("DSHelp/OrderFormManage.htm","Help",100,100,800,600);
			}
			
			
		function popUpWin(URLStr,WinName, left, top, width, height)
		{
			var popUpWin=0;
			if(popUpWin)

			{

			if(!popUpWin.closed) popUpWin.close();

			}

			popUpWin = open(URLStr, WinName, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
		}
		
		
		function selall()
		{	
			var a = document.getElementsByTagName("input");
		
			var str;
			var len;
			var state;
			for (var i=0; i<a.length; i++)
			{
				if (a[i].type == "checkbox") 
				{
					str=a[i].id;
					len=str.lastIndexOf("ckSelAll");
					if((len * 1)>=1)
					{
						state=a[i].checked;
						break;
						}
				}
			}
			for (var i=0; i<a.length; i++)
			{
				if (a[i].type == "checkbox") 
				{
					str=a[i].id;
					len=str.lastIndexOf("ckSelItem");
					if((len * 1)>=1)
						a[i].checked=state;
				}
			}
		}
		//-->
		</SCRIPT>
		<script language="javascript"> 
			function copyToClipBoard(clipBoardContent){ 
			window.clipboardData.setData("Text",clipBoardContent); 
			} 
		</script>
		<script language="javascript"> 
			function copyToClipBoard(clipBoardContent){ 
			window.clipboardData.setData("Text",clipBoardContent); 
			} 
		</script>
         <link rel="stylesheet" href="../editor/themes/default/default.css" />
	    <link rel="stylesheet" href="../editor/plugins/code/prettify.css" />
	    <script charset="utf-8" src="../editor/kindeditor.js"></script>
	    <script charset="utf-8" src="../editor/lang/zh_CN.js"></script>
	    <script charset="utf-8" src="../editor/plugins/code/prettify.js"></script>
	    <script>
	        KindEditor.ready(function (K) {
	            var editor1 = K.create('#txtToUserRemarkContent', {
	                cssPath: '../editor/plugins/code/prettify.css',
	                uploadJson: '../editor/netfile/upload_json.ashx',
	                fileManagerJson: '../editor/netfile/file_manager_json.ashx',
	                allowFileManager: true,
	                afterCreate: function () {
	                    var self = this;
	                    K.ctrl(document, 13, function () {
	                        self.sync();
	                        K('form[name=example]')[0].submit();
	                    });
	                    K.ctrl(self.edit.doc, 13, function () {
	                        self.sync();
	                        K('form[name=example]')[0].submit();
	                    });
	                }
	            });
	            prettyPrint();
	        });
	    </script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<asp:Label id="lbEditID" runat="server" Visible="false"></asp:Label>
			<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal><asp:panel id="Pan1" runat="server">
				<TABLE cellSpacing="0" cellPadding="0" width="97%" align="center" border="0">
					<TR>
						<TD vAlign="top">
							<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
								<TR>
									<TD vAlign="top" bgColor="#ffffff">
										<TABLE class="p9black" cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TR>
												<TD>
													<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
														<TR>
															<TD class="p12black"><SPAN class="p9orange"><IMG height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextBillManage")%>--&gt;<%=myLanguagesDeal.GetMyString("FilingManageTextOrderForm")%></SPAN>
															</TD>
															<TD>
																<TABLE cellSpacing="5">
																	<TR>
																		<TD>
																			<asp:ImageButton id="ibtSelDelete" runat="server" Width="31" Height="29" ImageUrl="../Images/Admin/fb-delete.gif" onclick="ibtSelDelete_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextDelete")%></TD>
																	</TR>
																</TABLE>
															</TD>
															<TD>
																<TABLE cellSpacing="5">
																	<TR>
																		<TD>
																			<asp:ImageButton id="ibtReturnPre" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif" CausesValidation="False" onclick="ibtReturnPre_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextReturn")%></TD>
																	</TR>
																</TABLE>
															</TD>
														</TR>
													</TABLE>
												</TD>
											</TR>
										</TABLE>
										<asp:Label id="lbdgColorbg" runat="server" Visible="False">#D8000F</asp:Label>
										<asp:Label id="lbdgColorbg1" runat="server" Visible="False">#999999</asp:Label>
										<asp:Label id="lbOFStateColor0" runat="server" Visible="False">#007BBB</asp:Label>
										<asp:Label id="lbOFStateColor1" runat="server" Visible="False">#B08827</asp:Label>
										<asp:Label id="lbOFStateColor2" runat="server" Visible="False">#008077</asp:Label>
										<asp:Label id="lbOFStateColor3" runat="server" Visible="False">#6F196F</asp:Label>
										<asp:Label id="lbOFStateColor4" runat="server" Visible="False">#22AEE6</asp:Label>
										<asp:Label id="lbOFStateColor31" runat="server" Visible="False">#CF0070</asp:Label>
										<asp:Label id="lbOFInvalidColor" runat="server" Visible="False">#828282</asp:Label>
										<asp:Label id="lbOFIsStockColor" runat="server" Visible="False">#00CC33</asp:Label>
										<HR noShade SIZE="1">
										<TABLE class="p9black" cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TR>
												<TD style="display:none"><asp:DropDownList id="drlDepotInf" runat="server" CssClass="wenbenkuang"></asp:DropDownList></TD>
												<TD>
													<asp:DropDownList id="drlFindKeyType" runat="server">
														<asp:ListItem Value="0">订单号</asp:ListItem>
														<asp:ListItem Value="1">用户姓名</asp:ListItem>
														<asp:ListItem Value="2">收货人姓名</asp:ListItem>
														<asp:ListItem Value="3">收货人地址</asp:ListItem>
														<asp:ListItem Value="4">收货人电话</asp:ListItem>
														<asp:ListItem Value="5">收货人邮箱</asp:ListItem>
														<asp:ListItem Value="6">订单金额></asp:ListItem>
														<asp:ListItem Value="7">订单金额&lt;</asp:ListItem>
														<asp:ListItem Value="8">订单金额=</asp:ListItem>
														<asp:ListItem Value="9">用户名</asp:ListItem>
													</asp:DropDownList>
													<asp:TextBox id="txtFindKey" runat="server" Width="80px" CssClass="wenbenkuang"></asp:TextBox></TD>
												<TD><%=myLanguagesDeal.GetMyString("TextStart")%>
													<asp:TextBox id="txtStartDate" onclick="WdatePicker()" runat="server" Width="65px" CssClass="wenbenkuang"></asp:TextBox></TD>
												<TD>&nbsp;<%=myLanguagesDeal.GetMyString("TextEnd")%>
													<asp:TextBox id="txtEndDate" onclick="WdatePicker()" runat="server" Width="65px" CssClass="wenbenkuang"></asp:TextBox>&nbsp;</TD>
												<TD>
													<asp:DropDownList id="drlSelState" runat="server" onselectedindexchanged="drlSelState_SelectedIndexChanged">
														<asp:ListItem Value="-2" Selected="True">全部订单</asp:ListItem>
														<asp:ListItem Value="-1">未作任何处理</asp:ListItem>
														<asp:ListItem Value="0">已确认</asp:ListItem>
														<asp:ListItem Value="1">用户已经划出款</asp:ListItem>
														<asp:ListItem Value="2">服务商已经收到款</asp:ListItem>
														<asp:ListItem Value="3">服务商已经发货</asp:ListItem>
														<asp:ListItem Value="4">用户已经收到货</asp:ListItem>
														<asp:ListItem Value="5">服务商已经发货(未收款)</asp:ListItem>
														<asp:ListItem Value="6">作废订单</asp:ListItem>
														<asp:ListItem Value="7">备货中</asp:ListItem>
													</asp:DropDownList></TD>
												<TD></TD>
												<TD>
													<asp:DropDownList id="drlFindOrder" runat="server">
														<asp:ListItem Value="0">按下单时间</asp:ListItem>
														<asp:ListItem Value="1">按订单金额</asp:ListItem>
														<asp:ListItem Value="2">按下单用户</asp:ListItem>
														<asp:ListItem Value="3">按配送方式</asp:ListItem>
														<asp:ListItem Value="4">按支付方式</asp:ListItem>
														<asp:ListItem Value="5">按订单状态</asp:ListItem>
														<asp:ListItem Value="6">按订单积分</asp:ListItem>
														<asp:ListItem Value="7">按配送费用</asp:ListItem>
														<asp:ListItem Value="8">按商品费用</asp:ListItem>
													</asp:DropDownList></TD>
												<TD>
													<asp:RadioButtonList id="rblFindOrderMode" runat="server" RepeatDirection="Horizontal">
														<asp:ListItem Value="0" Selected="True">降序</asp:ListItem>
														<asp:ListItem Value="1">升序</asp:ListItem>
													</asp:RadioButtonList></TD>
												<TD>
													<asp:Button id="btSure" runat="server" CssClass="go-wenbenkuang" Text="查询" onclick="btSure_Click"></asp:Button></TD>
											</TR>
										</TABLE>
										<TABLE style="DISPLAY: none" border="0">
											<TR>
												<TD width=20 bgColor="<%=lbdgColorbg.Text%>">&nbsp;</TD>
												<TD><%=myLanguagesDeal.GetMyString("OrderFormSelState-1")%></TD>
												<TD width=20 bgColor="<%=lbOFStateColor0.Text%>">&nbsp;</TD>
												<TD><%=myLanguagesDeal.GetMyString("OrderFormSelState0")%></TD>
												<TD width=20 bgColor="<%=lbOFStateColor1.Text%>">&nbsp;</TD>
												<TD><%=myLanguagesDeal.GetMyString("OrderFormSelState1")%></TD>
												<TD width=20 bgColor="<%=lbOFStateColor2.Text%>">&nbsp;</TD>
												<TD><%=myLanguagesDeal.GetMyString("OrderFormSelState2")%></TD>
												<TD width=20 bgColor="<%=lbOFStateColor3.Text%>">&nbsp;</TD>
												<TD><%=myLanguagesDeal.GetMyString("OrderFormSelState3")%></TD>
												<TD width=20 bgColor="<%=lbOFStateColor4.Text%>">&nbsp;</TD>
												<TD><%=myLanguagesDeal.GetMyString("OrderFormSelState4")%></TD>
												<TD width=20 bgColor="<%=lbOFStateColor31.Text%>">&nbsp;</TD>
												<TD><%=myLanguagesDeal.GetMyString("OrderFormSelState3")%>(<%=myLanguagesDeal.GetMyString("OrderFormTextNoGathering")%>)</TD>
											</TR>
										</TABLE>
										<asp:datagrid id="dgList" runat="server" Width="100%" CssClass="table-shangxia" DataKeyField="OFID"
											AutoGenerateColumns="False" AllowPaging="True">
											<HeaderStyle HorizontalAlign="Center" BackColor="#f1f1f1"></HeaderStyle>
											<Columns>
												<asp:BoundColumn DataField="OFID" HeaderText="TextOFNumber">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="OFMoneySum" HeaderText="OrderFormMoney">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="UserName" HeaderText="OrderFormUser">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="RecevierName" HeaderText="OrderFormRecevierName">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="OFTime" HeaderText="OrderFormTime">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="OFPayMode" HeaderText="TextPayMode">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="OFSendMode" HeaderText="TextSendMode">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:BoundColumn DataField="OFState" HeaderText="OrderFormState">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:TemplateColumn HeaderText="TextView">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
													<ItemTemplate>
														<asp:Button id="btViewInf" Text="查看" CssClass="go-wenbenkuang" CommandName="GetDetails" Runat="server"></asp:Button>
													</ItemTemplate>
												</asp:TemplateColumn>
												<asp:BoundColumn DataField="ManageRemark" HeaderText="TextRemark">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
												<asp:TemplateColumn>
													<HeaderStyle></HeaderStyle>
													<HeaderTemplate>
														<asp:CheckBox id="ckSelAll" runat="server" onClick="selall()"></asp:CheckBox>
													</HeaderTemplate>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
													<ItemTemplate>
														<asp:CheckBox id="ckSelItem" runat="server"></asp:CheckBox>
													</ItemTemplate>
												</asp:TemplateColumn>
												<asp:BoundColumn DataField="ItemStateColor" HeaderText="Color" Visible="False">
													<HeaderStyle></HeaderStyle>
													<ItemStyle HorizontalAlign="Center"></ItemStyle>
												</asp:BoundColumn>
											</Columns>
											<PagerStyle NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right" Visible="False"></PagerStyle>
										</asp:datagrid>
										<TABLE class="table-notop" width="100%" align="center" border="0">
											<TR align="center" bgColor="#f1f1f1">
												<TD>
													<asp:button id="btFirst" runat="server" CssClass="go-wenbenkuang" Text=" 首 页" BorderStyle="Groove" onclick="btFirst_Click"></asp:button>&nbsp;
													<asp:button id="btPre" runat="server" CssClass="go-wenbenkuang" Text="上一页" BorderStyle="Groove" onclick="btPre_Click"></asp:button>&nbsp;
													<asp:button id="btNext" runat="server" CssClass="go-wenbenkuang" Text="下一页" BorderStyle="Groove" onclick="btNext_Click"></asp:button>&nbsp;
													<asp:button id="btLast" runat="server" CssClass="go-wenbenkuang" Text=" 尾 页" BorderStyle="Groove" onclick="btLast_Click"></asp:button>&nbsp;
													<asp:label id="lbPage" runat="server"></asp:label>&nbsp;
													<%=myLanguagesDeal.GetMyString("TextGotoPage")%>
													<asp:textbox id="txtPageNum" runat="server" Width="30px" CssClass="wenbenkuang" MaxLength="3"></asp:textbox>
													<asp:CompareValidator id="CompareValidator1" runat="server" Display="Dynamic" Type="Integer" Operator="DataTypeCheck"
														ControlToValidate="txtPageNum" ErrorMessage="输入数字" ForeColor="#FF0000"></asp:CompareValidator><%=myLanguagesDeal.GetMyString("TextPages")%>
													<asp:Button id="btGo" runat="server" CssClass="go-wenbenkuang" Text="Go" onclick="btGo_Click"></asp:Button></TD>
											</TR>
										</TABLE>
									</TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
				</TABLE>
				<TABLE width="100%" align="center" border="0">
					<TR align="center">
						<TD>
							<asp:LinkButton id="lkbOFToExcel" runat="server" Visible="False" ForeColor="Red" onclick="lkbOFToExcel_Click"></asp:LinkButton>
							<asp:LinkButton id="lkbSelectedOFToExcel" runat="server" Text="导出选择的订单" ForeColor="Red" onclick="lkbSelectedOFToExcel_Click"></asp:LinkButton>&nbsp;&nbsp;<%=myLanguagesDeal.GetMyString("OrderFormMsg1")%><!--点击下单人可以查看用户所有交易明细--></TD>
					</TR>
				</TABLE>
			</asp:panel><asp:panel id="Pan2" runat="server" Visible="False">
				<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
					<TR>
						<TD vAlign="top" height="262">
							<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
								<TR>
									<TD vAlign="top" bgColor="#ffffff">
										<TABLE cellSpacing="0" cellPadding="4" width="100%" border="0">
											<TR>
												<TD>
													<TABLE class="p9black" cellSpacing="0" cellPadding="0" width="100%" border="0">
														<TR>
															<TD>
																<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
																	<TR>
																		<TD class="p12black" align="left" width="200"><SPAN class="p9orange"><IMG height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextOrderForm")%>--&gt;<%=myLanguagesDeal.GetMyString("OrderFormDetail")%></SPAN>
																			<IMG language=javascript id=imgHelp1 
                              style="CURSOR: pointer" 
                              onclick="return imgHelp_onclick()" 
                              alt='<%=myLanguagesDeal.GetMyString("TextHelp")%>' 
                              src="../Images/Admin/helpicon.gif"></TD>
																		<TD align="right" width="50"><!--BUTTON_BEGIN-->
																			<TABLE>
																				<TR>
																					<TD vAlign="bottom" noWrap>
																						<asp:ImageButton id="ibtReturn" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif" onclick="ibtReturn_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextReturn")%></TD>
																				</TR>
																			</TABLE> <!--BUTTON_END--></TD>
																		<TD align="right" width="50"><!--BUTTON_BEGIN-->
																			<TABLE>
																				<TR align="right">
																					<TD vAlign="bottom" noWrap>
																						<asp:ImageButton id="ibtDelete" runat="server" ImageUrl="../Images/Admin/fb-delete.gif" onclick="ibtDelete_Click"></asp:ImageButton>
																						<asp:Label id="lbDelete" runat="server" EnableViewState="False">删除</asp:Label></TD>
																				</TR>
																			</TABLE> <!--BUTTON_END--></TD>
																		<TD vAlign="bottom" align="right" width="50"><!--BUTTON_BEGIN-->
																			<TABLE align="center">
																				<TR vAlign="bottom">
																					<TD vAlign="bottom" noWrap><A 
                                href="OrderFormPrintPage.aspx?OFID=<%=lbEditID.Text%>" 
                                target=_blank><IMG src="../Images/Admin/fb-print.gif" border="0"></A><%=myLanguagesDeal.GetMyString("OrderFormDirectPrint")%>
																					</TD>
																				</TR>
																			</TABLE> <!--BUTTON_END--></TD>
																		<TD vAlign="bottom" align="right" width="50"><!--BUTTON_BEGIN-->
																			<TABLE align="center">
																				<TR vAlign="bottom">
																					<TD vAlign="bottom" noWrap>
																						<asp:DropDownList id="drlDownFormat" runat="server" CssClass="wenbenkuang">
																							<asp:ListItem Value="0" Selected="True">Word</asp:ListItem>
																							<asp:ListItem Value="1">Excel</asp:ListItem>
																							<asp:ListItem Value="2">Html</asp:ListItem>
																						</asp:DropDownList>
																						<asp:Button id="btDownData" runat="server" CssClass="go-wenbenkuang" Text="下载打印" onclick="btDownData_Click"></asp:Button></TD>
																				</TR>
																			</TABLE> <!--BUTTON_END--></TD>
																	</TR>
																</TABLE>
															</TD>
														</TR>
													</TABLE>
													<HR noShade SIZE="1">
													<asp:Label id="lbOFNowState" runat="server"></asp:Label></TD>
											</TR>
											<TR>
												<TD>
													<asp:Panel id="PanDown" runat="server">
														<asp:datagrid id="dgShopping" runat="server" Width="100%" CssClass="border-l-b-r-t" DataKeyField="ProductKey"
															AutoGenerateColumns="False" CellPadding="3" HorizontalAlign="Center" ShowFooter="False">
															<ItemStyle HorizontalAlign="Center"></ItemStyle>
															<HeaderStyle HorizontalAlign="Center" BackColor="#f1f1f1"></HeaderStyle>
															<FooterStyle HorizontalAlign="Center"></FooterStyle>
															<Columns>
																<asp:BoundColumn HeaderText="TextProductNumber" DataField="ProductNumber"></asp:BoundColumn>
																<asp:BoundColumn HeaderText="TextProductName" DataField="ProductName"></asp:BoundColumn>
																<asp:BoundColumn HeaderText="TextUnitPrice" DataField="Price"></asp:BoundColumn>
																<asp:BoundColumn HeaderText="TextAmount" DataField="Amount"></asp:BoundColumn>
																<asp:BoundColumn HeaderText="OrderFormTotal" DataField="Sum"></asp:BoundColumn>
															</Columns>
														</asp:datagrid>
														<DIV align="center">
															<asp:Label id="lbShoppingStat" Runat="server"></asp:Label></DIV>
														<TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
															<TR>
																<TD class="p12black" bgColor="#ffffff"><SPAN class="p9orange"><%=myLanguagesDeal.GetMyString("OrderFormOFInfo")%><!--订单信息--></SPAN></TD>
															</TR>
															<TR>
																<TD>
																	<TABLE class="allborder" cellSpacing="0" cellPadding="4" width="100%" bgColor="#f7f7f7"
																		border="0">
																		<TR>
																			<TD noWrap align="right" width="18%"><%=myLanguagesDeal.GetMyString("TextOFNumber")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--订单号：--></TD>
																			<TD noWrap width="27%">
																				<DIV align="left">
																					<asp:Label id="lbOFID" runat="server"></asp:Label></DIV>
																			</TD>
																			<TD noWrap align="right" width="16%"><%=myLanguagesDeal.GetMyString("OrderFormState")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--定单状态：--></TD>
																			<TD noWrap width="39%">
																				<DIV align="left">
																					<asp:Label id="lbOFState" runat="server"></asp:Label></DIV>
																			</TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right" width="18%"><%=myLanguagesDeal.GetMyString("OrderFormTime")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--下单时间：--></TD>
																			<TD noWrap width="27%">
																				<asp:Label id="lbOFTime" runat="server"></asp:Label></TD>
																			<TD vAlign="top" noWrap align="right" width="16%"><%=myLanguagesDeal.GetMyString("OrderFormProductSum")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品总金额：--></TD>
																			<TD noWrap width="39%">
																				<asp:Label id="lbGoodsMoney" runat="server"></asp:Label></TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right" width="18%"><%=myLanguagesDeal.GetMyString("TextSendMode")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--配送方式：--></TD>
																			<TD noWrap width="27%">
																				<asp:Label id="lbSendMode" runat="server"></asp:Label></TD>
																			<TD vAlign="top" noWrap align="right" width="16%"><%=myLanguagesDeal.GetMyString("OrderFormSendSum")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--商品运费：--></TD>
																			<TD noWrap width="39%">
																				<asp:Label id="lbSendMoney" runat="server"></asp:Label></TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right"><%=myLanguagesDeal.GetMyString("TextPayMode")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--支付方式：--></TD>
																			<TD noWrap>
																				<asp:Label id="lbPayMode" runat="server"></asp:Label></TD>
																			<TD vAlign="top" noWrap align="right"><%=myLanguagesDeal.GetMyString("TextTaxAmount")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--订单总金额：--></TD>
																			<TD noWrap>
																				<asp:Label id="lbOFTax" runat="server"></asp:Label></TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right"><%=myLanguagesDeal.GetMyString("OrderFormIsInvoice")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--需要发票：--></TD>
																			<TD noWrap>
																				<asp:Label id="lbInvoice" runat="server"></asp:Label></TD>
																			<TD vAlign="top" noWrap align="right"><%=myLanguagesDeal.GetMyString("VoucherTextMoney")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
																			<TD noWrap>
																				<asp:Label id="lbOFCoupon" runat="server"></asp:Label></TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right">
																				<asp:Label id="lbPackingInf1" runat="server"></asp:Label></TD>
																			<TD noWrap>
																				<asp:Label id="lbPackingInf2" runat="server"></asp:Label></TD>
																			<TD vAlign="top" noWrap align="right"><%=myLanguagesDeal.GetMyString("OrderFormTotalMonery")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
																			<TD noWrap>
																				<asp:Label id="lbSumMoney" runat="server"></asp:Label></TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right">
																				<asp:Label id="lbPresentPoint1" runat="server"></asp:Label></TD>
																			<TD noWrap>
																				<asp:Label id="lbPresentPoint2" runat="server"></asp:Label></TD>
																			<TD vAlign="top" noWrap align="right">
																				<asp:Label id="lbPayCharge1" runat="server"></asp:Label></TD>
																			<TD noWrap>
																				<asp:Label id="lbPayCharge2" runat="server"></asp:Label></TD>
																		</TR>
																	</TABLE>
																</TD>
															</TR>
														</TABLE>
														<TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
															<TR>
																<TD class="p12black" bgColor="#ffffff"><SPAN class="p9orange"><%=myLanguagesDeal.GetMyString("OrderFormBuyerInfo")%><!--购货人信息--></SPAN><SPAN style="CURSOR: pointer; COLOR: #ff0000" onClick="copyToClipBoard(tbbuyerinf.innerText); "><%=myLanguagesDeal.GetMyString("TextCopy")%></SPAN></TD>
															</TR>
															<TR>
																<TD>
																	<TABLE class="allborder" cellSpacing="0" cellPadding="4" width="100%" bgColor="#f7f7f7" id="tbbuyerinf"
																		border="0">
																		<TR>
																			<TD  noWrap align="right" width="18%"><%=myLanguagesDeal.GetMyString("OrderFormBuyerName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--购货人姓名：--></TD>
																			<TD noWrap align="right" width="27%">
																				<DIV align="left">
																					<SPAN language=javascript 
                              onmouseover="this.style.color='#FF6600'" 
                              style="CURSOR: pointer" 
                              onclick="popUpWin('ViewUserDetail.aspx?ID=<%=lbUserID.Text%>','ViewUserDetail',100,100,800,600)" 
                              onmouseout="this.style.color='#333333'"><asp:Label id="lbUserTrueName" runat="server"></asp:Label></SPAN>(<asp:Label id="lbUserGradeInf" runat="server"></asp:Label>)</DIV>																			</TD>
																			<TD  noWrap align="right" width="16%"><%=myLanguagesDeal.GetMyString("LoginUserName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--用户名：--></TD>
																			<TD noWrap align="right" width="39%">
																				<DIV align="left">
																					<SPAN language=javascript 
                              onmouseover="this.style.color='#FF6600'" 
                              style="CURSOR: pointer" 
                              onclick="popUpWin('ViewUserDealInf.aspx?ID=<%=lbUserID.Text%>','ViewUserDetail',100,100,800,600)" 
                              onmouseout="this.style.color='#333333'"><asp:Label id="lbUserName" runat="server"></asp:Label></SPAN>
																					<asp:Label id="lbUserIMCode" runat="server"></asp:Label><asp:Label id="lbUserID" runat="server" Visible="False"></asp:Label></DIV>																			</TD>
																		</TR>
																		<TR>
																			<TD  noWrap align="right" width="18%"><%=myLanguagesDeal.GetMyString("CorpTextLinkTel")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--联系电话：--></TD>
																			<TD noWrap align="right" width="27%">
																				<DIV align="left">
																					<asp:Label id="lbTel" runat="server"></asp:Label>
																			  </DIV>																			</TD>
																			<TD  noWrap align="right" width="16%"><%=myLanguagesDeal.GetMyString("MemberTextHandset")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
																			<TD noWrap align="right" width="39%">
																				<DIV align="left">
																				  <asp:Label ID="lbHandset" runat="server"></asp:Label>
																				</DIV>																			</TD>
																		</TR>
																		<TR>
																			<TD  noWrap align="right" width="18%"><%=myLanguagesDeal.GetMyString("OrderFormBuyerAddress")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--购货人地址：--></TD>
																			<TD align="right" colSpan="3">
																				<DIV align="left">
																					<asp:Label id="lbAddress" runat="server"></asp:Label></DIV>																			</TD>
																		</TR>
																		<TR>
																			<TD  noWrap align="right"><%=myLanguagesDeal.GetMyString("OFConsignPostCode")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--邮政编码：--></TD>
																			<TD >
																				<asp:Label id="lbPostCode" runat="server"></asp:Label></TD>
																				<TD  noWrap align="right" width="16%">Email<%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
																			<TD noWrap align="right" width="39%">
																				<DIV align="left">
																				  <asp:Label ID="lbEmail" runat="server"></asp:Label>
																			  </DIV>																			</TD>
																		</TR>
																		<TR>
																			<TD  noWrap align="right"><%=myLanguagesDeal.GetMyString("OrderFormBuyerLeaveWord")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--订单附言：--></TD>
																			<TD colSpan="3">
																				<asp:Label id="lbRemark" runat="server"></asp:Label></TD>
																		</TR>
																		<TR>
																			<TD  noWrap align="right"><%=myLanguagesDeal.GetMyString("MemberTextManageRemark")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--订单附言：--></TD>
																			<TD colSpan="3">
																				<asp:Label id="lbUserManageRemark" runat="server"></asp:Label></TD>
																		</TR>
																	</TABLE>
																</TD>
															</TR>
														</TABLE>
														<TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
															<TR>
																<TD class="p12black" bgColor="#ffffff"><SPAN class="p9orange"><%=myLanguagesDeal.GetMyString("OrderFormRecevierInfo")%><!--收货人信息--></SPAN><SPAN style="CURSOR: pointer; COLOR: #ff0000" onClick="copyToClipBoard(tbconsigneeinf.innerText); "><%=myLanguagesDeal.GetMyString("TextCopy")%></SPAN></TD>
															</TR>
															<TR>
																<TD>
																	<TABLE class="allborder" cellSpacing="0" cellPadding="4" width="100%" bgColor="#f7f7f7" id="tbconsigneeinf"
																		border="0">
																		<TR>
																			<TD  noWrap align="right" width="18%"><%=myLanguagesDeal.GetMyString("OrderFormRecevierName")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货人姓名：--></TD>
																			<TD noWrap align="right" width="27%">
																				<DIV align="left">
																					<asp:Label id="lbInTrueName" runat="server"></asp:Label></DIV>																			</TD>
																			<TD  noWrap align="right" width="16%">&nbsp;</TD>
																			<TD noWrap align="right" width="39%">
																				<DIV align="left"></DIV>																			</TD>
																		</TR>
																		<TR>
																			<TD style="HEIGHT: 26px"  noWrap align="right" width="18%"><%=myLanguagesDeal.GetMyString("CorpTextLinkTel")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--联系电话：--></TD>
																			<TD style="HEIGHT: 26px" noWrap align="right" width="27%">
																				<DIV align="left">
																					<asp:Label id="lbInTel" runat="server"></asp:Label></DIV>																			</TD>
																			<TD style="HEIGHT: 26px"  noWrap align="right" width="16%"><%=myLanguagesDeal.GetMyString("MemberTextHandset")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
																			<TD  width="39%">
																			 <asp:Label ID="lbInHandset" runat="server"></asp:Label>
																																					</TD>
																		</TR>
																		<TR>
																			<TD  noWrap align="right"><%=myLanguagesDeal.GetMyString("OrderFormRecevierAddress")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--收货人地址：--></TD>
																			<TD colSpan="3">
																				<asp:Label id="lbInAddress" runat="server"></asp:Label></TD>
																		</TR>
																		<TR>
																			<TD  noWrap align="right"><%=myLanguagesDeal.GetMyString("OFConsignPostCode")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--邮政编码：--></TD>
																			<TD>
																				<asp:Label id="lbInPostCode" runat="server"></asp:Label></TD>
																			<TD  noWrap align="right">Email<%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
																		  <TD><asp:Label ID="lbInEmail" runat="server"></asp:Label></TD>
																		</TR>
																	</TABLE>
																</TD>
															</TR>
														</TABLE>
														<TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
															<TR>
																<TD class="p12black" bgColor="#ffffff"><SPAN class="p9orange"><%=myLanguagesDeal.GetMyString("TextRemark")%></SPAN></TD>
															</TR>
															<TR>
																<TD>
																	<TABLE class="allborder" cellSpacing="0" cellPadding="4" width="100%" bgColor="#f7f7f7"
																		border="0">
																		<TR>
																			<TD vAlign="top" noWrap align="right" width="20%"><%=myLanguagesDeal.GetMyString("OrderFormManageRemarkFlag")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
																			<TD noWrap align="left" width="80%">
																				<asp:RadioButtonList id="rblManageRemarkFlag" runat="server" RepeatDirection="Horizontal">
																					<asp:ListItem Value="1" Selected="True">
																						<Img src="Images/offlag_1.png"></asp:ListItem>
																					<asp:ListItem Value="2">
																						<Img src="Images/offlag_2.png"></asp:ListItem>
																					<asp:ListItem Value="3">
																						<Img src="Images/offlag_3.png"></asp:ListItem>
																					<asp:ListItem Value="4">
																						<Img src="Images/offlag_4.png"></asp:ListItem>
																					<asp:ListItem Value="5">
																						<Img src="Images/offlag_5.png"></asp:ListItem>
																				</asp:RadioButtonList></TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right"><%=myLanguagesDeal.GetMyString("OrderFormManageRemarkContent")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
																			<TD noWrap align="left">
																				<asp:TextBox id="txtManageRemark" runat="server" Width="400px" CssClass="wenbenkuang" ReadOnly="True"
																					TextMode="MultiLine" Rows="4"></asp:TextBox></TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right"></TD>
																			<TD noWrap align="left">
																				<asp:Button id="btSaveManageRemark" runat="server" Visible="False" CssClass="go-wenbenkuang"
																					Text="保存" onclick="btSaveManageRemark_Click"></asp:Button></TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right"></TD>
																			<TD noWrap align="left">
																				<asp:Label id="lbManageRemarkInfo" runat="server" ForeColor="Red"></asp:Label></TD>
																		</TR>
																	</TABLE>
																</TD>
															</TR>
														</TABLE>
														<TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
															<TR>
																<TD class="p12black" bgColor="#ffffff"><SPAN class="p9orange"><%=myLanguagesDeal.GetMyString("OrderFormToUserRemark")%></SPAN></TD>
															</TR>
															<TR>
																<TD>
																	<TABLE class="allborder" cellSpacing="0" cellPadding="4" width="100%" bgColor="#f7f7f7"
																		border="0">
																		<TR>
																			<TD vAlign="top" noWrap align="right" width="20%"><%=myLanguagesDeal.GetMyString("OrderFormToUserRemarkContent")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
																			<TD noWrap align="left">
																				<textarea id="txtToUserRemarkContent" cols="100" rows="8" style="width:500px;height:200px;visibility:hidden;" runat="server" ></textarea></TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right"></TD>
																			<TD noWrap align="left">
																				<asp:Button id="btSaveToUserRemark" runat="server" Visible="False" CssClass="go-wenbenkuang"
																					Text="保存" onclick="btSaveToUserRemark_Click"></asp:Button></TD>
																		</TR>
																		<TR>
																			<TD vAlign="top" noWrap align="right"></TD>
																			<TD noWrap align="left">
																				<asp:Label id="lbToUserRemarkInfo" runat="server" ForeColor="Red"></asp:Label></TD>
																		</TR>
																	</TABLE>
																</TD>
															</TR>
														</TABLE>
														<asp:Label id="lbOtherRemark1" runat="server"></asp:Label>
														<asp:Label id="lbOtherRemark2" runat="server"></asp:Label>
													</asp:Panel></TD>
											</TR>
										</TABLE>
									</TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
				</TABLE>
			</asp:panel></form>
		<script language="javascript" type="text/javascript" src="UserControl/DatePicker/WdatePicker.js"></script>
	</body>
</HTML>
