<div class="layout bank_menu_list">
	<div class="header">
		<div class="h_left">试题列表</div>
		<div class="h_right">考试剩余时间：<span id="countdown" class="red rest_time"></span></div>
	</div>
	
	<div class="stjb_warp">
		<div class="stjb">
 			<div class="select-wrap">
				<div id="details" class="box-wrap clearfix">
					<p class="ta-r state-intro"><span><i class="icon-state-yes"></i>已答试题</span><span><i class="icon-state-no"></i>未答试题</span><span><i class="icon-state-mark"></i>标记试题</span></p>

					<?php $bank_num = 0; ?>
					<?php foreach ($_SESSION['info']['childs']['bank_view'] as $conf): ?>
					<?php $bank_num_show = 0; ?>
					<dl>
						<dt><?=$conf['title'];?></dt>
						<dd>
							<!--展示某显示题型试题编号 start-->
							<?php foreach ($conf['bank_ids'] as $bankid): ?>
								<?php $bank_num++; ?>
								<?php if ($_SESSION['info']['childs']['banks'][$bankid]['bank_type_id'] == 5 && $_SESSION['info']['childs']['banks'][$bankid]['show_type_id'] == 1): ?>
									<!--取答题套小题的按小题显示的子题  start-->
									<?php foreach ($_SESSION['info']['childs']['banks'][$bankid]['childs'] as $cbank): ?>
									
										<a href="javascript:void(0)" marktag=0 class="gotoBankNum gotoBankNum_<?=$bank_num;?> doBankId_<?=$cbank['id']?>"  bank_num="<?=$bank_num;?>" ><?=++$bank_num_show;?></a>
									<?php endforeach; ?>
									<!--取答题套小题的按小题显示的子题  end-->
								<?php else: ?>
									
									<a href="javascript:void(0)" marktag=0 class="gotoBankNum gotoBankNum_<?=$bank_num;?> doBankId_<?=$bankid?>" bank_num="<?=$bank_num;?>" ><?=++$bank_num_show;?></a>
									
								<?php endif; ?>
							<?php endforeach; ?>
							<!--展示某显示题型试题编号 end-->
						</dd>
					</dl>
					<?php endforeach; ?>
				</div>
				<div class="bg4"></div>
			</div>
		</div>
		<div class="an2"><a href="javascript:void(0)" class="continue_paper"><img src="__PUBLIC__/<?=C('DEFAULT_THEME')?>/images/paper/an3.gif" /></a>&#12288;&#12288;&#12288;&#12288;<a href="javascript:void(0);" class="over_paper"><img src="__PUBLIC__/<?=C('DEFAULT_THEME')?>/images/paper/an4.gif" /></a></div>
	</div>
	
	<layout name="element:foot2" />
</div>