The Crew

Our friendly, monster-killing crew. Officers are indicated by caps and hyphens (e.g. -JERADT-).

CLASSID, $b->CLASSID);
if($ret != 0)
return $ret;
$bLevel = $b->LEVEL;
$aLevel = $a->LEVEL;
if(strlen($bLevel) < 2) $bLevel = "0$bLevel"; if(strlen($aLevel) < 2) $aLevel = "0$aLevel"; $ret = strcmp($bLevel, $aLevel); if($ret != 0) return $ret; return strcmp($a->GUILDRANKID, $b->GUILDRANKID);
}

$classColor = array(
“Warrior” => “#C69B6D”, “Warlock” => “#9382C9”, “Shaman” => “#2359FF”, “Rogue” => “#FFF468”, “Priest” => “#F0EBE0”, “Paladin” => “#F48CBA”,
“Mage” => “#68CCEF”, “Hunter” => “#AAD372”, “Druid” => “#FF7C0A”, “Death Knight” => “#C41E3B”
);

$xml = simpleXML_load_file(“http://wowfeeds.wipeitau.com/GuildRoster.php?location=US&rn=Scarlet%20Crusade&gn=Freelance%20Tax%20Collector&output=XML&callback=?”);
if($xml->FEEDSTATUS == “Good”)
{
$charArray = array();
foreach($xml->GUILDMEMBERS->CHARACTER as $character)
{
$charArray[] = $character;
}
usort($charArray, “ClassSort”);
echo “

“;
echo “

“;
$counter = 0;
foreach($charArray as $char)
{
if($counter == 0)
$prevClass = $char->CLASSID;
if($prevClass != (string)$char->CLASSID || $counter % 3 == 0)
{
echo ““;
$counter = 0;
}
echo “

“;
$prevClass = (string)$char->CLASSID;
$counter++;
}
echo “

Name Ach Points Level Name Ach Points Level Name Ach Points Level
“;
echo “CLASSNAME] . “;”;
if($char->GUILDRANKID <= 4) echo "font-variant: small-caps;"; echo "\""; echo "href=\"{$char->ARMORYURL}\”>”;
if($char->GUILDRANKID <= 4) echo "-{$char->CHARNAME}-“;
else
echo “{$char->CHARNAME}”;
echo “
“;
echo “
{$char->ACHIEVEMENTPOINTS} {$char->LEVEL}

“;
}
?>