Quellcode |
|
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 |
// PAGE FULLMENU function page_fullmenu($sorter,$menuaktiv,$showall) { global $settings; global $optionen; if ($sorter == "0") { $sorter = "ASC"; } else if ($sorter == "1") { $sorter = "DESC"; } else { $sorter = "ASC"; } $explode = explode(".",$_GET['seite']); echo "<ul>\n"; $menu = mysql_query("SELECT * FROM pages WHERE submenu='0' AND aktiv='0' AND hidden='0' ORDER by sortierung ".$sorter.""); while ($data = mysql_fetch_assoc($menu)) { $stitel = check_umlaute($data['titel']); $page = $data['page']; $submenu = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE submenu='".$data['id']."' AND id='".(int)$explode['0']."'")); if ($explode['0'] == $data['id']) { [color=#FF0000][b]$aktiverlink = 'class="aktiv"';[/b][/color] |
Quellcode |
|
1 |
[color=#00BF00][b]$aktiverlink = ' class="aktiv"';[/b][/color] |
Quellcode |
|
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 |
// PAGE FULLMENU function page_fullmenu($sorter,$menuaktiv,$showall) { global $settings; global $optionen; if ($sorter == "0") { $sorter = "ASC"; } else if ($sorter == "1") { $sorter = "DESC"; } else { $sorter = "ASC"; } $explode = explode(".",$_GET['seite']); echo "<ul>\n"; $menu = mysql_query("SELECT * FROM pages WHERE submenu='0' AND aktiv='0' AND hidden='0' ORDER by sortierung ".$sorter.""); while ($data = mysql_fetch_assoc($menu)) { $stitel = check_umlaute($data['titel']); $page = $data['page']; $submenu = mysql_fetch_assoc(mysql_query("SELECT * FROM pages WHERE submenu='".$data['id']."' AND id='".(int)$explode['0']."'")); if ($explode['0'] == $data['id']) { $aktiverlink = 'class="aktiv"'; |
Quellcode |
|
1 |
$aktiverlink = ' class="aktiv"'; |