Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2856 → Rev 2854

/web/acc/manager/htdocs/user_stats.php
8,8 → 8,23
?>
<!DOCTYPE html>
<html>
<head>
<?php
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php"))
include_once("../lib/sql/drivers/$config[sql_type]/functions.php");
else{
echo <<<EOM
<title>Statistiques utilisateurs</title>
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
<link rel="stylesheet" href="/css/acc.css">
</head>
<body>
<center>
<b>Could not include SQL library functions. Aborting</b>
</body>
</html>
EOM;
exit();
}
# Choice of language
$Language = 'en';
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
76,21 → 91,6
$l_login = "Login";
$l_user_edit = "Edit user";
}
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php"))
include_once("../lib/sql/drivers/$config[sql_type]/functions.php");
else{
echo <<<EOM
<title>$l_title</title>
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
<link rel="stylesheet" href="/css/acc.css">
</head>
<body>
<center><b>Could not include SQL library functions. Aborting</b></center>
</body>
</html>
EOM;
exit();
}
if (!isset($start) && !isset($stop)){
$now = time();
$stop = date($config['sql_date_format'],$now);
100,7 → 100,8
$start = da_sql_escape_string($link,$start);
$stop = da_sql_escape_string($link,$stop);
?>
<title><?= $l_title ?></title>
<head>
<title><?php echo "$l_title";?></title>
<link rel="stylesheet" href="/css/acc.css" type="text/css">
</head>
<body>