Viewing file: b48161812aa15fabf555ccd519b5cf4dee5afbe9.file.form.tpl.php (2.56 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2014-10-20 11:19:33 compiled from "user/templates/polls/form.tpl" */ ?> <?php /*%%SmartyHeaderCode:12442044725444c5956a19d2-82526967%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'b48161812aa15fabf555ccd519b5cf4dee5afbe9' => array ( 0 => 'user/templates/polls/form.tpl', 1 => 1413792595, ), ), 'nocache_hash' => '12442044725444c5956a19d2-82526967', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <div class="form"> <form name="poll" method="post"> <table cellpadding="0" cellspacing="0" border="0" align="center"><tr><td> <input type="hidden" name="poll_id" value="<?php echo $_smarty_tpl->getVariable('row')->value['poll_id'];?> " /> <input type="hidden" name="vote" value="true" /> <div class="question"><?php echo $_smarty_tpl->getVariable('row')->value["poll_question_".($_smarty_tpl->getVariable('ulang')->value)];?> </div> <?php $_smarty_tpl->tpl_vars['r'] = new Smarty_Variable; $_from = $_smarty_tpl->getVariable('row')->value["poll_answers_".($_smarty_tpl->getVariable('ulang')->value)]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']=0; if (count($_from) > 0){ foreach ($_from as $_smarty_tpl->tpl_vars['r']->key => $_smarty_tpl->tpl_vars['r']->value){ $_smarty_tpl->tpl_vars['smarty']->value['foreach']['loop']['iteration']++; ?> <div class="answer"> <label><input type="radio" name="poll_answer" value="<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> "/><span><?php ob_start();?><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> <?php $_tmp1=ob_get_clean();?><?php echo stripslashes($_smarty_tpl->getVariable('row')->value["poll_answers_".($_smarty_tpl->getVariable('ulang')->value)][$_tmp1]);?> </span></label> </div> <?php }} ?> </td></tr></table> <div class="message"></div> <div class="buttons"> <button type="submit" class="PollVoteButton"><?php echo $_smarty_tpl->getVariable('ULANG')->value['PollsVote'];?> </button> <button type="button" class="PollResultsButton"><?php echo $_smarty_tpl->getVariable('ULANG')->value['PollsResults'];?> </button> </div> <div class="delimiter"></div> <div class="archive-link"><a href="/polls"><?php echo $_smarty_tpl->getVariable('ULANG')->value['PollsGoAllPolls'];?> </a></div> </form> </div>
|