PHP interesse |
|
Beste,
echo '<table width="55%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" valign="top"><strong>User</strong><br>
<img src="img/knop.jpg"><a href="index.php?page=info"> Info</a><br />
<img src="img/knop.jpg"><a href="index.php?page=settings"> Settings</a><br />
<img src="img/knop.jpg"><a href="index.php?page=demos"> Demo\'s</a><br />
<img src="img/knop.jpg"><a href="index.php?page=log"> Log</a><br />
<img src="img/knop.jpg"><a href="index.php?page=contact"> Contact</a><br />
<img src="img/knop.jpg"><a href="' . $_SERVER['PHP_SELF'] . '?action=logout"> Log uit</a><br /></td>
<td width="4%"><img src="img/balk.jpg" width="2" height="250"></td>
<td width="66%" valign="top">
<?php
switch ($_GET["page"])
{
case "info":
require("info.php");
break;
case "settings":
require("settings.php");
break;
case "demos":
require("demos.php");
break;
case "log":
require("log.php");
break;
case "contact":
require("contact.php");
break;
default:
require("info.php");
}
?>
</tr>
</table>';
echo '<table width="55%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20%" valign="top"><strong>User</strong><br> <img src="img/knop.jpg"><a href="index.php?page=info"> Info</a><br /> <img src="img/knop.jpg"><a href="index.php?page=settings"> Settings</a><br /> <img src="img/knop.jpg"><a href="index.php?page=demos"> Demo\'s</a><br /> <img src="img/knop.jpg"><a href="index.php?page=log"> Log</a><br /> <img src="img/knop.jpg"><a href="index.php?page=contact"> Contact</a><br /> <img src="img/knop.jpg"><a href="' . $_SERVER['PHP_SELF'] . '?action=logout"> Log uit</a><br /></td> <td width="4%"><img src="img/balk.jpg" width="2" height="250"></td> <td width="66%" valign="top"> <?php switch ($_GET["page"]) { case "info": require("info.php"); break; case "settings": require("settings.php"); break; case "demos": require("demos.php"); break; case "log": require("log.php"); break; case "contact": require("contact.php"); break; default: require("info.php"); } ?> </tr> </table>';
Deze code wil hij niet uitvoeren voor mij!
Hij gaat direct naar de LOGIN, zodat ik weer opnieuw moet inloggen. Dat is natuurlijk niet de bedoeling.
Hopelijk kan iemand mij helpen! Bedankt
|