=? and ip_int<=?)"; } $params[]=ip2long($cidr_range[0]); $params[]=ip2long($cidr_range[1]); } if (!empty($f_ip)) { if (checkValidIp($f_ip)) { $dhcp_where = " and ip_int=?"; $params[]=ip2long($f_ip); } else { if (checkValidMac($f_ip)) { $dhcp_where = " and mac=?"; $params[]= mac_dotted($f_ip); } else { $dhcp_where = " and dhcp_hostname like ?"; $params[]=$f_ip.'%'; } } } $dhcp_where .= $cidr_filter; print_log_submenu($page_url); ?>



=? AND ts$total) { $page=$total; } if ($page<1) { $page=1; } $start = ($page * $displayed) - $displayed; print_navigation($page_url,$page,$displayed,$count_records,$total); ?>
=? and ts\n"; print "\n"; print "\n"; print "\n"; if (isset($row['auth_id']) and $row['auth_id'] > 0) { print "\n"; } else { print "\n"; } print "\n"; print "\n"; } print "
" . get_datetime_display($row['ts']) . "" . $row['action'] . "" . $row['mac'] . "" . $row['ip'] . "" . $row['ip'] . "" . $row['dhcp_hostname'] . "
\n"; print_navigation($page_url,$page,$displayed,$count_records,$total); require_once ($_SERVER['DOCUMENT_ROOT']."/inc/footer.php"); ?>