<table class="tables">
<tr>
<th colspan="4">
<?php if (($config['vote_change'] == 1 || $vote['voted'] == 0) && $vote['phrase']) { ?>
<span class="right">[<a href="showtopic.php?temp=2&id=<?php echo $info['id']; ?>&page=<?php echo $_GET['page'].SID2URL_x; ?>"><?php echo $lang->phrase($vote['phrase']); ?></a>]</span>
<?php } ?>
<img src="<?php echo $tpl->img('vote'); ?>" alt="" /> <?php echo $lang->phrase('vote_titlevote').$vote['question']; ?>
</th>
</tr>
<?php foreach ($vote['entries'] as $row) { ?>
<tr class="tbody">
<td width="50%"><?php echo $row['answer']; ?></td>
<td width="37%"><div style="width: <?php echo round($row['percent']); ?>%;" class="votebar"> </div></td>
<td width="5%" class="textright"><?php echo $row['votes']; ?></td>
<td width="8%" class="textright"><?php echo $row['percent']; ?>%</td>
</tr>
<?php if ($my->p['admin'] == 1) { ?>
<tr>
<td class="tbody textright" colspan="4"><span class="stext"><?php echo $vote['voter'][$row['id']][0]; ?></span></td>
</tr>
<?php }} ?>
<tr>
<td class="tfoot center" colspan="4"><?php echo $lang->phrase('vote_counter').$vote['count']; ?></td>
</tr>
</table>
<br class="minibr" />