@ -12,8 +12,8 @@ include_once (ROOT_PATH . '//include/designfunctions.inc.php');
function showAttDetails($at_id) {
$at_info = mysql_Fetch_array(mysql_query("SELECT * FROM attacken WHERE id='".$at_id."' LIMIT 1"));
$req_atk = explode(",", $at_info[req_atk]);
$req_lvl = explode(",", $at_info[req_lvl]);
$req_atk = explode(",", $at_info[' req_atk' ]);
$req_lvl = explode(",", $at_info[' req_lvl' ]);
$req_attack = mysql_fetch_array(mysql_query("SELECT f.name AS f_name, b.name AS b_name, c.name AS c_name, d.name AS d_name, e.name AS e_name FROM attacken a LEFT JOIN attacken b ON(b.id='".$req_atk[0]."') LEFT JOIN attacken c ON(c.id='".$req_atk[1]."') LEFT JOIN attacken d ON(d.id='".$req_atk[2]."') LEFT JOIN attacken e ON(e.id='".$req_atk[3]."') LEFT JOIN attacken f ON(f.id='".$req_atk[4]."') WHERE a.id='".$at_id."'"));
?>
@ -22,61 +22,61 @@ function showAttDetails($at_id) {
< table border = "0" cellpadding = "0" cellspacing = "0" style = "border-collapse: collapse" bordercolor = "#111111" width = "100%" height = "25" >
< tr >
< td width = "504" height = "25" colspan = "2" >
< p align = "center" >< b > <?php echo $at_info [ name ]; ?> </ b ></ td >
< p align = "center" >< b > <?php echo $at_info [ 'name' ]; ?> </ b ></ td >
< / tr >
< tr >
< td width = "158" height = "25" >
< p align = "center" > < b > Name< / b > < / td >
< td width = "340" height = "25" > <?php echo $at_info [ name ]; ?> </ td >
< td width = "340" height = "25" > <?php echo $at_info [ 'name' ]; ?> </ td >
< / tr >
< tr >
< td width = "158" height = "25" >
< p align = "center" > < b > Stä rke< / b > < / td >
< td width = "340" height = "25" > <?php echo $at_info [ starke ]; ?> </ td >
< td width = "340" height = "25" > <?php echo $at_info [ 'starke' ]; ?> </ td >
< / tr >
< tr >
< td width = "158" height = "25" >
< p align = "center" > < b > Verteidigung< / b > < / td >
< td width = "340" height = "25" > <?php echo $at_info [ verteidigung ]; ?> </ td >
< td width = "340" height = "25" > <?php echo $at_info [ 'verteidigung' ]; ?> </ td >
< / tr >
< tr >
< td width = "158" height = "25" >
< p align = "center" > < b > Geschwindigkeit< / b > < / td >
< td width = "340" height = "25" > <?php echo $at_info [ speed ]; ?> </ td >
< td width = "340" height = "25" > <?php echo $at_info [ 'speed' ]; ?> </ td >
< / tr >
< tr >
< td width = "158" height = "25" >
< p align = "center" > < b > HP< / b > < / td >
< td width = "340" height = "25" > <?php echo $at_info [ hp ]; ?> </ td >
< td width = "340" height = "25" > <?php echo $at_info [ 'hp' ]; ?> </ td >
< / tr >
< tr >
< td width = "158" height = "25" >
< p align = "center" > < b > MP< / b > < / td >
< td width = "340" height = "25" > <?php echo $at_info [ mp ]; ?> </ td >
< td width = "340" height = "25" > <?php echo $at_info [ 'mp' ]; ?> </ td >
< / tr >
< tr >
< td width = "158" height = "25" >
< p align = "center" > < b > Level< / b > < / td >
< td width = "340" height = "25" > <?php echo $at_info [ level ]; ?> </ td >
< td width = "340" height = "25" > <?php echo $at_info [ 'level' ]; ?> </ td >
< / tr >
< tr >
< td width = "158" height = "25" >
< p align = "center" > < b > Geld< / b > < / td >
< td width = "340" height = "25" > <?php echo $at_info [ geld ]; ?> </ td >
< td width = "340" height = "25" > <?php echo $at_info [ 'geld' ]; ?> </ td >
< / tr >
< tr >
< td width = "158" height = "25" >
< p align = "center" > < b > Type< / b > < / td >
< td width = "340" height = "25" > <?php echo $at_info [ type ]; ?> </ td >
< td width = "340" height = "25" > <?php echo $at_info [ 'type' ]; ?> </ td >
< / tr >
< tr >
< td width = "158" height = "25" >
< p align = "center" > < b > Info< / b > < / td >
< td width = "340" height = "25" > <?php echo $at_info [ info ]; ?> </ td >
< td width = "340" height = "25" > <?php echo $at_info [ 'info' ]; ?> </ td >
< / tr >
<?php
$rassen_1 = explode(",", $at_info[rassen]);
$rassen_1 = explode(",", $at_info[' rassen' ]);
$runde = 0;
include (ROOT_PATH . '//include/array.php');
@ -116,19 +116,19 @@ function showAttDetails($at_id) {
}
while ($x < $req_x) {
if ($x == 0) {
$req_attack1 = $req_attack[b_name];
$req_attack1 = $req_attack[' b_name' ];
}
if ($x == 1) {
$req_attack1 = $req_attack[c_name];
$req_attack1 = $req_attack[' c_name' ];
}
if ($x == 2) {
$req_attack1 = $req_attack[d_name];
$req_attack1 = $req_attack[' d_name' ];
}
if ($x == 3) {
$req_attack1 = $req_attack[e_name];
$req_attack1 = $req_attack[' e_name' ];
}
if ($x == 4) {
$req_attack1 = $req_attack[f_name];
$req_attack1 = $req_attack[' f_name' ];
}
echo "
@ -207,20 +207,20 @@ function showAtks($linkz,$tf='',$rassen='',$order='',$type='',$pagenum='',$fruch
?>
< tr >
< td align = "center" valign = "top" > < font size = "1"
face="Verdana" color="#333333">< b > <?php echo $row [ id ]; ?> </ b ></ font ></ td >
face="Verdana" color="#333333">< b > <?php echo $row [ 'id' ]; ?> </ b ></ font ></ td >
< td align = "center" valign = "top" bgcolor = "#333333" > < font
size="1" face="Verdana"> < / font > < font
color="#FFFFFF" size="1" face="Verdana">< b > <?php echo $row [ name ]; ?> </ b ></ font ></ td >
color="#FFFFFF" size="1" face="Verdana">< b > <?php echo $row [ 'name' ]; ?> </ b ></ font ></ td >
< td align = "center" valign = "top" bgcolor = "#333333" > < font
color="#D1D1D1" size="1" face="Verdana">< b > <?php echo $row [ starke ]; ?> </ b ></ font ></ td >
color="#D1D1D1" size="1" face="Verdana">< b > <?php echo $row [ 'starke' ]; ?> </ b ></ font ></ td >
< td align = "center" valign = "top" bgcolor = "#333333" > < font
color="#D1D1D1" size="1" face="Verdana">< b > <?php echo $row [ verteidigung ]; ?> </ b ></ font ></ td >
color="#D1D1D1" size="1" face="Verdana">< b > <?php echo $row [ 'verteidigung' ]; ?> </ b ></ font ></ td >
< td align = "center" valign = "top" bgcolor = "#333333" > < font
color="#D1D1D1" size="1" face="Verdana">< b > <?php echo $row [ speed ]; ?> </ b ></ font ></ td >
color="#D1D1D1" size="1" face="Verdana">< b > <?php echo $row [ 'speed' ]; ?> </ b ></ font ></ td >
< td align = "center" valign = "top" bgcolor = "#333333" > < font
color="#FFFFFF" size="1" face="Verdana">< b > < a href = "index.php?as=info/attacken&p=1&at_id= <?php echo $row [ id ]; ?> " > Info</ a ></ b ></ font ></ td >
color="#FFFFFF" size="1" face="Verdana">< b > < a href = "index.php?as=info/attacken&p=1&at_id= <?php echo $row [ 'id' ]; ?> " > Info</ a ></ b ></ font ></ td >
< td align = "center" valign = "top" bgcolor = "#FFFFFF" > < font
color="#510002" size="1" face="Verdana">< b > <?php echo $row [ level ]; ?> </ b ></ font ></ td >
color="#510002" size="1" face="Verdana">< b > <?php echo $row [ 'level' ]; ?> </ b ></ font ></ td >
< / tr >