Attackenset mit laden der Sets erstellt
							parent
							
								
									8cfa7e5332
								
							
						
					
					
						commit
						53aec6bb41
					
				| @ -0,0 +1,39 @@ | ||||
| <?php | ||||
| /* | ||||
|  * | ||||
|  * @copyright (c) 2009 animegame.eu | ||||
|  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence | ||||
|  * | ||||
|  */ | ||||
| ?> | ||||
| 
 | ||||
| <?php  | ||||
| define("CLANKAMPF", 2); | ||||
| 
 | ||||
| function getCharAttackSet($char_id, $type) { | ||||
| 	$qry = null; | ||||
| 	$set = array(); | ||||
| 
 | ||||
| 	if(is_numeric($char_id)) { | ||||
| 		$test = 'SELECT Attack_ID,Round FROM attackenset WHERE Char_ID = '.$char_id.' AND Type = '.$type.' ORDER BY Round LIMIT 10;'; | ||||
| 		$qry = mysql_query($test); | ||||
| 	} | ||||
| 	 | ||||
| 	$i = 0; | ||||
| 	while ($result = mysql_fetch_assoc($qry)) { | ||||
| 		$set[] = array("gruppen_id" => $result['gruppen_id'], "gruppen_name" => $result['gruppen_name']); | ||||
| 	} | ||||
| 
 | ||||
| 	return $set; | ||||
| } | ||||
| 
 | ||||
| function updateCharAttackSet($set) { | ||||
| 	 | ||||
| }  | ||||
| 
 | ||||
| function createCharAttackSet() { | ||||
| 	 | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| ?> | ||||
					Loading…
					
					
				
		Reference in New Issue
	
	 radiskull
						radiskull