<div class="ct_title">
<p style="float:right;"><img src="__PUBLIC__/<?=C('DEFAULT_THEME')?>/images/ct_titr.jpg" width="5" height="33" /></p><p class="cjpx">排序：<select id="order"><option <?=$order=='begin desc'?"selected='selected'":""; ?> value="begin desc">答题时间降序</option><option <?=$order=='begin asc'?"selected='selected'":""; ?> value="begin asc">答题时间升序</option><option <?=$order=='score desc'?"selected='selected'":""; ?> value="score desc">所得分数降序</option><option <?=$order=='score asc'?"selected='selected'":""; ?> value="score asc">所得分数升序</option></select></p><p><img src="__PUBLIC__/<?=C('DEFAULT_THEME')?>/images/ct_titl.jpg" width="5" height="33" /></p><p class="paddl20">您一共完成了<b><?=$all_counts; ?></b>次考试，<span>平均分为：<b><?=$average_score;?></b>分</span>继续努力吧！<span>您做题的正确率为：<b><?=$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><?=$conf_list[$v['conf_id']]; ?></p></td>
	<td><?=$v['begin']; ?></td>
	<td><?=$v['usedtime']; ?></td>
	<td><span><?=$v['score']<0?0:$v['score']; ?></span></td>
	<td><input onclick="showRecord(<?=intval($v['id']);?>,'mock')" type="button" value="查看"  class="czbtn" /></td>
	<td><input onclick="doRecordAgain(<?=intval($v['id']);?>,'mock','all');" type="button" value="重做"  class="czbtn" /></td>
	<td><input onclick="delRecord(<?=intval($v['id']);?>,'mock');" 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,'self');" value="<?=$_GET['p']?intval($_GET['p']):1; ?>" maxlength="5" name="page"> 页</p>
<?php echo $pager; ?></div>
</div>
</div>
</div>