<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<%@ Page language="c#" Codebehind="LanguagesManage.aspx.cs" AutoEventWireup="True" Inherits="DreamerShop.Admin.LanguagesManage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("CurrencyTextManage")%>
			-
			<%=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">
		<!--


		function selsmallpic() {
			var arr = new Array()
			imgArr=self.showModalDialog("ftb.imagegallery1.aspx?rif=BookPic&cif=BookPic",window,'dialogWidth:560px; dialogHeight:500px;help:0;status:0;resizeable:1;')
			var temp;
			var len;
			var len1;
			var filename;
			if(imgArr!=null)
			{
				temp=imgArr['filename'];
				len=temp.lastIndexOf("/");
				len1=temp.length;
				filename=temp.substring(len + 1,len1);
				Form1.txtSmallPic.value="bookpic/" + filename;
			}
		}
		function selbigpic() {
			var arr = new Array()
			imgArr=self.showModalDialog("ftb.imagegallery1.aspx?rif=BookPic&cif=BookPic",window,'dialogWidth:560px; dialogHeight:500px;help:0;status:0;resizeable:1;')
			var temp;
			var len;
			var len1;
			var filename;
			if(imgArr!=null)
			{
				temp=imgArr['filename'];
				len=temp.lastIndexOf("/");
				len1=temp.length;
				filename=temp.substring(len + 1,len1);
				Form1.txtBigPic.value="bookpic/" + filename;
			}
		}
		
		function imgHelp_onclick() {
			popUpWin("DSHelp/HelpManage.html","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+'');
		}
		//-->
		</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 cellSpacing="0" cellPadding="0" width="97%" align="center" border="0">
				<tr>
					<td vAlign="top" height="262">
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td vAlign="top" bgColor="#ffffff" 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("TextSystemSetting")%>--&gt;<%=myLanguagesDeal.GetMyString("TextLanguagesManage")%></SPAN>
													</TD>
													<TD>
														<asp:ImageButton id="btAddNew" runat="server" ImageUrl="../Images/Admin/fb-new.gif" onclick="btAddNew_Click"></asp:ImageButton><%=myLanguagesDeal.GetMyString("LanguagesManageTextAddNew")%><!--新增--></TD>
												</TR>
											</TABLE>
											<HR noShade SIZE="1">
											<asp:datagrid id="dgList" runat="server" DataKeyField="LanguageKey" Width="100%" AutoGenerateColumns="False"
												AllowPaging="false" PageSize="20" CssClass="table-shangxia">
												<HeaderStyle HorizontalAlign="Center" BackColor="#F1F1F1"></HeaderStyle>
												<Columns>
													<asp:BoundColumn DataField="LanguageTitle" HeaderText="LanguagesManageTextTitle">
														<HeaderStyle></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:BoundColumn>
													<asp:BoundColumn DataField="LanguageName" HeaderText="LanguagesManageTextName">
														<HeaderStyle></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:BoundColumn>
													<asp:BoundColumn DataField="IsDefault" HeaderText="TextDefaultStr">
														<HeaderStyle></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:BoundColumn>
													<asp:BoundColumn DataField="IsAuto" HeaderText="LanguagesManageTextIsAuto">
														<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 style="WIDTH: 711px">
													<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("CurrencyTextManage")%>--&gt;
																	<asp:Label id="lbMessage" runat="server"></asp:Label></SPAN></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" 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="650" align="center" bgColor="#cccccc" border="0">
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("LanguagesManageTextSelectType")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
												<TD class="pad">
													<asp:DropDownList id="drlLanguage" runat="server">
														<asp:ListItem Value="CNY">人民币</asp:ListItem>
													</asp:DropDownList></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("LanguagesManageTextTitle")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
												<TD class="pad" width="70%">
													<asp:textbox id="txtLanguageTitle" runat="server" Width="150px" CssClass="wenbenkuang" MaxLength="25"></asp:textbox></FONT></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("LanguagesManageTextBindCurrency")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%></TD>
												<TD class="pad">
													<asp:DropDownList id="drlCurrency" runat="server">
														<asp:ListItem Value="0">普通</asp:ListItem>
														<asp:ListItem Value="1">千分位</asp:ListItem>
													</asp:DropDownList></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("LanguagesManageTextIsAuto")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--默认--></TD>
												<TD class="pad" width="70%"></FONT>
													<asp:CheckBox id="ckIsAuto" runat="server" Text="是"></asp:CheckBox></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right"><%=myLanguagesDeal.GetMyString("TextDefaultStr")%><%=myLanguagesDeal.GetMyString("TextColonCharacter")%><!--默认--></TD>
												<TD class="pad" width="70%"></FONT>
													<asp:CheckBox id="ckDefault" runat="server" Text="是"></asp:CheckBox></TD>
											</TR>
											<TR bgColor="#ffffff">
												<TD align="right" width="20%"></TD>
												<TD class="pad">&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>
