<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" hspace="2" vspace="0" align="texttop">Stop List</td>
                  <td align="right"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0></td>
                </tr>
              </table><BR />
              <form name="sub_search" action="glist.cgi" method=post>
              <table border="0" cellspacing="2" cellpadding="3" align="center">
                <tr>
                  <td class="body"><b>Search</b></td>
                  <td class="body">
                    <input type="text" name="stl_email" value="<%if stl_email%><%stl_email%><%endif%>" class="object" size="40">
                    <input type="submit" class="button" name="sub_search" value="Search">
                  </td>
                </tr>
                <tr>
                  <td class="body"><b>Quick Search</b></td>
                  <td class="body"><%search_bar%></td>
                </tr>
              </table>
              <input type="hidden" name="do" value="admin_stoplist" />
              <%hidden_objects%>
              </form>
              <table width="600" align="center" border="0" cellspacing="0">
                <%if msg%><tr><td class="body"><%msg%></td></tr><%endif%>
                <%if hits > $mh and $mh != -1%>
                <tr class="body">
                  <td  class="body"><%include include_toolbar.html%></td>
                <tr>
                <%endif%>
              </table>
              <form name=myform action="glist.cgi" method=post>
              <table width="600" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#007BA4">
                <tr>
                  <td bgcolor="#7a9f54">
                    <table width="100%" border="0" cellspacing="1" cellpadding="1">
                      <tr class="body_bold">
                        <td width="30%" bgcolor="#256A19" class="body_bold">
                          <%ifnot hits%>Email
                          <%else%>
                          <a href="glist.cgi?do=admin_stoplist;<%if query%><%query%><%endif%>;so=<%if so eq 'DESC'%>ASC<%else%>DESC<%endif%><%if mn_disable%>&mn_disable=1<%endif%><%hidden_query%>"><font color="#FFFFFF">Email</font></a>
                          <%ifnot sb%>
                              <img src="<%image_url%>/icons/<%if so eq 'ASC' or so eq ''%>down.gif<%else%>up.gif<%endif%>" border=0>
                            <%endif%>
                          <%endif%>
                        </td>
                        <td bgcolor="#256A19" align="center" width="1%"><input type=checkbox name=c_all value='1' onclick="check_all()" /></td>
                      </tr>
                      <%loop results%>
                      <input type="hidden" name="<%row_num%>-stl_id" value="<%stl_id%>" />
                      <tr bgcolor="<%if even%>#d9e4f2<%else%>#FFFFFF<%endif%>" class="body">
                        <td class="body"><%stl_email%></td>
                        <td align="center"><input type="checkbox" name="modify" value='<%row_num%>' onclick="check_item(this)"/></td>
                      </tr>
                      <%endloop%>
                    </table>
                  </td>
                </tr>
              </table>
              <table width="600" border="0" cellspacing="0" cellpadding="0" align="center">
                <tr>
                  <%if hits > $mh and $mh != -1%>
                  <tr class="body">
                    <td  class="body"><%include include_toolbar.html%></td>
                  <tr>
                  <%endif%>
                  <td align="right">
                    <input name="badd" type="button" value="Add Emails" class="button" onclick="open_url('do=admin_stoplist;form=1<%hidden_query%>')" />
                    <%if hits%><input name="bdelete" type="button" value="Delete Emails" class="button" onclick="init_do('myform', 'admin_stoplist_delete', null, null, 'admin_', null, 2)" /><%endif%>
                  </td>
                </tr>
              </table>
              <input type="hidden" name="do" value="admin_stoplist" />
              <%hidden_query%>
              </form>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<%include include_footer.html%>


