fix per proxy
This commit is contained in:
@@ -62,7 +62,7 @@ $query = " SELECT
|
||||
";
|
||||
$res_macchine = mysql_query( $query, $DB_ID );
|
||||
|
||||
$tabella = new html (0,"90%",array(3,3,2,15,2,15,2,5,0));
|
||||
$tabella = new html (0,"90%",array(3,3,2,15,2,30,2,5,0));
|
||||
?>
|
||||
<form name="" method="post">
|
||||
<tr>
|
||||
|
||||
@@ -65,7 +65,7 @@ $query = " SELECT
|
||||
$res_ip = mysql_query( $query, $DB_ID );
|
||||
while( $row = mysql_fetch_assoc( $res_ip) ) { $listaportefw[] = $row['fw_port']; }
|
||||
|
||||
$tabella = new html (0,"90%",array(3,3,2,15,2,15,5,2,15,5,2,5,2,15,0));
|
||||
$tabella = new html (0,"90%",array(3,3,2,15,2,15,8,2,15,5,2,5,2,15,0));
|
||||
?>
|
||||
<form name="" method="post">
|
||||
<tr>
|
||||
@@ -96,8 +96,13 @@ $tabella = new html (0,"90%",array(3,3,2,15,2,15,5,2,15,5,2,5,2,15,0));
|
||||
<select name="fw_port">
|
||||
<option value="" selected="selected">---</option>
|
||||
<?php for ($i = $FW_conf['FWPort_min']; $i <= $FW_conf['FWPort_max']; $i++ ) {
|
||||
if (in_array($i, $listaportefw) ) continue; ?>
|
||||
<option value="<?php print $i ?>"><?php print $i ?></option>
|
||||
if (in_array($i, $listaportefw) ) {
|
||||
$aster = "*";
|
||||
} else {
|
||||
$aster = "";
|
||||
}
|
||||
?>
|
||||
<option value="<?php print $i ?>"><?php print $i.$aster ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
@@ -103,7 +103,7 @@ if (isset($_POST['regola'])) {
|
||||
if ($modificato) attiva_aggiornamento();
|
||||
}
|
||||
|
||||
$tabella = new html (0,"90%",array(15,2,30,2,5,0));
|
||||
$tabella = new html (0,"90%",array(15,2,50,2,5,0));
|
||||
?>
|
||||
<form name="" method="post">
|
||||
<input type="hidden" name="utente" value="<?php print $UTENTE['id'] ?>">
|
||||
@@ -163,6 +163,7 @@ $query = " SELECT
|
||||
ORDER BY
|
||||
firewall_versointerno.nome
|
||||
";
|
||||
|
||||
$res = mysql_query( $query, $DB_ID );
|
||||
while ($dato = mysql_fetch_array ( $res )) { ?>
|
||||
<tr>
|
||||
@@ -192,7 +193,7 @@ while ($dato = mysql_fetch_array ( $res )) { ?>
|
||||
} else {
|
||||
print $dato['int_ip'];
|
||||
}
|
||||
print ":".$dato['fw_port']." (".$dato['proto'].")";;
|
||||
print ":".$dato['int_port']." (".$dato['proto'].")";;
|
||||
?></td>
|
||||
<td class="textc"><?php if ($dato['permanente']) print "Si"; else print "No"; ?></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user