<%@ Page language="c#" Codebehind="OFPrintFormat.aspx.cs" AutoEventWireup="True" validateRequest="false" Inherits="DreamerShop.Admin.OFPrintFormat" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>
			<%=myLanguagesDeal.GetMyString("TextOFPrintFormat")%>
			-
			<%=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 imgHelp_onclick() {
			popUpWin("DSHelp/SiteSwith.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+'');
		}
		//-->
		</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('#txtContent', {
	                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();
	        });
	        KindEditor.ready(function (K) {
	            var editor1 = K.create('#txtContent2', {
	                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">
			<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
			<TABLE cellSpacing="0" cellPadding="0" width="97%" border="0" align="center">
				<TR>
					<TD vAlign="top" height="100%">
						<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
							<TR>
								<TD vAlign="top" bgColor="#ffffff" height="100%"><FONT face="宋体">
										<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TR>
												<TD class="p12black"><SPAN class="p9orange"><img src="IMAGES/icon_1.gif" width="12" height="11" align="absMiddle">&nbsp;<%=myLanguagesDeal.GetMyString("TextBillManage")%>
														--&gt;<%=myLanguagesDeal.GetMyString("TextOFPrintFormat")%></SPAN> <img src="../Images/Admin/helpicon.gif" id="imgHelp" alt='<%=myLanguagesDeal.GetMyString("TextHelp")%>' LANGUAGE="javascript" onClick="return imgHelp_onclick()"
														style="CURSOR:pointer"></TD>
												<TD></TD>
												<td align="right" width="50%">
												</td>
											</TR>
										</TABLE>
										<hr size="1" noshade>
										<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TBODY>
                                            <tr><td><%=myLanguagesDeal.GetMyString("OFPrintFormatTextManagerFormat")%></td></tr>
												<TR>
													<TD vAlign="top">
														<TABLE class="allborder" cellSpacing="0" cellPadding="2" width="100%" border="0">
															<tr>
																<td valign="middle">
																	<textarea id="txtContent" cols="100" rows="8" style="width:800px;height:200px;visibility:hidden;" runat="server" ></textarea></td>
															</tr>
														</TABLE>
													</TD>
												</TR>
											</TBODY>
										</TABLE>
                                        <TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
											<TBODY>
                                            <tr><td><%=myLanguagesDeal.GetMyString("OFPrintFormatTextUserFormat")%></td></tr>
												<TR>
													<TD vAlign="top">
														<TABLE class="allborder" cellSpacing="0" cellPadding="2" width="100%" border="0">
															<tr>
																<td valign="middle">
																	<textarea id="txtContent2" cols="100" rows="8" style="width:800px;height:200px;visibility:hidden;" runat="server" ></textarea></td>
															</tr>
														</TABLE>
													</TD>
												</TR>
											</TBODY>
										</TABLE>
									</FONT>
								</TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<tr>
					<td align="center">
						<asp:button id="btSave" runat="server" CssClass="go-wenbenkuang" Text="提交信息" onclick="btSave_Click"></asp:button>
						&nbsp;&nbsp;&nbsp;&nbsp;
						<asp:button id="btDefault" runat="server" CssClass="go-wenbenkuang" Text="导入默认" onclick="btDefault_Click"></asp:button></td>
				</tr>
				<tr>
					<td align="center"><asp:label id="lbMessage" runat="server" ForeColor="Red"></asp:label></td>
				</tr>
			</TABLE>
		</form>
	</body>
</HTML>
