|
|
|
<?php
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
* @copyright (c) 2011 animegame.eu
|
|
|
|
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
include_once('path.inc.php'); // get the path ;)
|
|
|
|
include_once (ROOT_PATH . '/include/config.inc.php');
|
|
|
|
include_once (ROOT_PATH . '/include/char.inc.php');
|
|
|
|
include_once(ROOT_PATH.'/include/kampf_anzeige.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) {
|
|
|
|
|
|
|
|
$event_ids = getEventIdsToFetch($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>
|