Subversion Repositories ALCASAR

Rev

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

Rev 2264 Rev 2817
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: user_stats.php 2264 2017-06-01 20:58:46Z richard $
2
# $Id: user_stats.php 2817 2020-05-09 09:35:56Z rexy $
3
 
3
 
4
require('/etc/freeradius-web/config.php');
4
require('/etc/freeradius-web/config.php');
5
require('../lib/functions.php');
5
require('../lib/functions.php');
6
require('../lib/sql/nas_list.php');
6
require('../lib/sql/nas_list.php');
7
require_once('../lib/xlat.php');
7
require_once('../lib/xlat.php');
Line 13... Line 13...
13
	include_once("../lib/sql/drivers/$config[sql_type]/functions.php");
13
	include_once("../lib/sql/drivers/$config[sql_type]/functions.php");
14
else{
14
else{
15
	echo <<<EOM
15
	echo <<<EOM
16
<title>Statistiques utilisateurs</title>
16
<title>Statistiques utilisateurs</title>
17
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
17
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
18
<link rel="stylesheet" href="style.css">
18
<link rel="stylesheet" href="/css/acc.css">
19
</head>
19
</head>
20
<body>
20
<body>
21
<center>
21
<center>
22
<b>Could not include SQL library functions. Aborting</b>
22
<b>Could not include SQL library functions. Aborting</b>
23
</body>
23
</body>
Line 80... Line 80...
80
$start = da_sql_escape_string($link,$start);
80
$start = da_sql_escape_string($link,$start);
81
$stop = da_sql_escape_string($link,$stop);
81
$stop = da_sql_escape_string($link,$stop);
82
?>
82
?>
83
<head>
83
<head>
84
<title><?php echo "$l_title";?></title>
84
<title><?php echo "$l_title";?></title>
85
<link rel="stylesheet" href="/css/style.css" type="text/css">
85
<link rel="stylesheet" href="/css/acc.css" type="text/css">
86
</head>
86
</head>
87
<body>
87
<body>
88
<center>
88
<center>
89
<table width="100%" border="0" cellspacing="0" cellpadding="0">
89
<table width="100%" border="0" cellspacing="0" cellpadding="0">
90
	<tr><th>
90
	<tr><th>