<div class="handler">
    <div class="lap p5">
        Strony dodatkowe
    </div>
    <input type="hidden" name="%%JS_HELPER%%" class="orderUrl" value="{admin::$i->url}?mode={core::$i->mode}" />
    {include file='tpl/orders.tpl'}
   <table class="table orderTable">
        <thead>
            <tr>
                <td>#</td>
                <td>Nazwa</td>
                <td>Keywords</td>
                <td>URL</td>
                <td></td>
            </tr>
        </thead>
        {foreach from=$data item=item}
        <tbody>
            <tr>
                <td width="30" class="tac">{$item.id}</td>
                <td>{$item.name}</td>
                <td class="tac">{$item.keywords}</td>
                <td class="tal"><a href="{$item.modname}.html">{$item.modname}.html</a></td>
                <td width="100" class="tac"><span class="s_button">Opcje<ul>
                    <li><a href="{admin::$i->url}?mode={core::$i->mode}&function=edit&id={$item.id}"><i class="fa fa-edit"></i>Edytuj</a></li>
                    <li><a href="javascript:;" onclick="confirmation('{admin::$i->url}?mode={core::$i->mode}&function=delete&id={$item.id}','Czy na pewno chcesz usunąć?')"><i class="fa fa-remove"></i>Usuń</a></li>
                </ul>
                </span></td>
            </tr>
        </tbody>
        {/foreach}
    </table>
    {include file='tpl/str.tpl'}
</div>