diff --git a/ag/abholen.php b/ag/abholen.php index bc54731..3cee34c 100644 --- a/ag/abholen.php +++ b/ag/abholen.php @@ -108,13 +108,13 @@ echo " $kampf_a1[name] vs. $kampf_a2[name]"; } #######################Clan Kampf -if($ab == "Clanfight") { +if($ab == "Clanfight" || $ab == "Turnier") { if(isEventToFetchAwaiting($char_id)) { echo ""; $zeit_in_sek = getEventStatusBlocked($char_id); ?> -

Clan Kampf
 
+


 

Im Moment muss der Char vom Clanfight noch nicht abgeholt werden!

'; + echo '

Im Moment muss der Char vom '.$ab.' noch nicht abgeholt werden!

'; } } diff --git a/ag/clan/kampf_info.php b/ag/clan/kampf_info.php index 7fea6fa..4c898a6 100644 --- a/ag/clan/kampf_info.php +++ b/ag/clan/kampf_info.php @@ -410,6 +410,11 @@ function displayClanFightMenuWithClanLocked($user) { $active_clan_challange_ids = getActiveChallengeIDs($user_clan['id']); $old_challenge_ids = getHistoricalChallengeIDs($user_clan['id']); ?> +
@@ -486,11 +491,11 @@ function displayClanFightMenu($user) { $authorized = isAuthorizedClanfightCoordinator($user_clan['id'], $user['id']); ?> - +
diff --git a/ag/event_abholen.php b/ag/event_abholen.php index 1e663d4..8367781 100644 --- a/ag/event_abholen.php +++ b/ag/event_abholen.php @@ -12,9 +12,9 @@ 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'); -function fetchProcessing($user, $char) { +function fetchProcessing($user, $char, $type) { $char_id = $char['id']; - $event_ids = getEventIdsToFetch($char_id); + $event_ids = getEventIdsToFetch($char_id, $type); if(count($event_ids) == 0) { return 'Es gibt nix zum Abholen!
'; } @@ -27,6 +27,11 @@ function fetchProcessing($user, $char) { foreach ($fight_ids as $event_fight_id) { displayEventFight($event_id, $event_fight_id); } + + // only continue for clan-fights + if ( $type != EVENT_CLAN_FIGHT ) { + break; + } } return NULL; } @@ -39,12 +44,13 @@ function fetchProcessing($user, $char) { - + + + + + + + + + + + +
Art
Ausrüstung ignorieren? +
Chance auf eine Frucht +
Fruchttyp +