|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/betterpi/Old Site/admin/ |
Upload File : |
<html>
<head>
<title> ADMIN AREA</title>
<LINK rel="stylesheet" type="text/css" href="style.css">
</head>
<body bgcolor=#ffffff topmargin=0 leftmargin=0 marginheight=0 marginwidth=0>
<?php if ($_POST[submit_login]){
if ($_POST[post_user]=="pixami" and $_POST[post_password]=="1478963"){
$_SESSION["level"] = 1; //
echo '<meta http-equiv="refresh" content="0; url=index.php">';
}
else {
// Authentication failed
echo "AUTH FAILED";
echo '<meta http-equiv="refresh" content="0; url=index.php">';
}
} else {
print "<form action=index.php method=post><input type=hidden name=submit_login value='go'><br><br><br><br><table width=100% align=center>";
print "<tr><td align=right width=40%>User Name:</td> <td><input type=text name=post_user class=in1></td></tr>";
print "<tr><td align=right>Password:</td> <td><input type=text name=post_password class=in1> <input type=submit name=submit_login value=' LOG IN ' class=in1></td></tr>";
print "</table></form>";
}?>