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/liens/403.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_code = "Erreur 403";
$error_label = "Accès refusé";
$error_message = "Vous n'avez pas accès à cette partie du site !";
$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 = "403 Error";
$error_label = "Forbidden access";
$error_message = "You don't have permission to access this part of the site!";
$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>