Viewing file: 15aa647653cdc897317e61de51281d4404e77938.file.rows.tpl.php (1.54 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2011-08-09 13:19:13 compiled from "user/templates/reception/rows.tpl" */ ?> <?php /*%%SmartyHeaderCode:20098929654e4109a184f780-92773310%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( '15aa647653cdc897317e61de51281d4404e77938' => array ( 0 => 'user/templates/reception/rows.tpl', 1 => 1312884989, ), ), 'nocache_hash' => '20098929654e4109a184f780-92773310', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <?php $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('rows')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){ $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['row']->key; ?> <div class="answer-block"> <div class="answer-header"> <div class="question"><?php echo $_smarty_tpl->tpl_vars['row']->value['index'];?> . <?php echo $_smarty_tpl->tpl_vars['row']->value['question_text'];?> </div> <div class="author"><?php echo $_smarty_tpl->tpl_vars['row']->value['question_author_name'];?> </div> </div> <div class="answer-text"> <div class="answer"><?php echo $_smarty_tpl->tpl_vars['row']->value['question_answer'];?> </div> </div> </div> <?php }} ?>
|