]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/cache/tpl_subSilver.viewtopic_poll_ballot.php
0569d8419556bb601ec8bf0696cf864a450b7118
[www.vanrenterghem.biz.git] / phpBB2 / cache / tpl_subSilver.viewtopic_poll_ballot.php
1 <?php
3 // eXtreme Styles mod cache. Generated on Tue, 14 Jun 2005 11:49:54 -0400 (time=1118764194)
5 ?>                      <tr>
6                                 <td class="row2" colspan="2"><br clear="all" /><form method="POST" action="<?php echo isset($this->vars['S_POLL_ACTION']) ? $this->vars['S_POLL_ACTION'] : $this->lang('S_POLL_ACTION'); ?>"><table cellspacing="0" cellpadding="4" border="0" align="center">
7                                         <tr>
8                                                 <td align="center"><span class="gen"><b><?php echo isset($this->vars['POLL_QUESTION']) ? $this->vars['POLL_QUESTION'] : $this->lang('POLL_QUESTION'); ?></b></span></td>
9                                         </tr>
10                                         <tr>
11                                                 <td align="center"><table cellspacing="0" cellpadding="2" border="0">
12                                                         <?php
14 $poll_option_count = ( isset($this->_tpldata['poll_option.']) ) ?  sizeof($this->_tpldata['poll_option.']) : 0;
15 for ($poll_option_i = 0; $poll_option_i < $poll_option_count; $poll_option_i++)
16 {
17  $poll_option_item = &$this->_tpldata['poll_option.'][$poll_option_i];
18  $poll_option_item['S_ROW_COUNT'] = $poll_option_i;
19  $poll_option_item['S_NUM_ROWS'] = $poll_option_count;
21 ?>
22                                                         <tr>
23                                                                 <td><input type="radio" name="vote_id" value="<?php echo isset($poll_option_item['POLL_OPTION_ID']) ? $poll_option_item['POLL_OPTION_ID'] : ''; ?>" />&nbsp;</td>
24                                                                 <td><span class="gen"><?php echo isset($poll_option_item['POLL_OPTION_CAPTION']) ? $poll_option_item['POLL_OPTION_CAPTION'] : ''; ?></span></td>
25                                                         </tr>
26                                                         <?php
28 } // END poll_option
30 if(isset($poll_option_item)) { unset($poll_option_item); } 
32 ?>
33                                                 </table></td>
34                                         </tr>
35                                         <tr>
36                                                 <td align="center">
37                         <input type="submit" name="submit" value="<?php echo isset($this->vars['L_SUBMIT_VOTE']) ? $this->vars['L_SUBMIT_VOTE'] : $this->lang('L_SUBMIT_VOTE'); ?>" class="liteoption" />
38                   </td>
39                                         </tr>
40                                         <tr>
41                                                 
42                   <td align="center"><span class="gensmall"><b><a href="<?php echo isset($this->vars['U_VIEW_RESULTS']) ? $this->vars['U_VIEW_RESULTS'] : $this->lang('U_VIEW_RESULTS'); ?>" class="gensmall"><?php echo isset($this->vars['L_VIEW_RESULTS']) ? $this->vars['L_VIEW_RESULTS'] : $this->lang('L_VIEW_RESULTS'); ?></a></b></span></td>
43                                         </tr>
44                                 </table><?php echo isset($this->vars['S_HIDDEN_FIELDS']) ? $this->vars['S_HIDDEN_FIELDS'] : $this->lang('S_HIDDEN_FIELDS'); ?></form></td>
45                         </tr>