958 |
franck |
1 |
<?php
|
|
|
2 |
# $Id: haut.php 3007 2022-04-28 07:59:51Z rexy $
|
2182 |
tom.houday |
3 |
|
|
|
4 |
// Inform admin log about his last connection
|
3007 |
rexy |
5 |
header("Cache-Control: no-cache, must-revalidate"); // in order to increment admin_log file
|
2267 |
richard |
6 |
$admin_log = '/var/Save/security/acc_access.log';
|
2488 |
lucas.echa |
7 |
$user_htdigest = $_SERVER['REMOTE_USER'];
|
2182 |
tom.houday |
8 |
$date_system = date('d/m/Y H:i:s');
|
|
|
9 |
$user_ip = $_SERVER['REMOTE_ADDR'];
|
2267 |
richard |
10 |
$user_agent = $_SERVER['HTTP_USER_AGENT'];
|
|
|
11 |
$text = $date_system . '|' . $user_htdigest . '|' . $user_ip . '|' . $user_agent;
|
2093 |
raphael.pi |
12 |
file_put_contents($admin_log, $text.PHP_EOL, FILE_APPEND);
|
589 |
richard |
13 |
?>
|
2182 |
tom.houday |
14 |
<!doctype html>
|
|
|
15 |
<!-- Writen by Rexy -->
|
|
|
16 |
<!-- ACC Top Window -->
|
|
|
17 |
<html>
|
|
|
18 |
<head>
|
|
|
19 |
<meta charset="utf-8">
|
|
|
20 |
<title>Top</title>
|
|
|
21 |
<script>
|
|
|
22 |
function ouvrir(page) {
|
|
|
23 |
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");
|
|
|
24 |
}
|
|
|
25 |
</script>
|
2818 |
rexy |
26 |
<link rel="stylesheet" type="text/css" href="/css/acc.css">
|
2182 |
tom.houday |
27 |
</head>
|
|
|
28 |
<body>
|
|
|
29 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
30 |
<tr>
|
|
|
31 |
<td valign="top" align="left"><a href="javascript:ouvrir('about.htm')"><img height="80" border="0" src="/images/logo-alcasar.png"></a></td>
|
|
|
32 |
<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>
|
|
|
33 |
<td valign="top" align="right"><a href="admin/logo.php" target="REXY2"><img height="80" border="0" src="/images/organisme.png"></a></td>
|
|
|
34 |
</tr>
|
|
|
35 |
</table>
|
|
|
36 |
</body>
|
|
|
37 |
</html>
|