Viewing file: b48161812aa15fabf555ccd519b5cf4dee5afbe9.file.form.tpl.php (2.21 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-03-29 11:05:35 compiled from "user/templates/polls/form.tpl" */ ?> <?php /*%%SmartyHeaderCode:20953867284f7417cf7fa674-32273027%%*/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 => 1333008115, ), ), 'nocache_hash' => '20953867284f7417cf7fa674-32273027', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <div class="form">
<p class="p-style"><?php echo $_smarty_tpl->getVariable('row')->value["poll_question_".($_smarty_tpl->getVariable('ulang')->value)];?> </p>
<form name="poll" method="post" class="p-style"> <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="answers">
<?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']++; ?>
<label>
<input type="radio" value="<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> " name="rb" class="rb">
<?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]);?> </label><br />
<?php }} ?>
</div>
<div class="message"></div>
<div class="buttons">
<button type="submit" class="PollVoteButton answer"></button> <button type="button" class="PollResultsButton results"></button>
</div>
</form>
</div>
|