Location: PHPKode > projects > Esvon Personals > esvon-personals/modules/Mailing_Lists/tpl/ml.htm
<!-- TITLE: Mailing lists -->

<p class="pagetitle">Mailing Lists</p>
<table width="100%" border="0" cellpadding="5">
  <tr> 
    <td colspan="3">
      
      <center>
        <span class=err>##err_msg##</span>
      </center>
          
      <form method=post name=frm>
      
      <input type=hidden name=mact value="ml">

       <table border="0" cellspacing="0" cellpadding="4" width="100%">

        <tr valign="top">
          <td width="25%"><b>Mailing List</td>
          <td width="75%">
	    <select name=mlist_id OnChange="hwSetMailDescr()">
	    ##mlist##
	    </select><br />

<font color=0000FF class=txt8>
<ilayer name=m_txt>
<div id=m_txt></div>
</ilayer>

	  </td>
	  </tr>
        <tr valign="top">
          <td><b>Email Address</td>
          <td><input type=text name=email size=30 value="##email##"><br />

    <input type=radio name=act value=subscribe checked
      style="border:0;"> Subscribe<br />
    <input type=radio name=act value=unsubscribe style="border:0;"> Unsubscribe<br /><br />
          
          </td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><input type=submit name=go value="Submit" class="button"></td>
        </tr>
      </table>
      </form>    
     
    </td>
  </tr>
</table>

<script>

function hwSetMailDescr(){
  var a_Descr = new Array(
##a_Descr##
  );

  var mid = document.frm.mlist_id.selectedIndex;
  if(document.all){
    document.all.m_txt.innerHTML = a_Descr[mid];
  }
  else{
    document.getElementById('m_txt').innerHTML = a_Descr[mid];
  }
}

hwSetMailDescr();

</script>
Return current item: Esvon Personals