Viewing file: a3d5e4ded44f2a317b5d50a27324c0b705bb6e35.file.results.tpl.php (3.23 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php /* Smarty version Smarty3-RC3, created on 2012-03-29 11:16:18 compiled from "user/templates/polls/results.tpl" */ ?> <?php /*%%SmartyHeaderCode:8431078044f741a52c0fe95-16933286%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'a3d5e4ded44f2a317b5d50a27324c0b705bb6e35' => array ( 0 => 'user/templates/polls/results.tpl', 1 => 1333008115, ), ), 'nocache_hash' => '8431078044f741a52c0fe95-16933286', 'function' => array ( ), 'has_nocache_code' => false, )); /*/%%SmartyHeaderCode%%*/?> <div class="results"> <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="results" 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"> <div class="title"><?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]);?> </div> <div class="count"><?php ob_start();?><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> <?php $_tmp2=ob_get_clean();?><?php echo $_smarty_tpl->getVariable('row')->value["poll_results"][$_tmp2];?> (<?php ob_start();?><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> <?php $_tmp3=ob_get_clean();?><?php echo $_smarty_tpl->getVariable('row')->value["poll_percents"][$_tmp3];?> %) </div> <div class="bar"><img align="middle" src="/user/images/polls/<?php ob_start();?><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> <?php $_tmp4=ob_get_clean();?><?php echo $_smarty_tpl->getVariable('row')->value['poll_image_index'][$_tmp4];?> .gif" width="<?php ob_start();?><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['loop']['iteration'];?> <?php $_tmp5=ob_get_clean();?><?php echo $_smarty_tpl->getVariable('row')->value["poll_bar_widths"][$_tmp5];?> %" height="10" /> </div> </div> <?php }} ?> </td></tr></table> <?php if ($_smarty_tpl->getVariable('display_back_button')->value=="yes"){?> <div class="delimiter"></div> <div class="buttons"> <button type="submit" class="PollBackButton"><?php echo $_smarty_tpl->getVariable('ULANG')->value['PollsBack'];?> </button> </div> <?php }?> </form> </div>
|