=".$subnet_range['start']." and User_auth.ip_int<=".$subnet_range['stop']; } $ip_list_filter = $subnet_filter; $ip_where = ''; if (!empty($f_comment)) { if (checkValidIp($f_comment)) { $ip_where = " and ip_int=inet_aton('" . $f_comment . "') "; } if (checkValidMac($f_comment)) { $ip_where = " and mac='" . mac_dotted($f_comment) . "' "; } if (empty($ip_where)) { $ip_where=" and (User_auth.comments LIKE '$f_comment' OR User_auth.dhcp_hostname LIKE '$f_comment')"; } $ip_list_filter = $ip_where; } print_ip_submenu($page_url); ?>
- Поиск по комментарию/ip/mac/dhcp hostname:   Отображать:
$total) { $page=$total; } if ($page<1) { $page=1; } $start = ($page * $displayed) - $displayed; print_navigation($page_url,$page,$displayed,$count_records[0],$total); ?>
\n"; $cl = "data"; print "\n"; print "\n"; if (isset($user['dhcp_hostname']) and strlen($user['dhcp_hostname']) > 0) { print "\n"; } else { print "\n"; } print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; } print "
" . $cell_ip . ""; ?> " . $cell_mac . ""; ?> Создан"; ?> Удалён"; ?> Работал"; ?>
" . $user['ip'] . "" . expand_mac($db_link,$user['mac']) . "".$user['comments']." [" . $user['dhcp_hostname'] . "]".$user['comments']."".$user['dns_name']."".$user['timestamp']."".$user['changed_time']."".$user['last_found']."
\n"; print_navigation($page_url,$page,$displayed,$count_records[0],$total); ?>