  <br>
  <table border=1 cellspacing=1 cellpadding=2 width=760 style="border: 1px inset;">
  <form action="controllers/inputController.php" method="post" name="tradeform" id="tradeform">
  <input name="tradepkey" id="tradepkey" type="hidden" value="<?=$trade_data['tradepkey'];?>">
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Parent Category</td>
  <td valign=top width=610 class=formvalue><?=unescape($parent_data['tradecode'])." - ".unescape($parent_data['tradedescription']);?></td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Level</td>
  <td valign=top width=610 class=formvalue><?=unescape($trade_data['tradelevel']);?></td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Code</td>
  <td valign=top width=610 class=formvalue><?php echo stripslashes($trade_data['tradecode']);?></td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Description</td>
  <td valign=top width=610 class=formvalue><?=stripslashes($trade_data['tradedescription']);?></td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Type</td>
  <td valign=top width=610 class=formvalue><?=stripslashes($trade_data['tradetype']);?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Unit</td>
  <td valign=top width=610 class=formvalue><?=stripslashes($trade_data['tradeunit']);?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Remarks</td>
  <td valign=top width=610 class=formvalue><?=stripslashes($trade_data['traderemarks']);?>&nbsp;</td>
  </tr>
  <tr valign=top>
  <td valign=top width=150 class=formlabel>Received Setting</td>
  <td valign=top width=610 class=formvalue><? if ($trade_data['tradereceivedsetting']==1) { echo "Locked"; } else { echo "Unlocked"; } ?></td>
  </tr>
  <input name="job" id="job" type="hidden" value="">
  </form>
  </table>
