179,7 → 179,7 |
$intif_mac_addr=strtoupper(str_replace(":","-",$detail[5])); |
unset ($output);unset ($detail); |
exec ('sudo /usr/sbin/chilli_query list|sort -k5 -r', $output); |
while (list(,$ligne) = each($output)){ |
foreach($output as $ligne){ |
$detail = explode (" ", $ligne); |
$nb_ligne ++; |
echo "<tr valign=\"middle\">"; |
284,7 → 284,7 |
} |
if ($conf['MULTIWAN'] !== 'off') { |
if ($detail[4] == "1"){ // authenticated user |
while (list(,$ligne2) = each($list_ip_gw)){ |
foreach ($list_ip_gw as $ligne2){ |
$detail2 = explode (" ", $ligne2); |
if ($detail2[0] == $detail[1]){ |
echo "<td>$detail2[1]</td>"; |