<%@ 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="images/Site_Css.css" type="text/css" rel="stylesheet">
			<META http-equiv="Content-Type" content="text/html; charset=gb2312">
			<LINK href="images/Css.css" type="text/css" rel="stylesheet">
				<META content="MSHTML 6.00.6000.16544" name="GENERATOR">
				<style type="text/css">
.STYLE6 { COLOR: #ff0000 }
.STYLE7 {color: #FF0000}
                </style>
	</HEAD>
	<BODY bgColor="#ffffff" topMargin="5" marginwidth="0" marginheight="0">
		<form id="Form1" method="post" runat="server">
			<DIV></DIV>
			<DIV>
				<DIV>
					<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
						<TBODY>
							<TR>
								<TD class="menubar_title"><IMG hspace="3" src="images/default.gif" align="absMiddle" vspace="3" border="0">&nbsp;选项设置</TD>
								<TD class="menubar_readme_text" vAlign="bottom">&nbsp;</TD>
							</TR>
							<TR>
								<TD class="menubar_function_text" height="1">&nbsp;</TD>
								<TD class="menubar_menu_td" align="right">&nbsp;</TD>
							</TR>
							<TR>
								<TD colSpan="2" height="5"></TD>
							</TR>
						</TBODY>
					</TABLE>
					<TABLE cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
						<TBODY>
							<TR>
								<TD background="images/tab_top_bg.gif" height="22"><TABLE cellSpacing="0" cellPadding="0" border="0">
										<TBODY>
											<TR>
												<!--按钮　Start-->
												<TD><TABLE height="22" cellSpacing="0" cellPadding="0" border="0">
														<TBODY>
															<TR>
																<TD width="3"><IMG id="tabImgLeft__0" height="22" src="images/tab_unactive_left.gif" width="3"></TD>
																<TD class="tab" id="tabLabel__0" onClick="javascript:tabClick(0,5)" background="images/tab_unactive_bg.gif"
																	UNSELECTABLE="on">基本选项设置</TD>
																<TD width="3"><IMG id="tabImgRight__0" height="22" src="images/tab_unactive_right.gif" width="3"></TD>
															</TR>
														</TBODY>
													</TABLE>
												</TD>
												<TD><TABLE height="22" cellSpacing="0" cellPadding="0" border="0">
														<TBODY>
															<TR>
																<TD width="3"><IMG id="tabImgLeft__1" height="22" src="images/tab_unactive_left.gif" width="3"></TD>
																<TD class="tab" id="tabLabel__1" onClick="javascript:tabClick(1,5)" background="images/tab_unactive_bg.gif"
																	UNSELECTABLE="on">邮件设置</TD>
																<TD width="3"><IMG id="tabImgRight__1" height="22" src="images/tab_unactive_right.gif" width="3"></TD>
															</TR>
														</TBODY>
													</TABLE>
												</TD>
												<TD>
													<TABLE height="22" cellSpacing="0" cellPadding="0" border="0">
														<TBODY>
															<TR>
																<TD width="3"><IMG id="tabImgLeft__2" height="22" src='images/tab_unactive_left.gif' width="3"></TD>
																<TD class="tab" id="tabLabel__2" onclick='javascript:tabClick(2,5)' background='images/tab_unactive_bg.gif'
																	UNSELECTABLE='on'>上传组件设置</TD>
																<TD width="3"><IMG id="tabImgRight__2" height="22" src='images/tab_unactive_right.gif' width="3"></TD>
															</TR>
														</TBODY>
													</TABLE>
												</TD>
												<TD>
													<TABLE height="22" cellSpacing="0" cellPadding="0" border="0">
														<TBODY>
															<TR>
																<TD width="3"><IMG id="tabImgLeft__3" height="22" src='images/tab_unactive_left.gif' width="3"></TD>
																<TD class="tab" id="tabLabel__3" onclick='javascript:tabClick(3,5)' background='images/tab_unactive_bg.gif'
																	UNSELECTABLE='on'>IP限制</TD>
																<TD width="3"><IMG id="tabImgRight__3" height="22" src='images/tab_unactive_right.gif' width="3"></TD>
															</TR>
														</TBODY>
													</TABLE>
												</TD>
												<TD>
													<TABLE height="22" cellSpacing="0" cellPadding="0" border="0">
														<TBODY>
															<TR>
																<TD width="3"><IMG id="tabImgLeft__4" height="22" src='images/tab_unactive_left.gif' width="3"></TD>
																<TD class="tab" id="tabLabel__4" onclick='javascript:tabClick(4,5)' background='images/tab_unactive_bg.gif'
																	UNSELECTABLE='on'>默认注册设置</TD>
																<TD width="3"><IMG id="tabImgRight__4" height="22" src='images/tab_unactive_right.gif' width="3"></TD>
															</TR>
														</TBODY>
													</TABLE>
												</TD>
											</TR>
										</TBODY>
									</TABLE>
								</TD>
							</TR>
							<TR>
								<TD bgColor="#ffffff"><TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
										<TBODY>
											<TR>
												<TD width="1" background="images/tab_bg.gif"><IMG height="1" src="images/tab_bg.gif" width="1"></TD>
												<TD vAlign="top" height="100" class="borderstyle">
													<DIV id="tabContent__0">
														<TABLE cellSpacing="1" cellPadding="3" width="100%" align="center" border="0">
															<TBODY>
																<TR>
																	<TD width="22%" class="table_body">网站标题</TD>
																	<TD width="78%" class="table_none"><span class="a3-green">
																			<asp:textbox id="title" runat="server" Width="250px" CssClass="tableTdtext"></asp:textbox>
																		</span></TD>
																</TR>
																<TR>
																	<TD class="table_body">网站LOGO地址</TD>
																	<TD class="table_none"><SPAN id="ctl00_PageBody_Licensed_Txt"></SPAN><span class="a3-green">
																			<asp:textbox id="logo" runat="server" Width="250px" CssClass="tableTdtext"></asp:textbox>
																		</span></TD>
																</TR>
																<TR>
																	<TD class="table_body">学校名称</TD>
																	<TD class="table_none"><span class="a3-green">
																			<asp:textbox id="schoolname" runat="server" Width="250px" 
                                                                            CssClass="tableTdtext"></asp:textbox>
																		</span></TD>
																</TR>
																<TR>
																	<TD class="table_body">本校网站网址</TD>
																	<TD class="table_none"><span class="a3-green">
																			<asp:textbox id="weburl" runat="server" Width="250px" 
                                                                            CssClass="tableTdtext"></asp:textbox>
																		</span></TD>
																</TR>
                                                              <%--  <tr>
                                                                    <td class="table_body">广告位图片</td>
                                                                    <td class="table_none"> <span class="a3-green">
																			<asp:textbox id="txtADUrl" runat="server" Width="250px" 
                                                                            CssClass="tableTdtext"></asp:textbox>
																		</span></td>
                                                                </tr>--%>
																<TR>
																	<TD class="table_body">网站banner代码</TD>
																	<TD class="table_none"><span class="a3-green">
																			<asp:textbox id="banner" runat="server" CssClass="tableTdtext" 
                                                                            TextMode="MultiLine" Height="91px" Width="490px"></asp:textbox>
																		（支持HTML）</span></TD>
																</TR>
																<TR>
																	<TD class="table_body">用户文件存放目录</TD>
																	<TD class="table_none"><font color="#000000"><font color="#000000"><span class="a3-green">
																					<asp:textbox id="userpath" runat="server" CssClass="tableTdtext"></asp:textbox>
																					<INPUT id="hiduserpath" type="hidden" size="1" name="hiduserpath" runat="server">
																					<BR>
																					（用户注册后自动在此目录中建立用户目录，例如：“/userpath/”）</span></font></font></TD>
																</TR>
																<TR>
																	<TD class="table_body"><span class="forumrow">禁止上传的文件类型</span></TD>
																	<TD class="table_none"><span class="a3-green">
																			<asp:textbox id="NoType" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox>
																		</span></TD>
																</TR>
																<TR>
																	<TD class="table_body">允许上传的文件类型</TD>
																	<TD class="table_none"><asp:textbox id="allowType" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox></TD>
																</TR>
																<TR>
																	<TD class="table_body">上传模式</TD>
																	<TD class="table_none"><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>
																	<TD class="table_body">下载模式</TD>
																	<TD class="table_none"><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直接文件地址显示，下载统计和下载积分将失效，可以快速的显示图片缩略图，边读边播放媒体文件。 <FONT color="#ff0066">
                                                                        用户文件存放地址只能是相对“userpath/”形式</FONT></TD>
																</TR>
																<TR>
																	<TD class="table_body">允许注册申请</TD>
																	<TD class="table_none"><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>
																	<TD class="table_body">注册是否需要审核</TD>
																	<TD class="table_none"><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>
																	<TD class="table_body">注册时是否使用邮件验证</TD>
																	<TD class="table_none"><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>
																	<TD class="table_body">是否允许重复IP注册</TD>
																	<TD class="table_none"><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>
                                                                    <td class="table_body">留言需要审核</td>
																	<td class="table_none">
                                                                    <asp:radiobuttonlist id="rbtQuestion" runat="server" Width="69px" RepeatLayout="Flow" Height="10px" RepeatDirection="Horizontal">
																		<asp:ListItem Value="1">是</asp:ListItem>
																		<asp:ListItem Value="0"  Selected="True">否</asp:ListItem>
																	</asp:radiobuttonlist></td>
                                                                </tr>
																<TR>
																	<TD class="table_body">可识别的文件类型</TD>
																	<TD class="table_none"><asp:textbox id="filetype" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox>
																		<BR>
																		（图标以每个扩展名为文件名存放在filetype目录下）</TD>
																</TR>
																<TR>
																	<TD class="table_body">可编辑的文件类型</TD>
																	<TD class="table_none"><asp:textbox id="editfiletype" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox></TD>
																</TR>
																<TR>
																	<TD class="table_body">可编辑的图片类型</TD>
																	<TD class="table_none"><asp:textbox id="editpictype" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox></TD>
																</TR>
																<TR>
																	<TD class="table_body">可查看的图片类型</TD>
																	<TD class="table_none"><asp:textbox id="picfiletype" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox></TD>
																</TR>
																<TR>
																	<TD class="table_body">可播放的影音类型</TD>
																	<TD class="table_none"><asp:textbox id="playfiletype" runat="server" Width="483px" CssClass="tableTdtext"></asp:textbox></TD>
																</TR>
																<TR>
																	<TD class="table_body">页面底部文字信息</TD>
																	<TD class="table_none"><asp:textbox id="bottom" TextMode="MultiLine" runat="server" 
                                                                            Width="490px" Height="120px"  CssClass="tableTdtext" Rows="5"></asp:textbox>
																		（为空为不显示）</TD>
																</TR>
																<TR>
																	<TD class="table_body">注册用户名长度限制</TD>
																	<TD class="table_none">最短
																		<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>
																	<TD class="table_body">注册密码长度限制</TD>
																	<TD class="table_none">最短
																		<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>
																	<TD class="table_body">密码加密类型</TD>
																	<TD class="table_none"><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>
																	<TD class="table_body">注册后是否发成功邮件</TD>
																	<TD class="table_none"><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>
																	<TD class="table_body">整合注册用安全码</TD>
																	<TD class="table_none"><FONT face="宋体">
																			<asp:TextBox id="syskey" runat="server" CssClass="tableTdtext"></asp:TextBox>
																			（任意数字和字母的整合）</FONT></TD>
																</TR>
																<TR>
																	<TD class="table_body"><FONT face="宋体">回收站保留天数</FONT></TD>
																	<TD class="table_none"><FONT face="宋体">
																			<asp:textbox id="trashday" runat="server" CssClass="tableTdtext" Width="150px"></asp:textbox>
																		</FONT>
																	</TD>
																</TR>
																<TR>
																	<TD class="table_body"><FONT face="宋体">启用前台用户操作记录</FONT></TD>
																	<TD class="table_none"><FONT face="宋体">
																			<asp:radiobuttonlist id="useropr" runat="server" Width="67px" RepeatLayout="Flow" RepeatDirection="Horizontal"
																				Height="10px">
																				<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
																				<asp:ListItem Value="0">否</asp:ListItem>
																			</asp:radiobuttonlist>
																			（启用后可在后台菜单用户操作日志中查看）</FONT></TD>
																</TR>
																<TR>
																	<TD class="table_body"><FONT face="宋体">启用前台单点登录</FONT></TD>
																	<TD class="table_none"><FONT face="宋体"><asp:radiobuttonlist id="single" runat="server" Width="67px" RepeatLayout="Flow" RepeatDirection="Horizontal"
																				Height="10px">
																				<asp:ListItem Value="1">是</asp:ListItem>
																				<asp:ListItem Value="0" Selected="True">否</asp:ListItem>
																			</asp:radiobuttonlist>（同一时间只允许一台电脑登录同一帐号）</FONT></TD>
																</TR>
																<TR>
																	<TD class="table_body">首页下载是否需要登录</TD>
																	<TD class="table_none"><FONT face="宋体"><asp:radiobuttonlist id="login" 
                                                                            runat="server" Width="67px" RepeatLayout="Flow" RepeatDirection="Horizontal"
																				Height="10px">
																				<asp:ListItem Value="1">是</asp:ListItem>
																				<asp:ListItem Value="0" Selected="True">否</asp:ListItem>
																			</asp:radiobuttonlist></FONT></TD>
																</TR>
																<TR>
																	<TD class="table_body">启用全文检索</TD>
																	<TD class="table_none"><FONT face="宋体">
                                                                        <asp:radiobuttonlist id="istextsearch" 
                                                                            runat="server" Width="67px" RepeatLayout="Flow" RepeatDirection="Horizontal"
																				Height="10px">
																				<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
																				<asp:ListItem Value="0">否</asp:ListItem>
																			</asp:radiobuttonlist>
                                                                        （支持txt,htm,html,pdf,doc,rtf,ppt,xls文件内容搜索，<span class="STYLE7">商业版功能</span>）</FONT></TD>
																</TR>
                                                                <TR>
																  <TD class="table_body">编辑office是否使用用户系统内置</TD>
																  <TD class="table_none"><FONT face="宋体">
																			<asp:radiobuttonlist id="editsoft" runat="server" Width="67px" 
                                                                          RepeatLayout="Flow" RepeatDirection="Horizontal"
																				Height="10px">
																				<asp:ListItem Value="1">是</asp:ListItem>
																				<asp:ListItem Value="0" Selected="True">否</asp:ListItem>
																			</asp:radiobuttonlist>
																			（启用后为编辑office文件时调用用户系统安装的office软件，未用时为使用系统内置office编辑控件）</FONT></TD>
															  </TR>
																<TR>
																	<TD class="table_body">设置共享需要审核的角色</TD>
																	<TD class="table_none">
                                                                        <asp:CheckBox ID="issharesh1" runat="server" Text="管理" />
                                                                        <asp:CheckBox ID="issharesh2" runat="server" Text="教师" />
                                                                        <asp:CheckBox ID="issharesh3" runat="server" Text="学生" />
                                                                    </TD>
																</TR>
																<TR>
																	<TD class="table_body">发布资源需要审核的角色</TD>
																	<TD class="table_none">
                                                                        <asp:CheckBox ID="iszysh1" runat="server" Text="管理" />
                                                                        <asp:CheckBox ID="iszysh2" runat="server" Text="教师" />
                                                                        <asp:CheckBox ID="iszysh3" runat="server" Text="学生" />
                                                                    </TD>
																</TR>
                                                                <TR>
																	<TD class="table_body">允许发布公告的角色</TD>
																	<TD class="table_none">
                                                                        <asp:CheckBox ID="isgg1" runat="server" Text="管理" />
                                                                        <asp:CheckBox ID="isgg2" runat="server" Text="教师" />
                                                                        <asp:CheckBox ID="isgg3" runat="server" Text="学生" />
                                                                    </TD>
																</TR>
															</TBODY>
														</TABLE>
													</DIV>
													<!--内容框End-->
													<!--内容框Start-->
													<DIV id="tabContent__1">
														<TABLE cellSpacing="1" cellPadding="3" width="100%" align="center" border="0">
															<TBODY>
																<TR>
																	<TD width="22%" class="table_body">发送邮件服务器</TD>
																	<TD class="table_none"><SPAN id="SPAN1"></SPAN>
																		<asp:textbox id="mailip" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox></TD>
																</TR>
																<TR>
																	<TD class="table_body">发送邮件地址</TD>
																	<TD class="table_none"><SPAN id="ctl00_PageBody_Licensed_Txt2"></SPAN>
																		<asp:textbox id="mailname" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox></TD>
																</TR>
																<TR>
																	<TD class="table_body">验证用户名</TD>
																	<TD class="table_none"><asp:textbox id="Mailusername" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox>
																		（若服务器需身份认证请填写此项）</TD>
																</TR>
																<TR>
																	<TD class="table_body">验证密码</TD>
																	<TD class="table_none"><asp:textbox id="Mailpassword" runat="server" Width="150px" CssClass="tableTdtext"></asp:textbox>
																		（若服务器需身份认证请填写此项）</TD>
																</TR>
																<TR>
																	<TD class="table_body">找回密码邮件内容</TD>
																	<td class="table_none">标题：
																		<asp:TextBox ID="passmailt" runat="server" Width="416px" CssClass="tableTdtext" />
																		<br>
																		内容：<asp:TextBox ID="passmail" runat="server" Width="100%" CssClass="tableTdtext" Rows="10" TextMode="MultiLine"></asp:TextBox>
																		<br>
																		（支持HTML，插入宏为&amp;url：找回密码链接；&amp;username：用户名）</td>
																</TR>
																<TR>
																	<TD class="table_body">注册审核邮件内容</TD>
																	<td class="table_none">标题：
																		<asp:TextBox ID="markmailt" runat="server" Width="416px" CssClass="tableTdtext" />
																		<br>
																		内容：<asp:TextBox ID="markmail" runat="server" Width="100%" CssClass="tableTdtext" Rows="10" TextMode="MultiLine"></asp:TextBox>
																		<br>
																		（支持HTML，插入宏为&amp;url：激活帐号链接；&amp;username：用户名）</td>
																</TR>
																<TR>
																	<TD class="table_body">注册成功邮件内容</TD>
																	<td class="table_none">标题：
																		<asp:TextBox ID="regsuccmailt" runat="server" Width="416px" CssClass="tableTdtext" />
																		<br>
																		内容：<asp:TextBox ID="regsuccmail" runat="server" Width="100%" CssClass="tableTdtext" Rows="10" TextMode="MultiLine"></asp:TextBox>
																		<br>
																		（支持HTML，插入宏为&amp;userinfo：用户注册信息列表）</td>
																</TR>
															</TBODY>
														</TABLE>
													</DIV>
													<!--内容框Start-->
													<DIV id="tabContent__2">
														<TABLE cellSpacing="1" cellPadding="3" width="100%" align="center" border="0">
															<TBODY>
																<TR>
																	<TD width="22%" class="table_body">上传临时路径</TD>
																	<TD width="78%" class="table_none"><asp:textbox id="temppath" runat="server" Width="364px" CssClass="tableTdtext"></asp:textbox>
																		<BR>
																		（普通上传方式未上传完成时的临时文件存放目录，可以是“/temp/”或“E:\temp\”形式，一般和用户存放的目录盘符相同）</TD>
																</TR>
															</TBODY>
														</TABLE>
													</DIV>
													<!--内容框Start-->
													<DIV id="tabContent__3">
														<TABLE cellSpacing="1" cellPadding="3" width="100%" align="center" border="0">
															<TBODY>
																<TR>
																	<TD width="22%" class="table_body"><span class="forumrow">禁止登录IP列表</span></TD>
																	<TD width="34%" class="table_none"><TEXTAREA class="tableTdtext" id="allowip" name="allowip" rows="8" cols="40" runat="server"></TEXTAREA></TD>
																	<TD width="44%" rowspan="2" class="table_none"><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 class="table_body">允许注册IP列表</TD>
																	<TD class="table_none"><span class="newarticlebox">
																			<TEXTAREA id="allowregip" class="tableTdtext" name="allowregip" rows="8" cols="40" runat="server"></TEXTAREA>
																		</span></TD>
																</TR>
															</TBODY>
														</TABLE>
													</DIV>
													<!--内容框Start-->
													<DIV id="tabContent__4">
														<TABLE cellSpacing="1" cellPadding="3" width="100%" align="center" border="0">
															<TBODY>
																<TR>
																	<TD width="22%" class="table_body">前台列表每页显示行数</TD>
																	<TD width="78%" class="table_none"><asp:textbox id="linecount" runat="server" Width="49px" CssClass="tableTdtext" Rows="5"></asp:textbox>
																		（对文件区、公共目录及文件、好友、共享、用户、留言每页条数控制）</TD>
																</TR>
																<TR>
																	<TD class="table_body">默认注册后的有效天数</TD>
																	<TD class="table_none"><asp:textbox id="regday" runat="server" Columns="40" CssClass="tableTdtext" Text='-1' Width="63px">-1</asp:textbox>
																		（-1为不限）</TD>
																</TR>
																<TR>
																	<TD class="table_body">默认注册后的空间大小</TD>
																	<TD class="table_none"><asp:textbox id="regsize" runat="server" CssClass="tableTdtext" Columns="40" Width="63px" Text='-1'>-1</asp:textbox>
																		M（-1为不限制）</TD>
																</TR>
																<TR>
																	<TD class="table_body"><FONT face="宋体">默认添加用户时的角色</FONT></TD>
																	<TD class="table_none"><SELECT id="mrrole" name="mrrole" runat="server">
                                                                    		<option value="3">管理</option>
																			<option value="1" selected>教师</option>
																			<option value="2">学生</option>
																		</SELECT></TD>
																</TR>
																<TR>
																	<TD class="table_body"><FONT face="宋体">默认添加的存储分区</FONT></TD>
																	<TD class="table_none"><FONT face="宋体"><asp:DropDownList id="team" runat="server"></asp:DropDownList></FONT></TD>
																</TR>
																<TR>
																	<TD class="table_body">登录后默认进入空间</TD>
																	<TD class="table_none"><asp:radiobuttonlist id="intopostion" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
																			<asp:ListItem Value="0" Selected="True">我的空间</asp:ListItem>
																			<asp:ListItem Value="1">公共空间</asp:ListItem>
																		</asp:radiobuttonlist></TD>
																</TR>
																<TR runat="server" id="tduploadmode">
																	<TD class="table_body">默认上传方式</TD>
																	<TD class="table_none"><asp:radiobuttonlist id="mode1" runat="server" RepeatLayout="Flow" RepeatDirection="Horizontal">
																			<asp:ListItem Value="0" Selected="True">普通上传</asp:ListItem>
																			<asp:ListItem Value="1">ActiveX插件上传</asp:ListItem>
																		</asp:radiobuttonlist></TD>
																</TR>
																<TR runat="server">
																	<TD class="table_body">默认文件列表排序方式</TD>
																	<TD class="table_none"><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>
															</TBODY>
														</TABLE>
													</DIV>
												</TD>
												<TD width="1" background="images/tab_bg.gif"><IMG height="1" src="images/tab_bg.gif" width="1"></TD>
											</TR>
										</TBODY>
									</TABLE>
								</TD>
							</TR>
							<TR>
								<TD background="images/tab_bg.gif" bgColor="#ffffff"><IMG height="1" src="images/tab_bg.gif" width="1"></TD>
							</TR>
						</TBODY>
					</TABLE>
				</DIV>
				<DIV>
				</DIV>
				<div align="center">
					<br>
					<script language='javascript'>
        function tabClick(idx,count) {
          for (i_tr = 0; i_tr < count; i_tr++) {
            if (i_tr == idx) {
              var tabImgLeft = eval('document.all.tabImgLeft__' + idx);
              var tabImgRight = eval('document.all.tabImgRight__' + idx);
              var tabLabel = eval('document.all.tabLabel__' + idx);
              var tabContent = eval('document.all.tabContent__' + idx);

              tabImgLeft.src = 'images/tab_active_left.gif';
              tabImgRight.src = 'images/tab_active_right.gif';
              tabLabel.background = 'images/tab_active_bg.gif';
              tabContent.style.visibility = 'visible';
              tabContent.style.display = 'block';
              continue;
            }
            var tabImgLeft = eval('document.all.tabImgLeft__' + i_tr);
            var tabImgRight = eval('document.all.tabImgRight__' + i_tr);
            var tabLabel = eval('document.all.tabLabel__' + i_tr);
            var tabContent = eval('document.all.tabContent__' + i_tr);

            tabImgLeft.src = 'images/tab_unactive_left.gif';
            tabImgRight.src = 'images/tab_unactive_right.gif';
            tabLabel.background = 'images/tab_unactive_bg.gif';
            tabContent.style.visibility = 'hidden';
            tabContent.style.display = 'none';
          }
        }
        tabClick(0,5);
					</script>
					<asp:button CssClass="formbutton" id="Button1" runat="server" Width="100px" Text="保存设置" onclick="Button1_Click"></asp:button>
					<BR>
				</div>
			</DIV>
		</form>
	</BODY>
</HTML>
