/$top
<html>
<head>
<LINK href="/stylesheets/standard.css" rel=stylesheet type=text/css>
<title>PO Listing Example</title>
</head>
<body>

/$pohead
<table width="60%" border="1" cellspacing="0" cellpadding="2">
  <tr>
    <td class="right"><b>Po Number</b></td>
    <td class="right"><b>PO Date</b></td>
    <td><b>Vendor</b></td>
    <td class="right"><b>Misc. Charges</b></td>
  </tr>
  <tr>
    <td class="right">/%po%/</td>
    <td class="right">/%podate%/</td>
    <td>/%vendor%/</td>
    <td class="right">/%misc%/</td>
  </tr>
</table>

/$podet1
<table width="60%" border="1" cellspacing="0" cellpadding="2">
  <tr>
    <td class="right"><b>Line</b></td>
    <td class="right"><b>Quantity</b></td>
    <td><b>Item</b></td>
    <td><b>Description</b></td>
    <td class="right"><b>Price</b></td>
  </tr>
  
/$podet2
  <tr>
    <td class="right">/%line%/</td>
    <td class="right">/%qty%/</td>
    <td>/%item%/</td>
    <td>/%desc%/</td>
    <td class="right">/%price%/</td>
  </tr>

/$podet3
  <tr>
    <td colspan="5">No items exist in PO</td>
  </tr>

/$podet4
</table>
<hr>

/$nopo
No POs current exist in the database.

/$fileerror
Error - The PO File(s) could not be opened!

/$end
</body>
</html>