<html>
 <head>
  <title>Message List</title>
 </head>
 <body>
  <al-for iter="m" expr="mbox" pagesize="15" prepare/>
  <al-form method="post">
   <al-if expr="m.has_prevpage()">
    <al-input type="image" prevpage="m" srcicons/left.gif" border="0">
   </al-if>
   <al-input type="submit" name="refresh" value="Refresh">
   <al-if expr="m.has_nextpage()">
    <al-input type="image" nextpage="m" srcicons/right.gif" border="0">
   </al-if>
  </al-form>
  <hr noshade>
  <table>
   <tr align="left">
    <td></td>
    <td><b>View</b></td>
    <td><b>To</b></td>
    <td><b>From</b></td>
    <td><b>Subject</b></td>
   </tr>
   <al-for iter="m" continue>
   <tr align="left" valign="top">
    <td><al-value expr="m.value().msgnum"></td>
    <td>
     <al-form method="post">
      <al-input type="image" name="detail" srcicons/generic.gif" border="0">
      <al-input type="hidden" name="msgnum" expr="m.value().msgnum">
     </al-form>
    </td>
    <td><al-value expr="m.value().hdrs['To']"></td>
    <td><al-value expr="m.value().hdrs['From']"></td>
    <td><al-value expr="m.value().hdrs['Subject']"></td>
   </tr>
   </al-for>
  </table>
  <hr noshade>
 </body>
</html>
