  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <tr valign=top>
  <td valign=top width=30 class=listheader>No.</td>
  <td valign=top width=140 class=listheader>Code</td>
  <td valign=top width=510 class=listheader>Division Name</td>
  <td valign=top width=80 class=listheader>Options</td>
  </tr>

  <? foreach ($div_list as $mydiv) { ?>

    <tr valign=top>
    <td valign=top width=30 class=listnumber><?=$mydiv['recordno'];?></td>
    <td valign=top width=140 class=listcontent><?=$mydiv['div_code'];?></td>
    <td valign=top width=510 class=listcontent><?=$mydiv['div_name'];?></td>
    <td valign=top width=80 class=listcontent>
    <a href="index.php?module=user&task=divview&itemid=<?=$mydiv['div_pkey'];?>"><img src="gfx/options/b_view.png" border=0 alt="View"></a>
    <a href="index.php?module=user&task=divedit&itemid=<?=$mydiv['div_pkey'];?>"><img src="gfx/options/b_edit.png" border=0 alt="Edit"></a>
    <a href="index.php?module=user&task=divdelete&itemid=<?=$mydiv['div_pkey'];?>"><img src="gfx/options/b_drop.png" border=0 alt="Delete"></a>
    </td>
    </tr>

  <? } ?>

  </table>
