예제 #1
0
				</tr>';
    $output .= '<tr>
					<td width="220" class="ui-widget-content left">Icon</td>
					<td width="580" class="ui-widget-content left"><img src="' . $armory->characterIcon($testdata) . '" alt="charicon" /></td>
				</tr>';
    $output .= '<tr>
					<td width="220" class="ui-widget-content left">GET Parameters</td>
					<td width="580" class="ui-widget-content left">character [corgan], realm [Antonidas], loc [eu], lang [de_DE], force [false]</td>
				</tr>';
    $output .= '<tr>
					<td width="220" class="ui-widget-content left">Image</td>
					<td width="580" class="ui-widget-content left"><img src="' . $armory->characterImage($testdata) . '" alt="charimage" /></td>
				</tr>';
    $output .= '<tr>
					<td width="220" class="ui-widget-content left">Name</td>
					<td width="580" class="ui-widget-content left"><a href="' . $armory->bnlink($tmp_charname, $tmp_servername, 'char') . '">' . $testdata['name'] . '</a></td>
				</tr>';
    $output .= '<tr>
					<td width="220" class="ui-widget-content left">Class</td>
					<td width="580" class="ui-widget-content left">' . $testdata['class'] . ' [eqdkp-classid: ' . $armory->ConvertID($testdata['class'], 'int', 'classes') . ']</td>
				</tr>';
    $output .= '<tr>
					<td width="220" class="ui-widget-content left">Race</td>
					<td width="580" class="ui-widget-content left">' . $testdata['race'] . ' [eqdkp-raceid: ' . $armory->ConvertID($testdata['race'], 'int', 'races') . ']</td>
				</tr>';
    $output .= '<tr>
					<td width="220" class="ui-widget-content left">Level</td>
					<td width="580" class="ui-widget-content left">' . $testdata['level'] . '</td>
				</tr>';
    $output .= '<tr>
					<td width="220" class="ui-widget-content left">Gender</td>
예제 #2
0
				.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 {  }
			</style> 
		</head>
		<body>
';
$output .= "<b>battle.net Armory Class Tester - GUILD</b> ( bnetArmory [" . $armory->getVersion() . "]), connection method: <span style='color:red;'>" . $get_method . "</span><br/><br/>";
$output .= 'GET Parameters: guild [Die Freien], realm [Antonidas], loc [eu], lang [de_DE], force [false]<br/><br/>';
// Header
$output .= '<img src="' . $armory->guildTabard($dataarry['emblem'], $dataarry['side'], $dataarry['name']) . '" alt="guild tabard" /><br/>';
$output .= '<div class="ui-grid ui-widget ui-widget-content ui-corner-all">
				<div class="ui-grid-header ui-widget-header ui-corner-top">Guild Members of <a href="' . $armory->bnlink('', $tmp_servername, 'guild', $tmp_guild) . '" target="top">"' . $tmp_guild . '"</a> on realm "' . $tmp_servername . '"</div>';
$output .= '<table class="ui-grid-content ui-widget-content">';
$output .= '<tr><td class="ui-state-default" width="400">Name</th>';
$output .= '<th class="ui-state-default" width="50">Class ID</th>';
$output .= '<th class="ui-state-default" width="50">Race ID</th>';
$output .= '<th class="ui-state-default" width="150">Level</th>';
$output .= '<th class="ui-state-default" width="60">Gender</th>';
$output .= '<th class="ui-state-default" width="150">Rank</th>';
$output .= '<th class="ui-state-default" width="150">Realm</th>';
$output .= '<th class="ui-state-default" width="150">Realm of guild</th>';
$output .= '<th class="ui-state-default" width="150">Battlegroup</th>';
$output .= '</tr>';
// get Members
foreach ($dataarry['members'] as $chars) {
    $output .= "<tr>";
    $charimage = $armory->characterIcon($chars['character']);