|
|
@@ -14,7 +14,7 @@ require_once 'token.php';
|
|
|
require_once 'stats.php';
|
|
|
|
|
|
if(!isset($_GET['token'])){
|
|
|
- echo "<form action='admin.php'><input type='text' id='token' name='token'><input type='submit' valeu='send token'></form></div></body></html>";
|
|
|
+ echo "<form action='admin.php'><input type='text' id='token' name='token'><input type='submit' value='send token'></form></div></body></html>";
|
|
|
exit;
|
|
|
}
|
|
|
if(isset($_GET['ip'])) {
|
|
|
@@ -119,7 +119,7 @@ foreach($userlist as $user) {
|
|
|
<input type="hidden" id="action" name="action" value="adduser">
|
|
|
<td>
|
|
|
<input type='text' id='userid' name='userid' size='35' readonly value='<?php echo bin2hex(random_bytes(16)) ?>'>
|
|
|
- <input type='button' id='createtoken' value='new token' onclick='window.location.href="admin.php?token=<?php echo $token; ?>"'>
|
|
|
+ <input type='button' id='createtoken' value='refresh' onclick='window.location.href="admin.php?token=<?php echo $token; ?>"'>
|
|
|
</td><td>
|
|
|
<input type='radio' id='reporter' name='role' value='reporter'>Reporter
|
|
|
<input type='radio' id='consumer' name='role' value='consumer'>Consumer
|