mirror of
https://github.com/psenough/pouet.net.git
synced 2025-01-16 20:58:27 +01:00
46 lines
959 B
PHP
46 lines
959 B
PHP
<?
|
|
require("include/top.php");
|
|
|
|
if(!isset($back)) $back = '/';
|
|
|
|
switch($_GET['e'])
|
|
{
|
|
case "password":
|
|
case "Invalid password":
|
|
$message="Invalid password.<br />Read the <a href=\"/faq.php#15\">FAQ</a> if you want to get a new password.";
|
|
break;
|
|
case "login":
|
|
$message="Bad username.";
|
|
break;
|
|
default:
|
|
$message=htmlentities(stripslashes($_GET['e'])); //"Undefined error.";
|
|
break;
|
|
}
|
|
?>
|
|
<br>
|
|
<table bgcolor="#000000" cellspacing="1" cellpadding="0">
|
|
<tr>
|
|
<td>
|
|
<table bgcolor="#000000" cellspacing="1" cellpadding="2">
|
|
<tr>
|
|
<td bgcolor="#224488" align="center" nowrap>
|
|
<b>An error has occured:</b><br>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#557799">
|
|
<?=$message?>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td bgcolor="#446688" align="center">
|
|
<a href="<?=htmlentities(stripslashes($back))?>"><b>get back</b></a><br>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br>
|
|
<? require("include/bottom.php"); ?>
|