Subversion Repositories ALCASAR

Rev

Rev 13 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 13 Rev 28
Line 1... Line 1...
1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN//2.0">
1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN//2.0">
2
<HTML>
2
<HTML>
3
<!-- written by Rexy ! -->
3
<!-- written by Rexy ! -->
4
<HEAD>
4
<HEAD>
-
 
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
<TITLE>menu</TITLE>
6
<TITLE>menu</TITLE>
6
<link rel="stylesheet" href="css/style.css" type="text/css">
7
<link rel="stylesheet" href="css/style.css" type="text/css">
7
</HEAD>
8
</HEAD>
8
<?
9
<?
9
# Choice of language
10
# Choice of language
Line 11... Line 12...
11
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
12
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
12
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
13
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
13
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
14
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
14
if($Language == 'fr'){
15
if($Language == 'fr'){
15
  $l_home = "ACCUEIL";
16
  $l_home = "ACCUEIL";
16
  $l_system = "SYSTEME";
17
  $l_system = "SYSTÈME";
17
  $l_auth = "AUTHENTIFICATION";
18
  $l_auth = "AUTHENTIFICATION";
18
  $l_filter = "FILTRAGE";
19
  $l_filter = "FILTRAGE";
19
  $l_statistics = "STATISTIQUES";
20
  $l_statistics = "STATISTIQUES";
20
  $l_backup = "SAUVEGARDES";
21
  $l_backup = "SAUVEGARDES";
21
  $l_activity = "Activit&eacute;";
22
  $l_activity = "Activité";
22
  $l_services = "Services";
23
  $l_services = "Services";
23
  $l_network = "Réseau";
24
  $l_network = "Réseau";
24
  $l_ldap = "Ldap";
25
  $l_ldap = "Ldap";
25
  $l_access_nb = "Nombre d'acc&egrave;s";
26
  $l_access_nb = "Accès au centre";
26
  $l_create_user = "Cr&eacute;er usager";
27
  $l_create_user = "Créer usager";
27
  $l_edit_user = "&Eacute;diter usager";
28
  $l_edit_user = "Éditer usager";
28
  $l_create_group = "Cr&eacute;er groupe";
29
  $l_create_group = "Créer groupe";
29
  $l_edit_group = "&Eacute;diter groupe";
30
  $l_edit_group = "Éditer groupe";
30
  $l_import_empty = "Importer / Vider";
31
  $l_import_empty = "Importer / Vider";
31
  $l_network = "R&eacute;seau";
32
  $l_network = "Réseau";
32
  $l_stat_user_day = "usager/jour";
33
  $l_stat_user_day = "usager/jour";
33
  $l_stat_con = "connexions";
34
  $l_stat_con = "connexions";
34
  $l_stat_daily ="usage journalier";
35
  $l_stat_daily ="usage journalier";
35
  $l_stat_web ="traffic WEB";
36
  $l_stat_web ="traffic WEB";
36
  $l_firewall ="parefeu";
37
  $l_firewall ="parefeu";
Line 44... Line 45...
44
  $l_backup = "BACKUPS";
45
  $l_backup = "BACKUPS";
45
  $l_activity = "Activity";
46
  $l_activity = "Activity";
46
  $l_services = "Services";
47
  $l_services = "Services";
47
  $l_network = "Network";
48
  $l_network = "Network";
48
  $l_ldap = "Ldap";
49
  $l_ldap = "Ldap";
49
  $l_access_nb = "Number of access";
50
  $l_access_nb = "Access to center";
50
  $l_create_user = "Create user";
51
  $l_create_user = "Create user";
51
  $l_edit_user = "Edit user";
52
  $l_edit_user = "Edit user";
52
  $l_create_group = "Create group";
53
  $l_create_group = "Create group";
53
  $l_edit_group = "Edit group";
54
  $l_edit_group = "Edit group";
54
  $l_import_empty = "Import / Empty";
55
  $l_import_empty = "Import / Empty";
Line 58... Line 59...
58
  $l_stat_daily ="daily use";
59
  $l_stat_daily ="daily use";
59
  $l_stat_web ="WEB traffic";
60
  $l_stat_web ="WEB traffic";
60
  $l_firewall ="firewall";
61
  $l_firewall ="firewall";
61
}
62
}
62
echo "
63
echo "
63
<TABLE width=180 border=0 cellspacing=0 cellpadding=0>
64
<TABLE width=150 border=0 cellspacing=0 cellpadding=0>
64
	<tr><th>Menu</th></tr>
65
	<tr><th>Menu</th></tr>
65
	<tr bgcolor=\"#FFCC66\"><td><img src=\"/images/pix.gif\" width=1
66
	<tr bgcolor=\"#FFCC66\"><td><img src=\"/images/pix.gif\" width=1
66
height=2></td></tr>
67
height=2></td></tr>
67
</TABLE>
68
</TABLE>
68
<TABLE width=180 border=0 cellspacing=0 cellpadding=1>
69
<TABLE width=150 border=1 cellspacing=0 cellpadding=0>
69
	<tr bgcolor=\"#666666\"><td>
70
	<tr bgcolor=\"#666666\"><td>
70
		<TABLE width=\"100%\" border=0 cellspacing=0 cellpadding=2>
71
		<TABLE width=\"100%\" border=0 cellspacing=0 cellpadding=2>
71
			<TR><TD valign=\"middle\" align=\"left\">
72
			<TR><TD valign=\"middle\" align=\"left\">
72
				<img src=\"images/right.gif\" height=10 width=10 border=no nosave><A HREF=\"phpsysinfo/\" TARGET=\"REXY2\">$l_home</A></TD></TR>";
73
				<img src=\"images/right.gif\" height=10 width=10 border=no nosave><A HREF=\"phpsysinfo/\" TARGET=\"REXY2\">$l_home</A></TD></TR>";
73
$a=$_GET["a"]; $b=$_GET["b"];
74
$a=$_GET['a']; $b=$_GET['b'];
74
$selection[0]=$l_system;
75
$selection[0]=$l_system;
75
$selection[1]=$l_auth;
76
$selection[1]=$l_auth;
76
$selection[2]=$l_filter;
77
$selection[2]=$l_filter;
77
$selection[3]=$l_statistics;
78
$selection[3]=$l_statistics;
78
$fichier[0]="system.php";
79
$fichier[0]="system.php";
Line 100... Line 101...
100
?>
101
?>
101
		</TABLE>
102
		</TABLE>
102
	</td></tr>
103
	</td></tr>
103
</TABLE>
104
</TABLE>
104
<br>
105
<br>
105
<TABLE width="180" border="0" cellspacing="0" cellpadding="0">
106
<TABLE width="150" border="0" cellspacing="0" cellpadding="0">
106
	<tr><th>Doc</th></tr>
107
	<tr><th>Doc</th></tr>
107
	<tr bgcolor="#FFCC66"><td><img src="images/pix.gif" width="1"
108
	<tr bgcolor="#FFCC66"><td><img src="images/pix.gif" width="1"
108
height="2"></td></tr>
109
height="2"></td></tr>
109
</TABLE>
110
</TABLE>
110
<TABLE width="180" border=0 cellspacing=0 cellpadding=1>
111
<TABLE width="150" border=1 cellspacing=0 cellpadding=0>
111
	<tr bgcolor="#666666"><td>
112
	<tr bgcolor="#666666"><td>
112
		<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
113
		<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
113
			<tr><td valign="middle" align="left"><img src="images/right.gif" height=10
114
			<tr><td valign="middle" align="left"><img src="images/right.gif" height=10
114
width=10 border=no nosave><a href="alcasar-1.8-presentation.pdf" target="_blank">Pr&eacute;sentation</a></td></tr>
115
width=10 border=no nosave><a href="alcasar-1.8-presentation.pdf" target="_blank">Présentation</a></td></tr>
115
			<tr><td valign="middle" align="left"><img src="images/right.gif" height=10
116
			<tr><td valign="middle" align="left"><img src="images/right.gif" height=10
116
width=10 border=no nosave><a href="alcasar-1.8-installation.pdf" target="_blank">Installation</a></td></tr>
117
width=10 border=no nosave><a href="alcasar-1.8-installation.pdf" target="_blank">Installation</a></td></tr>
117
			<tr><td valign="middle" align="left"><img src="images/right.gif" height=10
118
			<tr><td valign="middle" align="left"><img src="images/right.gif" height=10
118
width=10 border=no nosave><a href="alcasar-1.8-exploitation.pdf" target="_blank">Exploitation</a></td></tr>
119
width=10 border=no nosave><a href="alcasar-1.8-exploitation.pdf" target="_blank">Exploitation</a></td></tr>
119
		</TABLE>
120
		</TABLE>
120
	</td></tr>
121
	</td></tr>
121
</TABLE>
122
</TABLE>
122
<BR>
123
<BR>
123
<TABLE width="100%" border="0" cellspacing="0" cellpadding="1">
-
 
124
<TR><TD>
-
 
125
	<TABLE width="180" border="0" cellspacing="0" cellpadding="0">
124
<TABLE width="150" border="0" cellspacing="0" cellpadding="0">
126
<?
-
 
127
echo "		<tr><th>$l_access_nb</th></tr>";
125
	<tr><th><? echo "$l_access_nb"; ?></th></tr>
128
?>
-
 
129
		<tr bgcolor="#FFCC66"><td><img src="images/pix.gif" width="1"
126
	<tr bgcolor="#FFCC66"><td><img src="images/pix.gif" width="1" height="2"></td></tr>
130
height="2"></td></tr>
-
 
131
	</TABLE>
127
</TABLE>
132
	<TABLE width="180" border=0 cellspacing=0 cellpadding=1>
128
<TABLE width="150" border=1 cellspacing=0 cellpadding=0>
133
		<tr bgcolor="#666666"><td>
129
	<tr bgcolor="#666666"><td>
134
		<TABLE width="100%" border=0 cellspacing=0 cellpadding=0>
130
	<TABLE width="100%" border=0 cellspacing=0 cellpadding=0>
135
			<tr><td valign="middle" align="center">
131
		<tr><td valign="middle" align="center">
136
			<?					// Compteur d'accès
132
		<?				// Compteur d'accès
137
			$name_fic="compteur.txt";
133
		$name_fic="compteur.txt";
138
								// Recuperation du nombre de visite
134
						// Recuperation du nombre de visite
139
			if (($fp=fopen($name_fic,"r")) == false) exit;
135
		if (($fp=fopen($name_fic,"r")) == false) exit;
140
			$nb=fgets($fp,10);
136
		$nb=fgets($fp,10);
141
			fclose($fp);
137
		fclose($fp);
142
								// Affichage
-
 
143
			$nb+=1;
138
		$nb+=1;
144
			printf("%d", $nb);
139
		printf("%d", $nb);
145
								// Ecriture du nombre de visite
140
						// Ecriture du nombre de visite
146
			if (($fp=fopen($name_fic,"w")) == false) exit;
141
		if (($fp=fopen($name_fic,"w")) == false) exit;
147
			fputs($fp, "$nb\n");
142
		fputs($fp, "$nb\n");
148
			fclose($fp);
143
		fclose($fp);
149
			?>
144
		?>
150
			 acc&egrave;s
-
 
151
			<br>depuis le 23/12/2009<br></center></td></tr>
145
		<br>depuis le 23/12/2009<br></center></td></tr>
152
		</TABLE>
-
 
153
		</td></tr>
-
 
154
	</TABLE>
146
	</TABLE>
155
</TD>
147
</TD>
156
</TR>
148
</TR>
157
</TABLE>
149
</TABLE>
158
</BODY>
150
</BODY>