EIOS/inc/smarty/templates_c/920f6a446ebe25ce2fcc9863229...

88 lines
2.7 KiB
PHP
Raw Permalink Normal View History

2023-12-28 15:39:22 +03:00
<?php /* Smarty version Smarty-3.1.13, created on 2022-10-17 15:40:00
compiled from "tpl/tpl_polls_result_acc.html" */ ?>
<?php /*%%SmartyHeaderCode:1950459150634d4be32de294-24621426%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'920f6a446ebe25ce2fcc9863229c4067655ea52d' =>
array (
0 => 'tpl/tpl_polls_result_acc.html',
1 => 1666010399,
2 => 'file',
),
),
'nocache_hash' => '1950459150634d4be32de294-24621426',
'function' =>
array (
),
'version' => 'Smarty-3.1.13',
'unifunc' => 'content_634d4be3301315_73789536',
'variables' =>
array (
'message' => 0,
'answers' => 0,
'ans' => 0,
),
'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_634d4be3301315_73789536')) {function content_634d4be3301315_73789536($_smarty_tpl) {?><!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Опросы и анкетирование</h3>
<ul class="breadcrumb">
<li><a href="/">Главная</a><span class="divider">/</span></li>
</ul>
</div>
</div>
<?php if (($_smarty_tpl->tpl_vars['message']->value!='')){?>
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong><?php echo $_smarty_tpl->tpl_vars['message']->value;?>
</strong>
</div>
<?php }?>
<div class="row-fluid">
<div class="span12">
<!--РЕЗУЛЬТАТЫ-->
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget green" >
<div class="widget-title">
<h4><i class="icon-reorder"></i> Результаты</h4>
<span class="tools">
<a href="javascript:;" class="icon-chevron-down"> Развернуть/Свернуть</a>
</span>
</div>
<div class="widget-body" >
<?php $_smarty_tpl->tpl_vars['ans'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ans']->_loop = false;
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['answers']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['ans']->key => $_smarty_tpl->tpl_vars['ans']->value){
$_smarty_tpl->tpl_vars['ans']->_loop = true;
$_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['ans']->key;
?>
<p><b><?php echo $_smarty_tpl->tpl_vars['ans']->value['name'];?>
</b><br /><?php echo $_smarty_tpl->tpl_vars['ans']->value['value'];?>
</p>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php }} ?>