Subversion Repositories ALCASAR

Rev

Rev 2815 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2815 Rev 2817
1
<?php
1
<?php
2
$Language = 'en';
2
$Language = 'en';
3
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
3
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
4
	$Langue	  = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
4
	$Langue	  = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']);
5
	$Language = strtolower(substr(chop($Langue[0]), 0, 2));
5
	$Language = strtolower(substr(chop($Langue[0]), 0, 2));
6
	}
6
	}
7
if ($Language === 'fr') {
7
if ($Language === 'fr') {
8
	$l_title = "Trafic global"; }
8
	$l_title = "Trafic global"; }
9
else {
9
else {
10
	$l_title = "Global trafic"; }
10
	$l_title = "Global trafic"; }
11
?>
11
?>
12
<!DOCTYPE html>
12
<!DOCTYPE html>
13
<html>
13
<html>
14
		<head>
14
		<head>
15
			<link rel="stylesheet" href="/css/style.css">
15
			<link rel="stylesheet" href="/css/acc.css">
16
		</head>
16
		</head>
17
	<body>	
17
	<body>	
18
		<div class="panel">
18
		<div class="panel">
19
			<div class="panel-header"><?= $l_title ?></div>
19
			<div class="panel-header"><?= $l_title ?></div>
20
				<iframe class="panel-iframe" src="vnstat/index.php">
20
				<iframe class="panel-iframe" src="vnstat/index.php">
21
				</iframe>
21
				</iframe>
22
		</div>
22
		</div>
23
	</body>
23
	</body>
24
</html>
24
</html>
25
 
25