diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php index 7741f420..f4b293b6 100644 --- a/web/template/pkg_search_results.php +++ b/web/template/pkg_search_results.php @@ -1,15 +1,8 @@
' method='post'> -
- - - - - - - - -
+
+
-
- +
@@ -17,6 +10,7 @@
+
@@ -83,43 +77,42 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) { -
 
-
- - -
- - +
- - + +
+
- - -
- - - - - + + + - @@ -164,11 +171,7 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) { } } ?> - -
- - - -
- -
+
+ + + +
+ +
+ + +
+ +
+ + +
0) { $pages = ceil($total / $_GET['PP']); @@ -128,8 +121,6 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) { if ($pages > 1) { ?> -
0) { $currentpage = ceil(($_GET['O'] + 1) / $_GET['PP']); @@ -156,7 +147,23 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) { + 0): + $O = $_GET['O'] - $_GET['PP']; + + if ($_GET['O'] < $_GET['PP']) { + $O = 0; + } + ?> + "> + + + 0): ?> + '> + +
-
- -
+ +
+