|
|
|
@ -73,11 +73,10 @@ foreach ($db->getData($ns, $tx, $query, $limit, PAGE_LIMIT) as $value) {
@@ -73,11 +73,10 @@ foreach ($db->getData($ns, $tx, $query, $limit, PAGE_LIMIT) as $value) {
|
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!$query) { |
|
|
|
|
|
|
|
|
|
if (in_array($page, [0, 1])) { |
|
|
|
|
$older = false; |
|
|
|
|
$newer = false; |
|
|
|
|
} else { |
|
|
|
|
|
|
|
|
|
if (!in_array($page, [0, 1])) { |
|
|
|
|
if ($page == 2) { |
|
|
|
|
$newer = ($ns ? $ns : ''); |
|
|
|
|
} else { |
|
|
|
@ -91,10 +90,6 @@ if (!$query) {
@@ -91,10 +90,6 @@ if (!$query) {
|
|
|
|
|
} else { |
|
|
|
|
$older = ($ns ? $ns . '/' . ($page + 1) : ($page + 1)); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
$older = false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($ns) { |
|
|
|
|