<div class="ct_title">
<p style="float:right;"><img src="__PUBLIC__/bjacc/images/ct_titr.jpg" width="5" height="33" /></p><p class="cjpx">排序：<select id="order"><option <?php echo $order=='begin desc'?"selected='selected'":""; ?> value="begin desc">考试时间降序</option><option <?php echo $order=='begin asc'?"selected='selected'":""; ?> value="begin asc">考试时间升序</option><option <?php echo $order=='score desc'?"selected='selected'":""; ?> value="score desc">所得分数降序</option><option <?php echo $order=='score asc'?"selected='selected'":""; ?> value="score asc">所得分数升序</option></select></p><p><img src="__PUBLIC__/bjacc/images/ct_titl.jpg" width="5" height="33" /></p><p class="paddl20">您一共完成了<b><?php echo $all_counts; ?></b>次考试，<span>平均分为：<b><?php $current_group_info = current($groupd_info); echo round($average_score/$current_group_info['count'],2) ?></b>分</span>继续努力吧！<span>您<?php echo $hasUnJudge?"客观题":""; ?>做题的正确率为：<b><?php echo $percent_right; ?>%</b></span></p>
</div>
<div class="mainrightn">
<div class="mainrtab">
<table cellpadding="0" cellspacing="0">
<tr><th class="thborl">考试记录</th><th>考试时间</th><th>用时</th><th>得分</th><th>查看记录</th><th>重做</th><th>删除记录</th></tr>
<?php foreach ($lists as $k=>$v): ?>
<tr <?php echo ($k%2 == 0)?'':'class="tabbg"'; ?>>
	<td><p><?php echo $confs[$v['conf_id']]['title']; ?></p></td>
	<td><?php echo $v['begin']; ?></td>
	<td><?php echo $v['usetime']; ?></td>
	<td><span><?php echo ($groupd_info[$v['conf_id']]['count']>1)?round($v['score']/$groupd_info[$v['conf_id']]['count'],1):$v['score']; ?></span></td>
	<td><input onclick="show_record(<?php echo intval($v['id']);?>)" type="button" value="查看"  class="czbtn" /></td>
	<td><input onclick="do_again(<?php echo intval($v['id']);?>);" type="button" value="重做"  class="czbtn" /></td>
<!--<td><input onclick="do_wrong_again(<?php echo intval($v['id']);?>);" type="button" value="错题重做"  class="czbtn" /></td>-->
	<td><input onclick="del_record(<?php echo intval($v['id']);?>);" type="button" value="删除"  class="czbtn" /></td>
</tr>
<?php endforeach; ?>

</table>
<div class="showpage"><div class="plist">
<p>转到第 <input type="text" onkeypress="if (event.keyCode==13) pageJump(this.value);" value="<?php echo $_GET['p']?intval($_GET['p']):1; ?>" maxlength="5" name="page"> 页</p>
<?php echo $pager; ?></div>
</div>
</div>
</div>