|
|
@@ -21,19 +21,19 @@ if(isset($_GET['ip'])) {
|
|
|
$ip = ip2long(substr(trim($_GET['ip']),0,15));
|
|
|
}
|
|
|
if(isset($_GET['token'])) {
|
|
|
- $token = substr(trim($_GET['token']),0,25);
|
|
|
+ $token = substr(trim($_GET['token']),0,32);
|
|
|
}
|
|
|
if(isset($_GET['action'])) {
|
|
|
$action = substr(trim($_GET['action']),0,12);
|
|
|
}
|
|
|
if(isset($_GET['userid'])) {
|
|
|
- $userid = substr(trim($_GET['userid']),0,25);
|
|
|
+ $userid = substr(trim($_GET['userid']),0,32);
|
|
|
}
|
|
|
if(isset($_GET['role'])) {
|
|
|
$role = substr(trim($_GET['role']),0,8);
|
|
|
}
|
|
|
if(isset($_GET['description'])) {
|
|
|
- $description = substr(trim($_GET['description']),0,25);
|
|
|
+ $description = substr(trim($_GET['description']),0,40);
|
|
|
}
|
|
|
$stats = true;
|
|
|
|
|
|
@@ -118,7 +118,7 @@ foreach($userlist as $user) {
|
|
|
<input type="hidden" id="token" name="token" value="<?php echo $token; ?>">
|
|
|
<input type="hidden" id="action" name="action" value="adduser">
|
|
|
<td>
|
|
|
- <input type='text' id='userid' name='userid' readonly value='<?php echo bin2hex(random_bytes(16)) ?>'>
|
|
|
+ <input type='text' id='userid' name='userid' size='32' readonly value='<?php echo bin2hex(random_bytes(16)) ?>'>
|
|
|
<input type='button'>
|
|
|
</td><td>
|
|
|
<input type='radio' id='reporter' name='role' value='reporter'>Reporter
|