Subversion Repositories ALCASAR

Rev

Rev 2267 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log

<?php
# $Id: haut.php 2488 2018-02-25 14:53:54Z lucas.echard $

// Inform admin log about his last connection
$admin_log = '/var/Save/security/acc_access.log';
$user_htdigest = $_SERVER['REMOTE_USER'];
$date_system = date('d/m/Y H:i:s');
$user_ip = $_SERVER['REMOTE_ADDR'];
$user_agent = $_SERVER['HTTP_USER_AGENT'];
$text = $date_system . '|' . $user_htdigest . '|' . $user_ip . '|' . $user_agent;
file_put_contents($admin_log, $text.PHP_EOL, FILE_APPEND);
?>
<!doctype html>
<!-- Writen by Rexy -->
<!-- ACC Top Window -->
<html>
<head>
        <meta charset="utf-8">
        <title>Top</title>
        <script>
        function ouvrir(page) {
                window.open(page, "portail", "alwaysRaised=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,hotkeys=no,width=640 ,height=480");
        }
        </script>
        <link rel="stylesheet" type="text/css" href="/css/style.css">
</head>
<body>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                        <td valign="top" align="left"><a href="javascript:ouvrir('about.htm')"><img height="80" border="0" src="/images/logo-alcasar.png"></a></td>
                        <td valign="top" align="center"><a href="http://www.alcasar.net" target="_new"><img height="80" border="0" src="/images/titre-alcasar.png"></a></td>
                        <td valign="top" align="right"><a href="admin/logo.php" target="REXY2"><img height="80" border="0" src="/images/organisme.png"></a></td>
                </tr>
        </table>
</body>
</html>