<%@ Page language="c#" Codebehind="Config.aspx.cs" AutoEventWireup="false" validateRequest="false" Inherits="TourOnline.BgManage.Sys.Config" %>
<%@ Register TagPrefix="uc1" TagName="SfDqJs" Src="../../js/SfDqJs.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>TabTest</title>
		<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">
		<link href='../Admin_Style.css' rel='stylesheet' type='text/css'>
		<script src="../js/webfxlayout.js" type="text/javascript"></script>
		<!-- this link element includes the css definitions that describes the tab pane -->
		<!--
<link type="text/css" rel="stylesheet" href="tab.winclassic.css" />
--><LINK id="webfx-tab-style-sheet" disabled href="../style/tab.webfx.css" type="text/css"
			rel="stylesheet">
		<!-- the id is not needed. It is used here to be able to change css file at runtime -->
		<style type="text/css">.dynamic-tab-pane-control .tab-page { HEIGHT: 200px }
	.dynamic-tab-pane-control .tab-page .dynamic-tab-pane-control .tab-page { HEIGHT: 100px }
	.dynamic-tab-pane-control H2 { WIDTH: auto; TEXT-ALIGN: center }
	.dynamic-tab-pane-control H2 A { DISPLAY: inline; WIDTH: auto }
	.dynamic-tab-pane-control A:hover { BACKGROUND: none transparent scroll repeat 0% 0% }
		</style>
		<script src="../js/tabpane.js" type="text/javascript"></script>
	</HEAD>
	<body>
		<form id="Form1" method="post" encType="multipart/form-data" runat="server">
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
				<TR class='topbg'>
					<TD align="center" height="22"><strong>系统设置---网站信息设置 </strong>
					</TD>
				</TR>
			</TABLE>
			<script type="text/javascript">
//<![CDATA[

function setLinkSrc( sStyle ) {
	document.getElementById( "webfx-tab-style-sheet" ).disabled = sStyle != "webfx"
	
	document.documentElement.style.background = 
	document.body.style.background = sStyle == "webfx" ? "white" : "ThreeDFace";	
}

setLinkSrc( "webfx" );

//]]>
			</script>
			<br>
			<br>
			<div class="tab-pane" id="tabPane1">
				<script type="text/javascript">
tp1 = new WebFXTabPane( document.getElementById( "tabPane1" ) );
//tp1.setClassNameTag( "dynamic-tab-pane-control-luna" );
//alert( 0 )
				</script>
				<div class="tab-page" id="tabPage1">
					<h2 class="tab">网站信息</h2>
					<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage1" ) );</script>
					<TABLE class="table1" cellSpacing="3" cellPadding="0" width="100%" border="0">
						<TR>
							<TD class='tdbg5' align="left" width="40%"><STRONG>网站名称：</STRONG>
							</TD>
							<TD class="td2" align="left" width="60%"><FONT face="宋体"><asp:textbox id="txtName" runat="server" MaxLength="50" Width="70%" CssClass="input"></asp:textbox></FONT></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>网站标题：</STRONG>
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtTitle" runat="server" MaxLength="350" Width="70%" CssClass="input"></asp:textbox></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>网站地址：</STRONG>&nbsp;
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtUrl" runat="server" MaxLength="25" Width="70%" CssClass="input"></asp:textbox></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>网站Logo地址：</STRONG>&nbsp;
							</TD>
							<TD class="td2" align="left"><FONT face="宋体"><asp:textbox id="txtLogoImage" runat="server" MaxLength="350" Width="168px" CssClass="input"></asp:textbox><INPUT class="input" id="file1" name="file1" style="WIDTH: 168px; HEIGHT: 22px" type="file"
										size="8" runat="server">&nbsp;
									<asp:button id="btnUpload" runat="server" CssClass="button" Text="上 传"></asp:button></FONT></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>网站首页Banner地址：</STRONG>&nbsp;<br>
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtBannerImage" runat="server" MaxLength="350" Width="168px" CssClass="input"></asp:textbox></FONT><INPUT class="input" id="file2" name="file2" style="WIDTH: 168px; HEIGHT: 22px" type="file"
									size="8" runat="server"><FONT face="宋体">&nbsp; </FONT>
								<asp:button id="btnUpload1" runat="server" CssClass="button" Text="上 传"></asp:button></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG><STRONG>网站首页Banner链接地址</STRONG>：</STRONG>&nbsp;
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtBannerImagUrl" runat="server" MaxLength="350" Width="70%" CssClass="input"></asp:textbox></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>网站上传文件大小限制：</STRONG><br>
								建议不要超过1024K，以免影响服务器性能
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtUploadFileSize" runat="server" MaxLength="4" Width="70%" CssClass="input"></asp:textbox><FONT face="宋体">K</FONT>
								<FONT face="宋体">B</FONT>
							</TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>站长姓名：</STRONG>&nbsp;
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtMasterName" runat="server" MaxLength="9" Width="70%" CssClass="input"></asp:textbox></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>站长邮箱：</STRONG>
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtMasterMail" runat="server" MaxLength="25" Width="70%" CssClass="input"></asp:textbox></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>版权信息：</STRONG>
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtCopyright" runat="server" MaxLength="700" Width="70%" CssClass="input" TextMode="MultiLine"
									Height="76px"></asp:textbox></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>网站关键词：</STRONG><br>
								针对搜索引擎设置的关键词<BR>
								例如：在文本框填写<BR>
								&lt;meta name="Keywords" content="网站,门户,新闻,快讯"&gt;<BR>
								多个关键词请用,号分隔
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtKeywords" runat="server" MaxLength="350" Width="70%" CssClass="input" TextMode="MultiLine"
									Height="78px"></asp:textbox></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>网站META网页描述：</STRONG><br>
								针对搜索引擎设置的网页描述<BR>
								例如：在文本框填写<BR>
								&lt;meta name="Description" content="网站,门户,新闻,快讯"&gt;<BR>
								多个描述请用,号分隔
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtMeta" runat="server" MaxLength="350" Width="70%" CssClass="input" TextMode="MultiLine"
									Height="78px"></asp:textbox></TD>
						</TR>
					</TABLE>
					</TD></TR></TABLE>
				</div>
				<script type="text/javascript">
//<![CDATA[

setupAllTabs();

//]]>
				</script>
				<div class="tab-page" id="tabPage2">
					<h2 class="tab"><span>会员选项</span></h2>
					<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage2" ) );</script>
					<TABLE class="table1" cellSpacing="3" cellPadding="0" width="100%" border="0">
						<TR>
							<TD class='tdbg5' align="left" width="40%"><STRONG>是否允许新会员注册：</STRONG>
							</TD>
							<TD class="td2" align="left" width="60%"><FONT face="宋体"><asp:radiobuttonlist id="rblUserIsReg" runat="server" CellPadding="0" CellSpacing="0" BorderStyle="None"
										RepeatDirection="Horizontal" RepeatLayout="Flow">
										<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
										<asp:ListItem Value="0">否</asp:ListItem>
									</asp:radiobuttonlist></FONT></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>新会员注册是否需要管理员认证：</STRONG><BR>
								若选择是，则会员必须在通过管理员认证后才能真正成功正式注册会员。
							</TD>
							<TD class="td2" align="left"><FONT face="宋体"><asp:radiobuttonlist id="rblUserIsAud" runat="server" CellPadding="0" CellSpacing="0" BorderStyle="None"
										RepeatDirection="Horizontal" RepeatLayout="Flow">
										<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
										<asp:ListItem Value="0">否</asp:ListItem>
									</asp:radiobuttonlist></FONT></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>Session会话的保持时间：</STRONG><BR>
								用于设置会员登录后已登录状态的保持时间，为了安全，请不要将时间设得太长。建议设为20分钟
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtUserSessionTimeOut" runat="server" MaxLength="2" Width="352px" CssClass="input"></asp:textbox><FONT face="宋体">分钟</FONT></TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>是否允许多人同时使用此帐号登录：</STRONG><BR>
							</TD>
							<TD class="td2" align="left"><FONT face="宋体"><asp:radiobuttonlist id="rblUserIsMulti" runat="server" CellPadding="0" CellSpacing="0" BorderStyle="None"
										RepeatDirection="Horizontal" RepeatLayout="Flow">
										<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
										<asp:ListItem Value="0">否</asp:ListItem>
									</asp:radiobuttonlist></FONT></TD>
						</TR>
					</TABLE>
				</div>
				<div class="tab-page" id="tabPage3">
					<h2 class="tab">邮件选项</h2>
					<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage3" ) );</script>
					<TABLE class="table1" cellSpacing="3" cellPadding="0" width="100%" border="0">
						<TR>
							<TD class='tdbg5' align="left"><STRONG>SMTP服务器地址：</STRONG><BR>
								用来发送邮件的SMTP服务器,如果你不清楚此参数含义，请联系你的空间商
							</TD>
							<TD class="td2" align="left" width="60%"><asp:textbox id="txtSmtpServer" runat="server" MaxLength="25" Width="70%" CssClass="input"></asp:textbox><FONT face="宋体">&nbsp;</FONT>
							</TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>SMTP登录用户名：</STRONG><BR>
								当你的服务器需要SMTP身份验证时还需设置此参数
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtSmtpMail" runat="server" CssClass="input" Width="70%" MaxLength="25"></asp:textbox><FONT face="宋体">&nbsp;</FONT>
							</TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>SMTP登录密码：</STRONG><BR>
								当你的服务器需要SMTP身份验证时还需设置此参数
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtSmtpPwd" runat="server" CssClass="input" Width="70%" MaxLength="25" TextMode="Password"></asp:textbox><FONT face="宋体">&nbsp;</FONT>
							</TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>SMTP域名：</STRONG><BR>
								如果用“name@domain.com”这样的用户名登录时，请指明domain.com
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtSmtpDomain" runat="server" CssClass="input" Width="70%" MaxLength="25"></asp:textbox><FONT face="宋体">&nbsp;</FONT>
							</TD>
						</TR>
					</TABLE>
				</div>
				<div class="tab-page" id="tabPage4">
					<h2 class="tab">公司信息</h2>
					<script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage4" ) );</script>
					<TABLE class="table1" cellSpacing="3" cellPadding="0" width="100%" border="0">
						<TR>
							<TD class='tdbg5' align="left"><STRONG>公司名称：</STRONG>
							</TD>
							<TD class="td2" align="left" width="60%"><asp:textbox id="txtCorpName" runat="server" MaxLength="25" Width="70%" CssClass="input"></asp:textbox><FONT face="宋体">&nbsp;</FONT>
							</TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>公司所在地：</STRONG>
							</TD>
							<TD class="td2" align="left"><FONT face="宋体"><FONT face="宋体" color="#ff0000">
										<uc1:SfDqJs id="SfDqJs1" runat="server"></uc1:SfDqJs>
										<asp:dropdownlist id="dropSf" runat="server"></asp:dropdownlist>
										<asp:dropdownlist id="dropDq" runat="server"></asp:dropdownlist></FONT></FONT>
							</TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>公司法人：</STRONG>
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtCorpFr" runat="server" CssClass="input" Width="70%" MaxLength="25"></asp:textbox><FONT face="宋体">&nbsp;</FONT>
							</TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>公司地址：</STRONG>
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtCorpAddress" runat="server" CssClass="input" Width="70%" MaxLength="50"></asp:textbox><FONT face="宋体">&nbsp;</FONT>
							</TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>公司联系人：</STRONG>
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtCorpLxr" runat="server" CssClass="input" Width="70%" MaxLength="25"></asp:textbox><FONT face="宋体">&nbsp;</FONT>
							</TD>
						</TR>
						<TR>
							<TD class='tdbg5' align="left"><STRONG>公司联系电话：</STRONG>
							</TD>
							<TD class="td2" align="left"><asp:textbox id="txtCorpTel" runat="server" CssClass="input" Width="70%" MaxLength="300"></asp:textbox><FONT face="宋体">&nbsp;</FONT>
							</TD>
						</TR>
					</TABLE>
				</div>
				<TABLE cellSpacing="1" cellPadding="1" width="100%" border="0">
					<TR>
						<TD align="center"><asp:button id="Button1" runat="server" CssClass="button" Text="保存设置"></asp:button>
						</TD>
					</TR>
				</TABLE>
		</form>
		</DIV></FONT>
	</body>
</HTML>
