modifica regole verso esterno, fix

This commit is contained in:
cmaffio
2016-06-28 15:22:35 +02:00
parent faaa0ddeef
commit 5eae0849be

View File

@@ -100,6 +100,11 @@ $tabella = new html (0,"90%",array(3,3,2,15,2,15,2,15,2,5,0));
<option value="" selected="selected">---</option> <option value="" selected="selected">---</option>
<?php while ($dato = mysql_fetch_array ( $res_macchine )) { ?> <?php while ($dato = mysql_fetch_array ( $res_macchine )) { ?>
<option value="<?php print $dato['id'] ?>"><?php print $dato['ip']; if ($dato['nome'] != "") print " (".$dato['nome'].")" ?></option> <option value="<?php print $dato['id'] ?>"><?php print $dato['ip']; if ($dato['nome'] != "") print " (".$dato['nome'].")" ?></option>
<option value="<?php print $dato['id'] ?>"><?php if ($dato['nome'] != "") {
print $dato['nome']." (".$dato['ip'].")";
} else{
print $dato['ip'];
} ?></option>
<?php } ?> <?php } ?>
</select> </select>
</td> </td>