Subversion Repositories ALCASAR

Rev

Rev 1667 | Rev 1831 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 1667 Rev 1805
Line 1... Line 1...
1
<?php
1
<?php
2
//gestion de la langue
2
//gestion de la langue
3
if (is_file("../lib/langues.php"))
3
if (is_file("../lib/langues.php"))
4
	include("../lib/langues.php");
4
	include("../lib/langues.php");
5
require('/etc/freeradius-web/config.php');
5
require('/etc/freeradius-web/config.php');
-
 
6
if(!isset($selected))
-
 
7
{
-
 
8
	$selected['username'] = '';
-
 
9
	$selected['name'] = '';
-
 
10
	$selected['department'] = '';
-
 
11
	$selected['radius'] = '';
-
 
12
	$selected['Expiration'] = '';
-
 
13
	$selected['Max-All-Session'] = '';
-
 
14
	$selected['Session-Timeout'] = '';
-
 
15
	$selected['Max-Daily-Session'] = '';
-
 
16
	$selected['Max-Monthly-Session'] = '';
-
 
17
	$selected['Simultaneous-Use'] = '';
-
 
18
	$selected['Login-Time'] = '';
-
 
19
	$selected['ChilliSpot-Max-Input-Octets'] = '';
-
 
20
	$selected['ChilliSpot-Max-Total-Octets'] = '';
-
 
21
	$selected['ChilliSpot-Bandwidth-Max-Up'] = '';
-
 
22
	$selected['ChilliSpot-Bandwidth-Max-Down'] = '';
-
 
23
	$selected['ChilliSpot-Max-Output-Octets'] = '';
-
 
24
	$selected['WISPr-Redirection-URL'] = '';
-
 
25
}
6
if (isset($search_IN)) $selected[$search_IN] = 'selected';
26
if (isset($search_IN)) $selected[$search_IN] = 'selected';
7
if (isset ($radius_attr)) $selected[$radius_attr] = 'selected';
27
if (isset ($radius_attr)) $selected[$radius_attr] = 'selected';
8
if (isset ($max_results)){ $max = ($max_results) ? $max_results : 40;}
28
if (isset ($max_results)){ $max = ($max_results) ? $max_results : 40;}
9
?>
29
?>
10
<html>
30
<html>
Line 44... Line 64...
44
	unset($found_users);
64
	unset($found_users);
45
	if (is_file("../lib/$config[general_lib_type]/find.php"))
65
	if (is_file("../lib/$config[general_lib_type]/find.php"))
46
		include("../lib/$config[general_lib_type]/find.php");
66
		include("../lib/$config[general_lib_type]/find.php");
47
	if (isset($found_users)){
67
	if (isset($found_users)){
48
		$num = 0;
68
		$num = 0;
-
 
69
		$msg ='';
49
		$msg .= <<<EOM
70
		$msg .= <<<EOM
50
 
71
 
51
        <table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
72
        <table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
52
        <tr bgcolor="#d0ddb0">
73
        <tr bgcolor="#d0ddb0">
53
        <th>#</th><th>$l_user</th><th>Actions</th><th>$l_group_member</th>
74
        <th>#</th><th>$l_user</th><th>Actions</th><th>$l_group_member</th>