<?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;">
        考试列表
        <a opercmd="foldername" cmdarg="create_exam" class="btn btnNormal bt_newfloder right" href="javascript:;" style="position:static;"><span class="ico_add" style="top:1px;"><b>ico+</b></span>添加考试</a>
        </h1>
		<div id="domainQuery" un="domainQuery" class="contentInner con_toolbar con_gk">
			<span un="datepick" style="display:block;">
							<span class="tool_li">
					<span class="addrtitle f_size">开始日期：</span>
					<span class="addrinput time_li"><input un="begin" ck="showCalendar" class="txt" date="2012-10-8" type="text" readonly=""><span class="arrow" ck="showCalendar"></span></span>
				</span>
				<span class="tool_li">
					<span class="addrtitle f_size">结束日期：</span>
					<span class="addrinput time_li"><input un="end" ck="showCalendar" class="txt time_li" date="2012-10-15" type="text" readonly=""><span class="arrow" ck="showCalendar"></span></span>
				</span>
			</span>
			<div class="tool_li">
				<span class="addrtitle f_size">关键词：</span>
				<span class="addrinput" style="position:relative;"><input class="txt" type="text" value="">
				</span>
			</div>
			<div class="tool_li_btn left">
				<a un="btn_query" ck="domainQuery" class="btn btnNormal">&nbsp;查&nbsp;询&nbsp;</a>
			</div>
		</div>
	</div>
    
    <div name="status" class="content_table">
		<div style="width:100%;">
			<div class="caption" style="text-align:right; margin:0;">
					
	
</div><table cellspacing="0" align="center" class="infoTable domainInfo listTable" style="width:100%;table-layout:fixed;">
						
				<tbody><tr>
					<th style="width:35%;">
													<a href="#syslog/operlog/time,asc">考试名称</a>
											</th>
					<th style="width:25%;">
													<a href="#syslog/operlog/operation,asc">考试类型</a>
											</th>
					<th style="width:20%;border-right:none;">
													<a href="#syslog/operlog/operator,asc">添加人</a>
											</th>
					<th style="width:20%;">操作</th>
				</tr>

					
                    
                    <?php foreach((array)$arrexam as $key=>$item) {?>
                    
                    <tr>
						<td><a href="<?php echo SITEURL;?>?mod=school&do=exam&c=result&examid=<?php echo $item['examid'];?>&authcode=<?php echo $item['examidauthcode'];?>" title="查看成绩"><?php echo $item['examname'];?></a></td>
						<td style=" color: #5AAB04; font-weight:bold"><?php echo $item['examtype'][tname];?></td>
						<td><a href="<?php echo SITEURL;?>?mod=system&do=member&c=sch&d=show_member&uid=54"><?php echo $item['author'];?></a></td>
						<td title="">
                        
                        <a href="javascript:;" title="删除" cmdarg="delexam" examid="<?php echo $item['examid'];?>" class="bt_del" authcode="<?php echo $item['examidauthcode'];?>"></a>
                        &nbsp;
                        <a href="javascript:;" examname="<?php echo $item['examname'];?>" cmdarg="rename_exam" authcode="<?php echo $item['examidauthcode'];?>" examid="<?php echo $item['examid'];?>" title="重命名" class="bt_rename"></a>
                        &nbsp;
                        <a href="javascript:'';" opt="export_excel" title="下载本班成绩" examid="<?php echo $item['examid'];?>" class="bt_download"></a>
                        
                        </td>
					</tr>
                    <?php }?>
                    
																</tbody></table>
			<div class="notice_page">
	
	<div class="pagination">
		<?php echo $pageinfo;?>
		</div>
</div>
		</div>
	</div>
	<div class="content_table">
						<div class="clr"></div>
                        
	</div>

	
</div>
    </div>
</div>
<script type="text/javascript">
	var examtype = '<?php foreach((array)$arrexamtype as $key=>$item) {?><option value="<?php echo $item['examtypeid'];?>">------------ <?php echo $item['tname'];?> ------------</option><?php }?>';
</script>
<?php include pTemplate("footer");?>

</body>
</html>