Location: PHPKode > projects > iLP System > Release 2.2/upload/lib/templates/tpl.welcome.php
<?php
/**
 * iLP System Template: Startseite (Frontend)
 * 
 * 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['welcome']['header']['user'].' <em>'.$_SESSION['config']['guild_name'].'</em></h1>';
if (!isset($tpl['loots']['error']))
{
	echo '<fieldset>
		<legend><img src="images/icons/cart_put.png" alt="icon" /> '.$lang['welcome']['loots'].'</legend>
		<ul>';
	foreach ($tpl['loots'] as $row)
	{
		echo '<li><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['looter_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> '.$lang['events']['loot'][0].' '.getWowheadLink($row['item_id'], $lang['tooltip_locale']).' '.$lang['events']['loot'][1].' <b>'.$row['value'].'</b> '.$lang['list']['points'].' (<a href="?ilp='.ilpUrlEncode('start;events;detail;'.$row['event_id']).'">'.$row['name'].'</a>)</li>';
	}
	echo '</ul>
	</fieldset>';
}

if (!isset($tpl['events']['error']))
{
	echo '<fieldset>
		<legend><img src="images/icons/date.png" alt="icon" /> '.$lang['welcome']['events'].'</legend>
		<div class="blocklist eventList">';
	foreach ($tpl['events'] as $row)
	{
		echo '<a href="?ilp='.ilpUrlEncode('start;events;detail;'.$row['event_id']).'">
					<img src="images/icons/'.$row['type_icon'].'" alt="eventicon" />
					<span>
						<b>'.$row['type_name'].'</b><br />
						<span class="note">'.$row['event_date'].'</span>
					</span>
				</a>';
	}
	echo '</div>
	</fieldset>';
}
?>
Return current item: iLP System