|
|
|
@ -10,17 +10,28 @@ include_once (ROOT_PATH . '/include/config.inc.php');
|
|
|
|
|
include_once (ROOT_PATH . '/include/char.inc.php');
|
|
|
|
|
include_once (ROOT_PATH . '/include/event.inc.php');
|
|
|
|
|
include_once (ROOT_PATH . '/include/parse.inc.php');
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="design/FightStyle.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<?php
|
|
|
|
|
$char_id = validateUnsignedInteger($_GET['char_id'], null);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//function abholenChar(array $user, $event_id, $char_id) {
|
|
|
|
|
//function getEventIdsToFetch($charid) {
|
|
|
|
|
|
|
|
|
|
$ids = getEventIdsToFetch($char_id);
|
|
|
|
|
$event_ids = getEventIdsToFetch($char_id);
|
|
|
|
|
|
|
|
|
|
foreach ($ids as $id) {
|
|
|
|
|
// abholenChar(array $user, $event_id, $char_id)
|
|
|
|
|
foreach ($event_ids as $event_id) {
|
|
|
|
|
$fight_ids = getEventFightIdsByChar($event_id, $char_id);
|
|
|
|
|
foreach ($fight_ids as $event_fight_id) {
|
|
|
|
|
displayEventFight($event_id, $event_fight_id);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
?>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|