fix per proxy

This commit is contained in:
Claudio Maffioletti
2017-07-24 12:28:44 +02:00
parent e1d86de73c
commit 491ad48f71
5 changed files with 80 additions and 43 deletions

View File

@@ -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>