Subversion Repositories ALCASAR

Rev

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

Rev 504 Rev 520
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<HTML><!-- written by Rexy - 3abtux -->
2
<HTML><!-- written by Rexy - 3abtux -->
3
<HEAD>
3
<HEAD>
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5
<TITLE>Exceptions</TITLE>
5
<TITLE>Exceptions</TITLE>
6
<link rel="stylesheet" href="/css/style.css" type="text/css">
6
<link rel="stylesheet" href="/css/style.css" type="text/css">
7
</HEAD>
7
</HEAD>
8
<body>
8
<body>
9
<?
9
<?
10
$mac_allowed_list="/usr/local/etc/alcasar-macallowed";
10
$mac_allowed_list="/usr/local/etc/alcasar-macallowed";
11
# Choice of language
11
# Choice of language
12
$Language = 'en';
12
$Language = 'en';
13
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
13
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
14
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
14
  $Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
15
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
15
  $Language = strtolower(substr(chop($Langue[0]),0,2)); }
16
if($Language == 'fr'){
16
if($Language == 'fr'){
17
  $l_error_open_file = "Erreur d'ouverture du fichier";
17
  $l_error_open_file = "Erreur d'ouverture du fichier";
18
  $l_trusted_sites = "Sites Internet de confiance";
18
  $l_trusted_sites = "Sites Internet de confiance";
19
  $l_trusted_sites_explain1 = "Entrez ici les noms de site ou d'URLs Internet pouvant &ecirc;tre joints sans authentification";
19
  $l_trusted_sites_explain1 = "Entrez ici les noms de site ou d'URLs Internet pouvant &ecirc;tre joints sans authentification";
20
  $l_trusted_sites_explain2 = "Entrez un nom par ligne";
20
  $l_trusted_sites_explain2 = "Entrez un nom par ligne";
21
  $l_trusted_sites_list = "Liste de sites Internet de confiance";
21
  $l_trusted_sites_list = "Liste de sites Internet de confiance";
22
  $l_trusted_urls_list = "Liste d'URLs Internet de confiance";
22
  $l_trusted_urls_list = "Liste d'URLs Internet de confiance";
23
  $l_trusted_mac = "&Eacute;quipements de confiance";
23
  $l_trusted_mac = "&Eacute;quipements de confiance";
24
  $l_trusted_mac_explain = "Entrez ici les adresses MAC des &eacute;quipements autorisés à joindre Internet sans authentification";
24
  $l_trusted_mac_explain = "Entrez ici les adresses MAC des &eacute;quipements autorisés à joindre Internet sans authentification";
25
  $l_trusted_mac_list = "Liste des adresses MAC de confiance";
25
  $l_trusted_mac_list = "Liste des adresses MAC de confiance";
26
  $l_trusted_mac_address = "Adresses MAC autorisées";
26
  $l_trusted_mac_address = "Adresses MAC autorisées";
27
  $l_trusted_mac_info = "Information équipement";
27
  $l_trusted_mac_info = "Information équipement";
28
  $l_trusted_mac_del = "Supprimer de la liste";
28
  $l_trusted_mac_del = "Supprimer de la liste";
29
  $l_submit = "Enregistrer";
29
  $l_submit = "Enregistrer";
-
 
30
  $l_submit2 = "Appliquer";
30
  $l_add_to_list = "Ajouter";
31
  $l_add_to_list = "Ajouter";
31
}
32
}
32
else {
33
else {
33
  $l_error_open_file = "File open error";
34
  $l_error_open_file = "File open error";
34
  $l_trusted_sites = "Trusted Internet sites";
35
  $l_trusted_sites = "Trusted Internet sites";
35
  $l_trusted_sites_explain1 = "Enter name of Internet sites or URLS that could be joined without authentication";
36
  $l_trusted_sites_explain1 = "Enter name of Internet sites or URLS that could be joined without authentication";
36
  $l_trusted_sites_explain2 = "Enter one name per line";
37
  $l_trusted_sites_explain2 = "Enter one name per line";
37
  $l_trusted_sites_list = "Trusted Internet sites list";
38
  $l_trusted_sites_list = "Trusted Internet sites list";
38
  $l_trusted_urls_list = "Trusted Internet URLs list";
39
  $l_trusted_urls_list = "Trusted Internet URLs list";
39
  $l_trusted_mac = "Trusted Equipments";
40
  $l_trusted_mac = "Trusted Equipments";
40
  $l_trusted_mac_explain = "Enter MAC address of equipments that could contact Internet without authentication";
41
  $l_trusted_mac_explain = "Enter MAC address of equipments that could contact Internet without authentication";
41
  $l_trusted_mac_list = "Trusted MAC addresses list";
42
  $l_trusted_mac_list = "Trusted MAC addresses list";
42
  $l_trusted_mac_address = "Allowed MAC adress"; 
43
  $l_trusted_mac_address = "Allowed MAC adress"; 
43
  $l_trusted_mac_info = "Equipment information";
44
  $l_trusted_mac_info = "Equipment information";
44
  $l_trusted_mac_del = "Delete from list";
45
  $l_trusted_mac_del = "Delete from list";
45
  $l_submit = "Submit";
46
  $l_submit = "Submit";
-
 
47
  $l_submit2 = "Apply";
46
  $l_add_to_list = "Add";
48
  $l_add_to_list = "Add";
47
}
49
}
48
if (isset($_POST['choix'])){ 
50
if (isset($_POST['choix'])){ 
49
	switch ($_POST['choix'])
51
	switch ($_POST['choix'])
50
	{
52
	{
51
	case 'MAJ_UAMALLOWED' :
53
	case 'MAJ_UAMALLOWED' :
52
		$nb_domain=0;
54
		$nb_domain=0;
53
		$tab_domains = explode ("\n", $_POST['trusted_domains']);
55
		$tab_domains = explode ("\n", $_POST['trusted_domains']);
54
		$fichier=fopen("/usr/local/etc/alcasar-uamdomain","w+");
56
		$fichier=fopen("/usr/local/etc/alcasar-uamdomain","w+");
55
		fputs ($fichier, "uamdomain=\"");
57
		fputs ($fichier, "uamdomain=\"");
56
		foreach ($tab_domains as $domain ){
58
		foreach ($tab_domains as $domain ){
57
			$tr_domain=trim($domain);
59
			$tr_domain=trim($domain);
58
			$nb_domain++;
60
			$nb_domain++;
59
			if ($tr_domain != ""){
61
			if ($tr_domain != ""){
60
				if ($nb_domain>1) fputs ($fichier, ",".$tr_domain);
62
				if ($nb_domain>1) fputs ($fichier, ",".$tr_domain);
61
				else fputs ($fichier, $tr_domain);
63
				else fputs ($fichier, $tr_domain);
62
				}
64
				}
63
			}	
65
			}	
64
		fputs($fichier, "\"");
66
		fputs($fichier, "\"");
65
		fclose($fichier);
67
		fclose($fichier);
66
		unset($_POST['trusted_domains']);
68
		unset($_POST['trusted_domains']);
67
		unset($nb_domain);
69
		unset($nb_domain);
68
		$nb_url=0;
70
		$nb_url=0;
69
		$tab_urls = explode ("\n", $_POST['trusted_urls']);
71
		$tab_urls = explode ("\n", $_POST['trusted_urls']);
70
		$fichier=fopen("/usr/local/etc/alcasar-uamallowed","w+");
72
		$fichier=fopen("/usr/local/etc/alcasar-uamallowed","w+");
71
		fputs ($fichier, "uamallowed=\"");
73
		fputs ($fichier, "uamallowed=\"");
72
		foreach ($tab_urls as $url ){
74
		foreach ($tab_urls as $url ){
73
			$tr_url=trim($url);
75
			$tr_url=trim($url);
74
			$nb_url++;
76
			$nb_url++;
75
			if ($tr_url != ""){
77
			if ($tr_url != ""){
76
				if ($nb_url>1) fputs ($fichier, ",".$tr_url);
78
				if ($nb_url>1) fputs ($fichier, ",".$tr_url);
77
				else fputs ($fichier, $tr_url);
79
				else fputs ($fichier, $tr_url);
78
				}
80
				}
79
			}
81
			}
80
		fputs($fichier, "\"");
82
		fputs($fichier, "\"");
81
		fclose($fichier);
83
		fclose($fichier);
82
		unset($_POST['trusted_urls']);
84
		unset($_POST['trusted_urls']);
83
		unset($nb_url);
85
		unset($nb_url);
84
		exec ("sudo service chilli restart");
86
		exec ("sudo service chilli restart");
85
		unset ($_POST['choix']);
87
		unset ($_POST['choix']);
86
		break;
88
		break;
87
case 'new_mac' :
89
case 'new_mac' :
88
	if (trim($_POST['add_mac']) != "")
90
	if (trim($_POST['add_mac']) != "")
89
		{
91
		{
90
		if (is_file ($mac_allowed_list)) # le fichier existe
92
		if (is_file ($mac_allowed_list)) # le fichier existe
91
			{
93
			{
92
			$tab=file($mac_allowed_list);
94
			$tab=file($mac_allowed_list);
93
			$insert = true;
95
			$insert = true;
94
			if ($tab)  # le fichier n'est pas vide
96
			if ($tab)  # le fichier n'est pas vide
95
				{
97
				{
96
				foreach ($tab as $line)  # on teste si l'adresse mac n'est pas déjà présente
98
				foreach ($tab as $line)  # on teste si l'adresse mac n'est pas déjà présente
97
					{
99
					{
98
					$field=explode("#", $line);
100
					$field=explode("#", $line);
99
					$mac_addr=trim($field[0],"macallowed=");
101
					$mac_addr=trim($field[0],"macallowed=");
100
					if (trim($_POST['add_mac']) == trim ($mac_addr))
102
					if (trim($_POST['add_mac']) == trim ($mac_addr))
101
						{
103
						{
102
						$insert = false;;
104
						$insert = false;;
103
						break;
105
						break;
104
						}
106
						}
105
					}
107
					}
106
				}
108
				}
107
			if ($insert == true) 
109
			if ($insert == true) 
108
				{
110
				{
109
				$line = "macallowed=" . trim($_POST['add_mac']) . " #" . trim($_POST['add_comment']) . "\n";
111
				$line = "macallowed=" . trim($_POST['add_mac']) . " #" . trim($_POST['add_comment']) . "\n";
110
				$pointeur=fopen($mac_allowed_list,"a");
112
				$pointeur=fopen($mac_allowed_list,"a");
111
				fwrite ($pointeur, $line);
113
				fwrite ($pointeur, $line);
112
				fclose ($pointeur);
114
				fclose ($pointeur);
113
				exec ("sudo service chilli restart");
115
				exec ("sudo service chilli restart");
114
				}
116
				}
115
			}
117
			}
116
		else {echo "$l_error_open_file $mac_allowed_list";}
118
		else {echo "$l_error_open_file $mac_allowed_list";}
117
		}
119
		}
118
	break;
120
	break;
119
case 'del_mac' :
121
case 'del_mac' :
120
	$tab=file($mac_allowed_list);
122
	$tab=file($mac_allowed_list);
121
	if ($tab)
123
	if ($tab)
122
		{
124
		{
123
		$pointeur=fopen($mac_allowed_list,"w+");
125
		$pointeur=fopen($mac_allowed_list,"w+");
124
		foreach ($tab as $line)
126
		foreach ($tab as $line)
125
			{
127
			{
126
			$field=explode("#", $line);
128
			$field=explode("#", $line);
127
			$mac_addr=trim(trim($field[0],"macallowed="));
129
			$mac_addr=trim(trim($field[0],"macallowed="));
128
			$remove_line = false;
130
			$remove_line = false;
129
			foreach ($_POST as $key => $value)
131
			foreach ($_POST as $key => $value)
130
				{
132
				{
131
				if ($mac_addr == $key)
133
				if ($mac_addr == $key)
132
			       		{
134
			       		{
133
					$remove_line = True;
135
					$remove_line = True;
134
					break;
136
					break;
135
					}
137
					}
136
				}
138
				}
137
			if (! $remove_line) {fwrite($pointeur,$line);}
139
			if (! $remove_line) {fwrite($pointeur,$line);}
138
			}
140
			}
139
		fclose($pointeur);
141
		fclose($pointeur);
140
		exec ("sudo service chilli restart");
142
		exec ("sudo service chilli restart");
141
		}
143
		}
142
	else {echo "$l_error_open_file $mac_allowed_list";}
144
	else {echo "$l_error_open_file $mac_allowed_list";}
143
	break;
145
	break;
144
	}	
146
	}	
145
}
147
}
146
?>
148
?>
147
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
149
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
148
	<tr><th><?php echo $l_trusted_sites ;?></th></tr>
150
	<tr><th><?php echo $l_trusted_sites ;?></th></tr>
149
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
151
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
150
</TABLE>
152
</TABLE>
151
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1>
153
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1>
152
	<tr bgcolor="#666666"><td>
154
	<tr bgcolor="#666666"><td>
153
	<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
155
	<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
154
		<tr><td valign="middle" align="left">
156
		<tr><td valign="middle" align="left">
155
		<center><?php
157
		<center><?php
156
		echo "$l_trusted_sites_explain1 <BR>";
158
		echo "$l_trusted_sites_explain1 <BR>";
157
		echo "$l_trusted_sites_explain2" ;
159
		echo "$l_trusted_sites_explain2" ;
158
		echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>";?>
160
		echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>";?>
159
		<TABLE cellspacing=2 cellpadding=3 border=1>
161
		<TABLE cellspacing=2 cellpadding=3 border=1>
160
		<tr><td width=50% height=100% align=center>
162
		<tr><td width=50% height=100% align=center>
161
			<H3><?php echo $l_trusted_sites_list ;?></H3>
163
			<H3><?php echo $l_trusted_sites_list ;?></H3>
162
			exemple1 : www.domain1.org<BR>
164
			exemple1 : www.domain1.org<BR>
163
			exemple2 : domain2.net<BR>
165
			exemple2 : domain2.net<BR>
164
			<?php
166
			<?php
165
				echo "<textarea name='trusted_domains' rows=5 cols=40>";
167
				echo "<textarea name='trusted_domains' rows=5 cols=40>";
166
				$trusted_domains_file="/usr/local/etc/alcasar-uamdomain";
168
				$trusted_domains_file="/usr/local/etc/alcasar-uamdomain";
167
				$ouvre=fopen($trusted_domains_file,"r");
169
				$ouvre=fopen($trusted_domains_file,"r");
168
				if ($ouvre)
170
				if ($ouvre)
169
					{
171
					{
170
					while (!feof ($ouvre))
172
					while (!feof ($ouvre))
171
						{
173
						{
172
						$tampon = fgets($ouvre, 4096);
174
						$tampon = fgets($ouvre, 4096);
173
						$domain_list_l = substr($tampon,10);
175
						$domain_list_l = substr($tampon,10);
174
						$domain_list = trim ($domain_list_l,"\"\n\t ");
176
						$domain_list = trim ($domain_list_l,"\"\n\t ");
175
						$tab_domains = explode (",", $domain_list);
177
						$tab_domains = explode (",", $domain_list);
176
						foreach ($tab_domains as $domain ){
178
						foreach ($tab_domains as $domain ){
177
							if ($domain) { echo $domain."\n";}
179
							if ($domain) { echo $domain."\n";}
178
							}
180
							}
179
		  				}
181
		  				}
180
					}
182
					}
181
				else	{
183
				else	{
182
					echo "failed to open $trusted_domains_file";
184
					echo "failed to open $trusted_domains_file";
183
					}
185
					}
184
				fclose($ouvre);
186
				fclose($ouvre);
185
				echo "</textarea>";
187
				echo "</textarea>";
186
			?>
188
			?>
187
		</td>
189
		</td>
188
		<td  width=50% height=100% align=center>
190
		<td  width=50% height=100% align=center>
189
			<H3><?php echo $l_trusted_urls_list ;?></H3>
191
			<H3><?php echo $l_trusted_urls_list ;?></H3>
190
			exemple1 : www.domain3.net/admin/index.htm<BR>
192
			exemple1 : www.domain3.net/admin/index.htm<BR>
191
			exemple2 : domain4.org/~polux/index.html<BR>
193
			exemple2 : domain4.org/~polux/index.html<BR>
192
			<?php
194
			<?php
193
				echo "<textarea name='trusted_urls' rows=5 cols=40>";
195
				echo "<textarea name='trusted_urls' rows=5 cols=40>";
194
				$trusted_urls_file="/usr/local/etc/alcasar-uamallowed";
196
				$trusted_urls_file="/usr/local/etc/alcasar-uamallowed";
195
				$ouvre=fopen($trusted_urls_file,"r");
197
				$ouvre=fopen($trusted_urls_file,"r");
196
				if ($ouvre)
198
				if ($ouvre)
197
			       		{
199
			       		{
198
					while (!feof ($ouvre))
200
					while (!feof ($ouvre))
199
						{
201
						{
200
						$tampon = fgets($ouvre, 4096);
202
						$tampon = fgets($ouvre, 4096);
201
						$url_list_l = substr($tampon,11);
203
						$url_list_l = substr($tampon,11);
202
						$url_list = trim ($url_list_l,"\"\n\t ");
204
						$url_list = trim ($url_list_l,"\"\n\t ");
203
						$tab_urls = explode (",", $url_list);
205
						$tab_urls = explode (",", $url_list);
204
						foreach ($tab_urls as $url ){
206
						foreach ($tab_urls as $url ){
205
							if ($url) echo $url."\n";
207
							if ($url) echo $url."\n";
206
							}
208
							}
207
						}
209
						}
208
					}
210
					}
209
				else	{
211
				else	{
210
					echo "failed to open $trusted_urls_file";
212
					echo "failed to open $trusted_urls_file";
211
					}
213
					}
212
				fclose($ouvre);
214
				fclose($ouvre);
213
				echo "</textarea>";
215
				echo "</textarea>";
214
			?>
216
			?>
215
		</td></tr>
217
		</td></tr>
216
		</TABLE>
218
		</TABLE>
217
		<input type='hidden' name='choix' value='MAJ_UAMALLOWED'>
219
		<input type='hidden' name='choix' value='MAJ_UAMALLOWED'>
218
		<input type='submit' value='<?php echo $l_submit ;?>'>
220
		<input type='submit' value='<?php echo $l_submit ;?>'>
219
		</FORM>
221
		</FORM>
220
	</td></tr>
222
	</td></tr>
221
	</TABLE>
223
	</TABLE>
222
</TABLE>
224
</TABLE>
223
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
225
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
224
	<tr><th><?php echo $l_trusted_mac ;?></th></tr>
226
	<tr><th><?php echo $l_trusted_mac ;?></th></tr>
225
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
227
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
226
</TABLE>
228
</TABLE>
227
 
229
 
228
<table width="100%" border=1 cellspacing=0 cellpadding=1>
230
<table width="100%" border=1 cellspacing=0 cellpadding=1>
229
<tr><td colspan=2 align="center">
231
<tr><td colspan=2 align="center">
230
<?
232
<?
231
echo "$l_trusted_mac_explain</td></tr>";
233
echo "$l_trusted_mac_explain</td></tr>";
232
echo "<tr><td align='center' valign='middle'>";
234
echo "<tr><td align='center' valign='middle'>";
233
echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>";
235
echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>";
234
echo "<table cellspacing=2 cellpadding=3 border=1>";
236
echo "<table cellspacing=2 cellpadding=3 border=1>";
235
echo "<tr><th>$l_trusted_mac_address<th>$l_trusted_mac_info<th>$l_trusted_mac_del</tr>";
237
echo "<tr><th>$l_trusted_mac_address<th>$l_trusted_mac_info<th>$l_trusted_mac_del</tr>";
236
// On lit et on affiche le fichier d'exception
238
// On lit et on affiche le fichier d'exception
237
$display_form = true;
239
$display_form = true;
238
if (is_file ($mac_allowed_list))
240
if (is_file ($mac_allowed_list))
239
	{
241
	{
240
	$tab=file($mac_allowed_list);
242
	$tab=file($mac_allowed_list);
241
	if ($tab)  # le fichier n'est pas vide
243
	if ($tab)  # le fichier n'est pas vide
242
		{
244
		{
243
		foreach ($tab as $line)
245
		foreach ($tab as $line)
244
			{
246
			{
245
			$field=explode("#", $line);
247
			$field=explode("#", $line);
246
			$mac_addr=trim(trim($field[0],"macallowed="));
248
			$mac_addr=trim(trim($field[0],"macallowed="));
247
			$mac_info=trim($field[1],"#");
249
			$mac_info=trim($field[1],"#");
248
			echo "<tr><td>$mac_addr";
250
			echo "<tr><td>$mac_addr";
249
			echo "<td>$mac_info";
251
			echo "<td>$mac_info";
250
			echo "<td><input type='checkbox' name='$mac_addr'>";
252
			echo "<td><input type='checkbox' name='$mac_addr'>";
251
			echo "</tr>";
253
			echo "</tr>";
252
			}
254
			}
253
		}
255
		}
254
	else { $display_form = false;}
256
	else { $display_form = false;}
255
	}
257
	}
256
else	{
258
else	{
257
	echo "$l_error_open_file $mac_allowed_list";
259
	echo "$l_error_open_file $mac_allowed_list";
258
	$display_form = false;
260
	$display_form = false;
259
	}
261
	}
260
echo "</table>";
262
echo "</table>";
261
if ($display_form)
263
if ($display_form)
262
	{
264
	{
263
	echo "<input type='hidden' name='choix' value='del_mac'>";
265
	echo "<input type='hidden' name='choix' value='del_mac'>";
264
	echo "<input type='submit' value='$l_submit'>";
266
	echo "<input type='submit' value='$l_submit2'>";
265
	}
267
	}
266
echo "</form></td><td valign='middle' align='center'>";
268
echo "</form></td><td valign='middle' align='center'>";
267
echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>";
269
echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>";
268
echo "<table cellspacing=2 cellpadding=3 border=1>";
270
echo "<table cellspacing=2 cellpadding=3 border=1>";
269
echo "<tr><th>$l_trusted_mac_address<th>$l_trusted_mac_info";
271
echo "<tr><th>$l_trusted_mac_address<th>$l_trusted_mac_info";
270
?>
272
?>
271
<td></td></tr>
273
<td></td></tr>
272
<tr><td>exemple : 12-2f-36-a4-df-43</td><td>exemple : PC of the boss</td><td></td></tr>
274
<tr><td>exemple : 12-2f-36-a4-df-43</td><td>exemple : PC of the boss</td><td></td></tr>
273
<tr><td><input type='text' name='add_mac' size='17'></td>
275
<tr><td><input type='text' name='add_mac' size='17'></td>
274
<td><input type='text' name='add_comment' size='10'></td>
276
<td><input type='text' name='add_comment' size='10'></td>
275
<input type='hidden' name='choix' value='new_mac'>
277
<input type='hidden' name='choix' value='new_mac'>
276
<td><input type='submit' value='<?echo"$l_add_to_list";?>'></td>
278
<td><input type='submit' value='<?echo"$l_add_to_list";?>'></td>
277
</tr></table>
279
</tr></table>
278
</form>
280
</form>
279
</td></tr>
281
</td></tr>
280
</table>
282
</table>
281
</BODY>
283
</BODY>
282
</HTML>
284
</HTML>
283
 
285