Line 5... |
Line 5... |
5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
6 |
<TITLE>menu</TITLE>
|
6 |
<TITLE>menu</TITLE>
|
7 |
<link rel="stylesheet" href="/css/style.css" type="text/css">
|
7 |
<link rel="stylesheet" href="/css/style.css" type="text/css">
|
8 |
</HEAD>
|
8 |
</HEAD>
|
9 |
<?
|
9 |
<?
|
- |
|
10 |
$file_version = "/var/www/html/VERSION";
|
- |
|
11 |
$handle = fopen ($file_version, "r");
|
- |
|
12 |
$full_version = fread ($handle, filesize ($file_version));
|
- |
|
13 |
fclose ($handle);
|
- |
|
14 |
$tab = explode (" ", $full_version);
|
- |
|
15 |
$installed_version = $tab[0];
|
10 |
# Choice of language
|
16 |
# Choice of language
|
11 |
$Language = 'en';
|
17 |
$Language = 'en';
|
12 |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
|
18 |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
|
13 |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
|
19 |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
|
14 |
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
|
20 |
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
|
Line 114... |
Line 120... |
114 |
</TABLE>
|
120 |
</TABLE>
|
115 |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0>
|
121 |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=0>
|
116 |
<tr bgcolor="#666666"><td>
|
122 |
<tr bgcolor="#666666"><td>
|
117 |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
|
123 |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
|
118 |
<tr><td valign="middle" align="left"><img src="/images/right.gif" height=10
|
124 |
<tr><td valign="middle" align="left"><img src="/images/right.gif" height=10
|
119 |
width=10 border=no nosave><a href="alcasar-2.2-presentation.pdf" target="_blank">Présentation</a></td></tr>
|
125 |
width=10 border=no nosave><a href="<? echo "alcasar-$installed_version-presentation.pdf"; ?>" target="_blank">Présentation</a></td></tr>
|
120 |
<tr><td valign="middle" align="left"><img src="/images/right.gif" height=10
|
126 |
<tr><td valign="middle" align="left"><img src="/images/right.gif" height=10
|
121 |
width=10 border=no nosave><a href="alcasar-2.2-installation.pdf" target="_blank">Installation</a></td></tr>
|
127 |
width=10 border=no nosave><a href="<? echo "alcasar-$installed_version-installation.pdf"; ?>" target="_blank">Installation</a></td></tr>
|
122 |
<tr><td valign="middle" align="left"><img src="/images/right.gif" height=10
|
128 |
<tr><td valign="middle" align="left"><img src="/images/right.gif" height=10
|
123 |
width=10 border=no nosave><a href="alcasar-2.2-exploitation.pdf" target="_blank">Exploitation</a></td></tr>
|
129 |
width=10 border=no nosave><a href="<? echo "alcasar-$installed_version-exploitation.pdf"; ?>" target="_blank">Exploitation</a></td></tr>
|
- |
|
130 |
<tr><td valign="middle" align="left"><img src="/images/right.gif" height=10
|
- |
|
131 |
width=10 border=no nosave><a href="<? echo "alcasar-$installed_version-technique.pdf"; ?>" target="_blank">Technique</a></td></tr>
|
124 |
</TABLE>
|
132 |
</TABLE>
|
125 |
</td></tr>
|
133 |
</td></tr>
|
126 |
</TABLE>
|
134 |
</TABLE>
|
127 |
<BR>
|
135 |
<BR>
|
128 |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
|
136 |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
|