log("VISITING {$_SERVER['REQUEST_URI']}"); } $start = ! empty($_GET['start']) ? $_GET['start'] : 0; $count = ! empty($_GET['count']) ? $_GET['count'] : 50; ?> OpenStreetMap name finder sample quries

what have people been searching for?

note: people are searching for things all the time, so the list will change from page to page

query(); $ql = new querylog(); $q->descending('id'); $q->limit($count, $start); while ($q->select($ql) > 0) { $date = date('Y-m-d H:i', $ql->date); $terms = htmlspecialchars($ql->query, ENT_QUOTES, 'UTF-8'); $encodedterms = urlencode($ql->query); echo "\n"; } ?>
datesearch term
{$date}{$terms}
earlier\n"; if ($start != 0) { echo "later\n"; } echo "most recent\n"; ?>