\n"; $cl="data"; print "\n"; $all_ips = $row['ip_int_stop']-$row['ip_int_start']-3; print "\n"; #used $used_all = get_count_records($db_link,'User_auth','deleted=0 and ip_int>='.$row['ip_int_start'].' and ip_int<='.$row['ip_int_stop']); print "\n"; $free_all = $all_ips - $used_all; print "\n"; $dhcp_pool = $row['dhcp_stop']-$row['dhcp_start']+1; print "\n"; #used pool $used_dhcp = get_count_records($db_link,'User_auth','deleted=0 and ip_int>='.$row['dhcp_start'].' and ip_int<='.$row['dhcp_stop']); print "\n"; $free_dhcp = $dhcp_pool - $used_dhcp; print "\n"; $free_static = $free_all - $free_dhcp; print "\n"; $zombi = get_count_records($db_link,'User_auth','deleted=0 and ip_int>='.$row['ip_int_start'].' and ip_int<='.$row['ip_int_stop'].' and last_found<=(NOW() - INTERVAL '.$zombi_days.' DAY)'); print "\n"; $zombi = get_count_records($db_link,'User_auth','deleted=0 and ip_int>='.$row['dhcp_start'].' and ip_int<='.$row['dhcp_stop'].' and last_found<=(NOW() - INTERVAL '.$zombi_days.' DAY)'); print "\n"; print "\n"; } } ?>

".$zombi_days." ".WEB_days.")"; ?>

".$zombi_days." ".WEB_days.")"; ?>
".$row['subnet']."".$all_ips."".$used_all."".$free_all."".$dhcp_pool."".$used_dhcp."".$free_dhcp."".$free_static."".$zombi."".$zombi."