<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="install_step4.aspx.cs" Inherits="PPFOR.Install.install_step4" Title="安装步骤1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>PPfor.com Install</title>
    <link href="install.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript">
        
    </script>
</head>
<body style="background:url(/Admin/images/install/install_bg.gif);" scroll="no">
<form runat="server" id="form1" onsubmit="document.getElementById('displayWaitingMsg').style.display='';"> 
<center>
  <table width="100%" border="0" cellpadding="0" cellspacing="0" background="/Admin/images/install/install_topbg.gif">
    <tr>
      <td width="50%" height="68" align="left"><img src="/Admin/images/install/logo.gif" width="152" height="40" /></td>
      <td align="right" valign="top"><table width="522" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td height="64" background="/Admin/images/install/install_top.gif" align="right">
                <div class="toplink">
                    <asp:HyperLink ID="PPFOR_goIndex" runat="server"></asp:HyperLink>
                </div>
                <div class="toplink">
                    <asp:HyperLink ID="PPFOR_goHelp" runat="server"></asp:HyperLink>
                </div>
                <div class="toplink">
                    <asp:HyperLink ID="PPFOR_goBBS" runat="server"></asp:HyperLink>
                </div>
            </td>
        </tr>
      </table></td>
    </tr>
  </table>
  <table width="738" border="0" cellspacing="0" cellpadding="0" style="margin-top:50px">
    <tr>
      <td width="188" height="420" valign="top" background="/Admin/images/install/install_cod.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="56" align="center" background="/Admin/images/install/install_cog.gif"><table width="90%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="36"><img src="/Admin/images/install/no1.gif" width="24" height="25" /></td>
                <td align="left" class="install_f16">欢迎</td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td height="55" align="center" background="/Admin/images/install/install_cof.gif"><table width="90%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="36"><img src="/Admin/images/install/no2.gif" width="24" height="25" /></td>
              <td align="left" class="install_f16">环境检测</td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td height="55" align="center" background="/Admin/images/install/install_cof.gif"><table width="90%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="36"><img src="/Admin/images/install/no3.gif" width="24" height="25" /></td>
              <td align="left" class="install_f16">创建数据库</td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td height="55" align="center" background="/Admin/images/install/install_cofo.gif"><table width="90%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="36"><img src="/Admin/images/install/rno4.gif" width="24" height="25" /></td>
              <td align="left" class="install_f16">设置管理员</td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td height="56" align="center" background="/Admin/images/install/install_coe.gif"><table width="90%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="36"><img src="/Admin/images/install/no5.gif" width="24" height="25" /></td>
              <td align="left" class="install_f16">安装完毕</td>
            </tr>
          </table></td>
        </tr>
      </table></td>
      <td width="550" align="center" valign="top" background="/Admin/images/install/install_coc.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="/Admin/images/install/install_cob.gif" width="550" height="8" /></td>
        </tr>
      </table>
        <table width="90%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:10px; margin-top:5px">
          <tr>
            <td height="30" align="left" class="install_f14">设置管理员</td>
          </tr>
        </table>
        <table width="90%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="280" valign="top" class="install_bor"><table width="98%" border="0" align="center" cellpadding="5" cellspacing="0" class="install_bort">
              <tr>
                <td height="38" align="left"><span class="install_f12"><img src="/Admin/images/install/waring.gif" width="11" height="13" /> 本管理员的设置是超级管理员，具备所有权限，登陆过期时间是指自动退出系统的无操作时间 </span></td>
              </tr>
            </table>
            <table width="100%">                   
                <tr>
                  <td align="right" style="width:120px">管理员名：</td>
                  <td style="white-space:normal;" align="left"><asp:TextBox ID="PPFOR_adminName" runat="server" TextMode="SingleLine" Maxlength="20" Width="200px"></asp:TextBox>
                      <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" SetFocusOnError="true" ValidationExpression="^[A-Za-z0-9\u4e00-\u9fa5]{3,20}$" Display="Dynamic" ControlToValidate="PPFOR_adminName"><br />管理员名不能包含特殊字符（如@，#，$，%，^，&amp;，*，(，)，'，?，{，}，[，]，;，:等），<br />管理员名长度必须在3-20个字符之间！</asp:RegularExpressionValidator>
                      <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SetFocusOnError="true" Display="Dynamic" ControlToValidate="PPFOR_adminName"><br />管理员名不能为空</asp:RequiredFieldValidator>            
                  </td>
                </tr>                       
                <tr>
                  <td align="right">填写密码：</td>
                  <td style="white-space:normal;" align="left"><asp:TextBox ID="PPFOR_adminPassword" runat="server" TextMode="Password" Maxlength="20" Width="200px"></asp:TextBox><br />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" SetFocusOnError="true" ValidationExpression="^[^\u4e00-\u9fa5]{6,20}$" Display="Dynamic" ControlToValidate="PPFOR_adminPassword">管理员密码长度必须在6-20个字符之间，密码不能使用中文字符</asp:RegularExpressionValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" SetFocusOnError="true" Display="Dynamic" ControlToValidate="PPFOR_adminPassword">管理员密码不能为空</asp:RequiredFieldValidator>
                  </td>
                </tr>
                <tr>
                  <td align="right">确认密码：</td>
                  <td style="white-space:normal;" align="left"><asp:TextBox ID="PPFOR_confirmAdminPassword" runat="server" TextMode="Password" Maxlength="20" Width="200px"></asp:TextBox><br />
                      <asp:CompareValidator ID="CompareValidator1" ControlToCompare="PPFOR_adminPassword" ControlToValidate="PPFOR_confirmAdminPassword" runat="server" SetFocusOnError="true" Display="Dynamic">两次密码输入不一致</asp:CompareValidator>
                      <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"  Display="Dynamic" SetFocusOnError="true" ControlToValidate="PPFOR_confirmAdminPassword">确认密码不能为空</asp:RequiredFieldValidator>  
                  </td>
                </tr>                         
               <tr>
                  <td align="right">登录过期时间：</td>
                  <td style="white-space:normal;" align="left"><asp:TextBox ID="PPFOR_expiresTime" runat="server" Width="50px" MaxLength="9" Text="30"></asp:TextBox> 分钟（为0则不过期）
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" SetFocusOnError="true" ValidationExpression="^[0-9]{1,9}$" Display="Dynamic" ControlToValidate="PPFOR_expiresTime"><br />登录过期时间必须是非负整数</asp:RegularExpressionValidator>
                  </td>
                </tr>   
                <tr>
                    <td>&nbsp;</td>
                    <td align="left">       
                        <input type="button" value="上一步" onclick="history.go(-1);" class="blueinput"/>                
                        <asp:Button CssClass="blueinput" ID="PPFOR_addAdministrator" runat="server" Text="下一步" OnClick="PPFOR_addAdministratorClick" />
                        <input type="reset" value="重置" class="blueinput" />
                         <div id="displayWaitingMsg" style="display:none; margin-top:5px;">                               
                        <label style="color:Red;">正在创建超级管理员，请稍后...</label>
                    </div>
                    </td>
                </tr>                     
              </table> 
            </td>
          </tr>
        </table>
        </td>
    </tr>
    <tr>
      <td colspan="2"><img src="/Admin/images/install/install_coa.gif" width="738" height="7" /></td>
    </tr>
  </table>
</center>
</form>
</body>
</html>

