|
技术资料 > ASP技术 > 脚本编码 : 短信发送程序 |
短信发送程序 March 25,2004 |
<html>
<head>
<title>短消息发送</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<Script Language="JavaScript">
var temp="";
function check()
{
if (temp==form1.message.value)
{
alert("您不能输入重复的语句");
temp=form1.message.value;
return false;
}
else
{
temp=form1.message.value;
return true;
}
}
</Script>
</head>
<body bgcolor="#0803C7" topmargin="0">
<table width="97%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<center>
<img src="http://mail.amcc.com.cn/smsc/img/top1.jpg" width="768" height="58">
</center>
</td>
</tr>
<tr>
<td height="2">
</td>
</tr>
<tr>
<td height="6">
<center>
<img src="http://mail.amcc.com.cn/smsc/img/top_1.jpg" width="768" height="8">
</center>
</td>
</tr>
<tr>
<td height="323">
<form name="form1" mothed="post" enctype="multipart/form-data" action="http://mail.amcc.com.cn/smsc/send.php3" onsubmit="return(check())">
<p align="center"><font color="#FF0000"><a href="http://www.yearcon.com/vbb/index.php"><font size="+4" color="#FFFF00">欢迎使用短消息中心</font></a></font></p>
<table width="46%" border="1" align="center" bordercolorlight="#FFFFFF" bordercolordark="#000000" cellpadding="0" cellspacing="0" height="120">
<tr>
<td height="379">
<table width="95%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td height="38">
<center>
<b><font color="#FFFFFF">中国移动--短消息发送<br>
</font></b>
</center>
<hr>
<b><font color="#FFFFFF"> </font></b></td>
</tr>
<tr>
<td height="15"><font color="#FFFFFF"><span class="9p">手 机
号 码</span> :
<input type="text" name="phone" size="15">
</font></td>
</tr>
<tr>
<td height="35"><font color="#FFFFFF" class="9p">您的号码(或姓名) :</font><font color="#FFFFFF">
<input type="text" name="name" size="15">
</font></td>
</tr>
<tr>
<td height="37"><span class="9p"><font color="#FFFFFF">选 择 发
送 字 符 集:</font></span>
<select name="charset">
<option value="0">中文</option>
<option value="1">英文</option>
</select>
</td>
</tr>
<tr>
<td height="143">
<p><br>
<font color="#FFFFFF"><span class="9p">短消息内容(限50个字符):</span></font></p>
<p>
<textarea cols=36 name=message rows=6></textarea>
</p>
</td>
</tr>
<tr>
<td height="30">
<div align="center">
<hr>
<input type="image" name="imageField" src="http://mail.amcc.com.cn/smsc/img/fasong.jpg" width="105" height="84">
<input type="hidden" name="ownerphone" value="让爱作主">
</div></td>
</tr>
</table>
</td>
</tr>
</table>
<center>
<script>
var tc_user="ahnw";
</script>
<script src="http://stat.t2t2.com/stat.js"></script>
<br>
<img src="http://mail.amcc.com.cn/smsc/img/top_1.jpg" width="768" height="8">
</center>
</form>
</td>
</tr>
</table>
</body>
</html>
把上面的代码保存为 htm 格式就可以用了
|
|
Copyright © 2001-2008 Shenzhen Hiblue Software Team All rights reserved