Location: PHPKode > projects > iLP System > Release 2.2/upload/lib/templates/tpl.complete.php
<?php
/**
 * iLP System Template: Komplettansicht aller Listen
 * 
 * Autor:		Florian "ApoY2k" Peschka
 * Projekt:		iLP System
 * Paket:		apoy2k.ilp.wrynn.lib.tpl
 * Lizenz:		CreativeCommons (by-nc-sa)
 * Kontakt:		hide@address.com
 * Version:		2.1.1
 */
echo '<h1>'.$lang['complete']['header'].'</h1>
	<table class="itemlist" cellspacing="1" cellpadding="0">
		<thead>
			<tr>
				<th>'.$lang['list']['player'].'</th>
				<th>'.$lang['list']['item'].'</th>
				<th>'.$lang['list']['points'].'</th>
			</tr>
		</thead>
		<tbody>';

if (isset($tpl['list']) && 1 <= count($tpl['list']))
{
	foreach ($tpl['list'] as $row)
	{
		echo '<tr>
				<td>
					<img src="images/icons/'.$row['char']['class'].'.png" alt="wowicon" /><img src="images/icons/'.$row['char']['class'].$row['char']['spec'].'.png" alt="wowicon" /> <a href="?ilp='.ilpUrlEncode('search;user;'.$row['user_id']).'" rel="'.getSafeURL('http://armorylite.com/'.$_SESSION['config']['guild_region'].'/'.$_SESSION['config']['guild_realm'].'/'.$row['char']['name']).'" class="class-'.$row['char']['class'].'">'.$row['char']['name'].'</a>
				</td>
				<td>'.getWowheadLink($row['item_id'], $tpl['user']['tooltip_locale']).'</td>
				<td>'.$row['item_value'].'</td>
			</tr>';
	}
}
else
{
	echo '<tr>
			<td colspan="3" class="info">
				'.$lang['complete']['error'].'
			</td>
		</tr>';
}

echo '</tbody>
	</table>';
?>
Return current item: iLP System