📄 add.asp
字号:
<!--#include file="Common/Inc_DatConn.asp"-->
<!--#include file="Common/Inc_Config.asp"-->
<!--#include file="Common/Inc_Function.asp"-->
<!--#include file="ipcode.asp"-->
<%
'┌─ 风云ASP在线 ────────────────────────┐
'│ │
'│ 作者:赵振波. http://www.fyasp.com │
'│ │
'│ Q Q:176189168 │
'│ │
'│ Email:fy96@163.com │
'│ │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│ │
'│【版权声明】 │
'│ │
'│ 本程序版权归坐看风云所有,未经授权擅自修改、复制或散布本程序│
'│ │
'│的部分或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法 │
'│ │
'│律范围内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!│
'│ │
'└─────────────────── http://www.fyasp.com ──┘
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title><% = strSiteName%>-免费发布信息</title>
<LINK href="hy/img/STYLE.css" type=text/css rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="分类,供求信息,北方供求,整站出售,免费源码,交友, 征友, 风云在线, 约会, 聊天, 征婚, 婚介, 爱情, 友情, 友谊, 朋友, 伙伴, 情人, 伴侣, 同性, 异性, 女人, 男士, 女士, 男孩, 女孩, 帅哥, 美女, 单身, 独身, 性感, 浪漫, 激情, 手机交友, 手机, 短信, 彩信, 铃声, 图片, 照片, 靓照, 贴图, 语音, 视频, 搜索, 文章, 商城" name="keywords">
<link href="Common/Style.css" type="text/css" rel="stylesheet">
<script language="javascript" src="fyfile/ResExplore.js"></script>
<script language="JavaScript">
//资源管理器所在的具体目录
ResourceExplorePath="fyfile/ResourceExplore.asp";
/*
参数说明:
自定义函数(返回的资源记录ID,资源名题,原始文件名称,最后更新时间)
*/
function bbimg(Id,fTitle,fName,fDate)
{
//请在下面添加你的代码
myform.pic.value="fyfile/OpenFile01.asp?pID="+Id;
}
</script>
<!-- 结束 -->
<script language="JavaScript">
/*
当操用户选择"资源管理器中的文件项目后便激发默认的返回函数:OnResWinReturn()"
参数说明:
OnResWinRecurn(返回的资源记录ID,资源名题,原始文件名称,最后更新时间)
*/
function OnResWinReturn(Id,fTitle,fName,fDate)
{
//请在下面添加你的代码
alert("你选择的文件信息如下:\n资源ID:"+Id+"\n资源标题:"+fTitle+"\n资源文件名:"+fName+"\n资源更新时间:"+fDate);
}
</script>
<%
set rss=server.createobject("adodb.recordset")
sqls = "select * from SmallClass order by sj desc"
rss.open sqls,conn,1,1
%>
<script language = "JavaScript">
var onecount;
subcat = new Array();
<%
count = 0
do while not rss.eof
%>
subcat[<%=count%>] = new Array("<%= trim(rss("id"))%>","<%=trim(rss("dl"))%>","<%= trim(rss("smallclassname"))%>");
<%
count = count + 1
rss.movenext
loop
rss.close
%>
onecount=<%=count%>;
function changelocation(locationid)
{
document.myform.SmallClassName.length = 1;
var locationid=locationid;
var i;
for (i=0;i < onecount; i++)
{
if (subcat[i][1] == locationid)
{
document.myform.SmallClassName.options[document.myform.SmallClassName.length] = new Option(subcat[i][2], subcat[i][0]);
}
}
}
</script>
<script language="javascript">
<!--
function IsDigit(){
return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
// -->
</script>
</head>
<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0">
<!--#include file="Top.asp"-->
<script language="javascript">
//检查email的合法性
function checkemail(inputstr){
if(inputstr.indexOf('@') != -1 && inputstr.indexOf('.')!= -1)
return true;
else
return false;
}
//检验表单的合法性
function addinfock(){
if (document.myform.sheng.value == "0") {
alert("\请选择信息面向的地区!");
document.myform.sheng.focus();
return false;
}
else if (document.myform.Topic.value == "") {
alert("\请填写信息主题!");
document.myform.Topic.focus();
return false;
}
else if (document.myform.Topic.value.length < 8) {
alert("\信息主题不能少于8个字符!");
document.myform.Topic.focus();
return false;
}
else if (document.myform.Content.value == "") {
alert("\请填写信息内容!");
document.myform.Content.focus();
return false;
}
else if (document.myform.ContactMan.value == "") {
alert("\请填写联系人!");
document.myform.ContactMan.focus();
return false;
}
else if (document.myform.Tel.value == "") {
alert("\请填写联系电话!");
document.myform.Tel.focus();
return false;
}
else if (document.myform.Email.value == "") {
alert("\请填写联系 E-Mail!");
document.myform.Email.focus();
return false;
}
else if (document.myform.Email.value == "" || !checkemail(document.myform.Email.value)) {
alert("\E-Mail 填写错误,请填写有效的信箱,如 username@163.com !");
document.myform.Email.focus();
return false;
}
else if (document.myform.InfoDate.value == "0") {
alert("\请选择信息有效期!");
document.myform.InfoDate.focus();
return false;
}
else if (document.myform.otherpwd.value == "") {
alert("\请填写验证码!");
document.myform.otherpwd.focus();
return false;
}
}
</script>
<div align="center">
<table cellSpacing="0" cellPadding="0" width="760" border="0">
<tr vAlign="top">
<td width="170" bgcolor="#F3F5F5">
<!--#include file="left.asp"-->
</td>
<td>
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td>
<img height="39" src="images/jiansuo.gif.gif" width="587"></td>
</tr>
<tr>
<td background="images/lhtbg.gif.gif">
<table cellSpacing="0" cellPadding="0" width="550" align="center" border="0">
<tr>
<td><!--#include file="Common/Inc_Search.asp"--></td>
</tr>
<tr>
<td height="6"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgColor="#85bdef" height="1"></td>
</tr>
</table>
<table height="3" cellSpacing="0" cellPadding="0" width="132" border="0">
<tr>
<td></td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr vAlign="top">
<td>
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td width="587" height="32" background="images/vxinxi.gif" align="center">
注:<%if sh=1 then%>请发布真实信息,若信息合法,我们保证24小时内</font><font color="#FFFF00">审核</font>后发布。<%else%><font color="#FF0000">好消息,为了方便大家交易,本站现在关闭信息审核!<%end if%></font></td>
</tr>
</table>
<table cellSpacing="1" cellPadding="0" width="586" bgColor="#a8d70c" border="0">
<tr>
<td bgColor="#ffffff">
<table cellSpacing="0" cellPadding="0" width="100%" bordercolordark="#FFFFFF" borderColorLight="#3986CE" border="0">
<tbody>
<tr>
<td vAlign="top" width="100%" align="center">
<table width="100%" height="20" border="0" cellpadding="4" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td width="100%" valign="center" style="line-height: 150%">
<%
if UCase(changechr(Request.Form("Oper"))) = "MYFORM" then
otherpwd = Trim(Request.form("otherpwd"))
reotherpwd =Trim(Session("numcode"))
if otherpwd<>reotherpwd then
response.write"<script>alert('出错,下面是产生错误的可能原因:\n\n·验证码错误');history.go(-1);</script>"
response.end
end if
if intMemberKey="" then
intMemberKey=0
end if
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -