if ($api_version < '2') { include_once 'classes/bnet_armory_old.class.php'; } else { include_once 'classes/bnet_armory.class.php'; } $armory = new bnet_armory($tmp_loc, $tmp_language); if ($api_version > '1') { $armory->setSettings(array('apiKey' => $api_key)); } $testdata = $armory->character($tmp_charname, $tmp_servername, $tmp_force); $get_method = $puf->get_method() ? $puf->get_method() : 'Cached'; $output .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>battle.net Armory Class Tester ' . $armory->getVersion() . ' - CHARACTER</title> <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/base/jquery-ui.css" type="text/css" media="all" /> <style type="text/css"> .ui-grid { width: 900px; padding: .4em; background-image: none; } .ui-grid .ui-grid-content { width: 100%; border-collapse: collapse; } .ui-grid table tbody td, .ui-grid .ui-grid-header, .ui-grid table thead a { padding: .4em; } .ui-grid table tbody td { text-align: center; font-weight: normal; } .ui-grid table tbody td.left { text-align: left; font-weight: normal; } .ui-grid .ui-grid-header, .ui-grid .ui-grid-footer { padding: .8em .4em; text-align: center; } .ui-grid .ui-grid-footer { background-image: none; font-weight: normal; text-align: left; } .ui-grid table thead a { display: block; } .ui-grid .ui-icon { float: right; } .ui-grid .ui-grid-paging { float: right; } .ui-grid .ui-grid-paging-prev { float: left; width: 16px; height: 16px; } .ui-grid .ui-grid-paging-next { float: right; width: 16px; height: 16px; } .ui-grid .ui-grid-results { }
$armory->setSettings(array('apiKey' => $api_key)); } $dataarry = $armory->guild($tmp_guild, $tmp_servername, $tmp_force); $get_method = $puf->get_method() ? $puf->get_method() : 'Cached'; if ($_GET['array'] == 'true') { d($dataarry); die; } if ($_POST['charimg'] == 'true') { die('<img src="' . $armory->characterIcon($chars['character']['thumbnail']) . '" alt="charicon" />'); } $output .= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>battle.net Armory Class Tester ' . $armory->getVersion() . ' - GUILD</title> <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/base/jquery-ui.css" type="text/css" media="all" /> <style type="text/css"> .ui-grid { width: 900px; padding: .4em; background-image: none; } .ui-grid .ui-grid-content { width: 100%; border-collapse: collapse; } .ui-grid table tbody td, .ui-grid .ui-grid-header, .ui-grid table thead a { padding: .4em; } .ui-grid table tbody td { text-align: center; font-weight: normal; } .ui-grid table tbody td.left { text-align: left; font-weight: normal; } .ui-grid .ui-grid-header, .ui-grid .ui-grid-footer { padding: .8em .4em; text-align: center; } .ui-grid .ui-grid-footer { background-image: none; font-weight: normal; text-align: left; } .ui-grid table thead a { display: block; } .ui-grid .ui-icon { float: right; } .ui-grid .ui-grid-paging { float: right; } .ui-grid .ui-grid-paging-prev { float: left; width: 16px; height: 16px; } .ui-grid .ui-grid-paging-next { float: right; width: 16px; height: 16px; } .ui-grid .ui-grid-results { }