Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 1 | <?php |
Andreu | fd98b5d | 2019-09-22 13:15:10 +0200 | [diff] [blame] | 2 | require '../credentials.php'; |
Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 3 | require '../php/utils.php'; |
Andreu | 04f79ef | 2019-09-22 18:52:19 +0200 | [diff] [blame] | 4 | |
Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 5 | $user = get_users($_GET['userid']); |
Andreu | 04f79ef | 2019-09-22 18:52:19 +0200 | [diff] [blame] | 6 | if ($user->mort) die(); |
Andreu | abbcb7e | 2019-09-21 18:22:14 +0200 | [diff] [blame] | 7 | $victim = get_users($user->quimata); |
| 8 | ?> |
| 9 | |
Andreu | 04f79ef | 2019-09-22 18:52:19 +0200 | [diff] [blame] | 10 | <table id="victim_info"> |
Andreu | fd98b5d | 2019-09-22 13:15:10 +0200 | [diff] [blame] | 11 | <tr> |
Andreu | 0d0f9fd | 2019-09-23 03:56:08 +0200 | [diff] [blame] | 12 | <td class="table_img"><img id="victim_img" src="https://picsum.photos/id/<?=$victim->id?>/200/200" /></td> |
| 13 | <td class="table_text"> |
Andreu | fd98b5d | 2019-09-22 13:15:10 +0200 | [diff] [blame] | 14 | <div id="victim_name"><?=$victim->nomcomplet?></div> |
Andreu | 4b2fbd9 | 2019-09-22 22:30:25 +0200 | [diff] [blame] | 15 | <div id="victim_curs_i_grau"> |
| 16 | <span id="victim_curs"><?=$victim->nomcurs()?></span> |
| 17 | - |
| 18 | <span id="victim_grau"><?=$victim->nomgrau()?></span> |
| 19 | </div> |
Andreu | fd98b5d | 2019-09-22 13:15:10 +0200 | [diff] [blame] | 20 | <div id="butons" class="options"> |
| 21 | <button id="win" onclick="js: send_request(user, 'REQ KILL');">L'he matat</button> |
| 22 | </div> |
| 23 | </td> |
| 24 | </tr> |
| 25 | </table> |