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


<!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 id="Head1" runat="server">
    <title>教师信息导入导出</title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
    <link href="../style/default/style.css" rel="stylesheet" type="text/css" />
    <%=ImportScriptStr %></head>
<body>
    <form id="Form1" method="post" runat="server">
        
        
                <div id="tbMain">
                    <div class="divTbg">
                        <div class="divTbgL"></div>
                        <div class="divTbgInfo">
                            <div class="divTbgTitle">教师信息导入导出</div>
                        </div>
                    </div>
                    <div class="divTbgF"></div>
                    <div class="divTNavBG" id="topURL">
                        <ul id="topURLul">
                            <li class="divURLed" id="div1">
                                <div>
                                    <img src="../style/green/images/mini_icons_046.gif" width="10" height="10" />
                                    教师信息</div>
                            </li>
                        </ul>
                    </div>
                    <div id="mypanel">
                        <div id="ddiv1">
                            <div class="divInfo">
                                <div class="divInfoblack">
                                    <div class="divInfoTopList">
                                        <div class="listLeft">
                                            <div class="navtitle">导入导出 </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="divInfo">
                                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tablist">
                                    <tr class="tablisttr">
                                        <td width="100" align="center" class="tablisttitle">导入/导出 </td>
                                        <td class="tabmanagertr">
                                            <asp:RadioButton ID="radOut" runat="server" Checked="True" GroupName="rad" Text="导出"
                                                AutoPostBack="True" OnCheckedChanged="radOut_CheckedChanged" />
                                            <asp:RadioButton ID="radIn" runat="server" GroupName="rad" Text="导入" AutoPostBack="True"
                                                OnCheckedChanged="radIn_CheckedChanged" />
                                        </td>
                                    </tr>
                                    <tr class="tablisttr">
                                        <td width="100" align="center" class="tablisttitle">隶属院系 </td>
                                        <td class="tabmanagertr">
                                            <asp:DropDownList ID="drpSkyDID" runat="server"></asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr class="tablisttr" runat="server" id="trShow" visible="false">
                                        <td width="100" align="center" class="tablisttitle">选择EXCEL </td>
                                        <td class="tabmanagertr">
                                            <asp:TextBox ID="txtExcelPath" runat="server" Width="339px">/upload/systemplate/teacher.xlsx</asp:TextBox>
                                            <a href="#" onclick="SkyOpen('txtExcelPath');">[选择]</a>

                                            <a href="#" onclick="SkyView('txtExcelPath');">[查看]</a>
                                            <a href="/upload/systemplate/teacher.xlsx" target="_blank">[标准文件下载]</a>

                                            <br />
                                            导入要求如下：<br />
                                            1.导入的文件必须符合标准格式 
                    2.导入的教师编号必须符合系统规则
                                            <br />
                                            3.导入的教师如果系统已经存在则系统自动采用更新方法更新教师信息 
                    4.系统推荐教师编号为10而且教师编号的前2位是院系编号<br />
                                            5.导入的教师的默认密码是【123456】，请提示学生自己登录后修改密码

                                            <br />
                                            6.系统导入的excel文件，请选择扩展名是.xlsx的文件进行导入，不在支持.xls
                                            <span style="color: Red">
                                                <asp:Literal ID="LiteralScript" runat="server"></asp:Literal></span>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="divSave">
                        <asp:Button ID="btnSubmit" runat="server" Text="操作(S)" CssClass="SkyButtonFocus"
                            OnClick="btnSubmit_Click" AccessKey="S" CommandName="save"></asp:Button>
                    </div>
                </div><div class="divInfo">
            <span class="usHelpMessage">* 注意事项： 新开发的导出功能,点击<a href="/admin/export/exporuserteacher.aspx">[进入]</a> </span>
        </div>
            
    </form>
</body>
</html>
