echo '</table></td>'; echo '<td>'; echo $b->bauzeit . " Ticks"; echo '</td>'; echo '<td>'; for ($i = 0; $i < sizeof($b->untergrund); $i++) { echo '<img src="images/buildings/' . $b->untergrund[$i]->bild . '" border="0" />'; } echo '</td></tr>'; } echo '</table>'; } if ($_GET["kategorie"] == "rohstoffe") { echo '<h3>Rohstoffe</h3>'; echo '<table class="liste"><tr><th>id</th><th>Name</th><th>Bild</th></tr>'; $list = Res::getList(); for ($i = 0; $i < sizeof($list); $i++) { echo '<tr><td>' . $list[$i]->id . '<td>' . $list[$i]->name . '</td><td><img src="images/misc/' . $list[$i]->bild . '" border="0" /></td></tr>'; } echo '</table><br />'; } if ($_GET["kategorie"] == "weltraum") { echo '<h3>Weltraumfelder</h3>'; echo '<table class="liste">'; $list = Weltraumfelder::getList(); echo '<table>'; for ($i = 0; $i < sizeof($list); $i++) { if ($i % 3 == 0 || $i == 0) { echo '<tr>'; } echo '<td><table class="liste">';