<?php include pTemplate("header");?>
     <div id="loadingbar"></div>
     
    <div id="main" class="mainPanel wd txt_left">
    <div class="company">
    <aside class="left_panel" un="leftNavBar">
            <ul class="sidetd">
                <?php echo $left_menu_html;?>
            </ul>
        </aside>
     
    <div class="right_panel">
    <div class="content_block">
		<h1 style="margin:0;">
        批量导入成绩到 <?php echo $examname;?>
        <a class="btn btnNormal bt_newfloder" href="<?php echo SITEURL;?>?mod=school&do=exam&c=result&examid=<?php echo $examid;?>&authcode=<?php echo $authcode;?>" style="position:static;">返回</a>
        </h1>
	</div>
    <div class="content_con b_size">
        <style type="text/css">
            .letterindex { line-height:auto;padding:0 11px; }.letterindex ul { margin:0;padding:0;
            }.letterindex li { display:block;height:24px;float:left;font-size:14px;font-weight:bold;margin:6px
            0;padding:0;text-align:center;}.letterindex li a { display:block;height:24px;font-size:14px;font-weight:bold;line-height:24px;text-align:center;text-decoration:none;margin:1px;padding:0
            6px;}.letterindex a.active { background:#fff;border-color:auto;margin:0px;}.icon_fold{width:11px;
            height:11px; background:url(/zh_CN/htmledition/images/newicon/rss.gif)
            no-repeat -32px -32px; margin-right:4px;}.icon_unfold{width:11px; height:11px;
            background:url(/zh_CN/htmledition/images/newicon/rss.gif) no-repeat -48px
            -32px; margin-right:4px;}.partytree { width:200px;padding:10px;border-width:0
            1px 0 0;}.partytree li { line-height:24px;}.party_selected{ color:#fff;background:#285586;
            }.infoTable td,.infoTable th {border-bottom:1px solid #E1E1E1;height:30px;padding:6px
            10px;}
        </style>
        <iframe id="actionFrame" name="actionFrame" style="display:none;">
        </iframe>
        <div id="import">
			<div style="zoom:1;overflow:hidden;padding-bottom:34px; padding-left:15px">
                    <div>
                    	还可以导入&nbsp;
                        <span class="bold">
                            200
                        </span>
                        	&nbsp;位学生成绩
                        <span class="graytext">
                            (超过的部分将无法导入)
                        </span>
                    </div>
                    <div style="margin:25px 0 5px;">
                    	请选择要导入的文件：
                    </div>
                    <form method="post"  action="<?php echo SITEURL;?>?mod=school&do=exam&c=import_result_show" enctype="multipart/form-data">
	                    <div valid="empty:1" validmsg="请选择导入文件">
	                        <input name="file" type="file">
	                        <span un="validMsg"></span>
	                    </div>
	                    <input type="hidden" name="examid" value="<?php echo $examid;?>" />
	                    <input type="hidden" name="examname" value="<?php echo $examname;?>" />
	                    <div style="margin-top:8px;">
	                        <input type="submit" class="btn btnNormal btn_first" value="上传">
	                    </div>
                    </form>
                </div>
                <div style="padding:20px 0 0 15px;line-height:1.8; font-size:12px;" class="bd_t graytext">
                    <h4 style="margin-bottom:10px;">导入说明：</h4>
                    <p>
                        1. 请使用Excel等软件创建一个xls文件，格式如下(
                        <a href="public/images/mark_import_sample.xls" target="_blank">
                        	点击下载模板
                        </a>
                        )：
                    </p>
                    <p>
                        <img src="public/images/mark_excel.jpg">
                    </p>
                    <p style="color:red;">
                        2. 各列内容（从左至右）：<br/>(1). 姓名（必填）<br/>(2). 性别（必填）<br/>(3). 学号（必填）<br/>(4). 学生帐号（必填）<br/>(5). 考试科目（必填）<br/>(6). 考试成绩（必填）)
                    </p>
                    <p>
                        3. 请使用UTF8系列编码保存文件
                    </p>
                </div>
            
        </div>
        <div id="preview" un="import">
        </div>
        <!--end content-->
    </div>
</div>
</div></div>

<?php include pTemplate("footer");?>  

</body>
</html>