Location: PHPKode > projects > PhpCsAdmin > phpcsadmin/login.php
<html><head><title>Authentication page</title></head><body><p>
  <img border="0" src="logo_phpcsadmin.gif" width="600" height="313"></p><p align="center"><b><font face="Verdana" size="1" color="#FF0000">Authentication page</font></b></p>
  <form method="POST" action="admin.php"><p align="center"><input type="text" name="admin" size="20" style="font-family: Verdana; font-size: 8pt; border: 1px solid #333333; background-color: #C0C0C0"></p><p align="center"><input type="text" name="passwd" size="20" style="font-family: Verdana; font-size: 8pt; border: 1px solid #333333; background-color: #C0C0C0"></p><p align="center"><input type="submit" value="Login" name="B1" style="font-family: Verdana; font-size: 8pt; border: 1px solid #333333; background-color: #C0C0C0"><input type="reset" value="Cancel" name="B2" style="font-family: Verdana; font-size: 8pt; border: 1px solid #333333; background-color: #C0C0C0"></p><?
if (($admin=="")|($passw=="")) {
	if ($login=="") echo "Enter your login";
	if ($passwd="") echo "Enter your passorwd";
}
else {
	if(($admin=="")|($passwd=="florian")) {
		fopen("admin.php","r");
	}
	else {
		echo "Login or password is incorrect, retry";
	}
}
?></form><p align="center">&nbsp;</p></body></html>
Return current item: PhpCsAdmin