{if isset($result)}
<table class="table">
    <thead>
        <tr>
            <td>#</td>
            <td>العملية</td>
            <td>التعليق</td>
            <td>المستخدم</td>
            <td>التاريخ</td>
        </tr>
    </thead>
    <tbody>
        {assign var=i value=1}
        {foreach $result as $data}
        <tr>
            <td>{$i}</td>
            <td>
                {if $data->reviewType == 0 || $data->reviewType == 3}
                الغاء مراجعه
                {else if $data->reviewType == 1 ||$data->reviewType == 4}
                مراجعة
                {/if}
            </td>
            <td>{$data->reviewComment}</td>
            <td>{$data->employeename}</td>
            <td>{$data->sysdate}</td>
        </tr>
        {assign var=i value=$i+1}
        {/foreach}
    </tbody>
</table>
{/if}