<script type="text/javascript">
$(document).ready(function(){
	
	$(".menu_nav").click(function() {
		var menu_id = $(this).attr("menu_id");
		parent.$(".menusectitle[menu_id="+menu_id+"]").click();
	});
	
	//检测是否可以开始考试 2012-9-27 $wyq
	$(".start_exam").click(function(){
		var mockurl = 'index.php?s=/<?=$mock_url ?>';
		if (mockurl)
			parent.location.href=mockurl;
		else
			alert("模拟考试考前一个月开通，软件联网启动会自动为您更新");
	});
})

</script>

<div class="mk_title01"><?=$_SESSION['ADMIN']['place']; ?>机考模拟系统<?php //echo $_SESSION['ADMIN']['mock_year']; ?></div>
<div class="mk_time"><?=$_SESSION['ADMIN']['date_issued']?"发布日期：".$_SESSION['ADMIN']['date_issued']:""; ?> 版本号：<?php echo $_SESSION['ADMIN']['version_number']; echo $_SESSION['ADMIN']['LIMITTIME']?"&nbsp;&nbsp;有效期：".$_SESSION['ADMIN']['LIMITTIME']:"";?></div>
<p class="mk_yszj"><strong>逼　真：</strong>全真模拟考试，感受真实的考试场景<br />
<strong>含金量：</strong>国内一流考试辅导命题专家精心编写<br />
<strong>效　果：</strong>海量题库，直击考试精髓，顺利通关</p>
<div><img class="start_exam" src="__PUBLIC__/<?=C('DEFAULT_THEME')?>/images/ksbtn.jpg" width="175" height="52" /></div>
<div class="mk_gnmk">
<p class="mk_title02"><strong>功能模块</strong></p>

<ul>
<?php $k=0; foreach ($menu_list as $v):  $k++; ?>

<li class="mk_xb<?php echo $k; ?> <?php echo ($v['blank_tag'])?'':'menu_nav'; ?>" menu_id="<?php echo $v['id']; ?>"><a <?=$v['blank']?($v['target']?'target="'.$v['target'].'"':''):'target="main"'; ?> href="<?=$v['title_en']; ?>" ><?php echo $v['name']?></a></li>
<?php endforeach; ?>

</ul>
</div>
</div>
<div class="mk_mrcon">
<div class="mk_mrct">
<?php if (trim($_SESSION['MOCK_DATES'][$_SESSION['cd_id']])): ?>
今天是<?php echo date('Y年m月d日'); ?> 星期<?php $week = C('WEEK'); echo $week[date('w')]; ?><br />
考试时间：<?php echo $_SESSION['MOCK_DATES'][$_SESSION['cd_id']]; ?><br />

	<?php if($_SESSION['MOCK_DATES_'][$_SESSION['cd_id']] < 0): ?>
该科目的考试已结束
建议您更新软件版本
	<?php else: ?>
距离考试还有 <span id="rest_day"><?php echo $_SESSION['MOCK_DATES_'][$_SESSION['cd_id']]; ?></span> 天<br />
考试时间仅供参考，请以官方公布为准
	<?php endif; ?>
<?php else: ?>
友情提示：<br />
今天是<?php echo date('Y年m月d日'); ?> 星期<?php $week = C('WEEK'); echo $week[date('w')]; ?><br />
请关注从业考试时间，做好考前准备。<br />
中华会计网校祝您梦想成真！
<?php endif; ?>
</div>
<div class="mk_cjwt">
<p class="mk_title02"><strong>常见问题</strong></p>
<ul>
<span><img src="__PUBLIC__/<?=C('DEFAULT_THEME')?>/images/mk_wepic.jpg" width="72" height="90" /></span>
<li>&middot;<a href="/Tpl/<?=C('DEFAULT_THEME')?>/element/explain.php">模拟考试系统可以重复使用吗？</a></li>
<li>&middot;<a href="/Tpl/<?=C('DEFAULT_THEME')?>/element/explain.php">模拟考试系统可以自动判卷吗？</a></li>
<li>&middot;<a href="/Tpl/<?=C('DEFAULT_THEME')?>/element/explain.php">错题可以重做吗？</a></li>
<li>&middot;<a href="/Tpl/<?=C('DEFAULT_THEME')?>/element/explain.php">模拟考试和真实考试一样吗？</a></li>
<li>&middot;<a href="/Tpl/<?=C('DEFAULT_THEME')?>/element/explain.php">机考系统有哪些常见拼音输入法？</a></li>


</ul>