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

<HTML>
<HEAD>
<!--#include file="../inc/html_head.inc"-->
<user:custom type="style" runat="server"></user:custom>
<bairong:Code type="Prototype" runat="server" />
<bairong:Code type="Scriptaculous" runat="server" />

<meta http-equiv="content-type" content="text/html;charset=gb2312">
</HEAD><body>
<form id="myForm" runat="server">
  <bairong:Message runat="server"></bairong:Message>
  <DIV class="column">
    <div class="columntitle">用户中心界面设置</div>
    <table width="95%" align="center" cellpadding="3" cellspacing="3">
      <tr>
        <td width="160" align="left">
          <bairong:help HelpText="用户中心名称" Text="用户中心名称：" runat="server" ></bairong:help>
        </td>
        <td align="left">
          <asp:TextBox ID="CenterName" class="colorblur" onfocus="this.className='colorfocus';" onblur="this.className='colorblur';" MaxLength="50" Size="40" runat="server"></asp:TextBox>
        </td>
      </tr>
      <tr>
        <td width="160" align="left">
          <bairong:help HelpText="版权所有" Text="版权所有：" runat="server" ></bairong:help>
        </td>
        <td align="left">
          <asp:TextBox ID="Copyright" class="colorblur" onfocus="this.className='colorfocus';" onblur="this.className='colorblur';" MaxLength="50" Size="60" runat="server"></asp:TextBox>
        </td>
      </tr>
      <tr>
        <td width="160" align="left">
          <bairong:help HelpText="用户中心默认皮肤" Text="用户中心默认皮肤：" runat="server" ></bairong:help>
        </td>
        <td align="left">
          <asp:DropDownList ID="DefaultTheme" runat="server"></asp:DropDownList>
          <asp:Literal ID="ltlDefaultTheme" runat="server"></asp:Literal>
        </td>
      </tr>
      <tr style="BACKGROUND-POSITION:center 50%; BACKGROUND-IMAGE:url(../pic/line.gif); BACKGROUND-REPEAT:repeat-x">
            <td colspan="2">&nbsp;								</td>
        </tr>
      <tr>
            <td width="180" align="left">
                <bairong:help HelpText="设置默认的用户头像图标地址" Text="默认用户头像图标地址：" runat="server" ></bairong:help>
          </td>
        <td align="left">
                <asp:TextBox class="colorblur" onfocus="this.className='colorfocus';" onblur="this.className='colorblur';" Columns="60" MaxLength="200" id="DefaultIconUrl" runat="server" />&nbsp;(48×48)
                <asp:RequiredFieldValidator ControlToValidate="DefaultIconUrl" ErrorMessage="*" Display="Dynamic" runat="server" />
          </td>
        </tr>
        <tr>
            <td width="180" align="left">
                <bairong:help HelpText="设置默认的用户头像图片地址" Text="默认用户头像图片地址：" runat="server" ></bairong:help>
          </td>
            <td align="left">
                <asp:TextBox class="colorblur" onfocus="this.className='colorfocus';" onblur="this.className='colorblur';" Columns="60" MaxLength="200" id="DefaultImageUrl" runat="server" />&nbsp;
                <asp:RequiredFieldValidator ControlToValidate="DefaultImageUrl" ErrorMessage="*" Display="Dynamic" runat="server" />
            </td>
        </tr>
        <tr>
            <td width="180" align="left">
                <bairong:help HelpText="设置用户头像图片最大宽度" Text="用户头像图片最大宽度：" runat="server" ></bairong:help>
          </td>
            <td align="left">
                <asp:TextBox class="colorblur" onfocus="this.className='colorfocus';" onblur="this.className='colorblur';" Columns="10" MaxLength="50" id="ImageMaxWidth" runat="server" />&nbsp;px
                <asp:RequiredFieldValidator ControlToValidate="ImageMaxWidth" ErrorMessage="*" Display="Dynamic" runat="server" />
                <asp:RegularExpressionValidator
                    ControlToValidate="ImageMaxWidth"
                    ValidationExpression="\d+"
                    Display="Dynamic"
                    ErrorMessage="用户头像图片最大宽度必须为整数"
                    runat="server"/>
            </td>
        </tr>
        <tr>
            <td width="180" align="left">
                <bairong:help HelpText="设置用户头像图片最大高度" Text="用户头像图片最大高度：" runat="server" ></bairong:help>
          </td>
            <td align="left">
                <asp:TextBox class="colorblur" onfocus="this.className='colorfocus';" onblur="this.className='colorblur';" Columns="10" MaxLength="50" id="ImageMaxHeight" runat="server" />&nbsp;px
                <asp:RequiredFieldValidator ControlToValidate="ImageMaxHeight" ErrorMessage="*" Display="Dynamic" runat="server" />
                <asp:RegularExpressionValidator
                    ControlToValidate="ImageMaxHeight"
                    ValidationExpression="\d+"
                    Display="Dynamic"
                    ErrorMessage="用户头像图片最大高度必须为整数"
                    runat="server"/>
            </td>
        </tr>
      <tr>
      <tr>
        <td colspan="2" align="center">
          <asp:Button class="button" id="Submit" text="保 存" onclick="Submit_OnClick" runat="server" />
        </td>
      </tr>
    </table>
  </div>
</form>
</body>
</HTML>
