1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

show top search result

This commit is contained in:
Peter Cowburn
2011-07-05 22:32:56 +00:00
parent f505daa643
commit 64c206f575

View File

@@ -35,7 +35,7 @@ if(strlen($l)>2) $l = substr($l,0,2); // Just take the first 2 chars. eg. pt_BR
$q = urlencode($q);
$l = urlencode($l);
$s = (isset($_GET['start']) && is_numeric($_GET['start']) && $_GET['start']!=0) ? (int)$_GET['start'] : 1;
$s = (isset($_GET['start']) && is_numeric($_GET['start'])) ? (int)$_GET['start'] : 0;
$profile = (isset($_GET['p']) && is_string($_GET['p'])) ? $_GET['p'] : 'all';
$per_page = 10;