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/webnews/401.php

59 lines
1.6 KiB
PHP
Raw Permalink Normal View History

2023-04-30 21:28:42 +02:00
<?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>