<%@ Page Language="C#" Inherits="LiveServer.Pages.UserCenter.SettingPhoto" %>
<%@ Register TagPrefix="bairong" Namespace="BaiRong.Controls" Assembly="BaiRong.Controls" %>
<%@ Register TagPrefix="user" Namespace="UserCenter.Controls" Assembly="UserCenter.Pages" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="JavaScript" src="../../../sitefiles/bairong/Scripts/prototype-1.6.0.3.js"></script>
<script language="JavaScript" src="../js/script.js"></script>
<link rel="stylesheet" type="text/css" href="../style/comm.css" />
<link rel="stylesheet" type="text/css" href="../style/setting.css" />
<link rel="stylesheet" type="text/css" href="../themes/<%=UcTheme%>/style.css"/>
</head>
<body class="tbody">
<bairong:Message runat="server"></bairong:Message>
<div class="txt_title"> 空间设置 </div>
<form runat="server">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabtitle">
    <tr>
      <td width="1" nowrap>&nbsp;
      </td>
      <td width="70" align="center">
        <a href="settingSpace.aspx" ><b> 基本信息 </b></a>
      </td>
      <td width="70" align="center" >
        <a href="settingBlog.aspx" ><b> 博客设置 </b></a>
      </td>
      <td width="70" align="center" class="selected">
        <b> 相册设置 </b>
      </td>
      <td nowrap>&nbsp;
      </td>
    </tr>
  </table>
  <div class="settingtable" >
    <div class="vBorder addr_line">修改属性</div>
    <div class="settingtd settingDiv no_bt">
      <div class="settingDiv_l">每页显示图片数：</div>
      <div class="settingDiv_r">
        <div>
          <asp:TextBox id="PhotoContentPageNum" class="txt wd" MaxLength="50" Size="20" runat="server"/>
          <asp:RequiredFieldValidator
			ControlToValidate="PhotoContentPageNum"
			ErrorMessage=" *"
			Display="Dynamic"
			runat="server"
			/>
          <asp:RegularExpressionValidator ControlToValidate="PhotoContentPageNum" ValidationExpression="\d+" Display="Dynamic" ErrorMessage=" *" runat="server"/>
        </div>
      </div>
    </div>
    <div class="settingtd settingDiv no_bt">
      <div class="settingDiv_l">每页显示评论数：</div>
      <div class="settingDiv_r">
        <div>
          <asp:TextBox id="PhotoCommentPageNum" class="txt wd" MaxLength="50" Size="20" runat="server"/>
          <asp:RequiredFieldValidator
			ControlToValidate="PhotoCommentPageNum"
			ErrorMessage=" *"
			Display="Dynamic"
			runat="server"
			/>
          <asp:RegularExpressionValidator ControlToValidate="PhotoCommentPageNum" ValidationExpression="\d+" Display="Dynamic" ErrorMessage=" *" runat="server"/>
        </div>
      </div>
    </div>
    <div class="settingtd settingDiv no_bt">
      <div class="settingDiv_l">是否允许匿名评论：</div>
      <div class="settingDiv_r">
        <div>
        	<asp:CheckBox ID="IsPhotoAcceptAnonymousComment" Text="允许匿名评论" runat="server"></asp:CheckBox>
        </div>
      </div>
    </div>
    <!--<div class="settingtd settingDiv no_bt">
      <div class="settingDiv_l">保密设置：</div>
      <div class="settingDiv_r">
        <div>
			<asp:RadioButtonList ID="PhotoPermission" runat="server"></asp:RadioButtonList>
        </div>
        <div class="addrtitle">(保密设置决定谁可以查看您的相册。您可以选择让所有人或者只有您可以看到您的相册。)</div>
      </div>
    </div>-->
  </div>
  </div>
  <div class="settingtable settingline"></div>
  <div class="toolbg toolbgline barspace3">
    <asp:Button id="Submit" class="btn" Text="保存更改" Onclick="Submit_OnClick" runat="server"/>
  </div>
</form>
</body>
</html>
