
{foreach $allPatientData as $row}
<tr class="odd gradeX"  id="deleterowdata" >
    <td>
        <input type="checkbox" class="checkboxes" value="1"/>
    </td>
    <td>
        {$row->id}
    </td>
    <td>
        {$row->statusno}
    </td>
    <td>
        {$row->wifename}
    </td>
    <td>
        {$row->husdandname}
    </td>
    <td>
        {$row->address}
    </td>
    <td>
        {$row->phone}
    </td>
    <td>
        {$row->mobile}
    </td>
    <td>
        <a class="label  label-primary" href="{$hosturl}/controllers/{$controllname}.php?ac=edit&id={$row->id}">تعديل</a>
    </td>
    <td >
        <a class="deletemsgnew label  label-danger"  data-id="{$row->id}" data-link="patients">حذف</a>
    </td>
</tr>
{/foreach}
