?? addxinxi.asp
字號(hào):
<!--#include file="inc/conn.asp"-->
<!--#include file="config.asp"-->
<!--#include file="inc/ip.asp"-->
<!--#include file="inc/err.asp"-->
<%
if request.cookies("cnmai")("username")<>"" or request.cookies("cnmai")("per")<>"" or request("cnmai")<>"" then
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta name="keywords" content="供求信息,二手網(wǎng),二手商品,電子商務(wù),供求網(wǎng)站,免費(fèi)發(fā)布供求信息,商業(yè)信息,貿(mào)易網(wǎng),求購,求購信息,出售,供應(yīng),供求信息網(wǎng),招商投資 生活服務(wù) 家電家居 旅游出行 招聘求職 房產(chǎn)信息
建材裝飾 煙酒副食 電腦網(wǎng)絡(luò) 餐飲酒店 醫(yī)藥保健 農(nóng)林牧漁 安全防護(hù) 包裝紙張 辦公文教 電子通訊
紡織皮革 服裝服飾 工業(yè)機(jī)械 儀器儀表 交通運(yùn)輸 車及配件 工藝禮品 文化藝術(shù) 冶金礦產(chǎn) 出版印刷 能源動(dòng)力 環(huán)境保護(hù)
化工行業(yè) 玩具體育 園林綠化 廣告服務(wù) 商務(wù)服務(wù) 分類廣告 搜索引擎 企業(yè)行業(yè)黃頁 分類信息網(wǎng) 集市">
<title>供求信息發(fā)布-<%=title%></title>
<script>
function loadThreadFollow(t_id,b_id){
var targetImg =eval("document.all.followImg" + t_id);
var targetDiv =eval("document.all.follow" + t_id);
if ("object"==typeof(targetImg)){
if (targetDiv.style.display!='block'){
targetDiv.style.display="block";
}else{
targetDiv.style.display="none";
}
}
}
</script>
<SCRIPT language=javascript>
<!--
function CheckForm()
{
if(document.myform.biaoti.value.length<3)
{
alert("信息標(biāo)題沒有填寫或內(nèi)容太少!");
return false;
}
if(document.myform.memo.value.length<3)
{
alert("信息內(nèi)容沒有填寫或內(nèi)容太少!");
return false;
}
if(document.myform.name.value.length<1)
{
alert("聯(lián)系人姓名沒有填寫!");
return false;
}
if(document.myform.dianhua.value.length<1)
{
alert("聯(lián)系電話沒有填寫!");
return false;
}
}
//-->
</SCRIPT>
<SCRIPT language=javascript>
<!--
function CheckForm1()
{
if(document.myform1.biaoti.value.length<3)
{
alert("信息標(biāo)題沒有填寫或內(nèi)容太少!");
return false;
}
if(document.myform1.memo.value.length<3)
{
alert("信息內(nèi)容沒有填寫或內(nèi)容太少!");
return false;
}
if(document.myform1.name.value.length<1)
{
alert("聯(lián)系人姓名沒有填寫!");
return false;
}
if(document.myform1.dianhua.value.length<1)
{
alert("聯(lián)系電話沒有填寫!");
return false;
}
}
//-->
</SCRIPT>
</head>
<body topmargin="0">
<div align="center"><!--#include file="topcnmai.asp"-->
<table width="760" id="table1" bgcolor="#FFFFFF" style="border-left:1px solid #CCCCCC; border-right:1px solid #CCCCCC; padding:1px; border-top-width:1px; border-bottom-width:1px" cellspacing="0" cellpadding="0">
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td height="30" class=td5_muen></td>
</tr>
<tr>
<td valign="top">
<%if request("cnmai")="free" then%>
<form action="addxinxichk.asp" name="myform" method="POST">
<div align="center">
<table width="510" border="0" bordercolor="#FFFFFF" cellpadding="0" style="border-collapse: collapse">
<tr>
<td height="26" align="center">游客快速發(fā)布</td>
</tr>
<tr>
<td>
<IMG src="image/a_1.gif" width="515" height="10"></td>
</tr>
<tr>
<td height="26" width="528" background="image/b_1.gif">
<p style="margin-left: 50px">信息版塊:<%
dim rsclass,sqlclass
dim count,username
username=request.cookies("cnmai")("username")
set rsclass=server.createobject("adodb.recordset")
sqlclass = "select * from class2 order by paixu desc"
rsclass.open sqlclass,conn,1,1
%><SCRIPT language = "JavaScript">
var onecount;
onecount=0;
subcat = new Array();
<%
count = 0
do while not rsclass.eof
%>
subcat[<%=count%>] = new Array("<%= trim(rsclass("class2"))%>","<%= trim(rsclass("class1"))%>","<%= trim(rsclass("id"))%>");
<%
count = count + 1
rsclass.movenext
loop
rsclass.close
%>
onecount=<%=count%>;
function changelocation(locationid)
{
document.myform.class2.length = 0;
var locationid=locationid;
var i;
for (i=0;i < onecount; i++)
{
if (subcat[i][1] == locationid)
{
document.myform.class2.options[document.myform.class2.length] = new Option(subcat[i][0], subcat[i][2]);
}
}
}
</SCRIPT><%
sqlclass = "select * from class1 order by paixu desc"
rsclass.open sqlclass,conn,1,1
if rsclass.eof and rsclass.bof then
response.write "請(qǐng)先添加欄目。"
response.end
else
%><SELECT name="class1" onChange="changelocation(document.myform.class1.options[document.myform.class1.selectedIndex].value)" size="1">
<OPTION selected value="0">信息類別</OPTION>
<%do while not rsclass.eof
%><OPTION value="<%=trim(rsclass("id"))%>"><%=trim(left(rsclass("class1"),4))%></OPTION>
<%
rsclass.movenext
loop
end if
rsclass.close
%></SELECT>
<SELECT name="class2">
<OPTION selected value="0">二級(jí)分類</OPTION>
</SELECT>
<font color="#FF0000" value="">*</font>
<select name="leixing" size="1">
<option selected value="0">類型選擇</option>
<option value="1"><%=leixing1%></option>
<option value="2"><%=leixing2%></option>
<option value="3"><%=leixing3%></option>
<option value="4"><%=leixing4%></option>
<option value="5"><%=leixing5%></option>
<option value="6"><%=leixing6%></option>
<option value="7"><%=leixing7%></option>
<option value="8"><%=leixing8%></option>
<option value="9"><%=leixing9%></option>
<option>沒有類型</option>
</select></td>
</tr>
<tr>
<td height="26" width="528" background="image/b_1.gif">
<p style="margin-left: 50px">信息標(biāo)題:<input type="text" maxlength="30" name="biaoti" size="40">
<font color="#FF0000">*</font></td>
</tr>
<tr>
<td height="26" width="528" background="image/b_1.gif">
<p style="margin-left: 50px">參考價(jià)格:<input type="text" maxlength="28" name="jiage" size="13">
沒有價(jià)格留空</td>
</tr>
<tr>
<td height="26" width="528" background="image/b_1.gif">
<p style="margin-left: 50px">信息地區(qū):<SELECT name="diqu">
<option value="市轄區(qū)">市轄區(qū)</option>
<option value="寧德市">寧德市</option>
<option value="福安市">福安市</option>
<option value="福鼎市">福鼎市</option>
<option value="霞浦縣">霞浦縣</option>
<option value="古田縣">古田縣</option>
</SELECT></td></tr>
<tr>
<td height="26" width="528" background="image/b_1.gif"><p style="margin-left: 50px">詳細(xì)說明:<textarea rows="5" name="memo" cols="39">原價(jià):
新舊:
作者:
出版社:
其他說明:</textarea>
<font color="#FF0000">*</font></td></tr>
<tr>
<td height="26" width="528" background="image/b_1.gif"><p style="margin-left: 50px">圖片地址:<input type="text" name="tupian" size="40">
<span style="color: #FF0000; font-size: 12px">連接地址不能太長(zhǎng)</span></td></tr>
<tr>
<td height="26" width="528" background="image/b_1.gif"><p style="margin-left: 50px"> 聯(lián)系人:<input type="text" name="name" size="15" maxlength="20"><font color="#FF0000">*</font></td></tr>
<tr>
<td height="26" width="528" background="image/b_1.gif"><p style="margin-left: 50px">聯(lián)系電話:<input type="text" name="dianhua" size="21" maxlength="40"><font color="#FF0000"> *</font></td>
</tr>
<tr>
<td height="26" width="528" background="image/b_1.gif"><p style="margin-left: 50px"> Email:<input type="text" name="email" size="21" maxlength="40"><font color="#FF0000"> *</font>QQ:<!--webbot bot="Validation" s-data-type="Number" s-number-separators="x." i-maximum-length="10" --><input type="text" name="qq" size="12" maxlength="10"><font color="#FF0000">*</font></td>
</tr>
<tr><td height="26" width="528" background="image/b_1.gif"><p style="margin-left: 50px">聯(lián)系地址:<input type="text" name="dizhi" size="40" maxlength="20"></td>
</tr>
<tr><td height="26" width="528" background="image/b_1.gif">
<p style="margin-left: 50px">發(fā)布天數(shù):<font face="宋體" size="2"><select name="days" size="1">
<option value="1">一天</option>
<option value="7" selected>一周</option>
<option value="15">半個(gè)月</option>
<option value="90">三個(gè)月</option>
<option value="180">六個(gè)月</option>
<option value="360">一年</option>
<option value="1080">三年</option>
</select></td>
</tr>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -