Subversion Repositories ALCASAR

Rev

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

Rev 885 Rev 912
Line 193... Line 193...
193
<?
193
<?
194
echo "$l_trusted_domain_explain</td></tr>";
194
echo "$l_trusted_domain_explain</td></tr>";
195
echo "<tr><td align='center' valign='middle'>";
195
echo "<tr><td align='center' valign='middle'>";
196
echo "<table cellspacing=2 cellpadding=2 border=1>";
196
echo "<table cellspacing=2 cellpadding=2 border=1>";
197
echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>";
197
echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>";
198
echo "<tr><th>$l_domain<th>$l_comment_explain<th>$l_remove</tr>";
198
echo "<tr align='center' bgcolor='#d0ddb0'><td>$l_domain<td>$l_comment_explain<td>$l_remove</tr>";
199
// Read the "Domain alowed" file
199
// Read the "Domain alowed" file
200
$tab=file(DOMAIN_ALLOWED_LIST);
200
$tab=file(DOMAIN_ALLOWED_LIST);
201
if ($tab)  # the file isn't empty
201
if ($tab)  # the file isn't empty
202
	{
202
	{
203
	foreach ($tab as $line)
203
	foreach ($tab as $line)
Line 227... Line 227...
227
?>
227
?>
228
</form>
228
</form>
229
</td><td valign='middle' align='center'>
229
</td><td valign='middle' align='center'>
230
<form action='<?echo"$_SERVER[PHP_SELF]"?>' method='POST'>
230
<form action='<?echo"$_SERVER[PHP_SELF]"?>' method='POST'>
231
<table cellspacing=2 cellpadding=3 border=1>
231
<table cellspacing=2 cellpadding=3 border=1>
232
<tr><th><?echo "$l_domain</th><th>$l_comment_explain";?>
232
<tr align='center'><td bgcolor='#d0ddb0'><?echo "$l_domain<td bgcolor='#d0ddb0'>$l_comment_explain";?>
233
<td></td></tr>
233
<td></tr>
234
<tr><td>exemple1 : www.mydomain.com <br>exemple2 : .yourdomain.net</td>
234
<tr><td>exemple1 : www.mydomain.com <br>exemple2 : .yourdomain.net
235
<td>My domain<br><?echo "$l_comment_explain2";?></td></tr>
235
<td>My domain<br><?echo "$l_comment_explain2";?><td></tr>
236
<tr><td><input type='text' name='add_uamdomain' size='20'></td>
236
<tr><td><input type='text' name='add_uamdomain' size='20'>
237
<td><input type='text' name='add_domain_comment' size='15'></td>
237
<td><input type='text' name='add_domain_comment' size='15'>
238
<input type='hidden' name='choix' value='new_uamdomain'>
238
<input type='hidden' name='choix' value='new_uamdomain'>
239
<td><input type='submit' value='<?echo "$l_add_to_list";?>'></td>
239
<td><input type='submit' value='<?echo "$l_add_to_list";?>'>
240
</tr></table>
240
</tr></table>
241
</form>
241
</form>
242
</td></tr>
242
</tr>
243
</table>
243
</table>
244
<table width="100%" border="0" cellspacing="0" cellpadding="0">
244
<table width="100%" border="0" cellspacing="0" cellpadding="0">
245
	<tr><th><?php echo "$l_trusted_ip" ;?></th></tr>
245
	<tr><th><?php echo "$l_trusted_ip" ;?></th></tr>
246
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
246
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
247
</table>
247
</table>
Line 250... Line 250...
250
<?
250
<?
251
echo "$l_trusted_ip_explain</td></tr>";
251
echo "$l_trusted_ip_explain</td></tr>";
252
echo "<tr><td align='center' valign='middle'>";
252
echo "<tr><td align='center' valign='middle'>";
253
echo "<table cellspacing=2 cellpadding=2 border=1>";
253
echo "<table cellspacing=2 cellpadding=2 border=1>";
254
echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>";
254
echo "<FORM action='$_SERVER[PHP_SELF]' method='POST'>";
255
echo "<tr><th>$l_trusted_ip<th>$l_comment<th>$l_remove</tr>";
255
echo "<tr align='center' bgcolor='#d0ddb0'><td>$l_trusted_ip<td>$l_comment<td>$l_remove</tr>";
256
// Read the "ip alowed" file
256
// Read the "ip alowed" file
257
$tab=file(IP_ALLOWED_LIST);
257
$tab=file(IP_ALLOWED_LIST);
258
if ($tab)  # the file isn't empty
258
if ($tab)  # the file isn't empty
259
	{
259
	{
260
	foreach ($tab as $line)
260
	foreach ($tab as $line)
Line 283... Line 283...
283
?>
283
?>
284
</form>
284
</form>
285
</td><td valign='middle' align='center'>
285
</td><td valign='middle' align='center'>
286
<form action='<?echo "$_SERVER[PHP_SELF]"?>' method='POST'>
286
<form action='<?echo "$_SERVER[PHP_SELF]"?>' method='POST'>
287
<table cellspacing=2 cellpadding=3 border=1>
287
<table cellspacing=2 cellpadding=3 border=1>
288
<tr><th><?echo "$l_trusted_ip</th><th>$l_comment";?>
288
<tr align='center'><td bgcolor='#d0ddb0'><?echo "$l_trusted_ip<td bgcolor='#d0ddb0'>$l_comment";?>
289
<td></td></tr>
289
<td></tr>
290
<tr><td>exemple1 : 170.25.23.10 <br>exemple2 : 15.20.20.0/16</td>
290
<tr><td>exemple1 : 170.25.23.10 <br>exemple2 : 15.20.20.0/16</td>
291
<td>my_web_server <br>my_dmz</td>
291
<td>my_web_server <br>my_dmz<td></tr>
292
<tr><td><input type='text' name='add_ip' size='20'></td>
292
<tr><td><input type='text' name='add_ip' size='20'></td>
293
<td><input type='text' name='add_ip_comment' size='15'></td>
293
<td><input type='text' name='add_ip_comment' size='15'></td>
294
<input type='hidden' name='choix' value='new_ip'>
294
<input type='hidden' name='choix' value='new_ip'>
295
<td><input type='submit' value='<?echo "$l_add_to_list";?>'></td>
295
<td><input type='submit' value='<?echo "$l_add_to_list";?>'></td>
296
</tr></table>
296
</tr></table>
297
</form>
-
 
298
</td></tr>
297
</td></tr>
299
</table>
298
</table>
-
 
299
</form>
300
<table width="100%" border="0" cellspacing="0" cellpadding="0">
300
<table width="100%" border="0" cellspacing="0" cellpadding="0">
301
	<tr><th><?php echo "$l_trusted_equipments";?></th></tr>
301
	<tr><th><?php echo "$l_trusted_equipments";?></th></tr>
302
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
302
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr>
303
</table>
303
</table>
304
<table width="100%" border=1 cellspacing=0 cellpadding=1>
304
<table width="100%" border=1 cellspacing=0 cellpadding=1>