<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" Title="批量导入管理员"
    CodeBehind="AdministratorImport.aspx.cs" Inherits="PowerEasy.Module.General.WebSite.Admin.User.AdministratorImport" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CphNavigation" runat="server">
    <pe:ExtendedSiteMapPath ID="SmpNavigator" SiteMapProvider="AdminMapProvider" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CphContent" runat="server">
    <table width="100%" border="0" cellspacing="1" cellpadding="2" class="border">
        <tr align="center">
            <td colspan="2" class="title" style="height: 19px">
                <b>管理员批量导入</b>
            </td>
        </tr>
        <tr class="tdbg">
            <td align="right" style="width: 30%;" class="tdbgleft">
                <b>选择要导入的数据文件&nbsp;：&nbsp;</b>
            </td>
            <td>
                <asp:FileUpload ID="UpExcellFile" runat="server" Width="400px" />
                <pe:RequiredFieldValidator ID="ValrExcellFile" ControlToValidate="UpExcellFile" runat="server"
                    ErrorMessage="请选择你要上传的文件！" RequiredText="" Display="Dynamic"></pe:RequiredFieldValidator>
            </td>
        </tr>
        <tr class="tdbgbottom">
            <td colspan="2">
                <pe:ExtendedButton ID="EBtnSubmit" Text="批量导入" OnClick="EBtnSubmit_Click" runat="server" />
            </td>
        </tr>
    </table>
    <div id="prompt-note">
        <dl>
            <dt class="prompt-note-tit">
                <span>温馨提醒</span>
            </dt>
            <dd class="prompt-note-con">
                <li>导入前先<a style="color: Blue; text-decoration: underline;" href="../../Admin/User/Administrators.xls">点此下载模板文件</a>。</li>
                <li>模板文件中的红色字体为必填项，并注意字段上的批注！</li>
                <li>由于批量导入操作比较占用资源，请不要上传过大的文件，建议在服务器访问人数少时进行！</li>
                <li style="color:red;"> 注意：如果网站有整合论坛同步登录，批量导入的管理员对应的前台会员不会同步注册到论坛，需另外处理！</li>
            </dd>
        </dl>
    </div>
</asp:Content>
