You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			PHP
		
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			PHP
		
	
| <?php
 | |
| /*
 | |
|  *
 | |
|  * @copyright (c) 2010 animegame.eu
 | |
|  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public Licence
 | |
|  *
 | |
|  */
 | |
| 
 | |
| include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/designfunctions.inc.php');
 | |
| include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/fehlerausgabe.inc.php');
 | |
| include_once ($_SERVER['DOCUMENT_ROOT'] . 'ag/include/parse.inc.php');
 | |
| 
 | |
| $char_id = validateUnsignedInteger($_GET['char_id'], null);
 | |
| if ($char_id == null) {
 | |
| 	include ($_SERVER['DOCUMENT_ROOT'] . 'ag/char_index.php');
 | |
| 	exit;
 | |
| } else {
 | |
| 	if (!isUserOwnerOf($user_ida['id'],$char_id)) {
 | |
| 		displayErrorMessage(NULL, 'Dieser Charakter gehört nicht dir.', displayHistoryBackLink());
 | |
| 		exit;
 | |
| 	}
 | |
| 	$use = mysql_query('SELECT a.name, l.benutzt FROM lernen l LEFT JOIN attacken a ON(a.id=l.at_id) WHERE l.besitzer='.$char_id.' ORDER BY l.id');
 | |
| ?>
 | |
| <table border="0" width="480" height="83">
 | |
| 	<tr>
 | |
| 		<td height="50" width="480" colspan="2">
 | |
| 		<p align="center"><b>Technik System</b></td>
 | |
| 	</tr>
 | |
| 	<?php
 | |
| 
 | |
| 	while ($row = mysql_fetch_array($use)) {
 | |
| ?>
 | |
| 	<tr>
 | |
| 		<td height="25" width="152"><b>  <?php echo $row[name]; ?></b></td>
 | |
| 		<td height="25" width="312"> <b><font color=#0000ff><?php echo $row[benutzt]; ?></font></b> mal im Kampf
 | |
| 		eingesetzt.</td>
 | |
| 	</tr>
 | |
| 	<?php
 | |
| 	}
 | |
| ?>
 | |
| </table>
 | |
| <?php
 | |
| 
 | |
| }
 | |
| ?>
 |