<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
  <tr>
    <td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
  </tr>
  <tr bgcolor="#7a9f54">
    <td>
      <table width="100%" align=center border="0" cellspacing="1" cellpadding="1">
        <tr class=body>
          <td class=body_bold bgcolor="#256A19" width=5%>
            <a href="glist.cgi?do=pro_report;id=<%id%>;d=1<%if url%><%url%><%endif%>;sb=mli_id;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">ID</font></a>
            <%if sb eq 'mli_id' or not $sb%>
              <img src="<%image_url%>/icons/<%if so eq 'ASC'%>up.gif<%else%>down.gif<%endif%>" border=0>
            <%endif%>
          </td>
          <td class=body_bold bgcolor="#256A19" width=60%>
            <a href="glist.cgi?do=pro_report&id=<%id%>;d=1<%if url%><%url%><%endif%>;sb=mli_subject;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Subject</font></a>
            <%if sb eq 'mli_subject'%>
              <img src="<%image_url%>/icons/<%if so eq 'ASC'%>up.gif<%else%>down.gif<%endif%>" border=0>
            <%endif%>
          </td>
          <td class=body_bold bgcolor="#256A19" width=20% align=center>
            <a href="glist.cgi?do=pro_report&id=<%id%>;d=1<%if url%><%url%><%endif%>;sb=mli_done;so=<%if so eq 'ASC'%>DESC<%else%>ASC<%endif%><%hidden_query%>"><font color="#FFFFFF">Sent</font></a>
            <%if sb eq 'mli_done'%>
              <img src="<%image_url%>/icons/<%if so eq 'ASC'%>up.gif<%else%>down.gif<%endif%>" border=0>
            <%endif%>
          </td>
          <td class=body_white bgcolor="#256A19" align=center width=15%><b>Total Recipients</b></td>
        </tr>
        <%set logged_user = $usr_email%>
        <%loop results%>
        <tr class=body bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>">
          <td  class=body><%mli_id%></td>
          <td class=body><%mli_subject%></td>
          <td class=body align=center><%GList::HTML::date_get('mli_done', 1)%></td>
          <td class=body align=center width=6%><a href="javascript:rs('Details','glist.cgi?do=mli_recipients&eml_mailing_id_fk=<%mli_id%>',550,650,0,20,'Yes')"><%sent%></a></td>
        </tr>
        <%endloop%>
      </table>
    </td>
  </tr>
</table>
<%if hits%>
<table width="100%" border="0" cellspacing="1" cellpadding="1" >
  <tr  class=body>
    <%if hits > $mh%>
    <td colspan="2"><%include include_toolbar.html%></td>
    <%endif%>
    <td colspan=<%if hits > $mh%>"2"<%else%>4<%endif%> align=right class=body><b>Total Recipients: <%if total_recipients%><%total_recipients%><%endif%>&nbsp;</b></td>
  </tr>
</table>
<%endif%>
