Aggiunta campo utenza nella sezione di attivazione regole firewall
This commit is contained in:
@@ -103,7 +103,7 @@ if (isset($_POST['regola'])) {
|
||||
if ($modificato) attiva_aggiornamento();
|
||||
}
|
||||
|
||||
$tabella = new html (0,"90%",array(15,2,50,2,5,0));
|
||||
$tabella = new html (0,"90%",array(15,2,20,2,50,2,5,0));
|
||||
?>
|
||||
<form name="" method="post">
|
||||
<input type="hidden" name="utente" value="<?php print $UTENTE['id'] ?>">
|
||||
@@ -111,7 +111,7 @@ $tabella = new html (0,"90%",array(15,2,50,2,5,0));
|
||||
<tr>
|
||||
<td><input type="submit" value="Applica"></td>
|
||||
<td colspan="1" class="spazioh"></td>
|
||||
<td colspan="3" class="descrizione_c">Regole Esterno -> Interno</td>
|
||||
<td colspan="5" class="descrizione_c">Regole Esterno -> Interno</td>
|
||||
<td colspan="1" class="spazioh"></td>
|
||||
</tr>
|
||||
<?php
|
||||
@@ -134,7 +134,8 @@ $query = " SELECT
|
||||
proxy_pool.nome AS int_nome,
|
||||
proxy_pool.ip AS int_ip,
|
||||
firewall_vpn.utenza,
|
||||
firewall_vpn.ip AS vpn_ip
|
||||
firewall_vpn.ip AS vpn_ip,
|
||||
utenti.utente
|
||||
FROM
|
||||
firewall_versointerno_regole
|
||||
JOIN
|
||||
@@ -178,12 +179,15 @@ while ($dato = mysql_fetch_array ( $res )) { ?>
|
||||
</select>
|
||||
</td>
|
||||
<td rowspan=2 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="descrizione">Utente</td>
|
||||
<td rowspan=2 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="descrizione">Regola</td>
|
||||
<td rowspan=2 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="radio">Perm</td>
|
||||
<td rowspan=2 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textl"><?php print $dato['utente']?></td>
|
||||
<td class="textl"><?php
|
||||
print $dato['nome'].": ";
|
||||
print $dato['utenza'];
|
||||
@@ -209,7 +213,7 @@ $tabella->riga (5);
|
||||
<tr>
|
||||
<td><input type="submit" value="Applica"></td>
|
||||
<td colspan="1" class="spazioh"></td>
|
||||
<td colspan="3" class="descrizione_c">Regole Interno -> Esterno</td>
|
||||
<td colspan="5" class="descrizione_c">Regole Interno -> Esterno</td>
|
||||
<td colspan="1" class="spazioh"></td>
|
||||
</tr>
|
||||
<?php
|
||||
@@ -226,7 +230,8 @@ $query = " SELECT
|
||||
proxy_pool.nome AS int_nome,
|
||||
proxy_pool.ip AS int_ip,
|
||||
firewall_macchine_ext.nome AS ext_nome,
|
||||
firewall_macchine_ext.ip AS ext_ip
|
||||
firewall_macchine_ext.ip AS ext_ip,
|
||||
utenti.utente
|
||||
FROM
|
||||
firewall_versoesterno_regole
|
||||
JOIN
|
||||
@@ -271,12 +276,15 @@ while ($dato = mysql_fetch_array ( $res )) {
|
||||
</select>
|
||||
</td>
|
||||
<td rowspan=2 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="descrizione">Utente</td>
|
||||
<td rowspan=2 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="descrizione">Regola</td>
|
||||
<td rowspan=2 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="radio">Perm</td>
|
||||
<td rowspan=2 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="textl"><?php print $dato['utente'] ?></td>
|
||||
<td class="textl"><?php
|
||||
print $dato['nome'].": ";
|
||||
if ($dato['int_nome'] != "") {
|
||||
|
||||
Reference in New Issue
Block a user