diff --git a/website/views/adminpanel.php b/website/views/adminpanel.php
index e53d679..834f54f 100644
--- a/website/views/adminpanel.php
+++ b/website/views/adminpanel.php
@@ -85,37 +85,37 @@ $listm = $currentpage * $perpage;
Show:
- >
+ >
- >
+ >
- >
+ >
- >
+ >
- >
+ >
- >
+ >
Show:
- >
+ >
- >
+ >
- >
+ >
@@ -138,11 +138,11 @@ $listm = $currentpage * $perpage;
id="admin-batchform"
action=""
method="post">
-
+
-
+
-
+
@@ -154,11 +154,11 @@ $listm = $currentpage * $perpage;
id="admin-groupbatchform"
action=""
method="post">
-
+
-
+
-
+
@@ -225,7 +225,7 @@ $listm = $currentpage * $perpage;
$listm = $currentpage * $perpage;
if ($pagetype == 'user') {
- $q = searchSomeUsersByStatus($listn, $listm, $search, $status);
+ $q = searchSomeUsersByStatus($listn, $perpage, $search, $status);
while($user = $q->fetch(PDO::FETCH_ASSOC)) {
$userID = $user['userID'];
@@ -252,9 +252,9 @@ $listm = $currentpage * $perpage;
action='$thispage'
method='post'>
@@ -264,7 +264,7 @@ $listm = $currentpage * $perpage;
");
}
} else {
- $q = searchSomeGroupsByStatus($listn, $listm, $search, $groupstatus);
+ $q = searchSomeGroupsByStatus($listn, $perpage, $search, $groupstatus);
while ($group = $q->fetch(PDO::FETCH_ASSOC)) {
$groupID = $group['groupID'];
@@ -291,9 +291,9 @@ $listm = $currentpage * $perpage;
action='$thispage'
method='post'>