<?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" class="btn btnNormal bt_newfloder right" href="<?php echo SITEURL;?>?mod=school&do=exam&c=addwork" 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:20%;border-right:none;">
													<a href="#syslog/operlog/operator,asc">添加人</a>
											</th>
					<th style="width:30%;">操作</th>
				</tr>
				<?php foreach((array)$homework as $key=>$item) {?>
					<tr>
						<td><a href="<?php echo SITEURL;?>?mod=school&do=exam&c=work_content&workid=<?php echo $item['homeworkid'];?>" title="<?php echo $item['homeworkname'];?>"><?php echo $item['homeworkname'];?></a></td>
						
						<td><?php echo $item['author'];?></td>
						<td title="">
                        
                        <a href="javascript:;" title="删除" cmdarg="del_homework" homeworkid="<?php echo $item['homeworkid'];?>" class="bt_del" authcode="<?php echo $item['homeworkidauthcode'];?>"></a>
                        &nbsp;
						<a href="javascript:;" title="重命名" homeworkname="<?php echo $item['homeworkname'];?>" cmdarg="rename_homework" homeworkid="<?php echo $item['homeworkid'];?>" class="bt_rename" authcode="<?php echo $item['homeworkidauthcode'];?>"></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 selecthtml = '';
</script>
<?php include pTemplate("footer");?>

</body>
</html>