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 | 3b84a3b | 2019-09-22 14:56:29 +0200 | [diff] [blame] | 12 | <td><img id="victim_img" src="https://picsum.photos/id/<?=$victim->id?>/200/200" /></td> |
Andreu | fd98b5d | 2019-09-22 13:15:10 +0200 | [diff] [blame] | 13 | <td> |
| 14 | <div id="victim_name"><?=$victim->nomcomplet?></div> |
| 15 | <div id="victim_curs_i_grau"><span id="victim_curs"><?=$victim->curs?></span>-<span id="victim_grau"><?=$victim->grau?></span></div> |
| 16 | <div id="butons" class="options"> |
| 17 | <button id="win" onclick="js: send_request(user, 'REQ KILL');">L'he matat</button> |
| 18 | </div> |
| 19 | </td> |
| 20 | </tr> |
| 21 | </table> |