<html>
 <head>
  <title>Message List</title>
 </head>
 <body>
  <al-form method="post">
   <al-input type="submit" name="refresh" value="Refresh">
  </al-form>
  <hr noshade>
  <table>
   <tr align="left">
    <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" expr="mbox">
   <tr align="left" valign="top">
    <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-if expr="(m.index() % 10) == 9"><al-flush></al-if>
   </al-for>
  </table>
 </body>
</html>
