<?php if (!defined('THINK_PATH')) exit();?><div class="ct_title">
<p style="float:right;"><img src="__PUBLIC__/<?=C('DEFAULT_THEME')?>/images/ct_titr.jpg" width="5" height="33" /></p><p><img src="__PUBLIC__/<?=C('DEFAULT_THEME')?>/images/ct_titl.jpg" width="5" height="33" /></p><p class="cjpx">类别：<select id="from"><option <?=$act=='self'?"selected='selected'":""; ?> value="self">按章练习</option><option <?=$act=='mock'?"selected='selected'":""; ?> value="mock">模拟考试</option></select></p><p class="paddl20">您一共完成了<span><b><?=$all_counts; ?></b>次考试</span>在这些考试中您共有<span><b><?=$all_wrong_count; ?></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></tr>
<?php foreach ($lists as $k=>$v): ?>
<tr <?php echo ($k%2 == 0)?'':'class="tabbg"'; ?>>
	<td><p><?php echo $conf_list[$v['conf_id']]; ?></p></td>
	<td><?=$v['begin']; ?></td>
	<td><?=$v['wrongnum']; ?>题</td>
	<td><input onclick="doRecordAgain(<?=intval($v['id']);?>,'self','wrong');" 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="<?=$_GET['p']?intval($_GET['p']):1; ?>" maxlength="5" name="page"> 页</p>
<?php echo $pager; ?></div>
</div>
</div>
</div>