Subversion Repositories ALCASAR

Rev

Rev 2093 | Rev 2182 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
318 richard 1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN//2.0">
2
<!-- Writen by Rexy -->
2134 richard 3
<!-- ACC Top Window -->
318 richard 4
<HTML>
5
<HEAD>
2134 richard 6
<TITLE>Top</TITLE>
318 richard 7
<SCRIPT LANGUAGE="JavaScript">
8
function ouvrir(page)
9
	{
10
	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");
11
	}
2134 richard 12
</SCRIPT>
958 franck 13
<?php
14
# $Id: haut.php 2134 2017-03-12 19:53:15Z richard $
15
// Access counter incrementation
589 richard 16
$name_fic="compteur.txt";
17
if (($fp=fopen($name_fic,"r")) == false) exit;
18
$nb=fgets($fp,10);
19
fclose($fp);
20
$nb+=1;
21
if (($fp=fopen($name_fic,"w")) == false) exit;
22
fputs($fp, "$nb\n");
23
fclose($fp);
2093 raphael.pi 24
 
25
 
26
//Inform admin log about his last connection
27
$admin_log="admin_log.txt";
28
$user_htdigest=$_SERVER['PHP_AUTH_USER'];
29
$date_system=date('d/m/Y H:i:s');
30
$user_ip=$_SERVER["REMOTE_ADDR"];
31
$text=$date_system."|||".$user_htdigest."|||".$user_ip."|||";
32
file_put_contents($admin_log, $text.PHP_EOL, FILE_APPEND);
33
 
589 richard 34
?>
318 richard 35
<link rel="stylesheet" href="/css/style.css" type="text/css">
36
</HEAD>
37
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
2134 richard 38
<TR>
39
	<TD valign="top" align="left"><A HREF="javascript:ouvrir('about.htm')"><IMG height="80" border="0" SRC="/images/logo-alcasar.png"></A></TD>
830 richard 40
	<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>
318 richard 41
	<TD valign="top" align="right"><A HREF="admin/logo.php" TARGET="REXY2"><IMG height="80" border="0" SRC="/images/organisme.png"></A></TD>
2134 richard 42
</TR>
318 richard 43
</TABLE>
44
</BODY>
45
</HTML>
2093 raphael.pi 46