pouet.net/error.php

46 lines
979 B
PHP
Raw Normal View History

2013-05-07 14:20:08 -04:00
<?
require("include/top.php");
2013-05-09 22:03:05 -04:00
if(!isset($back)) $back = '/';
2013-05-07 14:20:08 -04:00
2013-05-12 01:20:05 +02:00
switch($_GET['e'])
2013-05-07 14:20:08 -04:00
{
case "password":
case "Invalid password":
$message="Invalid password.<br />Read the <a href=\"http://www.pouet.net/faq.php#15\">FAQ</a> if you want to get a new password.";
break;
case "login":
$message="Bad username.";
break;
default:
2013-05-12 01:20:05 +02:00
$message=htmlentities(stripslashes($_GET['e'])); //"Undefined error.";
2013-05-07 14:20:08 -04:00
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"); ?>