} if (!isset($_GET['hostsearch'])) { $_GET['hostsearch'] = ""; } if (!isset($_GET['usersearch'])) { $_GET['usersearch'] = ""; } if (!isset($_GET['action'])) { $_GET['action'] = ""; } switch ($_GET['action']) { default: case 'search': showSearch(); if ($_GET['nickvalue'] != '' || $_GET['uservalue'] != '' || $_GET['hostvalue'] != '') { $matches = $thispage->filterByName($_GET['nicksearch'], $_GET['usersearch'], $_GET['hostsearch'], $_GET['nickvalue'], $_GET['uservalue'], $_GET['hostvalue']); showResult($matches); } break; case 'searchSubmit': $ids = NULL; if (isset($_POST['ircuserid'])) { $posted = $_POST['ircuserid']; foreach ($posted as $id) { $ids .= $id . ","; } $len = strlen($ids); $ids = substr($ids, 0, $len - 1); } switch ($_POST['submitAction']) { case 'explore':