blob: e2c7ce674a5a28e9cd3358fb0e0229c2daba9d2d [file] [log] [blame]
Andreuabbcb7e2019-09-21 18:22:14 +02001<?php
Andreufd98b5d2019-09-22 13:15:10 +02002 require '../credentials.php';
Andreuabbcb7e2019-09-21 18:22:14 +02003 require '../php/utils.php';
Andreu04f79ef2019-09-22 18:52:19 +02004
Andreuabbcb7e2019-09-21 18:22:14 +02005 $user = get_users($_GET['userid']);
Andreu04f79ef2019-09-22 18:52:19 +02006 if ($user->mort) die();
Andreuabbcb7e2019-09-21 18:22:14 +02007 $victim = get_users($user->quimata);
8?>
9
Andreu04f79ef2019-09-22 18:52:19 +020010<table id="victim_info">
Andreufd98b5d2019-09-22 13:15:10 +020011 <tr>
Andreu3b84a3b2019-09-22 14:56:29 +020012 <td><img id="victim_img" src="https://picsum.photos/id/<?=$victim->id?>/200/200" /></td>
Andreufd98b5d2019-09-22 13:15:10 +020013 <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>