29 lines
569 B
Smarty
29 lines
569 B
Smarty
|
{extends file="public/layout.tpl"}
|
||
|
|
||
|
{block name=head2}
|
||
|
<meta http-equiv="refresh" content="60">
|
||
|
{/block}
|
||
|
|
||
|
{block name=main}
|
||
|
<table class="table table-striped">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>#</th>
|
||
|
<th>Team</th>
|
||
|
<th>Slogan</th>
|
||
|
<th>Points</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{foreach from=$rank item=t key=k}
|
||
|
<tr>
|
||
|
<th>{$t->get_rank()}</th>
|
||
|
<td>{link href="{$t->id}-{$t->get_name_url()}" href_prefix="/" label=$t->get_name()}</td>
|
||
|
<td>{$t->slogan}</td>
|
||
|
<td>{$t->get_pts()}</td>
|
||
|
</tr>
|
||
|
{/foreach}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
{/block}
|