<%@ Page CodeBehind="mysetup.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.mysetup" %>
<HTML>
	<HEAD>
		<% @ Import Namespace="Webdisk" %>
		<link href="<%=xml.GetStyle()%>" rel="stylesheet" type="text/css">
	</HEAD>
	<BODY text="#000000" leftMargin="0" topmargin="0" marginwidth="0">
		<form runat="server">
			<FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体">
			</FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT>
			<br>
			<TABLE cellSpacing="0" cellPadding="0" width="98%" align="center">
				<TR>
					<TD width="5" background="pics/wenbenkuan_02.gif"><IMG height="5" src="pics/wenbenkuan_01.gif" width="5"></TD>
					<TD width="874" background="pics/wenbenkuan_02.gif"><IMG height="5" src="pics/wenbenkuan_02.gif" width="5"></TD>
					<TD><IMG height="5" src="pics/wenbenkuan_03.gif" width="5"></TD>
				</TR>
				<TR>
					<TD background="pics/wenbenkuan_04.gif">&nbsp;</TD>
					<TD class="tablebg" background="pics/wenbenkuan_05.gif"><TABLE width="100%">
							<TR>
								<TD width="100%" class="tabletop"><img src="pics/syssetup.gif" width="18" height="18" align="absMiddle">
									选项设置&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:history.go(-1);"><img src="pics/link_back.gif" border="0" align="absMiddle"></a>
								</TD>
							</TR>
							<TR class="tablebg">
								<TD><TABLE class="tablebgborder" cellSpacing="1" cellPadding="2" width="95%" align="center"
										border="0">
										<TR class="tablebg">
											<TD height="20">默认文件列表排序方式：</TD>
											<TD><select name="select" id="mrorder" 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="tablebg">
											<TD width="24%" height="20"><div align="left">允许别人加自己为好友：</div>
											</TD>
											<TD width="76%"><div align="left"><span class="pad">
														<asp:RadioButtonList id="allowadd" runat="server" Width="210px" RepeatDirection="Horizontal" Height="10px"
															RepeatLayout="Flow">
															<asp:ListItem Value="1" Selected="True">允许</asp:ListItem>
															<asp:ListItem Value="0">不允许</asp:ListItem>
															<asp:ListItem Value="2">需要身份验证</asp:ListItem>
														</asp:RadioButtonList>
													</span></div>
											</TD>
										</TR>
										<TR class="tablebg">
											<TD height="18"><div align="left">允许访客留言：</div>
											</TD>
											<TD height="18"><div align="left"><span class="pad">
                                        <asp:RadioButtonList id="allowly" runat="server" Width="112px" RepeatDirection="Horizontal" Height="10px"
															RepeatLayout="Flow">
															<asp:ListItem Value="1" Selected="True">允许</asp:ListItem>
															<asp:ListItem Value="0">不允许</asp:ListItem>
															<asp:ListItem Value="2">需审核</asp:ListItem>
														</asp:RadioButtonList>
                                      （管理员登录后可以自己签写留言）</span></div>
											</TD>
										</TR>
										<TR class="tablebg">
											<TD height="18"><div align="left">公告信息：</div>
											</TD>
											<TD height="18"><div align="left"><span class="pad">
                                        <textarea name="gg" cols="50" rows="5" class="kuan" id="gg" runat="server"></textarea>
                                        <br>
                                      （使用空间地址进入时访客看到的公告或介绍）</span></div>
											</TD>
										</TR>
										<TR class="tablebg">
											<TD height="18"><div align="left">空间标题：</div>
											</TD>
											<TD height="18"><div align="left"><span class="pad">
                                        <input name="spacetitle" type="text" class="kuan" id="spacetitle" runat="server">
                                      （使用空间地址进入时的浏览器标题文字）</span></div>
											</TD>
										</TR>
										<TR class="tablebg">
											<TD height="18"><div align="left">空间密码：</div>
											</TD>
											<TD height="18"><div align="left"><span class="pad">
                                        <input name="spacepass" type="text" class="kuan" id="spacepass" runat="server">
                                        <asp:LinkButton id="cpass" runat="server" Visible="False" onclick="cpass_Click">更改密码</asp:LinkButton>
                                        <INPUT id="hidpass" type="hidden" size="1" name="hidpass" runat="server">
                                      （如果设置，则访客进入外部空间前会要求输入此密码，否则可以直接进入）</span></div>
											</TD>
										</TR>
										<tr class="tablebg" id="tradv" runat="server">
                                        <td height="18">
                                            <div align="left">
                                                个人空间顶部广告代码：</div>
                                        </td>
                                        <td height="18">
                                            <div align="left">
                                                
                                                <span class="pad">
                              <textarea name="gg0" cols="50" rows="5" class="kuan" id="adv" runat="server"></textarea></span></div>
                                        </td>
                                    </tr>
										<TR class="tablebg" style="DISPLAY:none">
											<TD height="18"><div align="left">首页链接1：</div>
											</TD>
											<TD height="18"><div align="left">名称： <input name="l1" type="text" id="l1" runat="server" class="kuan">
													地址： <input name="l2" type="text" id="l2" runat="server" class="kuan" size="30">
												</div>
											</TD>
										</TR>
										<TR class="tablebg" style="DISPLAY:none">
											<TD height="18"><div align="left">首页链接2：</div>
											</TD>
											<TD height="18"><div align="left">名称： <input name="l3" type="text" id="l3" runat="server" class="kuan">
													地址： <input name="l4" type="text" id="l4" runat="server" class="kuan" size="30">
												</div>
											</TD>
										</TR>
										<TR class="tablebg" style="DISPLAY:none">
											<TD height="18"><div align="left">首页链接3：</div>
											</TD>
											<TD height="18"><div align="left">名称： <input name="l5" type="text" id="l5" runat="server" class="kuan">
													地址： <input name="l6" type="text" id="l6" runat="server" class="kuan" size="30">
												</div>
											</TD>
										</TR>
										<TR class="tablebg" style="DISPLAY:none">
											<TD height="18"><div align="left">首页链接4：</div>
											</TD>
											<TD height="18"><div align="left">名称： <input name="l7" type="text" id="l7" runat="server" class="kuan">
													地址： <input name="l8" type="text" id="l8" runat="server" class="kuan" size="30">
												</div>
											</TD>
										</TR>
										<TR class="tablebg">
											<TD height="20"><div align="center">
												</div>
											</TD>
											<TD height="20"><input class="btn" id="Button1" type="button" value="保存设定" name="Button1" runat="server" onserverclick="Button1_ServerClick"></TD>
										</TR>
									</TABLE>
								</TD>
							</TR>
						</TABLE>
					</TD>
					<TD width="5" background="pics/wenbenkuan_06.gif"><IMG height="5" src="pics/wenbenkuan_06.gif" width="5"></TD>
				</TR>
				<TR>
					<TD background="pics/wenbenkuan_08.gif"><IMG height="5" src="pics/wenbenkuan_07.gif" width="5"></TD>
					<TD background="pics/wenbenkuan_08.gif"><IMG height="5" src="pics/wenbenkuan_08.gif" width="5"></TD>
					<TD><IMG height="5" src="pics/wenbenkuan_09.gif" width="5"></TD>
				</TR>
			</TABLE>
		</form>
	</BODY>
</HTML>
