<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_systemset.aspx.cs" Inherits="Web.admin.login_systemset" %>

<!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 runat="server">
    <title>无标题页</title>
    <link href="../css/admincss/skin.css" rel="stylesheet" type="text/css" />
    </head>
<body>
      <form id="form1" runat="server" >
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; "  border="0" cellspacing="0"  id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">系统设置</div></td>
        
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  
  <tr>
    <td style ="background :url(../css/admincss/images/mail_leftbg.gif); vertical-align :middle " >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >
 
<!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
                系统基本信息设置</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td >
 <table border="1"  class ="table" cellpadding ="0"  cellspacing ="0" style ="width :820px">
            <tr>
                <td class ="tabletd_right" style ="width :130px; ">
                    软件信息：</td>
                <td class ="tabletd_left" >
                    <asp:Label ID="lbCompany" runat="server"></asp:Label>
                    &nbsp;<asp:LinkButton ID="lbxieyi" runat="server" onclick="lbxieyi_Click">查看用户许可协议</asp:LinkButton>
                  </td>
            </tr>
            <tr>
                <td  class ="tabletd_right">
                    部门：</td>
                <td  class ="tabletd_left" >
                    <asp:TextBox ID="tbDepartment" runat="server"  Width="154px"></asp:TextBox>
                    (可输入 汉字、字母、数字)<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="tbDepartment" Display="Dynamic" 
                        ErrorMessage="请输入少于10个合法字符。" 
                        ValidationExpression="^[\u4e00-\u9fa5|\w|\-|\(|\)]{0,10}$" ForeColor="Red" 
                        ValidationGroup="sys"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td  class ="tabletd_right">电话：</td>
                <td class="tabletd_left">
                    <asp:TextBox ID="tbTel" runat="server"  Width="198px"></asp:TextBox>
                    (例：010-12345678-1234或010-12345678或139012345678)<asp:RegularExpressionValidator 
                        ID="RegularExpressionValidator2" runat="server" 
                        ControlToValidate="tbTel" Display="Dynamic" ErrorMessage="请按右侧示例的格式填写！" 
                        ValidationExpression="^\d{0,4}-\d{0,8}-\d{0,6}|\d{0,4}-\d{0,12}|\d{0,12}$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    邮箱：</td>
                <td class ="tabletd_left" >
                    <asp:TextBox ID="tbEmail" runat="server"  Width="281px"></asp:TextBox>
                    (例：123@abc.com)<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                        ControlToValidate="tbEmail" Display="Dynamic" ErrorMessage="不要有非法字符！" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                        ForeColor="Red" ValidationGroup="sys"></asp:RegularExpressionValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                        ControlToValidate="tbEmail" Display="Dynamic" ErrorMessage="不要超过50个字符！" 
                        ValidationExpression="^[\w|\.|\@]{0,50}$" ForeColor="Red" 
                        ValidationGroup="sys"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td  class ="tabletd_right">
                    网站备案号：</td>
                <td class ="tabletd_left" >
                    <asp:TextBox ID="tbBeian" runat="server"  Width="171px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator9" runat="server" 
                        ControlToValidate="tbBeian" Display="Dynamic" ErrorMessage="请输入2-20个合法字符。" 
                        ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{2,20}$" 
                        ForeColor="Red" ValidationGroup="sys"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td  class ="tabletd_right">
                    上传文件目录：</td>
                <td class ="tabletd_left" >
                    <asp:TextBox ID="tbDir" runat="server"  Width="171px"></asp:TextBox>
                    <asp:CheckBox ID="cbDir" runat="server" Text="同时转移上传文件" />
                    &nbsp;上传文件目录放在本系统文件夹下，留空提交
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator10" runat="server" 
                        ControlToValidate="tbDir" Display="Dynamic" ErrorMessage="请输入合法字符" 
                        ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{1,50}$" 
                        ValidationGroup="sys" ForeColor="Red"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    密码重试次数：</td>
                <td class ="tabletd_left" >
                    <asp:TextBox ID="tbPasswordTest" runat="server" Width="60px"></asp:TextBox>
                    <span style ="color :Red ">(必填)</span>(整数)<asp:RequiredFieldValidator 
                        ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="tbPasswordTest" Display="Dynamic" 
                        ErrorMessage="请填密码重试次数。" ForeColor="Red" ValidationGroup="sys"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" 
                        ControlToValidate="tbPasswordTest" Display="Dynamic" ErrorMessage="请输入整数" 
                        ValidationExpression="^\d{1,}$" ForeColor="Red" ValidationGroup="sys"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td  class ="tabletd_right">
                    员工登录日志数：</td>
                <td class ="tabletd_left" >
                    <asp:TextBox ID="tbStaffLoginNum" runat="server" Width="59px"></asp:TextBox><span style ="color :Red ">(必填)</span>(整数)
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="tbStaffLoginNum" Display="Dynamic" 
                        ErrorMessage="请填员工登录日志条数。" ForeColor="Red" ValidationGroup="sys"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" 
                        ControlToValidate="tbStaffLoginNum" Display="Dynamic" ErrorMessage="请输入整数" 
                        ValidationExpression="^\d{1,}$" ForeColor="Red" ValidationGroup="sys"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    管理员登录日志数：</td>
                <td class ="tabletd_left" >
                    <asp:TextBox ID="tbManagerLoginNum" runat="server" Width="57px"></asp:TextBox><span style ="color :Red ">(必填)</span>(整数)
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="tbManagerLoginNum" Display="Dynamic" 
                        ErrorMessage="请填管理员登录日志条数。" ForeColor="Red" ValidationGroup="sys"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" 
                        ControlToValidate="tbManagerLoginNum" Display="Dynamic" ErrorMessage="请输入整数" 
                        ValidationExpression="^\d{1,}$" ForeColor="Red" ValidationGroup="sys"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    前台登录界面：</td>
                <td class ="tabletd_left" >
                    <asp:RadioButtonList ID="rblDefaultStyle_w" runat="server" 
                        RepeatDirection="Horizontal">
                        <asp:ListItem Selected="True" Value="0">界面1</asp:ListItem>
                        <asp:ListItem Value="1">界面2</asp:ListItem>
                        <asp:ListItem Value="2">界面3</asp:ListItem>
                    </asp:RadioButtonList>
  </td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    &nbsp;</td>
                <td class ="tabletd_left">
                    <asp:Button ID="btxiugai" runat="server" onclick="btxiugai_Click" Text="提交修改" 
                        Visible="False" ValidationGroup="sys" />
                </td>
            </tr>
            </table>
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->
   <!--  一组内容模块开始   --> 
    <table class ="tablezong"  border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table  class="tablebiaoti" border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  短信设置</div>
         </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
        <table border="1" style=" width :820px" class="table"  cellpadding ="0" cellspacing ="0" >
            <tr>
                <td class ="tabletd_right " style ="width :100px" >
                    短信服务商：</td>
                <td class ="tabletd_left ">
                    <asp:DropDownList ID="ddlCom" runat="server" AutoPostBack="True" 
                        onselectedindexchanged="ddlCom_SelectedIndexChanged">
                    </asp:DropDownList>
                &nbsp;<asp:CheckBox ID="cbStatus" runat="server" Text="启用" />
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :100px" >
                    账号：</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbUserid" runat="server" MaxLength="100" Width="360px"></asp:TextBox>
                    <span class="style1">（请填入少于100个字符）</span></td>
            </tr>
            <tr>
                <td class ="tabletd_right ">
                    密码：</td>
                <td class ="tabletd_left">
                    <asp:TextBox ID="tbPassword" runat="server" MaxLength="100" Width="360px" 
                        TextMode="Password"></asp:TextBox>
                    <span class="style1">（请填入少于100个字符）</span></td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    通道：</td>
                <td class ="tabletd_left">
                    <asp:TextBox ID="tbChannel" runat="server" Width="60px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    短信签名：</td>
                <td class ="tabletd_left">
                    <asp:TextBox ID="tbSign" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    &nbsp;</td>
                <td class ="tabletd_left">
                    <asp:Button ID="btSub" runat="server" onclick="btSub_Click" Text="提交" />
                </td>
            </tr>
            </table>
            <div id ="shuoming" runat ="server" >
</div>
        </td>
      </tr>
      <tr><td  >
          <table cellpadding="0" cellspacing="0" style ="width :100%">
              <tr>
                  <td style =" padding-left :5px; text-align :left  "></td>
                  <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px">&nbsp;</td>
              </tr>
          </table>
          </td></tr>
    </table>
<!-- 一组内容模块结束 -->

<!--  一组内容模块开始   --> 
    <table class ="tablezong"  border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table  class="tablebiaoti" border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  邮件设置</div>
         </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
        <table border="1" style=" width :820px" class="table"  cellpadding ="0" cellspacing ="0" >
            <tr>
                <td class ="tabletd_right " style ="width :100px" >
                    发信邮箱：</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbEmailname" runat="server" Width="283px"></asp:TextBox>
                    <span class="style1">（少于100个字符,如：abc@163.com，如不启用发信功能，请留空）</span></td>
            </tr>
            <tr>
                <td class ="tabletd_right " style ="width :100px" >
                    发信账号：</td>
                <td class ="tabletd_left ">
                    <asp:TextBox ID="tbUsername" runat="server" MaxLength="100" Width="203px"></asp:TextBox>
                    <span class="style1">（请填入少于50个字符,如：abc@163.com）</span></td>
            </tr>
            <tr>
                <td class ="tabletd_right ">
                    密码：</td>
                <td class ="tabletd_left">
                    <asp:TextBox ID="tbPasswd" runat="server" MaxLength="100" Width="198px" 
                        TextMode="Password"></asp:TextBox>
                    <span class="style1">（请填入少于25个字符）</span></td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    发信服务器：</td>
                <td class ="tabletd_left">
                    <asp:TextBox ID="tbSmtpname" runat="server" Width="276px"></asp:TextBox>
                    <span class="style1">（邮件服务商提供，如：smtp.163.com）</span></td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    发信端口：</td>
                <td class ="tabletd_left">
                    <asp:TextBox ID="tbSmtpport" runat="server" Width="57px"></asp:TextBox>
                    <span class="style1">（邮件服务商提供，缺省为25）</span></td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    邮件签名：</td>
                <td class ="tabletd_left">
                    <asp:TextBox ID="tbEmailsign" runat="server" Width="200px"></asp:TextBox>
                    <span class="style1">（请填入少于25个字符,可以是单位名称）</span></td>
            </tr>
            <tr>
                <td class ="tabletd_right">
                    &nbsp;</td>
                <td class ="tabletd_left">
                    <asp:Button ID="btSubEmail" runat="server" onclick="btSubEmail_Click" 
                        Text="提交" />
                </td>
            </tr>
            </table>
            <div id ="Div1" runat ="server" >
</div>
        </td>
      </tr>
      <tr><td  >
          <table cellpadding="0" cellspacing="0" style ="width :100%">
              <tr>
                  <td style =" padding-left :5px; text-align :left  "></td>
                  <td  id ="Td1" runat ="server" style ="text-align :right ;  padding-right  :5px">&nbsp;</td>
              </tr>
          </table>
          </td></tr>
    </table>
<!-- 一组内容模块结束 -->
    </td>
    <td  style =" background-image:url(../css/admincss/images/mail_rightbg.gif )" >
    </td>
  </tr>
  <tr>
    <td  class ="buttom_bg_left "></td>
    <td class ="buttom_bg_center " ></td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
