Applied restruturation with the AJAX code
diff --git a/ajax/victiminfo.php b/ajax/victiminfo.php
index 2396bb8..518e26a 100644
--- a/ajax/victiminfo.php
+++ b/ajax/victiminfo.php
@@ -1,9 +1,19 @@
<?php
+ require '../credentials.php';
require '../php/utils.php';
$user = get_users($_GET['userid']);
$victim = get_users($user->quimata);
?>
-<img width="300px" src="./imgs/<?=$victim->id?>.png" />
-<h2 id="victim_name"><?=$victim->nomcomplet?></h2>
-<h3><span id="victim_curs"><?=$victim->curs?></span>-<span id="victim_grau"><?=$victim->grau?></span></h3>
+<table class="victima">
+ <tr>
+ <td><img id="victim_img" src="./imgs/<?=$victim->id?>.png" /></td>
+ <td>
+ <div id="victim_name"><?=$victim->nomcomplet?></div>
+ <div id="victim_curs_i_grau"><span id="victim_curs"><?=$victim->curs?></span>-<span id="victim_grau"><?=$victim->grau?></span></div>
+ <div id="butons" class="options">
+ <button id="win" onclick="js: send_request(user, 'REQ KILL');">L'he matat</button>
+ </div>
+ </td>
+ </tr>
+</table>