<?php /* Smarty version 2.6.22, created on 2015-12-29 18:49:03
         compiled from E:/xampp/htdocs/templates/home/default%5Cquiz%5Cindex.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/js/arc.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/jstemplate.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</head>
<body>
<div class="app" id="app">
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/mobile-nav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<!-- content -->
	<div id="content" class="app-content box-shadow-z4" role="main">
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/pagenav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
		<div class="app-body" id="view">
			<!-- ############ PAGE START-->
			<div class="white b-t">
				<div class="container">

					<div class="row-col">
						<div class="col-sm w-lg box w-auto-xs b-r b-l">
							<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/help/help_nav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
						</div>
						<div class="col-sm b-r">
							<div ui-view class="padding pos-rlt">
								<div>
									<h3 class="m-t-none h2-xs">正确完成选择题，简单几步就可成为作者。</h3>

									<div class="list m-t-md">
										<form class="cd-form m-t-sm floating-labels" action="" method="post">
											<?php if ($this->_tpl_vars['questions']): ?>
											<?php $_from = $this->_tpl_vars['questions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['foo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['q']):
        $this->_foreach['foo']['iteration']++;
?>
											<h5 class="h5 m-y-md"><?php echo $this->_tpl_vars['lang']['question']; ?>
 <?php echo ($this->_foreach['foo']['iteration']-1)+1; ?>
</h5>
											<p class="h6 text-skin m-b"><?php echo $this->_tpl_vars['q']['name']; ?>
</p>
											<?php if (isset ( $this->_tpl_vars['answers'][$this->_tpl_vars['q']['id']] )): ?>
											<?php $_from = $this->_tpl_vars['answers'][$this->_tpl_vars['q']['id']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['a']):
?>
											<label class="md-check m-r">
												<input class="has-value" id="answers_<?php echo ($this->_foreach['foo']['iteration']-1); ?>
_<?php echo $this->_tpl_vars['a']['id']; ?>
" name="answers[<?php echo $this->_tpl_vars['q']['id']; ?>
]" type="radio" value="<?php echo $this->_tpl_vars['a']['id']; ?>
" />
												<i class="skin"></i>
												<?php echo $this->_tpl_vars['a']['name']; ?>

											</label>
											<?php endforeach; endif; unset($_from); ?>
											<?php endif; ?>
											<div class="b-b p-t-md"></div>
											<?php endforeach; endif; unset($_from); ?>
											<div class="form-submit-left p-t" href="javascript: void(0);" onclick="$('#btn-sbm').click();">
												<button type="submit" name="submit" id="btn-sbm" class="btn skin"><?php echo $this->_tpl_vars['lang']['check_quiz']; ?>
</button>
											</div>
											<?php endif; ?>
										</form>
									</div>
								</div>

							</div>
						</div>
					</div>

				</div>
			</div>
			<!-- ############ PAGE END-->
		</div>
		<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	</div>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/backtop.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['template_path'])."/html/mb-settings.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
	<!-- ############ LAYOUT END-->
</div>
</body>
</html>