Lines Matching refs:QUERY
75 global $QUERY;
79 if (empty($QUERY)) $QUERY = $INPUT->str('q');
80 if (empty($QUERY)) $QUERY = $ID;
92 $q = $QUERY;
97 if (empty(trim($QUERY))) $QUERY = '*';
108 $qstring = new \Elastica\Query\SimpleQueryString($QUERY, array_merge($this->searchFields, $fields));
110 $QUERY = $q;
113 $QUERY .= ' ' . implode(' ', $additions);
359 global $QUERY;
368 $pagecreateinfo = sprintf($lang['searchcreatepage'], $QUERY);
371 ['@QUERY@', '@SEARCH@', '@CREATEPAGEINFO@'],
372 [hsc(rawurlencode($QUERY)), hsc($QUERY), $pagecreateinfo],
472 global $QUERY;
503 echo '<a href="' . wl('', http_build_query(['q' => $QUERY, 'do' => 'search', 'ns' => $INPUT->arr('ns'), 'min' => $INPUT->arr('min'), 'p' => ($cur-1)])) . '">';
514 echo '<a href="' . wl('', http_build_query(['q' => $QUERY, 'do' => 'search', 'ns' => $INPUT->arr('ns'), 'min' => $INPUT->arr('min'), 'p' => $toshow[$i]])) . '">';
528 echo '<a href="' . wl('', http_build_query(['q' => $QUERY, 'do' => 'search', 'ns' => $INPUT->arr('ns'), 'min' => $INPUT->arr('min'), 'p' => ($cur+1)])) . '">';