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