diff --git a/ag/include/designfunctions.inc.php b/ag/include/designfunctions.inc.php index 954bf7d..73a2542 100644 --- a/ag/include/designfunctions.inc.php +++ b/ag/include/designfunctions.inc.php @@ -83,6 +83,14 @@ function generateUserLinkByID($userid, $showClanTags = TRUE){ } +function generateAttackLinkByID($attackid) { + $sql = 'SELECT * from attacken WHERE id = ' .$attackid; + $qry = mysql_query($sql); + $row = mysql_fetch_assoc($qry); + return ''.$row['name'].''; +} + + function displayClanLink($clanid, $clanname = NULL){ if($clanname === NULL) { $qry = mysql_query('SELECT clanname FROM clan WHERE id = ' . $clanid); diff --git a/ag/info/lern.php b/ag/info/lern.php index 17da0f9..dec5c39 100644 --- a/ag/info/lern.php +++ b/ag/info/lern.php @@ -61,8 +61,7 @@ if ($char_id == null) { foreach ($attacks_learned as $item) { ?>