PHP interesse |
|
Zou iemand mij kunnen vertellen hoe ik het volgende oplos zodat ik het login scherm werkende krijg:
<?php
} else {
?>
<h1 id="banner">Commercial Banner</h1>
<!-- Change the text inbetween the h1 tags to your clan name - this way it will get cached in search engines! -->
<div id="content">
<div id="left">
<!-- Start a side box -->
<div class="side_header">USER MENU</div>
<div class="side_content_menu">
<ul class="list_side">
<li><a href="?pagina=home">Home</a></li>
<li><a href="?pagina=team">Team</a></li>
<li><a href="?pagina=partners">Partners</a></li>
<li><a href="?pagina=aanmelden">Aanmelden</a></li>
<li><a href="?pagina=wwvergeten">Paswoord Vergeten</a></li>
<!-- To add a navigation item, copy this code <li><a href="LINK">LINK NAME</a></li> and add it above this -->
</ul>
</div>
<div class="side_header">LOGIN BOX</div>
<div class="side_content_menu">
<ul class="list_side">
<table class="menu" width=100% cellpadding=0 cellspacing=0 align=center>
<tr><td class="menuLink">
<form method="post" action="{$site_url}?pagina=login" method="post"><table align="center" width="100%">
<tr><td align="left"><center><img src="layout/layout001/user.png"> <b>Gebruikersnaam:</b></center></td></tr><tr> <td align=center><input type="text" name="login" value="$cookie_user" maxlength=16 style="text-align: center;"></td></tr>
<tr><td align="left"><center><img src="layout/layout001/key.png"> <b>Wachtwoord:</b></center></td></tr><tr> <td align=center><input type="password" name="pass" value="$cookie_paswoord" maxlength=16 style="text-align: center;"></td></tr>
</tr>
<tr><td> </td></tr> <td align="center"><input type="submit" name="submit" style="width: 100;" value="Inloggen"></td></tr>
</table></form></td></tr>
</ul>
<?php
}
?>
<?php } else { ?> <h1 id="banner">Commercial Banner</h1> <!-- Change the text inbetween the h1 tags to your clan name - this way it will get cached in search engines! --> <div id="content"> <div id="left"> <!-- Start a side box --> <div class="side_header">USER MENU</div> <div class="side_content_menu"> <ul class="list_side"> <li><a href="?pagina=home">Home</a></li> <li><a href="?pagina=team">Team</a></li> <li><a href="?pagina=partners">Partners</a></li> <li><a href="?pagina=aanmelden">Aanmelden</a></li> <li><a href="?pagina=wwvergeten">Paswoord Vergeten</a></li> <!-- To add a navigation item, copy this code <li><a href="LINK">LINK NAME</a></li> and add it above this --> </ul> </div> <div class="side_header">LOGIN BOX</div> <div class="side_content_menu"> <ul class="list_side"> <table class="menu" width=100% cellpadding=0 cellspacing=0 align=center> <tr><td class="menuLink"> <form method="post" action="{$site_url}?pagina=login" method="post"><table align="center" width="100%"> <tr><td align="left"><center><img src="layout/layout001/user.png"> <b>Gebruikersnaam:</b></center></td></tr><tr> <td align=center><input type="text" name="login" value="$cookie_user" maxlength=16 style="text-align: center;"></td></tr> <tr><td align="left"><center><img src="layout/layout001/key.png"> <b>Wachtwoord:</b></center></td></tr><tr> <td align=center><input type="password" name="pass" value="$cookie_paswoord" maxlength=16 style="text-align: center;"></td></tr> </tr> <tr><td> </td></tr> <td align="center"><input type="submit" name="submit" style="width: 100;" value="Inloggen"></td></tr> </table></form></td></tr> </ul> <?php } ?>
Alvast bedankt,
|