|  |  |  | @ -217,6 +217,24 @@ $agb = $_REQUEST['agb']; | 
		
	
		
			
				|  |  |  |  | 							<tr> | 
		
	
		
			
				|  |  |  |  | 									<?php | 
		
	
		
			
				|  |  |  |  | 										$ids = count(getOpenChallengeIDs($user_ida['clan'])); | 
		
	
		
			
				|  |  |  |  | 										if($ids > 0) { | 
		
	
		
			
				|  |  |  |  | 											$n_ids = array(); | 
		
	
		
			
				|  |  |  |  | 											foreach ($ids as $clan_challenge_id) { | 
		
	
		
			
				|  |  |  |  | 												$alreadyParticipating = false; | 
		
	
		
			
				|  |  |  |  | 												$char_ids[] = getParticipatingCharIDs($clan_challenge_id, $user_ida['clan']); | 
		
	
		
			
				|  |  |  |  | 												// okay, | 
		
	
		
			
				|  |  |  |  | 												foreach ($char_ids as $char_id) { | 
		
	
		
			
				|  |  |  |  | 													$char = getChar($char_id); | 
		
	
		
			
				|  |  |  |  | 													if($char['besitzer'] == $user_ida['id']) { | 
		
	
		
			
				|  |  |  |  | 														$alreadyParticipating = true; | 
		
	
		
			
				|  |  |  |  | 														break; | 
		
	
		
			
				|  |  |  |  | 													} | 
		
	
		
			
				|  |  |  |  | 												} | 
		
	
		
			
				|  |  |  |  | 												if(!$alreadyParticipating) { | 
		
	
		
			
				|  |  |  |  | 													$n_ids[] = $ids; | 
		
	
		
			
				|  |  |  |  | 												} | 
		
	
		
			
				|  |  |  |  | 											} | 
		
	
		
			
				|  |  |  |  | 										} | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | 										if($nnn_nn!=0) { | 
		
	
		
			
				|  |  |  |  | 											echo '<td colspan="3" align="center" id="pn">'; | 
		
	
	
		
			
				
					|  |  |  | 
 |