Aktuell sieht es so aus (Beispiel).
- Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>123</title>
</head>
<body>
<table class="table" border="0" cellpadding="2" cellspacing="0" summary="">
<tr class="hauptt" valign="top">
<td style="width:200px;" class="line">
<table class="me" cellpadding="2" cellspacing="0" summary="">
<tr>
<td class="menu" style="font-weight:bold;">Index</td>
</tr>
<tr>
<td>
<a href="index.php" <?php if ( $id == m0 ) { echo 'class="activelink"'; } ?>>Startseite</a><br />
<a href="index.php?id=m1" <?php if ( $id == m1 ) { echo 'class="link"'; } ?>>M1</a><br />
<a href="index.php?id=m2" <?php if ( $id == m2 ) { echo 'class="link"'; } ?>>M2</a><br />
</td>
</tr>
<tr>
<td>
<?
include("$id.php");
?>
</td>
</tr>
</table>
<br />
</body>
</html>
Die angeklickten Links öffnen aktuell alle im "include", was auch so sein soll.
Was muss ich nun ändern, damit es mit register_globals off klappt. Je einfacher, desto besser, da zig Seiten geändert werden müssen.
Danke für die Hilfe!