  <br>
  <table border=1 cellspacing=1 cellpadding=2 width=928 style="border: 1px inset;">

  <tr valign=top>
  <td valign=top width=48 class=listheader>No.</td>
  <td valign=top width=280 class=listheader>Sub-contractor Name</td>
  <td valign=top width=280 class=listheader>Contact Person</td>
  <td valign=top width=120 class=listheader>Contact No</td>
  <td valign=top width=120 class=listheader>Mobile No</td>
  <td valign=top width=80 class=listheader>Options</td>
  </tr>

  <? foreach ($subcon_list as $mysubcon) { ?>

    <tr valign=top>
    <td valign=top width=48 class=listnumber><?=$mysubcon['recordno'];?></td>
    <td valign=top width=280 class=listcontent><?=$mysubcon['subconname'];?></td>
    <td valign=top width=280 class=listcontent><?=$mysubcon['subconpic'];?>&nbsp;</td>
    <td valign=top width=120 class=listcontent><?=$mysubcon['subconphone1'];?>&nbsp;</td>
    <td valign=top width=120 class=listcontent><?=$mysubcon['subconpicmobile'];?>&nbsp;</td>
    <td valign=top width=80 class=listcontent>
    <a href="index.php?module=subcon&task=view&itemid=<?=$mysubcon['subconmasterpkey'];?>"><img src="gfx/options/b_view.png" border=0 title="View" alt="View"></a>
    <?php if (($pubuseraccess['access_subcon_edit']==1)||($pubuserrole>=2)) {?>
    <a href="index.php?module=subcon&task=edit&itemid=<?=$mysubcon['subconmasterpkey'];?>"><img src="gfx/options/b_edit.png" border=0 title="Edit" alt="Edit"></a>
    <a href="index.php?module=subcon&task=delete&itemid=<?=$mysubcon['subconmasterpkey'];?>"><img src="gfx/options/b_drop.png" border=0 title="Delete" alt="Delete"></a>
    <?php }?>
    </td>
    </tr>

  <? } ?>

  </table>
