<?php
/**
* iLP System Template: Sortierung und Formatierung der Benutzerprofile
*
* 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 '<style type="text/css">
.lootlist tbody td + td + td + td + td {
text-align: center;
}
</style>
<script type="text/javascript">
$(document).ready(function () {';
if (2 <= count($tpl['search']['user']['list']))
{
echo '$(".itemlist").tablesorter({
sortList: [[1,1]]
});';
}
if (2 <= count($tpl['search']['user']['loots']))
{
echo '$(".lootlist").tablesorter({
sortList: [[1,1]]
});';
}
echo '});
</script>';
?>