<html>
<body>
  <%include include_header.html%>
  <%set book_mark = 'stop_list'%>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" height="82%">
  <tr>
    <td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
    <td colspan="3" height="3%" bgcolor="#E8EAD0" valign="top"><%include admin_setup_include_menu.html%></td>
    <td rowspan="2" bgcolor="#008000" height="100%" width="1"><img src="<%image_url%>/pics/1pixel.gif" width="1" height="1"></td>
  </tr>
  <tr>
    <td height="97%" colspan="3" valign="top">
      <table width="99%" 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>
          <td>
              <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#336600" style="border: 1px solid #C5E1A3">
                <tr>
                  <td class="bold_white" height="20"><img src="<%image_url%>/icons/stop.gif" align="texttop" hspace="2" vspace="0">Add Stop List</td>
                  <td align="right"><a href="glist.cgi?do=admin_stoplist<%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></a></td>
                </tr>
              </table><BR />
              <form name="myform" action="glist.cgi" method=post>
              <table border="0" cellspacing="0" cellpadding="0" height="80%" align="center">
                <%if msg%><tr><td class="body"><%msg%><br /><br /></td></tr><%endif%>
                <%if confirmation%>
                <tr>
                  <td class="body">
                    <font color="red">The new Stop List will permanently remove <b><%found_emails%></b> addresses from active lists.</font><BR/><BR/>
                    <div style="position: relative; width:500px; height:<%if loop_hits >5%>200px<%else%>100px<%endif%>; overflow:auto;">
                      <table cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                          <td class="body"><b>Email</b></td>
                          <td class="body" align="center"><b>Delete</b></td>
                        </tr>
                        <%loop loop_results%>
                        <tr>
                          <td class="body"><%email%></td>
                          <td class="body" align="center"><%if found%><%found%><%endif%></td>
                        </tr>
                        <%endloop%>
                      </table>
                    </div>
                  </td>
                </tr>
                <tr>
                  <td class="body" align="center">
                    <b>Are you sure you want to add above email(s) to your Stop List?</b> <BR />
                    <input type="hidden" value="<%data%>" name="emails">
                    <input type="submit" value="   Yes   " class="button">
                    <input type="button" value="   No   " class="button" onclick="window.history.back()">
                  </td>
                </tr>
                <%else%>
                <tr>
                  <td height="60%"class="body">Email Addresses<BR/>
                    <textarea name="emails" class="object" cols="60" rows="20"><%if emails%><%emails%><%endif%></textarea>
                  </td>
                </tr>
                <tr>
                  <td align=center height="20%" valign=top><BR />
                    <input name="bsearch" type=submit value="Add Emails" class="button" />
                    <input name="breset" type=reset value=" Reset " class="button" />
                  </td>
                </tr>
                <%endif%>
              </table>
              <input type="hidden" name="do" value="admin_stoplist_<%if confirmation%>add<%else%>confirm<%endif%>" />
              <%hidden_objects%>
              </form>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<%include include_footer.html%>


