<table border=0 cellspacing=0 cellpadding=0 width=135>
<TR>
<TD bgcolor=’EDEDED’ colspan=3 align=’center’ >
<font size=2><b>Login</font>
</TD>
</TR>
<TR>
<TD height=3>
</TD>
</TR>
</table>
<table cellspacing=0 cellpadding=0 width=135>
<tr>
<td>
</td>
</tr>
<tr>
<td bgcolor=white height=180><CENTER>
[insert_php]
mysql_connect(“127.0.0.1”, “fietsci”, “nixmxfy4”) or die(mysql_error());
mysql_select_db (“fietscie_nl_-_db”) or die(mysql_error());
if ($action == “verzenden”)
{
if ((isset($_SESSION[“gebruikersnaam”])))
{
echo “Log in-status:<br>”;
echo “<FONT color=’green’>”;
echo ” Ok<br>”;
echo “</FONT>”;
echo “Ingelogd als:<br>”;
echo “<FONT color=’green’>”;
echo $_SESSION[“gebruikersnaam”];
echo “<br>”;
echo “</FONT>”;
echo “<form action=’index.php’ method=’post’ align=’center’>”;
echo “<input type=’hidden’ name=’weergave’ value=’loguit’>”;
echo “<input type=’Submit’ name=’loguit’ value=’Loguit’ STYLE=’height: 20px; font-size: 10;’>”;
echo “</form>”;
}
else
{
echo “Log in-status:<br>”;
echo “<FONT color=’red’>”;
echo ” Mislukt<br><br>”;
echo “</FONT>”;
echo “Gebruikersnaam<br>of wachtwoord<br>niet correct<br>”;
echo “<B><A HREF=’./’>opnieuw</A></B>”;
}
}
else
if ((isset($_SESSION[“gebruikersnaam”])))
{
echo “Log in-status:<br>”;
echo “<FONT color=’green’>”;
echo ” Ok<br>”;
echo “</FONT>”;
echo “Ingelogd als:<br>”;
echo “<FONT color=’green’>”;
echo $_SESSION[“gebruikersnaam”];
echo “<br>”;
echo “</FONT>”;
echo “<form action=’index.php’ method=’post’ align=’center’>”;
echo “<input type=’hidden’ name=’weergave’ value=’loguit’>”;
echo “<input type=’Submit’ name=’loguit’ value=’Loguit’ STYLE=’height: 20px; font-size: 10;’>”;
echo “</form>”;
}
else
{
echo “<form action=’index.php?action=verzenden’ method=’post’>”;
echo “Gebruikersnaam<br>”;
echo “<input type=’Text’ name=’username’ value=” size=10 STYLE=’height: 20px;’><br>”;
echo “Wachtwoord<br>”;
echo “<input type=’Password’ name=’userpass’ value=” size=10 STYLE=’height: 20px;’><br>”;
echo “<input type=’Submit’ name=’login’ value=’Log in’ STYLE=’height: 20px; font-size: 10;’>”;
echo “</form>”;
}
[/insert_php]
</td>
</tr>
</table>