  <br>
  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <form action="controllers/inputController.php" method="post" name="projectform" id="projectform">
  <input name="projectpkey" id="projectpkey" type="hidden" value="<?=$project_data['projectpkey'];?>">
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Project ID</td>
  <td valign=top width=610 class=formvalue><?=$project_data['projectid'];?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Project Name</td>
  <td valign=top width=610 class=formvalue><?=$project_data['projectname'];?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Project Description</td>
  <td valign=top width=610 class=formvalue><?=$project_data['projectdescription'];?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Client Name</td>
  <td valign=top width=610 class=formvalue><?=$project_data['projectclientname'];?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Client Contact No</td>
  <td valign=top width=610 class=formvalue><?=$project_data['projectclientphone'];?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Project Value</td>
  <td valign=top width=610 class=formvalue><?=number_format($project_data['projectvalue'],2);?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Project Start Date</td>
  <td valign=top width=610 class=formvalue><?=unconverttounixslash($project_data['projectcommencementdate']);?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Project End Date</td>
  <td valign=top width=610 class=formvalue><?=unconverttounixslash($project_data['projectcompletiondate']);?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Quantity Surveyor</td>
  <td valign=top width=610 class=formvalue><?=$project_data['projectqsname'];?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>QS Contact No</td>
  <td valign=top width=610 class=formvalue><?=$project_data['projectqsphone'];?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Project Manager</td>
  <td valign=top width=610 class=formvalue><?=$project_data['projectpmname'];?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>PM Contact No</td>
  <td valign=top width=610 class=formvalue><?=$project_data['projectpmphone'];?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>In-House Project</td>
  <td valign=top width=610 class=formvalue><? if ($project_data['projectinhouse']==0) { echo "No"; } else { echo "Yes"; } ?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>C/O</td>
  <td valign=top width=610 class=formvalue><?=$project_data['projectco'];?>&nbsp;</td>
  </tr>
  </table>
  <? if ($project_data['projectmanual']=="0") { ?>
    <!--
    <br>
    <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
    <? $cindex=1; ?>
    <? foreach ($consultant_list as $myconsultant) { ?>
      <tr valign=top>
      <td valign=top width=150 class=formlabel>Consultant <?=$cindex;?></td>
      <td valign=top width=330 class=formvalue><?=dottedstr($myconsultant['consultantname'],25);?>&nbsp;</td>
      <td valign=top width=150 class=formlabel>Contact No</td>
      <td valign=top width=130 class=formvalue><?=$myconsultant['consultantphone1'];?>&nbsp;</td>
      </tr>
      <? $cindex++; ?>
    <? } ?>
    </table>
    -->
  <? } ?>
  <br>
  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <tr valign=top>
  <td valign=top width=50 class=formlabel>No.</td>
  <td valign=top width=500 class=formlabel>Personnel Name</td>
  <td valign=top width=210 class=formlabel>Contact No</td>
  </tr>
  <? $cindex=1; ?>
  <? foreach ($personnel_list as $mypersonnel) { ?>
    <tr valign=top>
    <td valign=top width=50 class=formvalue style="text-align: center;"><?=$cindex;?>&nbsp;</td>
    <td valign=top width=500 class=formvalue><?=$mypersonnel['personnelname'];?>&nbsp;</td>
    <td valign=top width=210 class=formvalue><?=$mypersonnel['personnelphone'];?>&nbsp;</td>
    </tr>
    <? $cindex++; ?>
  <? } ?>
  <input name="job" id="job" type="hidden" value="">
  </form>
  </table>
