📄 zyzstxt.asp
字号:
<%@ Language=VBScript %>
<!--#include file="conn.asp"-->
<%
dim sql
dim rs
dim listname
dim typename
set rs=server.createobject("adodb.recordset")
sql="select review,title,reviewcount from article where id="&request("id")
rs.open sql,conn,1,1
%>
<%
dim f,logourl
f = 1003 '将改成你的计费号码 ^_^
logourl ="http://www.96966.net.cn/pic.files/head_r1_c1.gif" '将它改为贵站的LOGO地址 也可以不修改
'以下代码不用修改啦
%>
<html>
<head>
<STYLE type=text/css>
body{
margin:0;color:609BDD;FONT-SIZE: 9pt; LINE-HEIGHT: 150%
}
TD {
color:#666666;FONT-SIZE: 9pt; LINE-HEIGHT: 150%
}
select {
FONT-FAMILY: "Arial", "宋体"; FONT-SIZE: 12px
}
A:link {
COLOR: #000000; FONT-FAMILY: "宋体"; TEXT-DECORATION: none
}
A:visited {
COLOR: #000000; FONT-FAMILY: "宋体"; TEXT-DECORATION: none
}
A:active {
FONT-FAMILY: 宋体; TEXT-DECORATION: none
}
A:hover {
COLOR: #ff3333; TEXT-DECORATION: underline
}
.SELECT2{
BORDER-RIGHT: 0px; BORDER-TOP: 0px; FONT-SIZE: 12px; LEFT: -3px; BORDER-LEFT: 0px; WIDTH: 121px; COLOR: #609BDD; LINE-HEIGHT: 15px; BORDER-BOTTOM: 0px; POSITION: relative; TOP: -3px;
}
.box5 {
BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px solid; OVERFLOW: hidden; BORDER-LEFT: #999999 1px solid; WIDTH: 180px; CLIP: rect(0px 151px 18px 0px); BORDER-BOTTOM: #999999 1px solid; HEIGHT: 19px
}
.box6 {
BORDER-RIGHT: #f4f4f4 1px solid; BORDER-TOP: #f4f4f4 1px solid; OVERFLOW: hidden; BORDER-LEFT: #f4f4f4 1px solid; WIDTH: 178px; CLIP: rect(0px 149px 16px 0px); BORDER-BOTTOM: #f4f4f4 1px solid; HEIGHT: 17px
}
.SELECT3{
BORDER-RIGHT: 0px; BORDER-TOP: 0px; FONT-SIZE: 12px; LEFT: -3px; BORDER-LEFT: 0px; WIDTH: 182px; COLOR: #666666; LINE-HEIGHT: 15px; BORDER-BOTTOM: 0px; POSITION: relative; TOP: -3px;
}
INPUT {
height:18px;FONT-SIZE: 12px; COLOR: #666666; BEHAVIOR: url(http://send.caishow.com/zyzs/htc/xinput2.htc);
}
.button2 {
color:#666666;BORDER: 0px solid; FONT-SIZE: 12px; BACKGROUND-IMAGE: url(http://search.caishow.com:8080/caixiu/images/buttonbg1.gif); HEIGHT: 22px; width: 60px;
}
.text{
line-height:12px;
}
TEXTAREA {
BEHAVIOR: url(http://send.caishow.com/zyzs/htc/textarea2.htc);
}
</STYLE>
<script>
function go_chn(chn)
{
document.all.chn_frm.show.value = 0;
document.all.chn_frm.wp.value = 1;
document.all.chn_frm.channel.value = chn;
document.all.chn_frm.submit();
}
function go_pg(pn)
{
document.all.chn_frm.wp.value = pn;
document.all.chn_frm.submit();
}
function show(style)
{
document.all.chn_frm.show.value = style;
document.all.chn_frm.wp.value = 1;
document.all.chn_frm.submit();
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='手机号码不正确\n';
} } } else if (test.charAt(0) == 'R') errors += '请填写标题名称!\n'; }
}
//验证手机号码
if (!(errors)){
// alert("Yes!");
tmpStr=document.all.upload_form.receiver.value
if (tmpStr==''){
errors=errors+'请填写接收手机号码!\n';}
else {
if (isNaN(parseInt(tmpStr))){
errors=errors+'接收手机号码不是一个有效的数字\n';
}
else{
tmpStr=parseInt(tmpStr);
if (tmpStr>13500000000 && tmpStr<13999999999){
}
else{
errors=errors+'接收手机号码不是一个有效中国移动号码\n';
}
}
}
}
if (document.all.upload_form.content.value == '' || document.all.upload_form.content.value.length > 1500 ){
errors=errors+'请输入文字信息,或者文字多于1500。\n';
}
if (document.all.upload_form.password.value == ''){
errors=errors+'请输入手机密码。\n';
}
if (errors) alert('如果有疑问请联系QQ:375800811\n你输入的内容不合格:\n'+errors);
document.MM_returnValue = (errors == '');
}
//弹出找回密码的窗口
function getpwd()
{
var url = "http://www.caishow.com/login/getpwd.asp?mobil=";
mobil=parseInt(document.all.upload_form.registMobile.value);
if (mobil>13500000000 && mobil<13999999999) {
// alert("清"+mobil);
url += mobil;
popup(url,320,305);
}
else{
alert(mobil+"不是一个有效的手机号码!");
}
}
function popup(url,height,width){
var top=parseInt((screen.availHeight-height)/2)
var left=parseInt((screen.availWidth-width)/2)
window.open(url,null,"location=0,height="+height+"px,width="+width+"px,top="+top+"px,left="+left+"px,status=0,resizable=0,scrollbars=yes")
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>自写彩信</title>
<body bgcolor="#FFFFFF">
<form action="http://send.caishow.com/zyzs/send_txt_save.asp" method="post" name="upload_form" onSubmit="MM_validateForm('subject','','R');return document.MM_returnValue">
<table width="400" height="373" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="55"><img src="imagecai/top.gif" width="400" height="55"></td>
</tr>
<tr>
<td height="295" background="imagecai/bg.gif"><table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="60" height="25">您的手机:</td>
<td colspan="4"><input name="registMobile" type="text" id="registMobile" onKeyPress="if (event.keyCode < 48 || event.keyCode > 57) {alert('请输入数字!');event.returnValue = false;}" value="13" size="17" maxlength="11"></td>
</tr>
<tr>
<td height="25" align="right">密 码:</td>
<td width="70"><input name="password" type="password" id="password" size="8"></td>
<td colspan="3"><input name="getpass" type="button" class="button2" id="getpass" onClick="javascript:getpwd();" value="取回密码"></td>
</tr>
</table>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="60" height="25">接收手机:</td>
<td><input onKeyPress="if (event.keyCode < 48 || event.keyCode > 57) {alert('请输入数字!');event.returnValue = false;}" name="receiver" type="text" size="17" maxlength="11"></td>
</tr>
<tr>
<td height="25">标题名称:</td>
<td><input name="subject" type="text" id="subject3" value="言语传情" size="25" maxlength="20"></td>
</tr>
</table> </td>
<td width="150"><table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>请尽量避免使用特殊符号,如:★●...;并请慎用繁体字。 请确认接收手机是彩信手机 。 </td>
</tr>
</table> </td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="25"> 您可以输入 1500 个字符: </td>
</tr>
<tr>
<td height="50"><textarea name="content" cols="52" rows="8" wrap="VIRTUAL" id="content"><%=rs("title")%></textarea></td>
</tr>
</table> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="40" align="center"><input class="button2" type="submit" name="Submit" value="发 送">
<input name="cooperationID" type="hidden" id="cooperationID" value="<%=f%>" size="4"> <input name="logourl" type="hidden" id="logourl" value="<%=logourl%>" size="4"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="23"><img src="imagecai/bottom.gif" width="400" height="23"></td>
</tr>
</table>
</form>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -