alpha_full/structure/pageIndexRedirect/pageIndexRedirect.php
2026-04-06 22:58:51 +02:00

38 lines
1.5 KiB
PHP
Executable File

<?php
$src=$_SESSION['lienAccueil'];
// ---------------------------------------------------
// HTML
// ---------------------------------------------------
if (isset($_GET['aff'])) $aff=$_GET['aff']; else $aff='1';
echo '<!DOCTYPE html>';
echo '<html>';
echo '<head>';
echo '<title>' .$_SESSION['nomSiteAff']. '</title>';
echo '<link rel="stylesheet" type="text/css" media="only screen" href="' .$includePathCss. '/globalStyle_' .$nomThemeCss. '.css" >';
echo '<meta http-equiv="refresh" content="2; URL=' .$src. '/index.php?lg=' .$lg. '&connected=0&aff=' .$aff. ' target=_parent " >';
echo '</head>';
echo '<body>';
echo '<br><br>';
echo '<table style="margin:auto;" >';
echo '<tr>';
echo '<td align="center" >';
echo '<br><img src="' .$includePathDesign. '/_titre/titre_du_site.png" alt="Page interdite" border="0" />';
echo '<br>';
echo '</td>';
echo '</tr>';
echo '<tr align="center" >';
echo '<td align="center" >';
echo '<p align="center" >';
if ($lg=='FRA') {echo '<br><span class="msgKo">Accès interdit dans ce répertoire</span>';}
else echo '<br><br><span class="msgKo">Directory access forbidden</span>';
echo '<br><br><img src="' .$includePath. '/_images/interdit.jpg" alt="Page interdite" border="0" />';
echo '</p>';
echo '</td>';
echo '</tr>';
echo '<tr><td></td></tr>';
echo '</table>';
echo '</body>';
echo '</html>';
?>