<%@ Page CodeBehind="admin_Config.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.admin_config" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>选项设置</title>
		<link href="img/main.css" rel="stylesheet" type="text/css">
			<SCRIPT language="JavaScript"><!--
function secBoard(n)
{
	for(i=1;i<6;i++)
	{
		eval("document.getElementById('cl0"+i+"').className='newarticle2'");
	}
	eval("document.getElementById('cl0"+n+"').className='newarticle1'");
	for(i=1;i<6;i++)
		eval("document.getElementById('Layer"+i+"').style.display='none'");
	eval("document.getElementById('Layer"+n+"').style.display='block'");
}
function secBoard1(n)
{
	for(i=1;i<3;i++)
	{
		eval("document.getElementById('cl0"+i+"1').className='newarticle2'");
	}
	eval("document.getElementById('cl0"+n+"1').className='newarticle1'");
	for(i=1;i<3;i++)
		eval("document.getElementById('Layer"+i+"1').style.display='none'");
	eval("document.getElementById('Layer"+n+"1').style.display='block'");
}
function secBoard2(n)
{
	for(i=1;i<8;i++)
	{
		eval("document.getElementById('cl0"+i+"2').className='newarticle2'");
	}
	eval("document.getElementById('cl0"+n+"2').className='newarticle1'");
	for(i=1;i<8;i++)
		eval("document.getElementById('Layer"+i+"2').style.display='none'");
	eval("document.getElementById('Layer"+n+"2').style.display='block'");
}
//-->
			</SCRIPT>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<div align="center">
				<table border="0" cellspacing="1" cellpadding="3" align="center" width="100%">
					<tr>
						<td colSpan="3" class="td_title">
							基本选项设置
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right" width="214">网站标题：</td>
						<td colspan="2"><span class="forumrow"><span class="a3-green"><asp:textbox id="title" runat="server" Width="151px" CssClass="tableTdtext"></asp:textbox>
								</span>
							</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right" width="214">网站LOGO地址：</td>
						<td colspan="2"><span class="forumrow"><span class="a3-green"><asp:textbox id="logo" runat="server" Width="151px" CssClass="tableTdtext"></asp:textbox>
								</span>
							</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right">网站地址：</td>
						<td colspan="2"><span class="a3-green">
								<asp:textbox id="url" runat="server" Width="151px" CssClass="tableTdtext"></asp:textbox>
								（仅填写完整域名部分，如www.1disk.cn）</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right" width="214">存放目录：</td>
						<td colspan="2"><span class="forumrow"><font color="#000000"><font color="#000000"><span class="a3-green"><asp:textbox id="userpath" runat="server" CssClass="tableTdtext"></asp:textbox>
											<BR>
											<font color="#000000"><font color="#000000">（用户注册后自动在此目录中建立用户目录，例如：“/userpath/”）</font></font></span></font></font></span>
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right" width="214"><span class="forumrow"><span class="a3-green">是否使用验证码：</span>
							</span>
						</td>
						<td colspan="2">
							<div align="left"><span class="forumrow"><span class="a3-green">
										<asp:CheckBox id="ValidateCode" runat="server" Text="登录时使用验证码"></asp:CheckBox>
										<asp:CheckBox id="ValidateCode1" runat="server" Text="注册时使用验证码"></asp:CheckBox>
										<asp:CheckBox id="ValidateCode2" runat="server" Text="外部留言时使用验证码"></asp:CheckBox>
									</span>
								</span>
							</div>
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right" width="214"><span class="forumrow">禁止上传的文件类型 </span>：</td>
						<td colspan="2"><span class="forumrow"><span class="a3-green"><asp:textbox id="NoType" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox>
								</span>
							</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right">允许上传的文件类型：</td>
						<td colspan="2"><asp:textbox id="allowType" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">上传模式：</td>
						<td colspan="2"><asp:radiobuttonlist id="uploadmode" runat="server" Width="405px" Height="10px" RepeatDirection="Horizontal"
								RepeatLayout="Flow">
								<asp:ListItem Value="1" Selected="True">上传时检查禁止上传的文件类型</asp:ListItem>
								<asp:ListItem Value="2">上传时检查允许上传的文件类型</asp:ListItem>
							</asp:radiobuttonlist></td>
					</tr>
					<tr class="tableTd">
						<td align="right">下载模式：</td>
						<td colspan="2"><asp:radiobuttonlist id="downmode" runat="server" Width="228px" Height="10px" RepeatDirection="Horizontal"
								RepeatLayout="Flow">
								<asp:ListItem Value="1" Selected="True">无显示地址下载</asp:ListItem>
								<asp:ListItem Value="2">有显示地址下载</asp:ListItem>
							</asp:radiobuttonlist><br>
							无显示地址下载：可以将用户文件放在站点外，使用内置代码调用输出下载，在线播放媒体将等待完全输出到用户端后才开始播放。<BR>
							有显示地址下载：使用HTTP直接文件地址显示，下载统计和下载积分将失效，可以快速的显示图片缩略图，边读边播放媒体文件。
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right">允许注册申请：</td>
						<td colspan="2"><asp:radiobuttonlist id="allowreg" runat="server" Height="10px" RepeatDirection="Horizontal" RepeatLayout="Flow">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist></td>
					</tr>
					<tr class="tableTd">
						<td align="right">注册是否需要审核：</td>
						<td colspan="2"><asp:radiobuttonlist id="regSH" runat="server" Height="10px" RepeatDirection="Horizontal" RepeatLayout="Flow">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist></td>
					</tr>
					<tr class="tableTd">
						<td align="right">是否公开用户列表：</td>
						<td colspan="2"><asp:radiobuttonlist id="userlist" runat="server" Width="73px" RepeatLayout="Flow" Height="10px" RepeatDirection="Horizontal">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist>（是否在前台查找用户及添加共享用户处显示全部用户）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">注册时是否使用邮件验证：</td>
						<td colspan="2"><asp:radiobuttonlist id="mailval" runat="server" Width="73px" RepeatLayout="Flow" Height="10px" RepeatDirection="Horizontal">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist>（注册后系统自动发送一封确认信到其邮件中，需激活才能正式使用）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">是否允许重复IP注册：</td>
						<td colspan="2"><asp:radiobuttonlist id="dupip" runat="server" Width="69px" RepeatLayout="Flow" Height="10px" RepeatDirection="Horizontal">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist>（是否允许用户在IP不变的情况下连续或重复注册空间）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">是否启用在线压缩/解压功能：</td>
						<td colspan="2"><asp:radiobuttonlist id="usezip" runat="server" Width="70px" RepeatLayout="Flow" Height="10px" RepeatDirection="Horizontal">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist>（使用在线压缩/解压功能时会耗费一定的服务器资源）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">注册后多长时间可以重复注册</td>
						<td colspan="2"><asp:textbox id="dupregtime" runat="server" Width="35px" CssClass="tableTdtext"></asp:textbox>分钟（最大值视会话时间决定，一般为20）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">可识别的文件类型：</td>
						<td colspan="2"><asp:textbox id="filetype" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox><BR>
							（图标以每个扩展名为文件名存放在filetype目录下）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">可编辑的文件类型：</td>
						<td colspan="2"><asp:textbox id="editfiletype" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">可编辑的图片类型：</td>
						<td colspan="2"><asp:textbox id="editpictype" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox>
							<FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">可查看的图片类型：</td>
						<td colspan="2"><asp:textbox id="picfiletype" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">可播放的影音类型：</td>
						<td colspan="2"><asp:textbox id="playfiletype" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">默认注册时的等级名称：</td>
						<td colspan="2"><asp:dropdownlist id="level" runat="server"></asp:dropdownlist></td>
					</tr>
					<tr class="tableTd" id="Tr2" runat="server">
						<td align="right">用户分组分配方式：</td>
						<td colspan="2"><FONT face="宋体"><INPUT id="outteam" type="radio" CHECKED value="Radio1" name="RadioGroup" runat="server">默认注册到<asp:dropdownlist id="team" runat="server"></asp:dropdownlist>组（不指定则使用存放目录中的相对地址）<INPUT id="outteam1" type="radio" value="Radio2" name="RadioGroup" runat="server">注册时选择</FONT><FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">二级域名保留名称：</td>
						<td colspan="2"><asp:textbox id="NoTwoUrl" runat="server" Width="380px" CssClass="tableTdtext"></asp:textbox>
							<FONT face="宋体" color="#ff0000">（商业版功能）</FONT><BR>
							（使用半角,分隔，如aaa,bbb，填写后用户即不能使用有此名称的二级域名）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">用户绑定域名保留域名：</td>
						<td colspan="2"><asp:textbox id="nodomain" runat="server" Width="380px" CssClass="tableTdtext"></asp:textbox><BR>
							（使用半角,分隔，如abc.abc.com,bbb.abc.com和本站多个域名，填写后用户空间即不能绑定此顶级域名）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">注册时的用户协议：</td>
						<td colspan="2"><asp:textbox id="agreement" runat="server" Width="380px" CssClass="tableTdtext" Rows="5" TextMode="MultiLine"></asp:textbox>（为空为不显示）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">页面底部文字信息：</td>
						<td colspan="2"><asp:textbox id="bottom" runat="server" Width="380px" CssClass="tableTdtext" Rows="5"></asp:textbox>（为空为不显示）<FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">过滤显示文字：</td>
						<td colspan="2"><asp:textbox id="filter" runat="server" Width="380px" CssClass="tableTdtext" Height="70px" Rows="10"
								TextMode="MultiLine"></asp:textbox><br>
							（对空间标题、留言、空间介绍、公告、上传文件名和目录名过滤指定的文字，用半角,分隔）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">前台列表每页显示行数：</td>
						<td colspan="2"><asp:textbox id="linecount" runat="server" Width="49px" CssClass="tableTdtext" Rows="5"></asp:textbox>（对文件区、公共目录及文件、好友、共享、用户、留言每页条数控制）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">是否允许注册中文名称：</td>
						<td colspan="2"><asp:radiobuttonlist id="usechinese" runat="server" Width="67px" RepeatLayout="Flow" Height="10px" RepeatDirection="Horizontal">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist>（注：二级域名不支持中文）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">注册用户名长度限制：</td>
						<td colspan="2">最短
							<asp:textbox id="len1" runat="server" Width="43px" CssClass="tableTdtext"></asp:textbox>个，最长
							<asp:textbox id="len2" runat="server" Width="43px" CssClass="tableTdtext"></asp:textbox>个</td>
					</tr>
					<tr class="tableTd">
						<td align="right">注册密码长度限制：</td>
						<td colspan="2">最短
							<asp:textbox id="len3" runat="server" Width="43px" CssClass="tableTdtext"></asp:textbox>个，最长
							<asp:textbox id="len4" runat="server" Width="43px" CssClass="tableTdtext"></asp:textbox>个</td>
					</tr>
					<tr class="tableTd" id="show" runat="server">
						<td align="right">FTP主机IP：</td>
						<td colspan="2"><asp:textbox id="ftphost" runat="server" Width="165px" CssClass="tableTdtext"></asp:textbox>
							<FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd" id="Tr1" runat="server">
						<td align="right">密码加密类型：</td>
						<td colspan="2">
							<asp:radiobuttonlist id="passtype" runat="server" Width="155px" RepeatDirection="Horizontal" Height="10px"
								RepeatLayout="Flow">
								<asp:ListItem Value="0" Selected="True">32位MD5</asp:ListItem>
								<asp:ListItem Value="1">16位MD5</asp:ListItem>
							</asp:radiobuttonlist></td>
					</tr>
					<tr class="tableTd" id="Tr3" runat="server">
						<td align="right">每天最多注册人数：</td>
						<td colspan="2"><FONT face="宋体">
								<asp:textbox id="regcount" runat="server" CssClass="tableTdtext" Width="43px"></asp:textbox>个（0为不限制）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">注册后是否发成功邮件：</td>
						<td colspan="2"><asp:radiobuttonlist id="sendregsucc" runat="server" Width="67px" RepeatLayout="Flow" Height="10px" RepeatDirection="Horizontal">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist></td>
					</tr>
					<tr class="tableTd">
						<td align="right">短地址用网址前缀：</td>
						<td colspan="2"><FONT face="宋体"><asp:TextBox id="shorturl" runat="server"></asp:TextBox>（短地址独立用域名，无特殊需求不用填写）
								<FONT face="宋体" color="#ff0000">（商业版功能）</FONT></FONT></td>
					</tr>
					<TR>
						<TD align="right"><FONT face="宋体">回收站保留天数：</FONT></TD>
						<TD colSpan="2"><FONT face="宋体">
								<asp:textbox id="trashday" runat="server" CssClass="tableTdtext" Width="150px"></asp:textbox>
								<FONT face="宋体" color="#ff0000">（商业版功能）</FONT></FONT></TD>
					</TR>
					<TR>
						<TD align="right">是否使用独立下载页：</TD>
						<TD colSpan="2"><asp:radiobuttonlist id="usedownpage" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal"
								Height="10px">
								<asp:ListItem Value="1">使用</asp:ListItem>
								<asp:ListItem Value="0" Selected="True">未用</asp:ListItem>
							</asp:radiobuttonlist>
							（下载文件时转到另一页，需要自己制作，信息调用见“信息调用”帮助文档）<br>
							下载页面名称： <FONT face="宋体">
								<asp:textbox id="downpage" runat="server" CssClass="tableTdtext" Width="150px"></asp:textbox>
								（为aspx页，如down.aspx）<br />
                            <asp:CheckBox ID="mastdownpage" runat="server" Text="必须进入下载页下载" /></FONT></TD>
					</TR>
					<TR>
						<TD align="right">使用伪静态：</TD>
						<TD colSpan="2"><asp:radiobuttonlist id="whtml" runat="server" Width="67px" RepeatLayout="Flow" Height="10px" RepeatDirection="Horizontal">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist>
							&nbsp;&nbsp; 伪静态扩展名：
							<asp:TextBox id="wext" runat="server"></asp:TextBox>
							&nbsp;&nbsp; 伪静态网址：
							<asp:TextBox id="wurl" runat="server"></asp:TextBox>
							（例:http://www.1disk.cn/，为空则使用当前网址）<FONT face="宋体"><FONT face="宋体" color="#ff0000">（商业版功能）</FONT></FONT></TD>
					</TR>
					<tr>
						<td colSpan="3" class="td_title">
							记录统计：
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right">是否开启下载记录：</td>
						<td colspan="2"><asp:radiobuttonlist id="allowrecord" runat="server" Width="67px" RepeatLayout="Flow" Height="10px" RepeatDirection="Horizontal">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist></td>
					</tr>
					<tr class="tableTd">
						<td align="right">下载统计保留天数：</td>
						<td colspan="2"><asp:textbox id="downcount" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">是否开启上传记录：</td>
						<td colspan="2"><asp:radiobuttonlist id="uploadrecord" runat="server" Width="67px" RepeatLayout="Flow" Height="10px"
								RepeatDirection="Horizontal">
								<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist>
							<FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">要记录的上传文件扩展名：</td>
						<td colspan="2"><asp:textbox id="recordext" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox>
							<FONT face="宋体" color="#ff0000">（商业版功能）</FONT><br>
							（仅在启用上传记录时有效，多个扩展名用半角,分隔，为空为记录所有上传文件）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">上传记录保留天数：</td>
						<td colspan="2"><asp:textbox id="uploadday" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox>
							<FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr>
						<td colSpan="3" class="td_title">在线支付设置： <FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">设置网关接口：</td>
						<td colSpan="2">
							<DIV class="photobg1">
								<DIV class="newarticle1" id="cl012" style="CURSOR: hand" onClick="secBoard2(1)">网银在线</DIV>
								<DIV class="newarticle2" id="cl022" style="CURSOR: hand" onClick="secBoard2(2)">支付宝</DIV>
								<DIV class="newarticle2" id="cl032" style="CURSOR: hand" onClick="secBoard2(3)">快钱</DIV>
								<DIV class="newarticle2" id="cl042" style="CURSOR: hand" onClick="secBoard2(4)">财付通</DIV>
								<DIV class="newarticle2" id="cl052" style="CURSOR: hand" onClick="secBoard2(5)">云网</DIV>
								<DIV class="newarticle2" id="cl062" style="CURSOR: hand" onClick="secBoard2(6)">易充</DIV>
								<DIV class="newarticle2" id="cl072" style="CURSOR: hand" onClick="secBoard2(7)">PayNow</DIV>
							</DIV>
							<DIV class="photobox" id="Layer12">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">接口类型：&nbsp;&nbsp;&nbsp;&nbsp;<font face="宋体">
										<asp:radiobuttonlist id="banksubmit" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
											<asp:ListItem Value="0" Selected="True">旧接口</asp:ListItem>
											<asp:ListItem Value="1">新接口</asp:ListItem>
										</asp:radiobuttonlist>
										<p>支付商号：&nbsp;&nbsp;&nbsp;&nbsp;<asp:textbox id="bankcode" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>
										<p>支付MD5密匙：
											<asp:textbox id="bankmd5" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox><br>
										</p>
									</font>
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
							<DIV class="photobox" id="Layer22" style="DISPLAY: none">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">合作者身份ID：
									<asp:textbox id="alipaypartner" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>
									<p>支付宝账号：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
										<asp:textbox id="alipayemail" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>
									<p>安全校验码：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:textbox id="alipaykey" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox></p>
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
							<DIV class="photobox" id="Layer32" style="DISPLAY: none">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">支付商号：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									<asp:textbox id="billcode" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>
									<p>支付MD5密匙：
										<asp:textbox id="billmd5" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox></p>
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
							<DIV class="photobox" id="Layer42" style="DISPLAY: none">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">商户号：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									<asp:textbox id="tenpaycode" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>
									<p>商户密钥：
										<asp:textbox id="tenpaykey" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox></p>
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
							<DIV class="photobox" id="Layer52" style="DISPLAY: none">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">商户编号：
									<asp:textbox id="ywcode" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>
									<p>支付密钥：
										<asp:textbox id="ywmd5" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox></p>
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
							<DIV class="photobox" id="Layer62" style="DISPLAY: none">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">商户ID：
									<asp:textbox id="yccode" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>
									<p>商户私钥：
										<asp:textbox id="ycmd5" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>(填写路径)</p>
									平台公钥：
									<asp:textbox id="ycmd52" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>(填写路径)
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
							<DIV class="photobox" id="Layer72" style="DISPLAY: none">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">商家帐号：<asp:textbox id="paynowname" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>
									<br>
									<br>
									商家密码：<asp:textbox id="paynowpass" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox>
									<br>
									<br>
									厂商编号：<asp:textbox id="paynowno" runat="server" CssClass="tableTdtext" Width="300px"></asp:textbox></DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right">需要用的网关：<br>
							(只用1个时无需勾选)</td>
						<td colSpan="2">
							<P><asp:checkboxlist id="usepaylist" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
									<asp:ListItem Value="4">财付通(<a href="http://union.tenpay.com/mch/?id=1201122901" target="_blank">
											www.tenpay.com</a>推荐)</asp:ListItem>
									<asp:ListItem Value="1">网银在线(www.chinabank.com.cn)</asp:ListItem>
									<asp:ListItem Value="2">支付宝(www.alipay.com)</asp:ListItem>
									<asp:ListItem Value="3">快钱(www.99bill.com)</asp:ListItem>
									<asp:ListItem Value="7">易充(www.123bill.cn)</asp:ListItem>
									<asp:ListItem Value="6">云网(www.cncard.net)</asp:ListItem>
									<asp:ListItem Value="5">PayNow(www.paynow.com.tw台湾)</asp:ListItem>
								</asp:checkboxlist></P>
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right">设置默认项：</td>
						<td colSpan="2"><asp:radiobuttonlist id="usepay" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
								<asp:ListItem Value="4" Selected="True">财付通</asp:ListItem>
								<asp:ListItem Value="1">网银在线</asp:ListItem>
								<asp:ListItem Value="2">支付宝</asp:ListItem>
								<asp:ListItem Value="3">快钱</asp:ListItem>
								<asp:ListItem Value="7">易充</asp:ListItem>
								<asp:ListItem Value="6">云网</asp:ListItem>
								<asp:ListItem Value="5">PayNow</asp:ListItem>
							</asp:radiobuttonlist></td>
					</tr>
					<tr>
						<td colSpan="3" class="td_title">
							提取转发设置： <FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">提取码下载限制：</td>
						<td colspan="2">有效下载天数：
							<asp:textbox id="pickday" runat="server" Width="43px" CssClass="tableTdtext"></asp:textbox>
							天，有效下载次数：
							<asp:textbox id="pickcount" runat="server" Width="43px" CssClass="tableTdtext"></asp:textbox>
							次（0为不限制）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">文件转发下载限制：</td>
						<td colspan="2">有效下载天数：<asp:textbox id="maildowntime" runat="server" Width="43px" CssClass="tableTdtext"></asp:textbox>天，有效下载次数：
							<asp:textbox id="maildowncount" runat="server" Width="43px" CssClass="tableTdtext"></asp:textbox>次（0为不限制）</td>
					</tr>
					<tr>
						<td colSpan="3" class="td_title">
							邮件设置：
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right">发送邮件服务器：</td>
						<td colspan="2"><asp:textbox id="mailip" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">发送邮件地址：</td>
						<td colspan="2"><asp:textbox id="mailname" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox></td>
					</tr>
					<tr class="tableTd">
						<td align="right">验证用户名：</td>
						<td colspan="2"><asp:textbox id="Mailusername" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox>（若服务器需身份认证请填写此项）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">验证密码：</td>
						<td colspan="2"><asp:textbox id="Mailpassword" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox>（若服务器需身份认证请填写此项）</td>
					</tr>
					<tr class="tableTd">
						<td align="right">邮件内容设置：</td>
						<td colspan="2">
							<DIV class="photobg1">
								<DIV class="newarticle1" id="cl01" style="CURSOR: hand" onClick="secBoard(1)">文件转发</DIV>
								<DIV class="newarticle2" id="cl02" style="CURSOR: hand" onClick="secBoard(2)">找回密码</DIV>
								<DIV class="newarticle2" id="cl03" style="CURSOR: hand" onClick="secBoard(3)">注册审核</DIV>
								<DIV class="newarticle2" id="cl04" style="CURSOR: hand" onClick="secBoard(4)">即将过期</DIV>
								<DIV class="newarticle2" id="cl05" style="CURSOR: hand" onClick="secBoard(5)">注册成功</DIV>
							</DIV>
							<DIV class="photobox" id="Layer1">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">
									<asp:TextBox ID="mailcontent" runat="server" Width="100%" CssClass="tableTdtext" Rows="10" TextMode="MultiLine"></asp:TextBox>
									<br>
									（支持HTML，插入宏为&amp;fromname：发送用户名；&amp;content：用户输写的内容；&amp;downurl：多个文件的下载地址；&amp;downtime：文件的过期时间显示；&amp;downcount：文件的下载次数显示；&amp;frommail：发送人邮件）
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
							<DIV class="photobox" id="Layer2" style="DISPLAY: none">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">
									标题：
									<asp:TextBox ID="passmailt" runat="server" Width="416px" />
									<br>
									内容：<asp:TextBox ID="passmail" runat="server" Width="100%" CssClass="tableTdtext" Rows="10" TextMode="MultiLine"></asp:TextBox>
									<br>
									（支持HTML，插入宏为&amp;url：找回密码链接；&amp;username：用户名）
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
							<DIV class="photobox" id="Layer3" style="DISPLAY: none">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">
									标题：
									<asp:TextBox ID="markmailt" runat="server" Width="416px" />
									<br>
									内容：<asp:TextBox ID="markmail" runat="server" Width="100%" CssClass="tableTdtext" Rows="10" TextMode="MultiLine"></asp:TextBox>
									<br>
									（支持HTML，插入宏为&amp;url：激活帐号链接；&amp;username：用户名）
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
							<DIV class="photobox" id="Layer4" style="DISPLAY: none">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">
									标题：
									<asp:TextBox ID="expirymailt" runat="server" Width="416px" />
									<br>
									内容：<asp:TextBox ID="expirymail" runat="server" Width="100%" CssClass="tableTdtext" Rows="10" TextMode="MultiLine"></asp:TextBox>
									<br>
									（支持HTML，插入宏为&amp;username：用户名；&amp;date：到期时间；&amp;url：网站首页）
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
							<DIV class="photobox" id="Layer5" style="DISPLAY: none">
								<DIV class="photocolorblock"></DIV>
								<DIV class="fontclear"></DIV>
								<DIV class="newarticlebox">
									标题：
									<asp:TextBox ID="regsuccmailt" runat="server" Width="416px" />
									<br>
									内容：<asp:TextBox ID="regsuccmail" runat="server" Width="100%" CssClass="tableTdtext" Rows="10" TextMode="MultiLine"></asp:TextBox>
									<br>
									（支持HTML，插入宏为&amp;username：用户名；&amp;userinfo：用户注册信息列表）
								</DIV>
								<DIV class="fontclear"></DIV>
							</DIV>
						</td>
					</tr>
					<tr>
						<td colSpan="3" class="td_title">
							上传组件设置：
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right">上传临时路径：</td>
						<td colspan="2"><asp:textbox id="temppath" runat="server" Width="364px" CssClass="tableTdtext"></asp:textbox>
							<BR>
							（普通上传方式未上传完成时的临时文件存放目录，可以是“/temp/”或“E:\temp\”形式，一般和用户存放的目录盘符相同）</td>
					</tr>
					<tr>
						<td colSpan="3" class="td_title">
							积分设置： <FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">启用积分：</td>
						<td colspan="2"><INPUT id="jf_use" type="radio" value="1" name="type" runat="server" CHECKED>&nbsp;启用
							<INPUT id="jf_use1" type="radio" value="0" name="type" runat="server">&nbsp;禁用</td>
					</tr>
					<tr class="tableTd" id="show1">
						<td align="right"><FONT face="宋体">注册时初始积分：</FONT></td>
						<td colspan="2"><FONT face="宋体"><asp:textbox id="jf_reg" runat="server" Width="82px"></asp:textbox>点积分</FONT></td>
					</tr>
					<tr class="tableTd" id="show2">
						<td align="right"><FONT face="宋体">推荐一个用户注册：</FONT></td>
						<td colspan="2"><FONT face="宋体"><asp:textbox id="jf_tj" runat="server" Width="82px"></asp:textbox>点积分</FONT></td>
					</tr>
					<tr class="tableTd" id="show3">
						<td align="right"><FONT face="宋体">续费：</FONT></td>
						<td colspan="2"><FONT face="宋体"><FONT face="宋体"><FONT face="宋体"><FONT face="宋体">1 元获
											<asp:textbox id="jf1" runat="server" Width="82px"></asp:textbox>点积分</FONT></FONT></FONT></FONT></td>
					</tr>
					<tr class="tableTd" id="show4">
						<td align="right"><FONT face="宋体">兑换：</FONT></td>
						<td colspan="2"><FONT face="宋体"><FONT face="宋体"><FONT face="宋体"><FONT face="宋体"><asp:textbox id="jf2" runat="server" Width="82px"></asp:textbox>点积分换 
											1 元</FONT></FONT></FONT></FONT></td>
					</tr>
					<TR id="show5">
						<TD align="right"><FONT face="宋体">被推荐人付费后推荐人获：</FONT></TD>
						<TD colSpan="2">每 1 元获
							<asp:textbox id="jf_pay" runat="server" Width="82px"></asp:textbox>
							点积分</TD>
					</TR>
					<tr>
						<td colSpan="3" class="td_title">IP限制：
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right"><SPAN class="forumrow">设置IP列表：</SPAN></td>
						<td width="500" align="right"><div align="left">
								<DIV class="photobg1" style="WIDTH: 346px; HEIGHT: 26px">
									<DIV class="newarticle1" id="cl011" style="CURSOR: hand" onClick="secBoard1(1)">禁止登录</DIV>
									<DIV class="newarticle2" id="cl021" style="CURSOR: hand" onClick="secBoard1(2)">允许注册</DIV>
								</DIV>
								<DIV class="photobox" id="Layer11">
									<DIV class="photocolorblock" style="WIDTH: 344px; HEIGHT: 8px"></DIV>
									<FONT face="宋体"></FONT><FONT face="宋体"></FONT>
									<DIV class="fontclear"></DIV>
									<DIV class="newarticlebox">
										<TEXTAREA id="allowip" name="allowip" rows="8" cols="40" runat="server"></TEXTAREA>
									</DIV>
									<DIV class="fontclear"></DIV>
								</DIV>
								<DIV class="photobox" id="Layer21" style="DISPLAY: none">
									<DIV class="photocolorblock" style="WIDTH: 344px; HEIGHT: 8px"></DIV>
									<DIV class="fontclear"></DIV>
									<DIV class="newarticlebox">
										<TEXTAREA id="allowregip" name="allowregip" rows="8" cols="40" runat="server"></TEXTAREA>
									</DIV>
									<DIV class="fontclear"></DIV>
								</DIV>
							</div>
						</td>
						<td width="638" align="right"><div align="left">&nbsp;<B>说明</B>：您可以添加多个限制IP，每个IP用<span class="STYLE6">回车</span>分隔，限制IP的书写方式如202.152.12.1就限制了202.152.12.1这个IP的访问，如202.152.12.*就限制了以202.152.12开头的IP访问，同理*.*.*.*则限制了所有IP的访问。在添加多个IP的时候，请注意最后一个IP的后面不要加回车。
							</div>
						</td>
					</tr>
					<tr>
						<td colSpan="3" class="td_title">定时操作： <FONT face="宋体" color="#ff0000">（商业版功能）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">给快到期用户发通知邮件：</td>
						<td colspan="2">提前
							<asp:textbox id="time1" runat="server" Width="50px" CssClass="tableTdtext"></asp:textbox>
							天发送</td>
					</tr>
					<tr class="tableTd" style="DISPLAY:none">
						<td align="right">自动删除用户：</td>
						<td colspan="2">删除
							<asp:textbox id="time2" runat="server" Width="50px" CssClass="tableTdtext"></asp:textbox>
							天未登录的用户<br>
							删除
							<asp:textbox id="time3" runat="server" Width="50px" CssClass="tableTdtext"></asp:textbox>
							天已过期的用户</td>
					</tr>
					<tr class="tableTd">
						<td align="right">清理上传临时文件夹：</td>
						<td colspan="2">每隔
							<asp:textbox id="time4" runat="server" Width="50px" CssClass="tableTdtext"></asp:textbox>
							小时自动清理</td>
					</tr>
					<tr>
						<td colSpan="3" class="td_title">首页留言板：
						</td>
					</tr>
					<tr class="tableTd">
						<td align="right">显示方式：</td>
						<td colspan="2"><FONT face="宋体"><asp:RadioButtonList id="lyconf" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
									<asp:ListItem Value="0" Selected="True">公开留言</asp:ListItem>
									<asp:ListItem Value="1">隐藏留言</asp:ListItem>
									<asp:ListItem Value="2">审核显示</asp:ListItem>
								</asp:RadioButtonList></FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">留言间隔时间：</td>
						<td colspan="2">&nbsp;<asp:TextBox id="lysec" runat="server"></asp:TextBox>秒（每个用户每次发表留言的间隔时间，0为不限制）</td>
					</tr>
					<tr>
						<td colSpan="3" class="td_title">整合设置：</td>
					</tr>
					<tr class="tableTd">
						<td align="right">整合注册用安全码：</td>
						<td colspan="2"><FONT face="宋体">
								<asp:TextBox id="syskey" runat="server"></asp:TextBox>
								（任意数字和字母的组合）</FONT></td>
					</tr>
					<tr class="tableTd">
						<td align="right">启用与《桃源相册管理系统》的整合：</td>
						<td colspan="2"><INPUT id="photozh" type="radio" value="1" name="type1" runat="server" onClick="javascript:document.all.wshow1.style.display='';document.all.wshow2.style.display='';"
								CHECKED>&nbsp;启用 <INPUT id="photozh1" type="radio" value="0" name="type1" runat="server" onClick="javascript:document.all.wshow1.style.display='none';document.all.wshow2.style.display='none';">&nbsp;禁用</td>
					</tr>
					<tr class="tableTd" id="wshow1">
						<td align="right">《桃源相册管理系统》网址：</td>
						<td colspan="2"><asp:textbox id="photourl" runat="server"></asp:textbox>
							（如：http://photo.1disk.cn/，打此网址即可打开相册首页，不包含首页文件名）</td>
					</tr>
					<TR class="tableTd" id="wshow2">
						<TD align="right"><FONT face="宋体">整合标题：</FONT></TD>
						<TD colSpan="2"><FONT face="宋体">
								<asp:textbox id="zhtitle" runat="server"></asp:textbox>
								（如“××相册”，为整合后的链接标题）</FONT></TD>
					</TR>
					<TR class="tableTd" id="TR4">
						<TD align="right">QQ整合登录：</TD>
						<TD colSpan="2">
							APP ID：<asp:textbox id="qqapp" runat="server"></asp:textbox>   
                            KEY：<asp:textbox id="qqkey" runat="server"></asp:textbox>
                            <br>
                          （填写后自动开启QQ整合登录，申请地址：http://connect.opensns.qq.com/，要求.net版本为3.5sp1以上）</TD>
					</TR>
					<tr>
						<td class="td_title" colSpan="3">初始注册默认数据：</td>
					</tr>
					<tr class="tableTd" id="mruploadmode" runat="server">
						<td align="right">默认上传方式：</td>
						<td colSpan="2"><span class="pad">
								<asp:radiobuttonlist id="mrupload" runat="server" Width="224px" RepeatLayout="Flow" RepeatDirection="Horizontal"
									Height="10px">
									<asp:ListItem Value="0" Selected="True">普通上传</asp:ListItem>
									<asp:ListItem Value="1">ActiveX插件上传</asp:ListItem>
								</asp:radiobuttonlist>
								<FONT face="宋体" color="#ff0000">（商业版功能）</FONT>
							</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right">个人空间访客留言：</td>
						<td colSpan="2"><span class="pad">
								<asp:radiobuttonlist id="allowly" runat="server" Width="224px" RepeatLayout="Flow" RepeatDirection="Horizontal"
									Height="10px">
									<asp:ListItem Value="1" Selected="True">允许</asp:ListItem>
									<asp:ListItem Value="0">不允许</asp:ListItem>
									<asp:ListItem Value="2">需审核</asp:ListItem>
								</asp:radiobuttonlist>
							</span></td>
					</tr>
					<tr class="tableTd">
						<td align="right">登录时显示的页面：</td>
						<td colSpan="2"><span class="pad">
								<asp:radiobuttonlist id="mrpage" runat="server" Width="224px" RepeatLayout="Flow" RepeatDirection="Horizontal"
									Height="10px">
									<asp:ListItem Value="0" Selected="True">空间使用信息</asp:ListItem>
									<asp:ListItem Value="1">文件管理页</asp:ListItem>
								</asp:radiobuttonlist>
							</span></td>
					</tr>
					<TR>
						<TD align="right">默认文件列表排序方式：</TD>
						<TD colSpan="2"><SELECT id="mrorder" name="select" runat="server">
								<OPTION value="name asc" selected>名称升序</OPTION>
								<OPTION value="name desc">名称降序</OPTION>
								<OPTION value="update asc">时间升序</OPTION>
								<OPTION value="update desc">时间降序</OPTION>
								<OPTION value="size asc">大小升序</OPTION>
								<OPTION value="size desc">大小降序</OPTION>
								<option value="pic asc">类型升序</option>
								<option value="pic desc">类型降序</option>
							</SELECT></TD>
					</TR>
					<tr class="tableTd">
						<td align="right" colSpan="3">
							<div align="center"><span class="px14"><asp:button CssClass="formbutton" id="Button1" runat="server" Width="100px" Text="保存设置" onclick="Button1_Click"></asp:button></div>
							</SPAN></td>
					</tr>
				</table>
			</div>
		</form>
		<script>
	if (document.all.photozh.checked)
	{
		document.all.wshow1.style.display='';document.all.wshow2.style.display='';
	}
	else
	{
		document.all.wshow1.style.display='none';document.all.wshow2.style.display='none';
	}
		</script>
	</body>
</HTML>
