HTML interesse |
|
Bedankt! Hij werkt!
EDIT: Nee toch niet.
Ik heb hem in een map poll staan en de links in de bestanden staan nu dus niet goed verwerkt. Ik ben wel aan het zoeken naar al die links, maar sommige kan ik vinden en anderen niet.
$sql = @mysql_query ("SELECT polltext, votecount FROM poll_data WHERE pollid = '$pollid' AND polltext <> ''");
echo "<center><table border=\"0\" width=\"$this->result_table_width\" class=\"$this->results_table\">
<tr><td class=\"$this->results_title\" colspan=\"4\">Mini Poll Resultaten</td></tr>";
if (@mysql_num_rows($sql) > 0) {
echo "<tr><td class=\"$this->results_poll_question\" colspan=\"2\">$this->polltitle</td>
$sql = @mysql_query ("SELECT polltext, votecount FROM poll_data WHERE pollid = '$pollid' AND polltext <> ''"); echo "<center><table border=\"0\" width=\"$this->result_table_width\" class=\"$this->results_table\"> <tr><td class=\"$this->results_title\" colspan=\"4\">Mini Poll Resultaten</td></tr>"; echo "<tr><td class=\"$this->results_poll_question\" colspan=\"2\">$this->polltitle</td>
echo "<tr><td class=\"$this->result_table_cell\">$row->polltext $row->votecount votes. ($vote_percents %)</td><td class=\"$this->result_table_cell\"> <img src=\"$this->bar_image\" width=\"$image_width\" alt=\"$vote_percents %\" height=\"10\" /> </td></tr>\r\n";
}
echo "<tr><td class=\"$this->result_table_cell\" colspan=\"2\">Totale stemmen: $this->votecount</td></tr>\r\n";
echo "<tr><td class=\"$this->result_table_cell\" colspan=\"2\"><a href=\"http://62.195.127.200/project4/secure.php\">Admin Area</a></td></tr>\r\n";
echo "<tr><td class=\"$this->result_table_cell\">$row->polltext $row->votecount votes. ($vote_percents %)</td><td class=\"$this->result_table_cell\"> <img src=\"$this->bar_image\" width=\"$image_width\" alt=\"$vote_percents %\" height=\"10\" /> </td></tr>\r\n"; } echo "<tr><td class=\"$this->result_table_cell\" colspan=\"2\">Totale stemmen: $this->votecount</td></tr>\r\n"; echo "<tr><td class=\"$this->result_table_cell\" colspan=\"2\"><a href=\"http://62.195.127.200/project4/secure.php\">Admin Area</a></td></tr>\r\n";
Moet ik hier iets aanpassen? Kan iemand ook ff kijken welke dingen allemaal moeten aangepast worden?
Je kan natuurlijk zeggen, zet alle dingen dan los in je bestandenmap, maar daar staan al config.php etc. van mijn nieuwssysteem. |