Subversion Repositories ALCASAR

Rev

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

Rev 1838 Rev 2279
Line 22... Line 22...
22
	$selected['ChilliSpot-Bandwidth-Max-Down'] = '';
22
	$selected['ChilliSpot-Bandwidth-Max-Down'] = '';
23
	$selected['ChilliSpot-Max-Output-Octets'] = '';
23
	$selected['ChilliSpot-Max-Output-Octets'] = '';
24
	$selected['WISPr-Redirection-URL'] = '';
24
	$selected['WISPr-Redirection-URL'] = '';
25
}
25
}
26
if (isset($search_IN)) $selected[$search_IN] = 'selected';
26
if (isset($search_IN)) $selected[$search_IN] = 'selected';
27
if (isset ($radius_attr)) $selected[$radius_attr] = 'selected';
27
if (isset($radius_attr)) $selected[$radius_attr] = 'selected';
28
if (isset ($max_results)){ $max = ($max_results) ? $max_results : 40;}
28
if (isset($max_results)) $max = ($max_results) ? $max_results : 40;
-
 
29
 
-
 
30
if ((!isset($find_user)) || ($find_user === 0)) {
-
 
31
	// Search all users by default
-
 
32
	$find_user = 1;
-
 
33
	$search_IN = 'username';
-
 
34
	$search = '';
-
 
35
}
29
?>
36
?>
30
<html>
37
<html>
31
<head>
38
<head>
32
<title>Find a user</title>
39
<title>Find a user</title>
33
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>">
40
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>">
Line 57... Line 64...
57
<tr bgcolor="black" valign=top><td colspan=2>
64
<tr bgcolor="black" valign=top><td colspan=2>
58
	<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
65
	<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
59
	<tr><td>
66
	<tr><td>
60
 
67
 
61
<?php
68
<?php
62
if (isset($find_user)){
69
if (isset($find_user) && ($find_user == 1)) {
63
if ($find_user == 1){
-
 
64
	unset($found_users);
70
	unset($found_users);
65
	if (is_file("../lib/$config[general_lib_type]/find.php"))
71
	if (is_file("../lib/$config[general_lib_type]/find.php"))
66
		include("../lib/$config[general_lib_type]/find.php");
72
		include("../lib/$config[general_lib_type]/find.php");
67
	if (isset($found_users)){
73
	if (isset($found_users)){
68
		$num = 0;
74
		$num = 0;
Line 102... Line 108...
102
		$msg .= "</tr></table>\n";
108
		$msg .= "</tr></table>\n";
103
	}
109
	}
104
	else
110
	else
105
		$msg = "<b>$l_no_user_found</b><br>\n";
111
		$msg = "<b>$l_no_user_found</b><br>\n";
106
}
112
}
107
}
-
 
108
?>
113
?>
109
   <form method=post>
114
   <form method=post>
110
      <input type=hidden name=find_user value="0">
115
      <input type=hidden name=find_user value="0">
111
	<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
116
	<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
112
<tr>
117
<tr>