<div class="codetitle"> <span><a style="CURSOR: pointer" data="24671" class="copybut" id="copybut24671" onclick="doCopy('code24671')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code24671"> <br><br><br> <br> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <br> <title>短信系统</title> <br><script language="javascript"> <BR> function formcheck(){<BR> if(document.form.zhanghao.value==""){<BR> alert("号码不能为空!");<BR> this.form1.zhanghao.focus();<BR> return false;<BR> }else if(document.form.email.value==""){<BR> alert("内容不能为空!")<BR> this.form1.eamil.focus();<BR> return false;<BR> }else form1.submit(); <BR>}<BR> </script><br> <br><br> <br> <form name="form" method="post" action="sendmail.php" class="formg"> <br> <table> <br> <h2> <br> <tr> <br> <th colspan="8" class="CTitle">发送短信</th> <br> </tr> <br> </h2> <br><br> <br><br> <tr bgcolor="#eeeeee"> <br> <td align="center">号 码:</td> <br> <td><textarea name="content" cols="80" rows="15" id="zhanghao" class="formh"></textarea></td> <br> </tr> <br> <tr bgcolor="#eeeeee"> <br> <td align="center">内 容:</td> <br> <td><textarea name="content" cols="80" rows="15" id="email" class="formh"></textarea></td> <br> </tr> <br><br> <tr bgcolor="#eeeeee" align="center"> <br> <td height="25" colspan="2"> <br> <input type="button" name="Submit" value="发 送" class="button" onclick="javascript:formcheck();"> <br> <input type="reset" name="Submit2" value="重 置" class="button"><br> </td> <br> </tr> <br> <br> </table> <br> </form> <br> <br><br> </div>