<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpressConfigManage.aspx.cs" validateRequest="false" Inherits="DreamerShop.Admin.ExpressConfigManage" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextExpressConfig")%>
			-
			<%=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">
		<SCRIPT language="javascript" id="clientEventHandlersJS">
		<!--


		//-->
		</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>
			<table width="97%" border="0" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td height="262" valign="top">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td bgcolor="#ffffff" valign="top" height="300">
									<FONT face="宋体">
										<asp:panel id="Pan1" runat="server">
											<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("TextExpressConfig")%></SPAN>
														<IMG language="javascript" id="imgHelp" style="CURSOR: pointer" onClick="return imgHelp_onclick()"
															src="../Images/Admin/helpicon.gif"></TD>
													<TD width="200"></TD>
													<TD width="100">
														<asp:ImageButton id="btAddNew" runat="server" ImageUrl="../Images/Admin/fb-new.gif" onclick="btAddNew_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("ExpressConfigTextAddNew")%><!--新增--></TD>
												</TR>
											</TABLE>
											<HR noShade SIZE="1">
											<asp:datagrid id="dgList" runat="server" DataKeyField="ExpressID" Width="100%" AutoGenerateColumns="False"
												AllowPaging="false" PageSize="20" CssClass="table-shangxia"   onitemdatabound="dgList_ItemDataBound" 
                                                    ondeletecommand="dgList_DeleteCommand" oneditcommand="dgList_EditCommand">
												<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
												<Columns>
													<asp:BoundColumn DataField="ExpressName" HeaderText="ExpressConfigTextTitle">
														<HeaderStyle></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:BoundColumn>
													<asp:BoundColumn DataField="IsShow" HeaderText="ExpressConfigTextIsShow">
														<HeaderStyle></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:BoundColumn>
													<asp:TemplateColumn HeaderText="TextOperation">
														<HeaderStyle></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<asp:Button id="btEdit" Text="修改" CssClass="go-wenbenkuang" CommandName="Edit" Runat="server"></asp:Button>
															<asp:Button id="btDelete" Text="删除" CssClass="go-wenbenkuang" CommandName="Delete" Runat="server"></asp:Button>
														</ItemTemplate>
													</asp:TemplateColumn>
												</Columns>
												<PagerStyle Visible="False" NextPageText="下一页" PrevPageText="上一页" HorizontalAlign="Right"></PagerStyle>
											</asp:datagrid>
										</asp:panel></FONT>
									<asp:panel id="Pan2" runat="server" Visible="False">
										<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"><SPAN class="p9orange"><IMG height="11" src="IMAGES/icon_1.gif" width="12" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextExpressConfig")%>--&gt;
																	<asp:Label id="lbMessage" runat="server"></asp:Label></SPAN></TD>
															<TD width="200"></TD>
															<TD align="left" width="60"><!--BUTTON_BEGIN-->
																<TABLE>
																	<TR>
																		<TD vAlign="bottom" noWrap>
																			<asp:ImageButton id="ibtReturn" runat="server" ImageUrl="../Images/Admin/fb-cancel.gif" CausesValidation="False" onclick="ibtReturn_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("TextReturn")%></TD>
																	</TR>
																</TABLE> <!--BUTTON_END--></TD>
														</TR>
													</TABLE>
												</TD>
											</TR>
										</TABLE>
										<HR noShade SIZE="1">
										<TABLE cellSpacing="1" cellPadding="5" width="700" align="center" bgColor="#cccccc" border="0">
											
											<TR bgColor="#ffffff">
												<TD align="right" width="200"><%=myLanguagesDeal.GetMyString("ColumnManageTextTitle")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--标题：--></TD>
												<TD class="pad">
													<asp:textbox id="txtName" runat="server" Width="240px" CssClass="wenbenkuang" MaxLength="25"></asp:textbox>
													<asp:requiredfieldvalidator id="rfvName" runat="server" ErrorMessage="请输入名称" Display="Dynamic" ControlToValidate="txtName" ForeColor="#FF0000"></asp:requiredfieldvalidator></FONT></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("ExpressConfigTextIsShow")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--是否显示：--></TD>
												<TD class="pad">
													<asp:checkbox id="ckSelShow" runat="server" Checked="True" Text="显示"></asp:checkbox></TD>
											</TR>
                                            <TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("ExpressConfigTextIsPreview")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--是否显示：--></TD>
												<TD class="pad">
													<asp:checkbox id="ckIsPreview" runat="server" Checked="True" Text="显示"></asp:checkbox></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right" ><%=myLanguagesDeal.GetMyString("ExpressConfigTextToSendInf")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><BR>
												</TD>
												<TD class="pad">
													<asp:CheckBoxList id="cblSendInf" runat="server" RepeatDirection="Horizontal" RepeatColumns="4"></asp:CheckBoxList></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("ExpressConfigTextJoinPrintFormat")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><br>
                                                <asp:button id="btDefault" runat="server" CssClass="go-wenbenkuang" Text="导入默认" 
                                                        onclick="btDefault_Click" ></asp:button></TD>
												<TD class="pad">
													<asp:textbox id="txtPrintFormat" runat="server" Width="540px" Height="220px" CssClass="wenbenkuang" TextMode="MultiLine"></asp:textbox>
													<asp:requiredfieldvalidator id="rfvPrintFormat" runat="server" ErrorMessage="请输入打印模版" Display="Dynamic" ControlToValidate="txtPrintFormat" ForeColor="#FF0000"></asp:requiredfieldvalidator></FONT></TD>
											</TR>
										
											<TR bgColor="#ffffff">
												<TD align="right"></TD>
												<TD class="pad" align="left">&nbsp;
													<asp:button id="btSubmit" runat="server" CssClass="go-wenbenkuang" Text="提交信息" onclick="btSubmit_Click"></asp:button>
													<asp:button id="btSave" runat="server" CssClass="go-wenbenkuang" Text="更新信息" onclick="btSave_Click"></asp:button>&nbsp;&nbsp;</TD>
											</TR>
										</TABLE>
										<P align="center">
											<asp:Label id="lbInfo" runat="server" ForeColor="Red"></asp:Label></P>
									</asp:panel></td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
