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/404.php
2023-04-30 21:50:11 +02:00

58 lines
1.6 KiB
PHP

<?php
include_once "include/lang.inc.php";
if ($lang == "fr")
{
$error_404 = "Erreur 404";
$file_not_found = "Fichier non trouvé";
$error_message = "Le fichier demandé n'a pas été trouvé !";
$return_to_menu = "<br />Cliquez <a href='/'>ici</a> pour revenir à la page d'accueil...";
$titre = "Services";
$FileName = "modules/liens/liensdirects.csv";
}
else
{
$error_404 = "404 Error";
$file_not_found = "File not found";
$error_message = "Requested file not found!";
$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_404; ?></title>
<link rel='stylesheet' href='/css/minimal.css' type='text/css' media="screen" title="minimal" />
<meta http-equiv='Content-Type' content='text/html; charset=ISO-8859-1' />
</head>
<body>
<table>
<tr>
<td align='left'><img src='/images/tourmentine.gif' alt='' /></td>
<td align='center'>
<h2><font color='red'><?php echo $error_404." - ".$file_not_found; ?></font></h2>
<br /><?php echo $error_message; ?>
<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>