Location: PHPKode > projects > iLP System > Release 2.2/upload/lib/templates/tpl.search.items.php
<?php
/**
 * iLP System Template: Sortierung und Formatierung der Suchergebnisse (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 '<script type="text/javascript">
$(document).ready(function () {';

if (isset($tpl['search']['list']) && 2 <= count($tpl['search']['list']))
{
echo '$(".itemlist").tablesorter({
		sortList: [[2,1]]
	});';
}

if (isset($tpl['search']['loot']) && 2 <= count($tpl['search']['loot']))
{
echo '$(".lootlist").tablesorter({
		sortList: [[2,1]]
	});';
}

echo '});
</script>
<style type="text/css">
#content table.itemlist tbody td + td {
	text-align: left;
}

#content table.itemlist tbody td + td + td {
	text-align: center;
}

#content table.lootlist tbody td + td + td + td + td {
	text-align: center;
}
</style>';
?>
Return current item: iLP System