blob: e17a64950304418f07aabff1c41fd0a0bdd4fb4e [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>
Andreu0d0f9fd2019-09-23 03:56:08 +020012 <td class="table_img"><img id="victim_img" src="https://picsum.photos/id/<?=$victim->id?>/200/200" /></td>
13 <td class="table_text">
Andreufd98b5d2019-09-22 13:15:10 +020014 <div id="victim_name"><?=$victim->nomcomplet?></div>
Andreu4b2fbd92019-09-22 22:30:25 +020015 <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>
Andreufd98b5d2019-09-22 13:15:10 +020020 <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>