>>sone
det her:
<table width=\"<?php echo $table_width; ?>\" align=\"center\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" bgcolor=\"<?php echo $bgcolor_fr; ?>\">
<tr align=\"center\">
<td><img border=\"0\" src=\"
http://www.dzemat.dk/dizajn/n_anketa.gif\"></td> </tr>
<tr align=\"center\">
<td>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\" align=\"center\" bgcolor=\"<?php echo $bgcolor_tab; ?>\" height=\"60\">
<tr valign=\"middle\">
<td colspan=\"2\" height=\"40\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"-2\"><b><?php echo chop($line[0]); ?></b></font></td>
</tr>
<tr align=\"right\" valign=\"bottom\">
<td colspan=\"2\">
<form method=\"post\" action=\"<?php echo $PHP_SELF; ?>\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"1\" height=\"100%\">
<?php
if ($found==1 || $status==0 || $vote_for || $results==1) {
if (count($poll)) {
uasort($poll,sort_keys);
$top_pos = reset($poll);
}
if ($total <= 0) {
$top_pos = 1;
}
for (reset($poll); $key=key($poll); next($poll)) {
if ($total==0) {
$vote_val=\"0\";
}
else {
$vote_val = ($show_type==1) ? sprintf(\"%.1f\",($poll[$key]*100/$total)).\"%\" : $poll[$key];
}
$img_width = (int) ($poll[$key]*$img_length/$top_pos);
$image = chop($gif[$key]);
echo\" <tr bgcolor=\\\"$bgcolor_tab\\\">\\n\";
echo\" <td height=\\\"22\\\"><font face=\\\"Verdana, Arial, Helvetica, sans-serif\\\" size=\\\"-2\\\">$key</font></td>\\n\";
echo\" <td nowrap height=\\\"22\\\"><font face=\\\"Verdana, Arial, Helvetica, sans-serif\\\" size=\\\"-2\\\"><img src=\\\"$base_gif/$image.gif\\\" width=\\\"$img_width\\\" height=\\\"$img_height\\\">\\n\";
echo\" $vote_val</font></td>\\n\";
echo\" </tr>\\n\";
}
?>
<tr bgcolor=\"<?php echo $bgcolor_tab; ?>\" valign=\"top\">
<td colspan=\"2\" height=\"80\"> <font size=\"-2\" face=\"Verdana, Arial, Helvetica, sans-serif\"><br>
Total votes: <font color=\"#CC0000\"><?php echo $total; ?></font><?php if ($found == 1) {echo \"<br>Vi ste vec glasali!\";} ?></font>
<style type=\"text/css\">
<!--
.links { color: #000000}
-->
</style>
</td>
<?php } else { ?>
<?php
for (reset($poll); $key=key($poll); next($poll)) {
echo\" <tr bgcolor=\\\"$bgcolor_tab\\\">\\n\";
echo\" <td width=\\\"15%\\\">\\n\";
echo\" <input type=\\\"radio\\\" name=\\\"vote_for\\\" value=\\\"$key\\\">\\n\";
echo\" </td>\\n\";
echo\" <td width=\\\"85%\\\"><font face=\\\"Verdana, Arial, Helvetica, sans-serif\\\" size=\\\"-2\\\">$key</font></td>\\n\";
echo\" </tr>\\n\";
}
?>
<tr align=\"center\" bgcolor=\"<?php echo $bgcolor_tab; ?>\" valign=\"top\">
<td colspan=\"2\" height=\"80\">
<style type=\"text/css\">
<!--
.input { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt}
.links { color: #000000}
-->
</style>
<input type=\"submit\" name=\"Vote\" value=\"Glasaj\" class=\"input\"><br><br>
<font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"-2\"><a href=\"<?php echo $PHP_SELF; ?>?results=1\" class=\"links\">Pogledaj rezultate</a></font></td>
<?php } ?>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>