Subversion Repositories ALCASAR

Rev

Rev 907 | Rev 1377 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 907 Rev 911
1
<?php
1
<?php
2
 
2
 
3
//Gestion de la langue
3
//Gestion de la langue
4
$origine='group_new';
-
 
5
if (is_file("../lib/langues.php"))
4
if (is_file("../lib/langues.php"))
6
	include("../lib/langues.php");
5
	include("../lib/langues.php");
7
	
6
	
8
require('/etc/freeradius-web/config.php');
7
require('/etc/freeradius-web/config.php');
9
if ($show == 1){
8
if ($show == 1){
10
	header("Location: group_admin.php?login=$login");
9
	header("Location: group_admin.php?login=$login");
11
	exit;
10
	exit;
12
}
11
}
13
 
12
 
14
if ($config[general_lib_type] != 'sql'){
13
if ($config[general_lib_type] != 'sql'){
15
	echo <<<EOM
14
	echo <<<EOM
16
<title>$l_title</title>
15
<title>$l_title</title>
17
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
16
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]">
18
<link rel="stylesheet" href="style.css">
17
<link rel="stylesheet" href="style.css">
19
</head>
18
</head>
20
<body>
19
<body>
21
<center>
20
<center>
22
<b>This page is only available if you are using sql as general library type</b>
21
<b>This page is only available if you are using sql as general library type</b>
23
</body>
22
</body>
24
</html>
23
</html>
25
EOM;
24
EOM;
26
        exit();
25
        exit();
27
}
26
}
28
 
27
 
29
require('../lib/attrshow.php');
28
require('../lib/attrshow.php');
30
require('../lib/defaults.php');
29
require('../lib/defaults.php');
31
require("../lib/$config[general_lib_type]/group_info.php");
30
require("../lib/$config[general_lib_type]/group_info.php");
32
 
31
 
33
if ($config[general_lib_type] == 'sql' && $config[sql_use_operators] == 'true'){
32
if ($config[general_lib_type] == 'sql' && $config[sql_use_operators] == 'true'){
34
	$colspan=2;
33
	$colspan=2;
35
	$show_ops=1;
34
	$show_ops=1;
36
}else{
35
}else{
37
	$show_ops = 0;
36
	$show_ops = 0;
38
	$colspan=1;
37
	$colspan=1;
39
}
38
}
40
echo "<html><head><title>$l_title</title>";
-
 
41
 
-
 
42
?>
39
?>
43
 
40
 
-
 
41
<html><head><title>New group</title>
44
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>">
42
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>">
45
<link rel="stylesheet" href="/css/style.css">
43
<link rel="stylesheet" href="/css/style.css">
46
<link rel="stylesheet" type="text/css" href="/css/epoch_styles.css" />
44
<link rel="stylesheet" type="text/css" href="/css/epoch_styles.css" />
47
<script type="text/javascript" src="/js/epoch_classes.js"></script>
45
<script type="text/javascript" src="/js/epoch_classes.js"></script>
48
<script type="text/javascript" src="/js/fonctions.js"></script>
46
<script type="text/javascript" src="/js/fonctions.js"></script>
49
<script language="javascript" type="text/javascript">
47
<script language="javascript" type="text/javascript">
50
/*Insertion du calendrier*/
48
/*Insertion du calendrier*/
51
	var dp_cal;      
49
	var dp_cal;      
52
window.onload = function () {
50
window.onload = function () {
53
	dp_cal  = new Epoch('epoch_popup','popup',document.getElementById('popup_container'));
51
	dp_cal  = new Epoch('epoch_popup','popup',document.getElementById('popup_container'));
54
};
52
};
55
/*Fin calendrier*/
53
/*Fin calendrier*/
56
</script>
54
</script>
57
</head>
55
</head>
58
<body>
56
<body>
59
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
57
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
60
	<tr><th><? echo "$l_frame_top"; ?></th></tr>
58
	<tr><th><? echo "$l_groups_managment"; ?></th></tr>
61
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" 
59
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" 
62
height="2"></td></tr>
60
height="2"></td></tr>
63
</TABLE>
61
</TABLE>
64
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1>
62
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1>
65
	<tr bgcolor="#666666"><td>
63
	<tr bgcolor="#666666"><td>
66
	<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
64
	<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
67
		<tr><td valign="middle" align="left">
65
		<tr><td valign="middle" align="left">
68
<center>
66
<center>
69
<table border=0 width=550 cellpadding=1 cellspacing=1>
67
<table border=0 width=550 cellpadding=1 cellspacing=1>
70
<tr valign=top>
68
<tr valign=top>
71
<td width=340></td>
69
<td width=340></td>
72
<td bgcolor="black" width=200>
70
<td bgcolor="black" width=200>
73
	<table border=0 width=100% cellpadding=2 cellspacing=0>
71
	<table border=0 width=100% cellpadding=2 cellspacing=0>
74
	<tr bgcolor="#907030" align=right valign=top><th>
72
	<tr bgcolor="#907030" align=right valign=top><th>
75
	<font color="white"><? echo "$l_group_create"; ?></font>
73
	<font color="white"><? echo "$l_group_create"; ?></font>
76
	</th></tr>
74
	</th></tr>
77
	</table>
75
	</table>
78
</td></tr>
76
</td></tr>
79
<tr bgcolor="black" valign=top><td colspan=2>
77
<tr bgcolor="black" valign=top><td colspan=2>
80
	<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
78
	<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
81
	<tr><td>
79
	<tr><td>
82
   
80
   
83
<?php
81
<?php
84
if (is_file("../lib/$config[general_lib_type]/group_info.php"))
82
if (is_file("../lib/$config[general_lib_type]/group_info.php"))
85
	include("../lib/$config[general_lib_type]/group_info.php");
83
	include("../lib/$config[general_lib_type]/group_info.php");
86
if ($create == 1){
84
if ($create == 1){
87
	if ($group_exists != "no"){
85
	if ($group_exists != "no"){
88
		echo <<<EOM
86
		echo <<<EOM
89
<b><i>$login</i> $l_already_exist</b>
87
<b><i>$login</i> $l_already_exist</b>
90
EOM;
88
EOM;
91
	}
89
	}
92
	else{
90
	else{
93
		if (is_file("../lib/$config[general_lib_type]/create_group.php"))
91
		if (is_file("../lib/$config[general_lib_type]/create_group.php"))
94
			include("../lib/$config[general_lib_type]/create_group.php");
92
			include("../lib/$config[general_lib_type]/create_group.php");
95
		if (is_file("../lib/$config[general_lib_type]/group_info.php"))
93
		if (is_file("../lib/$config[general_lib_type]/group_info.php"))
96
			include("../lib/$config[general_lib_type]/group_info.php");
94
			include("../lib/$config[general_lib_type]/group_info.php");
97
	}
95
	}
98
}
96
}
99
?>
97
?>
100
   <form name="newgroup" method=post>
98
   <form name="newgroup" method=post>
101
      <input type=hidden name=create value="0">
99
      <input type=hidden name=create value="0">
102
      <input type=hidden name=show value="0">
100
      <input type=hidden name=show value="0">
103
	<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
101
	<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
104
<?php
102
<?php
105
	echo <<<EOM
103
	echo <<<EOM
106
	<tr>
104
	<tr>
107
		<td class="etiquette" colspan=$colspan>
105
		<td class="etiquette" colspan=$colspan>
108
		$l_created_groups
106
		$l_created_groups
109
		</td><td>
107
		</td><td>
110
EOM;
108
EOM;
111
		if (!isset($existing_groups))
109
		if (!isset($existing_groups))
112
			echo "<b>$l_group_empty</b>\n";
110
			echo "<b>$l_group_empty</b>\n";
113
		else{
111
		else{
114
			echo "<select name=\"existing_groups\">\n";	
112
			echo "<select name=\"existing_groups\">\n";	
115
			foreach ($existing_groups as $group => $count)
113
			foreach ($existing_groups as $group => $count)
116
				echo "<option value=\"$group\">$group\n";
114
				echo "<option value=\"$group\">$group\n";
117
			echo "</select>\n";
115
			echo "</select>\n";
118
		}
116
		}
119
	echo <<<EOM
117
	echo <<<EOM
120
		</td>
118
		</td>
121
	</tr>
119
	</tr>
122
	<tr>
120
	<tr>
123
		<td class="etiquette" colspan=$colspan>
121
		<td class="etiquette" colspan=$colspan>
124
		$l_group_name
122
		$l_group_name
125
		</td><td>
123
		</td><td>
126
		<input type=text name="login" value="$login" size=35>
124
		<input type=text name="login" value="$login" size=35>
127
		</td>
125
		</td>
128
	</tr>
126
	</tr>
129
	<tr>
127
	<tr>
130
		<td class="etiquette" colspan=$colspan>
128
		<td class="etiquette" colspan=$colspan>
131
		$l_group_members
129
		$l_group_members
132
		</td><td>
130
		</td><td>
133
		<textarea name=members cols="15" wrap="PHYSICAL" rows=5></textarea>
131
		<textarea name=members cols="15" wrap="PHYSICAL" rows=5></textarea>
134
		</td>
132
		</td>
135
	</tr>
133
	</tr>
136
		
134
		
137
EOM;
135
EOM;
138
	foreach($show_attrs as $key => $desc){
136
	foreach($show_attrs as $key => $desc){
139
		$name = $attrmap["$key"];
137
		$name = $attrmap["$key"];
140
		if ($name == 'none')
138
		if ($name == 'none')
141
			continue;
139
			continue;
142
		$oper_name = $name . '_op';
140
		$oper_name = $name . '_op';
143
		$val = ($item_vals["$key"][0] != "") ? $item_vals["$key"][0] : $default_vals["$key"][0];
141
		$val = ($item_vals["$key"][0] != "") ? $item_vals["$key"][0] : $default_vals["$key"][0];
144
		switch ($key)
142
		switch ($key)
145
		{
143
		{
146
		// $advanced = 1 : champs de saisie amélioré (calendrier, convertisseur, etc.) 
144
		// $advanced = 1 : champs de saisie amélioré (calendrier, convertisseur, etc.) 
147
			case 'Simultaneous-Use' : 
145
			case 'Simultaneous-Use' : 
148
				$advanced=1;
146
				$advanced=1;
149
				$help_link="help/simultaneous_use_help.html";
147
				$help_link="help/simultaneous_use_help.html";
150
				$desc=$l_simultaneous_use;
148
				$desc=$l_simultaneous_use;
151
				break;
149
				break;
152
			case 'Max-All-Session' :
150
			case 'Max-All-Session' :
153
				$advanced=1;
151
				$advanced=1;
154
				$help_link="help/max_all_session_help.html";
152
				$help_link="help/max_all_session_help.html";
155
				$desc=$l_max_all_session;
153
				$desc=$l_max_all_session;
156
				break;
154
				break;
157
			case 'Session-Timeout' : 
155
			case 'Session-Timeout' : 
158
				$advanced=1;
156
				$advanced=1;
159
				$help_link="help/session_timeout_help.html";
157
				$help_link="help/session_timeout_help.html";
160
				$desc=$l_session_timeout;
158
				$desc=$l_session_timeout;
161
				break;
159
				break;
162
			case 'Max-Daily-Session' :
160
			case 'Max-Daily-Session' :
163
				$advanced=1;
161
				$advanced=1;
164
				$help_link="help/session_timeout_help.html";
162
				$help_link="help/session_timeout_help.html";
165
				$desc=$l_daily_timeout;
163
				$desc=$l_daily_timeout;
166
				break;
164
				break;
167
			case 'Max-Monthly-Session' :
165
			case 'Max-Monthly-Session' :
168
				$advanced=1;
166
				$advanced=1;
169
				$help_link="help/session_timeout_help.html";
167
				$help_link="help/session_timeout_help.html";
170
				$desc=$l_monthly_timeout;
168
				$desc=$l_monthly_timeout;
171
				break;
169
				break;
172
			case 'Login-Time' : 
170
			case 'Login-Time' : 
173
				$advanced=1;
171
				$advanced=1;
174
				$help_link="help/login_time_help.html";
172
				$help_link="help/login_time_help.html";
175
				$desc=$l_login_time;
173
				$desc=$l_login_time;
176
				break;
174
				break;
177
			case 'Expiration' :
175
			case 'Expiration' :
178
				$advanced=1;
176
				$advanced=1;
179
				$help_link="help/expiration_help.html";
177
				$help_link="help/expiration_help.html";
180
				$desc=$l_expiration;
178
				$desc=$l_expiration;
181
				break;
179
				break;
182
			case 'ChilliSpot-Max-Input-Octets' :
180
			case 'ChilliSpot-Max-Input-Octets' :
183
				$advanced=1;
181
				$advanced=1;
184
				$help_link="help/chillispot_max_input_octets_help.html";
182
				$help_link="help/chillispot_max_input_octets_help.html";
185
				$desc=$l_max_input_octets;
183
				$desc=$l_max_input_octets;
186
				break;
184
				break;
187
			case 'ChilliSpot-Max-Output-Octets' :
185
			case 'ChilliSpot-Max-Output-Octets' :
188
				$advanced=1;
186
				$advanced=1;
189
				$help_link="help/chillispot_max_output_octets_help.html";
187
				$help_link="help/chillispot_max_output_octets_help.html";
190
				$desc=$l_max_output_octets;
188
				$desc=$l_max_output_octets;
191
				break;
189
				break;
192
			case 'ChilliSpot-Max-Total-Octets' :
190
			case 'ChilliSpot-Max-Total-Octets' :
193
				$advanced=1;
191
				$advanced=1;
194
				$help_link="help/chillispot_max_total_octets_help.html";
192
				$help_link="help/chillispot_max_total_octets_help.html";
195
				$desc=$l_max_total_octets;
193
				$desc=$l_max_total_octets;
196
				break;
194
				break;
197
			case 'ChilliSpot-Bandwidth-Max-Up' :
195
			case 'ChilliSpot-Bandwidth-Max-Up' :
198
				$advanced=1;
196
				$advanced=1;
199
				$help_link="help/chillispot_bandwidth_max_up_help.html";
197
				$help_link="help/chillispot_bandwidth_max_up_help.html";
200
				$desc=$l_max_bandwidth_up;
198
				$desc=$l_max_bandwidth_up;
201
				break;
199
				break;
202
			case 'ChilliSpot-Bandwidth-Max-Down' :
200
			case 'ChilliSpot-Bandwidth-Max-Down' :
203
				$advanced=1;
201
				$advanced=1;
204
				$help_link="help/chillispot_bandwidth_max_down_help.html";
202
				$help_link="help/chillispot_bandwidth_max_down_help.html";
205
				$desc=$l_max_bandwidth_down;
203
				$desc=$l_max_bandwidth_down;
206
				break;
204
				break;
207
			case 'WISPr-Redirection-URL' :
205
			case 'WISPr-Redirection-URL' :
208
				$advanced=1;
206
				$advanced=1;
209
				$help_link="help/wispr_redirection_url_help.html";
207
				$help_link="help/wispr_redirection_url_help.html";
210
				$desc=$l_wispr_redirection;
208
				$desc=$l_wispr_redirection;
211
				break;
209
				break;
212
			default:
210
			default:
213
				$advanced=1;
211
				$advanced=1;
214
				break;
212
				break;
215
		}
213
		}
216
//		if ($advanced){
214
//		if ($advanced){
217
//			print <<<EOM
215
//			print <<<EOM
218
//			<tr>
216
//			<tr>
219
//				<td class="etiquette">
217
//				<td class="etiquette">
220
//				$desc
218
//				$desc
221
//				</td>
219
//				</td>
222
//EOM;
220
//EOM;
223
//		}
221
//		}
224
		if ($show_ops && $advanced){
222
		if ($show_ops && $advanced){
225
		print <<<EOM
223
		print <<<EOM
226
			<tr>
224
			<tr>
227
			<td class="etiquette">
225
			<td class="etiquette">
228
			<a href="$help_link" target=help onclick=window.open("$help_link","help","width=600,height=250,toolbar=no,scrollbars=no,resizable=yes") title="$l_click_for_help"><font color="blue">$desc</font></a>
226
			<a href="$help_link" target=help onclick=window.open("$help_link","help","width=600,height=250,toolbar=no,scrollbars=no,resizable=yes") title="$l_click_for_help"><font color="blue">$desc</font></a>
229
			</td>
227
			</td>
230
EOM;
228
EOM;
231
			switch ($key){
229
			switch ($key){
232
				case 'Simultaneous-Use' : 
230
				case 'Simultaneous-Use' : 
233
				case 'Max-All-Session' :
231
				case 'Max-All-Session' :
234
				case 'Max-Daily-Session' :
232
				case 'Max-Daily-Session' :
235
				case 'Max-Weekly-Session' :
233
				case 'Max-Weekly-Session' :
236
				case 'Max-Monthly-Session' :
234
				case 'Max-Monthly-Session' :
237
				case 'Login-Time' : 
235
				case 'Login-Time' : 
238
				case 'Expiration' :
236
				case 'Expiration' :
239
					echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=";
237
					echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=";
240
					break;
238
					break;
241
				case 'Session-Timeout' :
239
				case 'Session-Timeout' :
242
				case 'ChilliSpot-Max-Input-Octets' :
240
				case 'ChilliSpot-Max-Input-Octets' :
243
				case 'ChilliSpot-Max-Output-Octets' :
241
				case 'ChilliSpot-Max-Output-Octets' :
244
				case 'ChilliSpot-Max-Total-Octets' :
242
				case 'ChilliSpot-Max-Total-Octets' :
245
				case 'ChilliSpot-Bandwidth-Max-Up' :
243
				case 'ChilliSpot-Bandwidth-Max-Up' :
246
				case 'ChilliSpot-Bandwidth-Max-Down' :
244
				case 'ChilliSpot-Bandwidth-Max-Down' :
247
				case 'WISPr-Redirection-URL' :
245
				case 'WISPr-Redirection-URL' :
248
					echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=";
246
					echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=";
249
					break;
247
					break;
250
				default :
248
				default :
251
					print <<<EOM
249
					print <<<EOM
252
					<td>
250
					<td>
253
						<select name=$oper_name>
251
						<select name=$oper_name>
254
							<option $selected[$op_eq] value="=">=
252
							<option $selected[$op_eq] value="=">=
255
							<option $selected[$op_set] value=":=">:=
253
							<option $selected[$op_set] value=":=">:=
256
							<option $selected[$op_add] value="+=">+=
254
							<option $selected[$op_add] value="+=">+=
257
							<option $selected[$op_eq2] value="==">==
255
							<option $selected[$op_eq2] value="==">==
258
							<option $selected[$op_ne] value="!=">!=
256
							<option $selected[$op_ne] value="!=">!=
259
							<option $selected[$op_gt] value=">">&gt;
257
							<option $selected[$op_gt] value=">">&gt;
260
							<option $selected[$op_ge] value=">=">&gt;=
258
							<option $selected[$op_ge] value=">=">&gt;=
261
							<option $selected[$op_lt] value="<">&lt;
259
							<option $selected[$op_lt] value="<">&lt;
262
							<option $selected[$op_le] value="<=">&lt;=
260
							<option $selected[$op_le] value="<=">&lt;=
263
							<option $selected[$op_regeq] value="=~">=~
261
							<option $selected[$op_regeq] value="=~">=~
264
							<option $selected[$op_regne] value="!~">!~
262
							<option $selected[$op_regne] value="!~">!~
265
							<option $selected[$op_exst] value="=*">=*
263
							<option $selected[$op_exst] value="=*">=*
266
							<option $selected[$op_nexst] value="!*">!*
264
							<option $selected[$op_nexst] value="!*">!*
267
						</select>
265
						</select>
268
					</td>
266
					</td>
269
EOM;
267
EOM;
270
					break;
268
					break;
271
			}
269
			}
272
		}
270
		}
273
/* 
271
/* 
274
Ajout du choix d'unité (pour les durées limites de session, journée et de mois) 
272
Ajout du choix d'unité (pour les durées limites de session, journée et de mois) 
275
et d'un calendrier pour la date d'expiration
273
et d'un calendrier pour la date d'expiration
276
Sauf dans le cas de la visualisation
274
Sauf dans le cas de la visualisation
277
*/
275
*/
278
	if ($advanced){echo "<td>";}
276
	if ($advanced){echo "<td>";}
279
	if ($create==0 ){
277
	if ($create==0 ){
280
		switch ($name){
278
		switch ($name){
281
			/*
279
			/*
282
			Choix de l'unité heures, minutes ou secondes 
280
			Choix de l'unité heures, minutes ou secondes 
283
			pour les durées limites de session,journée et de mois	
281
			pour les durées limites de session,journée et de mois	
284
			*/	
282
			*/	
285
			case 'Session-Timeout' :
283
			case 'Session-Timeout' :
286
			case 'Max-Daily-Session' :
284
			case 'Max-Daily-Session' :
287
			case 'Max-Monthly-Session' :
285
			case 'Max-Monthly-Session' :
288
			case 'Max-All-Session' :
286
			case 'Max-All-Session' :
289
				/*valeur d'origine de durée limite */
287
				/*valeur d'origine de durée limite */
290
				echo"<input id =\"$name\" type=text name=\"$name\" onfocus=\"this.value=''\" value=\"$val\" size=28>";
288
				echo"<input id =\"$name\" type=text name=\"$name\" onfocus=\"this.value=''\" value=\"$val\" size=28>";
291
				/* Choix d'unité*/
289
				/* Choix d'unité*/
292
				echo" <select name=\"$name"."_opt"."\" onchange=\"temps(this,'$name','newgroup')\">
290
				echo" <select name=\"$name"."_opt"."\" onchange=\"temps(this,'$name','newgroup')\">
293
						<option value=\"s\" selected>s</option>
291
						<option value=\"s\" selected>s</option>
294
						<option value=\"m\" >m</option>
292
						<option value=\"m\" >m</option>
295
						<option value=\"H\" >H</option>
293
						<option value=\"H\" >H</option>
296
					</select>";
294
					</select>";
297
				break;
295
				break;
298
			case 'Expiration' :
296
			case 'Expiration' :
299
				/*Ajout du calendrier pour choisir la date*/
297
				/*Ajout du calendrier pour choisir la date*/
300
				echo"<input id=\"popup_container\" type=text name=\"$name\" value=\"$val\" size=35>";
298
				echo"<input id=\"popup_container\" type=text name=\"$name\" value=\"$val\" size=35>";
301
				break;
299
				break;
302
			default :
300
			default :
303
				if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=35>";
301
				if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=35>";
304
				break;
302
				break;
305
			}
303
			}
306
	}else{
304
	}else{
307
		/*Pas de gestion de remplissage lors de la visualisation*/
305
		/*Pas de gestion de remplissage lors de la visualisation*/
308
		if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=35>";
306
		if ($advanced) echo"<input type=text name=\"$name\" value=\"$val\" size=35>";
309
	}
307
	}
310
/*fin Ajout*/
308
/*fin Ajout*/
311
}
309
}
312
echo "</table><BR>";
310
echo "</table><BR>";
313
if ($create == 1)
311
if ($create == 1)
314
	echo "<input type=submit class=button value=\"$l_show_profile\" OnClick=\"this.form.show.value=1\">";
312
	echo "<input type=submit class=button value=\"$l_show_profile\" OnClick=\"this.form.show.value=1\">";
315
	else
313
	else
316
	echo "<input type=submit class=button value=\"$l_create\" OnClick=\"return formControl('newgroup');\">";
314
	echo "<input type=submit class=button value=\"$l_create\" OnClick=\"return formControl('newgroup');\">";
317
?>
315
?>
318
<br><br>
316
<br><br>
319
</form>
317
</form>
320
	</td></tr>
318
	</td></tr>
321
</table>
319
</table>
322
</tr>
320
</tr>
323
</table>
321
</table>
324
</TD></TR>
322
</TD></TR>
325
</TABLE>
323
</TABLE>
326
</td></tr>
324
</td></tr>
327
</TABLE>
325
</TABLE>
328
</body>
326
</body>
329
</html>
327
</html>
330
 
328