<div id="new_style_1" style="display:block;">
<style type="text/css">
<!--
.STYLE4 {font-size: 20px; color:#FFFFFF; font-weight:bold}
.STYLE5 {
	font-size: 30px;
	color: #FF0000;
	font-weight: bold;
}
.STYLE1 {	font-size: 16px;
	line-height: 1.5;
}
.STYLE6 {
	font-size: 14px;
	font-weight: bold;
}
.STYLE3 {font-size: 14px}
.STYLE7 {	color: #FF0000;
	font-weight: bold;
}
.STYLE8 {font-size: 16}

.box-wrap {
	BORDER-BOTTOM: #c6def6 1px solid; BORDER-LEFT: #c6def6 1px solid; PADDING-BOTTOM: 20px; OVERFLOW-Y: auto; BACKGROUND-COLOR: #f5fafe; MARGIN: 0px auto; WIDTH: 940px; BORDER-TOP: #c6def6 1px solid; BORDER-RIGHT: #c6def6 1px solid; border-radius: 10px; box-shadow: 3px 3px 10px #666; -webkit-overflow-scrolling: touch
}
.p-rules {
	PADDING-BOTTOM: 10px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 10px
}
.p-rules H3 {
	TEXT-ALIGN: center; MARGIN: 10px auto 20px; FONT-SIZE: 30px
}
.p-notice H3 {
	TEXT-ALIGN: center; MARGIN: 10px auto 20px; FONT-SIZE: 30px
}
.p-rules P {
	LINE-HEIGHT: 26px; TEXT-INDENT: -29px; PADDING-LEFT: 40px; MARGIN-BOTTOM: 10px; FONT-SIZE: 14px
}
.p-notice P {
	LINE-HEIGHT: 26px; TEXT-INDENT: -29px; PADDING-LEFT: 40px; MARGIN-BOTTOM: 10px; FONT-SIZE: 14px
}
.p-rules P {
	TEXT-INDENT: -50px; MARGIN: 15px; PADDING-LEFT: 60px; PADDING-RIGHT: 10px
}
.p-rules .num {
	TEXT-ALIGN: right; WIDTH: 50px; DISPLAY: inline-block
}
-->
</style>
<table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td height="768" valign="top" style="background-image:url(__PUBLIC__/quanzhen/images/end.png); "><table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="10" style="text-align:center;">&nbsp;</td>
          </tr>
          <tr>
            <td height="60" ><table width="99%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="14%"><img id="kspic" border="0" src="__PUBLIC__/quanzhen/images/blue.jpg" width="104" height="132"></td>
                  <td width="45%" style="font-weight:bold; line-height:1.8em; color:#0064aa;">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 名：刘静 <br />
                    性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 别：女<br />
                    准考证号：<?php echo $mn?$mn:"*********"; ?><br />
                    证件号码：<?php echo $_SESSION['USER_INFO']['username']?$_SESSION['USER_INFO']['username']:"*******"; ?></td>
                  <td width="41%"><div style="width:400px; height:50px;background:url(__PUBLIC__/quanzhen/images/bt_time.jpg) no-repeat; ">
                      <div style="width:400px;height:50px; margin-left:60px; font-size:20px; color:#F00; font-weight:bold; line-height:50px;">
                        <div id="msgTip" style="display: block" align="center">离考试开始还有<span id="clock" class="rest_time_1"></span></div>
                        <div style="display:none">
                          <input id="startB" type="button" value="start countdown!" onClick="run()">
                          <input id="endB" type="button" value="stop countdown!" onClick="stop()">
                          <input id="diff" type="text">
                          <input id="next" type="text">
                        </div>
                      </div>
                    </div></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td height="60" style="text-align:center;"><img src="__PUBLIC__/quanzhen/images/mn_ksxz.jpg" width="500" height="50" /></td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF"  class="box-wrap"><DIV style="HEIGHT: 370px; overflow-y:auto" class=box-wrap>
                <DIV class="p-notice" >
                  <dl><h4 align="center"><br/>2012年度全国会计专业技术资格无纸化考试试点有关考务要求</h4>
                    <p>一、 开考前40分钟，考生凭本人准考证和身份证进入考场，经监考人员核对准考证和身份证后，在考生签到表上签名，对号入座，将准考证和身份证放置在桌面上，以备检查。</p>
                    <p>二、考生在登录界面输入准考证号和证件号进行考试登录，核对计算机屏幕显示的姓名、性别、准考证号和证件号是否正确，等待考试开始。</p>
                    <p>三、如出现无法登录考试服务器、信息有误、运行故障等异常情况，考生应举手示意，请监考人员帮助解决，不得自行处置。</p>
                    <p>四、考试开始后，计算机自动进入答题界面。</p>
                    <p>五、考试开始30分钟后，考生不得进入考场参加考试。开考30分钟内未在考试机上登录的考生，视为缺考，考试系统将不再接受该准考证号登录。</p>
                    <p>六、考场为考生统一提供演算草稿纸和演算用笔，考试结束后由监考人员统一收回，考生不得带出考场，违者按作弊处理。</p>
                    <p>七、考生应自觉遵守考场秩序，保持考场安静，遇到问题可举手向监考人员示意。</p>
                    <p>八、开考60分钟后，考生方可交卷。考生交卷后应立即离开考场，不得在考场附近逗留、谈论或喧哗。</p>
					<p>九、考试结束，系统自动为所有未交卷考生统一交卷。</p>
					<p>十、会计资格无纸化考试（初级资格）试点有关考务的其他要求，按照《全国会计专业技术资格考试考务规则》（财会考办字[1999]16号）、《全国会计专业技术资格考试考场规则》（财会考办字[2002]4号）的相关规定执行。</p>
                  </dl>
                </DIV>
				<DIV class="p-notice" >
                  <dl><h4 align="center"><br/>2012年度全国会计专业技术资格无纸化考试考生答题系统操作指南
</h4>
                    <p>一、本考试试题一律在计算机上直接作答。</p>
                    <p>二、考生在草稿纸上书写的所有答题结果一律无效；草稿纸在考试结束后由监考人员统一收回，不得带出考场。</p>
                    <p>三、答题界面：屏幕左上方为考生基本信息，上方中间位置为当前考试科目信息，右上方为考试剩余时间信息及"交卷"按钮，屏幕左侧为题号列表，左侧下方为计算器按钮，屏幕右侧为答题区。</p>
                    <p>四、答题时，考生使用鼠标在计算机答题界面上点击试题答案备选项中正确选项前的按钮"○"即可。如需修改答案，单项选择题、判断题只需用鼠标点击其他备选项前的按钮"○"；多项选择题、不定项选择题需用鼠标点击已选择的备选项前的按钮"○"，取消原答题记录，再重新选择答案。若对当前选项不确定，可点击"标记"前的选择框"□"进行标记，方便回看该题；用鼠标再次点击该选择框可以取消本题标记。被标记的试题，会在题号下方以"？"符号进行显示。未作答的试题，会在题号下方以"*"符号进行显示，"*"符号在该题目作答后会自动消失。</p>
                    <p>五、点击"下一题"按钮进入下一题答题页面；点击"上一题"按钮可以返回上一题答题页面。</p>
                    <p>六、在题目内容较多的情况下，请使用鼠标上下拖动屏幕右侧的纵向滚动条查看全部内容，以免遗漏信息。</p>
                    <p>七、考试过程中，如遇到与系统软件、设备硬件相关的问题，请向监考人员示意，由技术保障人员进行故障排查，在等待解决的过程中保持安静，以免影响其他考生。</p>
                    <p>八、点击"交卷"按钮可提交试卷。整场考试结束时，系统会自动为所有未交卷的考生统一交卷。</p>
                  </dl>
                </DIV>
              </DIV></td>
          </tr>
          <tr>
            <td height="60"></td>
          </tr>
        </table></td>
    </tr>
  </table>
</div>




<div id="new_style_2" style="display:none;">








  <table width="100%" height="10%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td valign="top"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="5"><img src="__PUBLIC__/quanzhen/images/n_03.jpg" width="5" height="10%" alt=""></td>
            <td background="__PUBLIC__/quanzhenimages/n_04.jpg"><table height="100" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="160"><div align="left"><img alt="照片" src="__PUBLIC__/quanzhen/images/blue.jpg" width="104" height="100"/>
                      <!-- 
                  <img alt="照片" src="/servlet/ShowImageServlet?areaCode=390101&id=37369&action=1" width="104" height="140"/> 
                    -->
                    </div></td>
                  <td width="23%"><table border="0" cellspacing="0" cellpadding="0">                   
                      <tr>
                        <td height="40" class="STYLE8">准考证号：<?php echo $mn?$mn:"*********"; ?></td>
                      </tr>
                      <tr>
                        <td height="40" class="STYLE8">证 件 号：<?php echo $_SESSION['USER_INFO']['username']?$_SESSION['USER_INFO']['username']:"*******"; ?></td>
                      </tr>
                    </table></td>
                  <td width="35%" valign="middle"><table height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td colspan="2"><p align="center" class="STYLE10">20X2年度全国会计专业技术资格考试<br/>
                            经济法基础</p>
                          <p align="center" class="STYLE11">（模拟操作版）</p></td>
                      </tr>
                    </table></td>
                  <td width="35%"><table border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="6"><img src="__PUBLIC__/quanzhen/images/n_16.jpg" width="6" height="54" alt=""></td>
                        <td background="__PUBLIC__/quanzhen/images/n_17.jpg"><div align="center" class="STYLE3">剩余时间：<span id="rest_time"></span></div>
                          <div style="display:none">
                            <input id="startB" type="button" value="start countdown!" onClick="run()">
                            <input id="endB" type="button" value="stop countdown!" onClick="stop()">
                            <input id="diff" type="hidden" >
                            <input id="next" type="hidden">
                          </div></td>
                        <td width="6"><img src="__PUBLIC__/quanzhen/images/n_20.jpg" width="6" height="54" alt=""></td>
                      </tr>
                    </table>
                    <table width="380"  border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td><div align="right"><img src="__PUBLIC__/quanzhen/images/n_64.jpg" style="cursor:hand" width="80" height="28" alt="提交试卷，结束考试" onClick="subPaper()"></div></td>
                      </tr>
                    </table></td>
                </tr>
              </table></td>
            <td width="5"><img src="__PUBLIC__/quanzhen/images/n_07.jpg" width="5" height="150" alt=""></td>
          </tr>
        </table>
        
        
        
        
        
        
<div class="dt_leftnav">
<?php 
//echo '<pre>';
//print_r($_SESSION);

?>
	<div class="dt_tips">
		<strong>题目列表</strong><br />
		<p>
			<div class="single"><a id="single" href="javascript:void(0);">单题形式</a></div>
			<div class="list"><a id="list" href="javascript:void(0);">列表形式</a></div>
		</p>
		
		<p>（单击题号可直接跳转到该题）</p>
		<font color="#fe0000">红色</font>代表未做，<font color="#0100fc">蓝色</font>代表已做	
	</div>
	
	<layout name="banks/do_menuList" />
	

	<p class="dt_ltps">　　网校为方便广大学员，特增加题目选择与状态显示功能。</p>
</div>

<div class="dt_mainc">

	<div class="dtconn"><?php $bank_num=0; $bank_type_num_=0; foreach ($_SESSION['paper']['Child'] as $v): $bank_type_num_++;?>
	<div class="dt_rtitle1 bank_type_num bank_type_num_<?php echo $bank_type_num_; ?>" ><?php $upper=C('UPPER_NUM'); echo $upper[$bank_type_num_].'、'.$v['title']; echo ($v['remark']?"(<font style='color:#000;font-size:12px;font-weight:500;'>".$v['remark']."</font>)":""); ?></div>
	<?php if ($v['Child']): ?>
		<?php foreach ($v['Child'] as $cv): ?>
		<!--<div class="dt_rtitle1"><?php echo $cv['title']; ?></div>-->
			<?php foreach ($cv['banks'] as $bank): $bank_num++; $bank_num_ = $bank_num; ?>
				<?php include('Tpl/'.C('DEFAULT_THEME').'/mock/banks/do_banks.php');?>
			<?php endforeach; ?>
		<?php endforeach; ?>
	
	<?php else: ?>
		<?php foreach ($v['banks'] as $bank): $bank_num++; $bank_num_ = $bank_num; ?>
			<?php include('Tpl/'.C('DEFAULT_THEME').'/mock/banks/do_banks.php');?>
		<?php endforeach; ?>
	<?php endif; ?>
	<?php endforeach; ?>
	</div>
	
	<div class="dt_gnbox">
		<ul class="dt_gnli" id="info_bank_now" bank_num="1" bank_type_num="1" bank_total="<?php echo $bank_num; ?>">
		<li class="dt_prevb" id="prev" >上一题</li>
		<li class="dt_nextb" id="next" >下一题</li>
		<li>跳转到 <input type="text" id="jump_num" style="width:30px;"> 题</li>
		<li class="dt_nextbn" id="jump" >跳转</li>
		</ul>
			
		<ul class="dt_jsli" id="total_time" value="<?php echo $_SESSION['paper']['time']; ?>">
		<li class="dt_yytime">已用时间<input type="text" id="used_time" readOnly="true" value=""></li>
		<li class="dt_sytime">剩余时间<input type="text" id="rest_/time" readOnly="true" value=""></li>
		<li  class="liright"><img id="overIt" src="__PUBLIC__/quanzhen/images/dt_jjbtn.jpg" width="98" height="52" /></li>
		</ul>
	</div>
</div>

<div id="cover" style="display:none"> 
	<div id="tb_window"><div class="wait"><img src="__PUBLIC__/quanzhen/images/wait.gif"></div> <img src="__PUBLIC__/quanzhen/images/waitfor2.png"></div>
	<div class="mk_botbg"></div> 
</div>

<div class="flash_bank" style="display:none;"></div>


<div class="tc1" style="display:none"></div>

<?php if ($hasUnJudge):?>
<div class="tc2" style="display:none">
<div class="tc2_tit"><div>温馨提示</div></div>
<div class="tc2_nr">
<h2>考试已经结束，请您离开考场！</h2>
<h3>部分主观题需要您对比正确答案后，手动输入所得分数！</h3>
<div class="ip1"><a href="#" id="manualscore" target="_self"><img src="__PUBLIC__/quanzhen/images/an3.gif" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="finish_exam" target="_self"><img src="__PUBLIC__/quanzhen/images/an4.gif" /></a></div>
</div>
<div class="tc2_bottom"></div>
</div>	
	
<?php else: ?>
<!--弹出2-->
<div class="tc2" style="display:none">
<div class="tc2_tit"><div>温馨提示</div></div>
<div class="tc2_nr">
<h2>考试已经结束，请您离开考场！</h2>
<div class="ip"><a href="#" class="finish_exam" target="_self"><img src="__PUBLIC__/quanzhen/images/an1.gif" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="goon_exam" target="_self"><img src="__PUBLIC__/quanzhen/images/an2.gif" /></a></div>
</div>
<div class="tc2_bottom"></div>
</div>
<!--弹出2结束-->

<?php endif; ?>
</div>

<script type="text/javascript">
$(document).ready(function() {
	$("#productsMenu_zzjs").css("display","");
	
	$("#manualscore").click(function(){
		$(".tc2").css("display","none");
		$.post("<?php echo U(MODULE_NAME.'/manualscore'); ?>",function(html){
			$(".tc1").html(html);
			$(".tc1").css("display","");
		});
	});
	
	setTime_1(0,0);
	var restTime = parseInt($("#total_time").attr('value'))*60;
	setTime(restTime,0);
	
	
});
function saveAnswer(bank_id,answer) {
	$.post("<?php echo U(MODULE_NAME.'/saveAnswer'); ?>",{bank_id:bank_id,answer:answer});
}

function finishExam(gourl_type) {
	$("#cover").css("display","");
	var i = 0;
	var line = "。";
	var amount = "";
	count(i,line,amount);
	var url="<?php echo U(MODULE_NAME.'/saveAllAnswer'); ?>";
	
	setTimeout('upanswer("<?php echo U(MODULE_NAME.'/saveAllAnswer'); ?>")',1000);
	
}
function upanswer(url)
{
	$.get(url,function() {
		location.href="<?php echo U(MODULE_NAME.'/showRecord/showscore/1/come_from/exam/cd_id/'.$_SESSION['cd_id']."/record_id/".$_SESSION['record_id']); ?>";
	});
}
function setTime(restTime,usedTime) {

	var rest_time = parseInt(restTime/3600)+':'+parseInt(restTime%3600/60)+':'+parseInt(restTime%3600%60);
	var used_time = parseInt(usedTime/3600)+':'+parseInt(usedTime%3600/60)+':'+parseInt(usedTime%3600%60);
	$("#used_time").attr('value',used_time);
	$("#rest_time").html(rest_time);
	setTimeout(function() {
		if (restTime == 0) {
			alert("考试结束时间已到，请点击确定提交试卷！");
			finishExam(0);
		}
		restTime -= 1;
		usedTime += 1;
		setTime(restTime,usedTime);
	}, 1000)
}
//考试时间计时
	function setTime_1(restTime,usedTime) {
		var rest_time_h = parseInt(restTime/3600);
		if (rest_time_h < 10) rest_time_h = '0'+rest_time_h;
		var rest_time_m = parseInt(restTime%3600/60);
		if (rest_time_m < 10) rest_time_m = '0'+rest_time_m;
		var rest_time_s = parseInt(restTime%3600%60);
		if (rest_time_s < 10) rest_time_s = '0'+rest_time_s;
		
		var rest_time = rest_time_h + ":" + rest_time_m + ":" + rest_time_s;
		
		$(".rest_time_1").html(rest_time);
		setTimeout(function() {
			if (restTime == 0)
			{
				$("#new_style_1").css("display","none");
				$("#new_style_2").css("display","");
			}
			else
			{
				restTime -= 1;
				usedTime += 1;
				setTime_1(restTime,usedTime);
			}
			
		}, 1000)
	}
	
</script>