Baseline
[www.vanrenterghem.biz.git] / phpBB2 / cache / tpl_subSilver.viewtopic_poll_result.php
1 <?php
3 // eXtreme Styles mod cache. Generated on Tue, 14 Jun 2005 11:50:11 -0400 (time=1118764211)
5 ?> 
6 <tr> 
7   <td class="row2" colspan="2"><br clear="all" />
8         <table cellspacing="0" cellpadding="4" border="0" align="center">
9           <tr> 
10                 <td colspan="4" align="center"><span class="gen"><b><?php echo isset($this->vars['POLL_QUESTION']) ? $this->vars['POLL_QUESTION'] : $this->lang('POLL_QUESTION'); ?></b></span></td>
11           </tr>
12           <tr> 
13                 <td align="center"> 
14                   <table cellspacing="0" cellpadding="2" border="0">
15                         <?php
17 $poll_option_count = ( isset($this->_tpldata['poll_option.']) ) ?  sizeof($this->_tpldata['poll_option.']) : 0;
18 for ($poll_option_i = 0; $poll_option_i < $poll_option_count; $poll_option_i++)
19 {
20  $poll_option_item = &$this->_tpldata['poll_option.'][$poll_option_i];
21  $poll_option_item['S_ROW_COUNT'] = $poll_option_i;
22  $poll_option_item['S_NUM_ROWS'] = $poll_option_count;
24 ?>
25                         <tr> 
26                           <td><span class="gen"><?php echo isset($poll_option_item['POLL_OPTION_CAPTION']) ? $poll_option_item['POLL_OPTION_CAPTION'] : ''; ?></span></td>
27                           <td> 
28                                 <table cellspacing="0" cellpadding="0" border="0">
29                                   <tr> 
30                                         <td><img src="templates/subSilver/images/vote_lcap.gif" width="4" alt="" height="12" /></td>
31                                         <td><img src="<?php echo isset($poll_option_item['POLL_OPTION_IMG']) ? $poll_option_item['POLL_OPTION_IMG'] : ''; ?>" width="<?php echo isset($poll_option_item['POLL_OPTION_IMG_WIDTH']) ? $poll_option_item['POLL_OPTION_IMG_WIDTH'] : ''; ?>" height="12" alt="<?php echo isset($poll_option_item['POLL_OPTION_PERCENT']) ? $poll_option_item['POLL_OPTION_PERCENT'] : ''; ?>" /></td>
32                                         <td><img src="templates/subSilver/images/vote_rcap.gif" width="4" alt="" height="12" /></td>
33                                   </tr>
34                                 </table>
35                           </td>
36                           <td align="center"><b><span class="gen">&nbsp;<?php echo isset($poll_option_item['POLL_OPTION_PERCENT']) ? $poll_option_item['POLL_OPTION_PERCENT'] : ''; ?>&nbsp;</span></b></td>
37                           <td align="center"><span class="gen">[ <?php echo isset($poll_option_item['POLL_OPTION_RESULT']) ? $poll_option_item['POLL_OPTION_RESULT'] : ''; ?> ]</span></td>
38                         </tr>
39                         <?php
41 } // END poll_option
43 if(isset($poll_option_item)) { unset($poll_option_item); } 
45 ?>
46                   </table>
47                 </td>
48           </tr>
49           <tr> 
50                 <td colspan="4" align="center"><span class="gen"><b><?php echo isset($this->vars['L_TOTAL_VOTES']) ? $this->vars['L_TOTAL_VOTES'] : $this->lang('L_TOTAL_VOTES'); ?> : <?php echo isset($this->vars['TOTAL_VOTES']) ? $this->vars['TOTAL_VOTES'] : $this->lang('TOTAL_VOTES'); ?></b></span></td>
51           </tr>
52         </table>
53         <br clear="all" />
54   </td>
55 </tr>