Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.
Navigation

wow armory roster V1.15 error

Last updated on 10 years ago
M
MegaMarte
Posted 10 years ago
Hi,
I've a problem with this infusion.

The problem:

http://alejatedelvudu.com/infusions/w..._panel.php


This have reference to this code line

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false] //What if they decide to set the settings before the roster ever loads data? Need a default...
$result = dbquery("SELECT MAX(character_rank) as max_rank FROM ".DB_WOW_ROSTER);
$max_rank = 20;
if(dbrows($result)) {
$data = dbarray($result);
$max_rank = $data['max_rank'];
}
$output = "<select class='textbox' id='rank_filter' name='selected_rank' style='width:200px;'>\n";
$output.= " <option value=''>".$locale['WAR_ALL']."</option>";
for($i = 0; $i <= $max_rank; $i+=1)
{
if(!in_array($i,$excluded))
$output.= " <option value='".$this->convertRank($i)."'>".$this->convertRank($i)."</option>\n";
}
$output.= "</select>\n";
return $output;
}
/**[/syntaxhighlighter]

I send the complete packaged
Edited by MegaMarte on 10-11-2010 14:59, 10 years ago
MegaMarte attached the following file:
wow_armory_roster_v1-15.zip [147.92kB / 350 Downloads]
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
You cannot set up a bounty in this discussion thread.
Moderator: Support Team
Users who participated in discussion: MegaMarte,