Andreu | 2a26cd7 | 2019-09-22 01:58:23 +0200 | [diff] [blame] | 1 | <option selected disabled hidden>Selecciona usuari...</option> |
Andreu | 20cbd1d | 2019-09-22 00:00:57 +0200 | [diff] [blame] | 2 | |
Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 3 | <?php |
Andreu | 2457e40 | 2019-09-22 00:52:41 +0200 | [diff] [blame] | 4 | require '../credentials.php'; |
Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 5 | require '../php/utils.php'; |
| 6 | $users = get_users(0); |
Andreu | 2457e40 | 2019-09-22 00:52:41 +0200 | [diff] [blame] | 7 | |
Andreu | 20cbd1d | 2019-09-22 00:00:57 +0200 | [diff] [blame] | 8 | foreach ($users as $user) { |
| 9 | $nopassword = $user->md5password == "" ? "nopassword" : ""; |
Andreu | 78e5bb0 | 2019-09-22 13:38:04 +0200 | [diff] [blame] | 10 | $mort = $user->mort ? "disabled" : ""; |
| 11 | echo "<option ".$mort." class='".$nopassword."' value='".$user->id."'>".$user->nomcomplet."</option>\n"; |
Andreu | 20cbd1d | 2019-09-22 00:00:57 +0200 | [diff] [blame] | 12 | } |
Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 13 | ?> |