<div><a href="category.php?op=new"><{$smarty.const._ADD}> <{$smarty.const._PROFILE_AM_CATEGORY}></a></div>
<table>
    <tr>
    <th><{$smarty.const._PROFILE_AM_TITLE}></th>
    <th><{$smarty.const._PROFILE_AM_DESCRIPTION}></th>
    <th><{$smarty.const._PROFILE_AM_WEIGHT}></th>
    <th></th>
    </tr>
    <{foreach item=category from=$categories}>
        <tr class="<{cycle values='odd, even'}>">
            <td><{$category.cat_title}></td>
            <td><{$category.cat_description}></td>
            <td><{$category.cat_weight}></td>
            <td>
                <a href="category.php?id=<{$category.cat_id}>" title="<{$smarty.const._EDIT}>"><{$smarty.const._EDIT}></a>
                &nbsp;<a href="category.php?op=delete&amp;id=<{$category.cat_id}>" title="<{$smarty.const._DELETE}>"><{$smarty.const._DELETE}></a>
            </td>
        </tr>
    <{/foreach}>
</table>