59 lines
1.6 KiB
PHP
59 lines
1.6 KiB
PHP
|
<?php
|
|||
|
include_once "include/lang.inc.php";
|
|||
|
if ($lang == "fr")
|
|||
|
{
|
|||
|
$error_code = "Erreur 401";
|
|||
|
$error_label = "Acc<EFBFBD>s refus<75>";
|
|||
|
$error_message = "Vous n'avez pas l'authorisation d'entrer.";
|
|||
|
$return_to_menu = "<br />Cliquez <a href='/'>ici</a> pour revenir <20> la page d'accueil...";
|
|||
|
$titre = "Services";
|
|||
|
$FileName = "modules/liens/liensdirects.csv";
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$error_code = "401 Error";
|
|||
|
$error_label = "Unauthorized access attempt";
|
|||
|
$error_message = "You are not allowed to enter.!";
|
|||
|
$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 $return_to_menu; ?>
|
|||
|
</td>
|
|||
|
<td align='right'>
|
|||
|
<?php
|
|||
|
//include "include/head.inc.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>
|