Browse Source

add admin view

andre 4 years ago
parent
commit
cbb831c392
1 changed files with 3 additions and 1 deletions
  1. 3 1
      admin.php

+ 3 - 1
admin.php

@@ -89,7 +89,9 @@ foreach($blacklist as $blip) {
 }
 ?>
 <tr>
-    <form action="admin.php?token=<?php $token ?>&action=blacklist">
+    <form action="admin.php">
+    <input type="hidden" id="token" name="token" value="<?php $token ?>">
+    <input type="hidden" id="action" name="action" value="blacklist">
     <td>
         <input type='text' id='ip' name='ip'>
     </td><td>