Andreu | 20cbd1d | 2019-09-22 00:00:57 +0200 | [diff] [blame] | 1 | <option>Selecciona usuari...</option> |
| 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" : ""; |
| 10 | echo "<option class='".$nopassword."' value='".$user->id."'>".$user->nomcomplet."</option>\n"; |
| 11 | } |
Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 12 | ?> |