-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavi.inc.php
45 lines (41 loc) · 2.41 KB
/
navi.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
$ausgabe .= table(150, "bg");
$ausgabe .= tr(td(0, "head", "<a class=nc href=# onClick=\"showhide('neogen')\">Neogen</a>"));
$ausgabe .= " <tr name=neogen id=neogen>\n";
$neoout = hlink("", "game.php?id=$id&b=$b&nav=uebersicht", "Übersicht") . "<br/><br/>\n";
$neoout .= hlink("", "game.php?id=$id&b=$b&nav=ausbau", "Ausbau") . "<br/><br/>\n";
if ($inhalte_s["basis2"] == "" || $b == 1) {
$neoout .= hlink("", "game.php?id=$id&b=$b&nav=evolution", "Evolution") . "<br/><br/>\n";
}
$neoout .= hlink("", "game.php?id=$id&b=$b&nav=produktion", "Produktion") . "<br/><br/>\n";
$neoout .= hlink("", "game.php?id=$id&b=$b&nav=verteidigung", "Verteidigung") . "<br/><br/>\n";
$neoout .= hlink("", "game.php?id=$id&b=$b&nav=mission", "Mission") . "<br/><br/>\n";
if ($inhalte_s["basis2"] == "" || $b == 1) {
$neoout .= hlink("", "game.php?id=$id&b=$b&nav=handel", "Handel") . "<br/><br/>\n";
}
$neoout .= hlink("", "game.php?id=$id&b=$b&nav=naehrstoffe", "Nährstoffe") . "<br/><br/>\n";
$neoout .= hlink("", "game.php?id=$id&b=$b&nav=karte", "Karte") . "<br/>\n";
if ($inhalte_s["basis2"] != "" && $b == 1) {
$neoout .= "<br/>\n" . hlink("", "game.php?id=$id&b=2&nav=$nav", "Wechseln") . "<br/>\n";
}
if ($inhalte_s["basis2"] != "" && $b == 2) {
$neoout .= "<br/>\n" . hlink("", "game.php?id=$id&b=1&nav=$nav", "Wechseln") . "<br/>\n";
}
$ausgabe .= td(0, "navi", $neoout);
$ausgabe .= "</tr>\n</table>\n<br/>\n";
unset($neoout);
$ausgabe .= table(150, "bg");
$ausgabe .= tr(td(0, "head", "<a class=nc href=# onClick=\"showhide('spieler')\">Spieler</a>"));
$ausgabe .= " <tr name=spieler id=spieler>\n";
$ausgabe .= td(0, "navi",
hlink("", "game.php?id=$id&b=$b&nav=symbiose", "Symbiose") . "<br/><br/>\n" .
hlink("", "game.php?id=$id&b=$b&nav=nachrichten", "Nachrichten") . "<br/><br/>\n" .
hlink("", "game.php?id=$id&b=$b&nav=topscores", "Top-Scores") . "<br/><br/>\n" .
hlink("", "game.php?id=$id&b=$b&nav=simulator", "Simulator") . "<br/><br/>\n" .
hlink("", "game.php?id=$id&b=$b&nav=techtree", "Tech-Tree") . "<br/><br/>\n" .
hlink("", "game.php?id=$id&b=$b&nav=persstat", "Pers. Statistik") . "<br/><br/>\n" .
hlink("", "game.php?id=$id&b=$b&nav=einstellungen", "Einstellungen") . "<br/><br/>\n" .
hlink("", "game.php?id=$id&b=$b&nav=nachrichten&w=new&empf=Administrator&betreff=Bug%20entdeckt", "Bug-Bericht") . "<br/><br/>\n" .
hlink("", "game.php?id=$id&b=$b&nav=logout", "Logout") . "<br/>\n");
$ausgabe .= "</tr>\n</table>\n";
?>