|
|
@ -82,6 +82,10 @@ if (!in_array($page, [0, 1])) { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$newer = ($ns ? $ns . '/' . ($page - 1) : ($page - 1)); |
|
|
|
$newer = ($ns ? $ns . '/' . ($page - 1) : ($page - 1)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($query) { |
|
|
|
|
|
|
|
$newer = $newer . '?q=' . $query; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if ($data) { |
|
|
|
if ($data) { |
|
|
@ -90,6 +94,10 @@ if ($data) { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$older = ($ns ? $ns . '/' . ($page + 1) : ($page + 1)); |
|
|
|
$older = ($ns ? $ns . '/' . ($page + 1) : ($page + 1)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($query) { |
|
|
|
|
|
|
|
$older = $older . '?q=' . $query; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if ($ns) { |
|
|
|
if ($ns) { |
|
|
|