<%@ page language="VB" masterpagefile="~/Page.master" autoeventwireup="false" inherits="WebExam.Web.secure_onlysystem_config, App_Web_kxoiohy4" title="系统设置" %>
<%@ MasterType VirtualPath="~/Page.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentHead" Runat="Server">
    <link rel="stylesheet" href="../../style/selfreg.css" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainCopy" Runat="Server">
    <ul class="clear">
        <li class="clear">
            <p class="creat fleft clear">
                设置邮件服务器</p>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
               <span class="atten">*</span>  邮件服务器：</div>
            <div class="input_list font_space fleft">
                <asp:TextBox ID="TB_mailServer" runat="server" ValidationGroup="mail"></asp:TextBox>
                <div class="error_explain font_space">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请输入邮件服务器"
                        ControlToValidate="TB_mailServer" Display="Dynamic" ValidationGroup="mail"></asp:RequiredFieldValidator>
                  
                </div>
            </div>
            <div class="explain_list fleft">
                <span class="explain">
                请正确填写邮件服务器，如smtp.126.com；非标准smtp服务端口25，请用冒号后跟端口号，如smtp.gmail.com:587。</span></div>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 账 号：</div>
            <div class="input_list font_space fleft">
                <asp:TextBox ID="TB_userId" runat="server" ValidationGroup="mail"></asp:TextBox>
                <div class="error_explain font_space">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="请输入邮件服务器上的用户名"
                        ControlToValidate="TB_userId" Display="Dynamic" ValidationGroup="mail"></asp:RequiredFieldValidator>
                  
                </div>
            </div>
        </li>
       
        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 密 码：</div>
            <div class="input_list font_space fleft">
                <asp:TextBox ID="TB_password" runat="server" ValidationGroup="mail" 
                    TextMode="Password"></asp:TextBox>
                <div class="error_explain font_space">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="请输入密码"
                        ControlToValidate="TB_password" Display="Dynamic" ValidationGroup="mail"></asp:RequiredFieldValidator>
                  
                </div>
            </div>
            
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 发送者邮箱：</div>
            <div class="input_list font_space fleft">
                <asp:TextBox ID="TB_send" runat="server" ValidationGroup="mail"></asp:TextBox>
                <div class="error_explain font_space">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="请输入发送者邮箱"
                        ControlToValidate="TB_send" Display="Dynamic" ValidationGroup="mail"></asp:RequiredFieldValidator>
                  
                </div>
            </div>
            <div class="explain_list fleft">
                <span class="explain">请填写你在上述邮件服务器中发送邮件所使用的信箱，如zhang3@126.com。</span></div>
        </li>
        <li class="clear">
            <div class="name_list font_space fleft">
            
            </div>
            <div class="input_list font_space fleft"><asp:Button ID="Btn_test" runat="server" Text="用已有信息测试" ForeColor="#FF3300" ToolTip="使用已保存的信息测试邮件服务器" />
            
           <asp:Button ID="Btn_saveEmail" runat="server" Text="保 存" ValidationGroup="mail" ToolTip="保存到服务器" /></div> 
            <div class="explain_list fleft">
                <span style="color:Red"><asp:Label ID="L_msg" runat="server" Visible="False" Font-Bold="True" ForeColor="Red"></asp:Label></span></div>
            
        </li>
        <li class="clear">
            <div class="compart">
            </div>
        </li>
        <li class="clear">
            <p class="creat fleft clear">
                加密锁设置（仅硬加密版本有效）</p>
        </li>
      
        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 端 口：</div>
            <div class="input_list font_space fleft">
                <asp:TextBox ID="TB_port" runat="server" onblur="this.style.borderColor='#A3BFA8';"
                    onfocus="this.style.borderColor='#99E300';" AutoCompleteType="Disabled" ValidationGroup="lock"></asp:TextBox>
                <div class="error_explain font_space">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请输入端口"
                        ControlToValidate="TB_port" Display="Dynamic" ValidationGroup="lock"></asp:RequiredFieldValidator>
                   <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="TB_port"
                ErrorMessage="端口范围1024-65535,请重新指定端口" MaximumValue="65535" MinimumValue="1024" Type="Integer" Display="Dynamic" ValidationGroup="lock"></asp:RangeValidator>
            
                </div>
            </div>
            <div class="explain_list fleft">
                <span class="explain">请你指定一个未被其他程序使用的端口供加密锁使用。</span></div>
        </li>
       
        
        <li class="clear">
            <div class="name_list font_space fleft">
            
            
            </div>
            <div class="input_list font_space fleft">
          <asp:Button ValidationGroup="lock" ID="Btn_saveLockPort" runat="server" Text="保 存" /></div> 
            <div class="explain_list fleft">
                </div>
        </li>
        <li class="clear">
            <div class="compart">
            </div>
        </li>
        <li class="clear">
            <p class="creat fleft clear">
                软加密授权信息（仅软加密版本有效）</p>
        </li>
      
        <li class="clear">
            <div class="name_list font_space fleft">
                <span class="atten">*</span> 更新授权：</div>
            <div class="input_list font_space fleft">
                <asp:FileUpload ID="Fpath" runat="server" onblur="this.style.borderColor='#A3BFA8';"
                    onfocus="this.style.borderColor='#99E300';" ValidationGroup="soft" />
                <div class="error_explain font_space">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="请选择由软件商提供的授权文件"
                        ControlToValidate="Fpath" Display="Dynamic" ValidationGroup="soft"></asp:RequiredFieldValidator>
                   
                </div>
            </div>
            <div class="explain_list fleft">
                <span class="explain">请你选择由软件商提供的授权文件。</span></div>
        </li>
       
        
        <li class="clear">
            <div class="name_list font_space fleft">
            
            
            </div>
            <div class="input_list font_space fleft">
          <asp:Button ValidationGroup="soft" ID="Button2" runat="server" Text="上 传" /></div> 
            
        </li>
    </ul>
</asp:Content>

