Fix DB e visualizzazione nomi hosts
This commit is contained in:
@@ -49,7 +49,7 @@ while ($dato = mysql_fetch_array ( $res )) {
|
||||
<?php } ?>
|
||||
<td rowspan=2 class="col3btn"><a href="pool_ip.php?id=<?php print $dato['id'] ?>"><img src="<?php print $CONF['base_url'] ?>/img/modify.gif" ALT="Dettaglio" TITLE="Dettaglio"></a></td>
|
||||
<td rowspan=2 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td <?php if ($dato['nome'] == "") print "rowspan=2" ?> class="colip"><?php print $dato['ip'] ?></td>
|
||||
<td class="colip"><?php print $dato['ip'] ?></td>
|
||||
<td rowspan=2 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="descrizione">Inviati</td>
|
||||
<td class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
@@ -58,10 +58,7 @@ while ($dato = mysql_fetch_array ( $res )) {
|
||||
<td class="colimg"><img border="0" src="barra.php?max=<?php print $max ?>&val=<?php print $dato['inviati'] ?>&col=red"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<?php
|
||||
if ($dato['nome'] != "") { ?>
|
||||
<td class="colip"><?php print $dato['nome'] ?></td>
|
||||
<?php } ?>
|
||||
<td class="colip"><?php if ($dato['nome'] != "") { print $dato['nome']; } else { $host = gethostbyaddr ($dato['ip']); print substr($host, 0, strpos($host, ".")); } ?></td>
|
||||
<td class="descrizione">Ricevuti</td>
|
||||
<td class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="colspeed"><?php print byteConvert($dato['ricevuti']) ?></td>
|
||||
|
||||
Reference in New Issue
Block a user