Fix visualizzazione
This commit is contained in:
@@ -31,8 +31,12 @@ if (isset($_POST['tempo'])) {
|
||||
<?php
|
||||
$query = "SELECT GREATEST (sum(inviati), sum(ricevuti)) AS max from proxy_dati WHERE data_destroy >= DATE_SUB(NOW(), INTERVAL 1 $tempo) GROUP BY ip";
|
||||
$res = mysql_query( $query, $DB_ID );
|
||||
$valori = mysql_fetch_array ( $res );
|
||||
$max = $valori['max'];
|
||||
$max = 0;
|
||||
while ($valori = mysql_fetch_array ( $res )) {
|
||||
if ($valori['max'] > $max) {
|
||||
$max = $valori['max'];
|
||||
}
|
||||
}
|
||||
|
||||
$query = " SELECT
|
||||
proxy_pool.attivo,
|
||||
|
||||
Reference in New Issue
Block a user