Location: PHPKode > scripts > PHP Reciprocial Links > php-reciprocial-links/admin/emailall.php
<?
function main()
{

?><script language="JavaScript">
<!--
function Validate()
{
if (form123.from.value=='')
{
	alert("From Email address cannot be left blank");
	document.form123.from.focus();
	return (false);
}

if (form123.subject.value=='')
{
	alert("Email Subject cannot be left blank");
	document.form123.subject.focus();
	return (false);
}

if (form123.message.value=='')
{
	alert("Email message cannot be left blank");
	document.form123.message.focus();
	return (false);
}


return(true);
}

//-->
</script>
<form action="sendmailall.php" method="post" name="form123" id="form123" onsubmit="return Validate();">
  <div align="center">
    <table width="80%" border="0" cellspacing="10" cellpadding="0">
      <tr bgcolor="#004080"> 
        <td height="25" colspan="2"><strong><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif"> 
          &nbsp;Send Mail to all Link Partners</font></strong></td>
      </tr>
      <tr> 
        <td bgcolor="#f5f5f5"><b><font size="2" face="Arial, Helvetica, sans-serif">From:</font></b></td>
        <td><input name="from" type="text" value="hide@address.com" size="24" border="0"></td>
      </tr>
      <tr> 
        <td bgcolor="#f5f5f5"><b><font size="2" face="Arial, Helvetica, sans-serif">Subject 
          :</font></b></td>
        <td>&nbsp;</td>
      </tr>
      <tr> 
        <td colspan="2"><input name="subject" type="text" size="50" border="0"></td>
      </tr>
      <tr> 
        <td width="130" bgcolor="#f5f5f5"><b><font size="2" face="Arial, Helvetica, sans-serif">Message:</font></b></td>
        <td>&nbsp; </td>
      </tr>
      <tr> 
        <td colspan="2"><textarea name="message" cols="55" rows="12" id="textarea" border="0"></textarea></td>
      </tr>
      <tr> 
        <td colspan="2" background="images/dots.gif"></td>
      </tr>
      <tr> 
        <td colspan="2"> <div align="center"> 
            <input type="submit" name="submitButtonName" value="Send Mail" border="0">
            <br>
          </div></td>
      </tr>
    </table>
  </div>
</form>
<?
}
include_once "template.php";

?>
Return current item: PHP Reciprocial Links