Headers already sent !?!?
<html><head>
<title>Revenge For Damage CS & Q3 clan.</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">
<link rel=\"stylesheet\" href=\"rfd.css\" type=\"text/css\">
</head>
<body bgcolor=\"#EFEFEF\" text=\"#000000\" leftmargin=\"0\" topmargin=\"0\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td>
<p><a href=\"index.php\"><img src=\"images/top.gif\" width=\"649\" height=\"97\" border=\"0\"></a></p>
<p> </p>
</td>
<td> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"110\" valign=\"top\">
<table width=\"111\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#EFEFEF\" height=\"31\">
<tr>
<td width=\"111\"><a href=\"index.php\"><img src=\"images/menu.gif\" width=\"111\" height=\"31\" border=\"0\"></a></td>
</tr>
<tr>
<td width=\"111\" align=\"left\"><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"><b><a href=\"index.php?aim=members\">|-Members-|</a><br>
<a href=\"index.php?aim=info\">|-Clan info-|</a><br>
<a href=\"index.php?aim=rules\">|-Clan rules-|</a><br>
<a href=\"index.php?aim=clanwars\">|-Clanwars-|</a><br>
<a href=\"index.php?aim=forum\">|-Forum-|</a><br>
<a href=\"index.php?aim=articles\">|-Articles-|</a> <br>
<a href=\"index.php?aim=downloads\">|-Downloads-|</a><br>
<a href=\"index.php?aim=sponsors\">|-Sponsors-|</a></b></font></td>
</tr>
</table>
<br><br>
<table width=\"111\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#EFEFEF\" height=\"31\">
<tr>
<td><a href=\"index.php\"><img src=\"images/menuvote.gif\" width=\"111\" height=\"31\" border=\"0\"></a></td>
</tr><tr><td><?
if($Submit) {
include(\"connect.php\");
$query = mysql_query(\"INSERT INTO svar (vote)\" . \"VALUES (\'$radiobutton\')\");
setcookie (\"voted\", \"1\", time()+604800);
echo \"<meta http-equiv=\\\"refresh\\\" content=\\\"0;URL=$redi\\\">\";
}
?>
<? if($voted == \"1\") {
include(\"connect.php\");
$result90 = mysql_query(\"SELECT ques, vote1, vote2, vote3 FROM vote\");
while($st90=mysql_fetch_array($result90)) {
extract($st90);
?>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td><font size=\"2\"><b>
<?=$ques?>
</b><br>
<br>
</font></td>
</tr>
<?
}
include(\"connect.php\");
$result2 = mysql_query(\"SELECT COUNT(*) AS antal FROM svar\");
$total = mysql_result($result2,0);
$result4 = mysql_query(\"SELECT COUNT(*) AS antal1 FROM svar WHERE vote = \'1\'\");
$total1 = mysql_result($result4,0);
$result5 = mysql_query(\"SELECT COUNT(*) AS antal2 FROM svar WHERE vote = \'2\'\");
$total2 = mysql_result($result5,0);
$result6 = mysql_query(\"SELECT COUNT(*) AS antal3 FROM svar WHERE vote = \'3\'\");
$total3 = mysql_result($result6,0);
$antal1 = $total1 / $total * 100;
$antal2 = $total2 / $total * 100;
$antal3 = $total3 / $total * 100;
?>
<tr>
<td><font size=\"2\">
<?=$vote1?>
<br>
<img src=\"vote.gif\" width=\"<?=$antal1?>%\" height=\"10\">
<?=$antal1?>
%</font></td>
</tr>
<tr>
<td><font size=\"2\">
<?=$vote2?>
<br>
<img src=\"vote.gif\" width=\"<?=$antal2?>%\" height=\"10\">
<?=$antal2?>
%</font></td>
</tr>
<tr>
<td><font size=\"2\">
<?=$vote3?>
<br>
<img src=\"vote.gif\" width=\"<?=$antal3?>%\" height=\"10\">
<?=$antal3?>
%</font></td>
</tr>
<tr>
<td><font size=\"2\"><br>
Total votes:
<?=$total?>
</font></td>
</tr>
</table>
<?
}
else
{
include(\"connect.php\");
$result1 = mysql_query(\"SELECT ques, vote1, vote2, vote3 FROM vote\");
while($st1=mysql_fetch_array($result1)) {
extract($st1);
?>
<form name=\"form1\" action=\"<?=$PHP_SELF?>\" method=\"POST\">
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td colspan=\"2\"><font size=\"2\">
<?=$ques?>
</font></td>
</tr>
<tr>
<td width=\"47%\"><font size=\"2\">
<?=$vote1?>
</font></td>
<td width=\"53%\"> <font size=\"2\">
<input type=\"radio\" name=\"radiobutton\" value=\"1\">
</font></td>
</tr>
<tr>
<td width=\"47%\"><font size=\"2\">
<?=$vote2?>
</font></td>
<td width=\"53%\"> <font size=\"2\">
<input type=\"radio\" name=\"radiobutton\" value=\"2\">
</font></td>
</tr>
<tr>
<input type=\"hidden\" value=\"<?=$PHP_SELF?>\" name=\"redi\">
<td width=\"47%\"><font size=\"2\">
<?=$vote3?>
</font></td>
<td width=\"53%\"> <font size=\"2\">
<input type=\"radio\" name=\"radiobutton\" value=\"3\">
</font></td>
</tr>
<tr>
<td width=\"47%\"><font size=\"2\"></font></td>
<td width=\"53%\"> <font size=\"2\">
<input type=\"submit\" name=\"Submit\" value=\"Vote!\">
</font></td>
</tr>
</table>
</form>
<?
}
}
?>
</td></tr></table>
</td>
<td width=\"100%\" valign=\"top\">
<div align=\"center\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"110\"> </td>
<td>
<?
if ($aim == \'members\') {
include(\"members.php\");
} elseif ($aim == \'info\') {
include(\"info.php\");
} elseif ($aim == \'rules\') {
include(\"rules.php\");
} elseif ($aim == \'clanwars\') {
include(\"cw.php\");
} elseif ($aim == \'forum\') {
include(\"forum.php\");
} elseif ($aim == \'downloads\') {
include(\"dl.php\");
} elseif ($aim == \'sponsors\') {
include(\"sponsors.php\");
} elseif ($aim == \'articles\') {
include(\"articles.php\");
} elseif ($aim == \'showarticles\') {
include(\"showarticle.php\");
} elseif ($aim == \'showmessage\') {
include(\"visbesked.php\");
} elseif ($aim == \'details\') {
include(\"details.php\");
} elseif ($aim == \'reply\') {
include(\"besvar.php\");
} elseif ($aim == \'forum\') {
include(\"forum.php\");
} elseif ($aim == \'new\') {
include(\"nyt.php\");
} elseif ($aim == \'savepost\') {
include(\"gemindlaeg.php\");
} elseif ($aim == \'savereply\') {
include(\"gemsvar.php\");
} else {
include(\"news.php\");
}
?>
</td>
</tr>
</table>
<br>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
