Files
2026-04-24 15:32:21 +02:00

55 lines
2.0 KiB
Smarty

<div class="panelRightTop"></div>
<div class="panelRightBody">
<div class="paddedContent">
<div class="panelContentTop"><h2><a href="#" class="long">Administracja</a></h2></div>
<div class="panelContentBody">
<table class="datagrid" cellpadding="0" cellspacing="0" width="100%">
<thead>
<tr >
<th align="left">{tableSort field=login title='Login'}</th>
<th>{tableSort field=last_name title='Nazwisko'}</th>
<th>{tableSort field=email title='email'}</th>
<th>{tableSort field=role title='Rola'}</th>
<th>{tableSort field=last_login title='Ostatnio zalogowany'}</th>
<th class="light"><a style="color: #ffffff;" href="{url User=add}">dodaj</a></th>
</tr>
</thead>
<tbody>
{foreach from=$userList item=item key=j name=main_items}
<tr {if $j is even}class="even"{/if}>
<td>
<a href="#"><b>{$item->GetLogin()}</b></a></td>
<td align="center"> {$item->GetName()} </td>
<td align="center"> {$item->GetEmail()} </td>
<td align="center"> {$item->GetRole()} </td>
<td align="center"> {$item->GetLastLogin()} </td>
<td align="center"> <a href="{url User=edit id=$item->GetId()}">edycja</a> | <a href="{url user=delete id=$item->GetId() ok=1}" onclick="{literal}if(confirm('Czy napewno usunąć tego użytkownika?')){return true;}else{return false;}{/literal}">usuń</a> </td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<div class="panelContentBottom"></div>
</div>
</div>
<div class="panelRightBottom">
<div class="panelButtons">
{*
<form method="post" action="">
<input type="submit" class="button buttonAnuluj" value="" name=""/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" class="button buttonPodglad" value="" name=""/>
<input type="submit" class="button buttonZapisz" value="" name=""/>
<input type="submit" class="button120 buttonZapiszIPublikuj" value="" name=""/>
</form>
*}
</div>
</div>