decodeProperties(array ( 'file_dependency' => array ( '6d6600e17ff5fe934dfdc2cb0752373d4ebed81f' => array ( 0 => 'tpl/tpl_learn_tests.html', 1 => 1591363318, 2 => 'file', ), ), 'nocache_hash' => '335113901625466fa4be494-19867244', 'function' => array ( ), 'variables' => array ( 'regim' => 0, 'tests' => 0, 'test' => 0, 'k1' => 0, 'test1' => 0, 'quest' => 0, 'answ' => 0, 'i' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.13', 'unifunc' => 'content_625466fa4fb130_16864941', ),false); /*/%%SmartyHeaderCode%%*/?> getSubTemplate ("tpl_messager.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?> tpl_vars['regim']->value=="tests"){?>

Список всех тестов

tpl_vars['test'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['test']->_loop = false; $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['tests']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['test']->key => $_smarty_tpl->tpl_vars['test']->value){ $_smarty_tpl->tpl_vars['test']->_loop = true; $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['test']->key; ?> tpl_vars['test']->value['tests'])){?> tpl_vars['test1'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['test1']->_loop = false; $_smarty_tpl->tpl_vars['k1'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['test']->value['tests']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['test1']->key => $_smarty_tpl->tpl_vars['test1']->value){ $_smarty_tpl->tpl_vars['test1']->_loop = true; $_smarty_tpl->tpl_vars['k1']->value = $_smarty_tpl->tpl_vars['test1']->key; ?>
tpl_vars['test']->value['razdel']['name'];?> tpl_vars['test']->value['razdel']['descrip'];?>
tpl_vars['k1']->value+1;?> tpl_vars['test1']->value['name'];?> tpl_vars['test1']->value['descrip'];?> tpl_vars['test1']->value['otvet']==1){?>
вы уже прошли тест tpl_vars['test1']->value['otvet_data'];?> tpl_vars['test1']->value['probnyj']==1){?>Пройти пробный тест tpl_vars['test1']->value['kontroln']==1){?>Пройти контрольный тест tpl_vars['test1']->value['kontroln']==-1){?>
для контрольного теста не назначено время прохождения!
tpl_vars['regim']->value=="test"){?>

Название теста: tpl_vars['test']->value['name'];?>

tpl_vars['test']->value['descrip'];?>

tpl_vars['quest'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['quest']->_loop = false; $_smarty_tpl->tpl_vars['k1'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['test']->value['questions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['quest']->key => $_smarty_tpl->tpl_vars['quest']->value){ $_smarty_tpl->tpl_vars['quest']->_loop = true; $_smarty_tpl->tpl_vars['k1']->value = $_smarty_tpl->tpl_vars['quest']->key; ?>

tpl_vars['k1']->value+1;?> . tpl_vars['quest']->value['text_q'];?>

tpl_vars['quest']->value['tip']==0){?> tpl_vars['answ'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['answ']->_loop = false; $_smarty_tpl->tpl_vars['k2'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['quest']->value['answers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['answ']->key => $_smarty_tpl->tpl_vars['answ']->value){ $_smarty_tpl->tpl_vars['answ']->_loop = true; $_smarty_tpl->tpl_vars['k2']->value = $_smarty_tpl->tpl_vars['answ']->key; ?>

 tpl_vars['answ']->value['text_a'];?>

tpl_vars['quest']->value['tip']==1){?> tpl_vars['answ'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['answ']->_loop = false; $_smarty_tpl->tpl_vars['k2'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['quest']->value['answers']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['answ']->key => $_smarty_tpl->tpl_vars['answ']->value){ $_smarty_tpl->tpl_vars['answ']->_loop = true; $_smarty_tpl->tpl_vars['k2']->value = $_smarty_tpl->tpl_vars['answ']->key; ?>

 tpl_vars['answ']->value['text_a'];?>

tpl_vars['quest']->value['tip']==2){?> Введите ответ: tpl_vars['quest']->value['tip']==3){?>
tpl_vars['i'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['i']->step = 1;$_smarty_tpl->tpl_vars['i']->total = (int)ceil(($_smarty_tpl->tpl_vars['i']->step > 0 ? $_smarty_tpl->tpl_vars['quest']->value['ocenka']+1 - (1) : 1-($_smarty_tpl->tpl_vars['quest']->value['ocenka'])+1)/abs($_smarty_tpl->tpl_vars['i']->step)); if ($_smarty_tpl->tpl_vars['i']->total > 0){ for ($_smarty_tpl->tpl_vars['i']->value = 1, $_smarty_tpl->tpl_vars['i']->iteration = 1;$_smarty_tpl->tpl_vars['i']->iteration <= $_smarty_tpl->tpl_vars['i']->total;$_smarty_tpl->tpl_vars['i']->value += $_smarty_tpl->tpl_vars['i']->step, $_smarty_tpl->tpl_vars['i']->iteration++){ $_smarty_tpl->tpl_vars['i']->first = $_smarty_tpl->tpl_vars['i']->iteration == 1;$_smarty_tpl->tpl_vars['i']->last = $_smarty_tpl->tpl_vars['i']->iteration == $_smarty_tpl->tpl_vars['i']->total;?>
tpl_vars['i']->value;?>