n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/500.php
2023-04-30 21:50:11 +02:00

60 lines
1.7 KiB
PHP

<?php
include_once "include/lang.inc.php";
if ($lang == "fr")
{
$error_code = "Erreur 500";
$error_label = "Erreur interne";
$error_message = "oops...y'a comme un bug là !";
$write_me = "Écrivez <a href='mailto:n@tourmentine.com'>ici</a> pour m'insulter, ou";
$return_to_menu = "<br />Cliquez <a href='/'>ici</a> pour revenir à la page d'accueil...";
$titre = "Services";
$FileName = "modules/liens/liensdirects.csv";
}
else
{
$error_code = "500 Error";
$error_label = "Internal server error";
$error_message = "oops...sounds like a bug!";
$write_me = "Write <a href='mailto:n@tourmentine.com'>here</a> to flame me, or";
$return_to_menu = "<br />Click <a href='/'>here</a> to go back to homepage...";
$titre = "Local links";
$FileName = "modules/liens/liensdirects.en.csv";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?php echo $error_code; ?></title>
<link rel='stylesheet' href='/css/minimal.css' type='text/css' media="screen" title="minimal" />
</head>
<body>
<table>
<tr>
<td align='left'><img src='/images/tourmentine.gif' alt='' /></td>
<td align='center'>
<h2><font color='red'><?php echo $error_code." - ".$error_label;?></font></h2>
<br /><?php echo $error_message; ?>
<br /><?php echo $write_me; ?>
<br /><?php echo $return_to_menu; ?>
</td>
<td align='right'>
<?php
include "include/theme.inc.php";
include "themes/default/theme.php";
$bodyclass="magicbox";
$module = "liens";
//$titre = "Services";
$headlien = "/";
// $TypeListe = "deroul";
//$FileName = "modules/liens/liensdirects.csv";
include "modules/magicbox.php";
?>
</td>
</tr>
</table>
<?php // include "footer.php" ?>
</body>
</html>