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'; |
| 4 | $user = get_users($_GET['userid']); |
| 5 | $victim = get_users($user->quimata); |
| 6 | ?> |
| 7 | |
Andreu | fd98b5d | 2019-09-22 13:15:10 +0200 | [diff] [blame] | 8 | <table class="victima"> |
| 9 | <tr> |
Andreu | 3b84a3b | 2019-09-22 14:56:29 +0200 | [diff] [blame^] | 10 | <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] | 11 | <td> |
| 12 | <div id="victim_name"><?=$victim->nomcomplet?></div> |
| 13 | <div id="victim_curs_i_grau"><span id="victim_curs"><?=$victim->curs?></span>-<span id="victim_grau"><?=$victim->grau?></span></div> |
| 14 | <div id="butons" class="options"> |
| 15 | <button id="win" onclick="js: send_request(user, 'REQ KILL');">L'he matat</button> |
| 16 | </div> |
| 17 | </td> |
| 18 | </tr> |
| 19 | </table> |