Location: PHPKode > projects > iLP System > Release 2.2/upload/_backend/lib/templates/tpl.welcome.php
<?php
/**
 * Officers welcome page
 * 
 * Autor:		Florian "ApoY2k" Peschka
 * Projekt:		iLP System
 * Paket:		apoy2k.ilp.wrynn.lib.tpl
 * Lizenz:		CreativeCommons (by-nc-sa)
 * Kontakt:		hide@address.com
 * Version:		2.2
 */
echo '<h1>'.$lang['welcome']['header']['officer'].'</h1>
<p>
	'.$lang['welcome']['text'][0].'
</p>
<p>
	'.$lang['welcome']['text'][1].'
</p>';

if (isset($tpl['versionupdate']))
{
	echo '<div class="info">
		<h1>'.$lang['welcome']['version']['header'].'</h1>
		<p>'.$lang['welcome']['version']['text'].'</p>
		<a class="versionupdate" href="https://sourceforge.net/projects/ilpsystem/files/iLP%20System%20.wrynn/Patches/'.$tpl['versionupdatefile'].'/download">'.$lang['welcome']['version']['download'].'</a>
	</div>';
}

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('events;edit;'.$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('events;edit;'.$row['event_id']).'">
					<img src="../images/icons/'.$row['type_icon'].'" />
					<span>
						<b>'.$row['type_name'].'</b><br />
						<span class="note">'.$row['event_date'].'</span>
					</span>
				</a>';
	}
	echo '</div>
	</fieldset>';
}
?>
Return current item: iLP System