?? mysave.asp
字號(hào):
<!--
┌─9911.com.cn────────────┐
│ 動(dòng)感購物 WWW.9911.com.cn 版權(quán)所有 │
│ 動(dòng)感購物2005Vb 聯(lián)系:web@snsn.net │
└───────────9911.com.cn──┘
-->
<!--#include file="../conn.asp"-->
<!--#include file="../webconfig.asp"-->
<!--#include file="../fuction.asp"-->
<%if info<>1 then
response.Write "<script language='javascript'>alert('對(duì)不起,頁面調(diào)用錯(cuò)誤!');history.go(-1);</script>"
response.End
end if
%>
<html>
<head>
<title><%=webname%>--供求信息</title>
<html>
<link rel="SHORTCUT ICON" href="/shortcut.ico">
<meta name="generator" content="snsn-shop">
<meta name=keywords content="<%=webgjz%>">
<meta name="description" content="<%=webmx%>">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
<link href="/css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜歡本站,別忘了把本站介紹給您的好友哦!:)';return true">-->
<!--#include file="../webtop.asp"-->
<table width="940" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="6" colspan="3"></td>
</tr>
<tr>
<td width="17"><img src="/img/index_1.gif" width="15" height="16"></td>
<td valign="bottom">您現(xiàn)在的位置是:<a href="<%=weburl%>"><%=webname%></a> -> <a href="index.asp">供求信息</a> -> <span class="b14">發(fā)布信息</span></td>
<td valign="bottom"> </td>
</tr>
<tr>
<td height="6" colspan="3"></td>
</tr>
</table>
<table width="945" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="200" valign="top"><!--#include file="info_left.asp"--> </td>
<td valign="top">
<!--#include file="top.asp"-->
<table width="520" border="0" align="center">
<tr>
<td> </td>
</tr>
<tr>
<td width="100%">
<p> </p>
<form method="POST" action="save.asp?action=save">
<%
id=nosql(request("id"))
if Not isChkInteger(request("id")) then
%>
<script language=javascript>
alert("參數(shù)錯(cuò)誤!");
window.close();
</script>
<%
response.end
end if
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from [shop_infomsg] where userid='"&checkFFSQLStr(session("username"))&"' and id="& id&" ",conn,1,1
%>
<table width="650" border="0" align="center" cellpadding="1" cellspacing="2">
<tr>
<td>選擇分類:</td>
<td>
<select name="kin" size="1" class="wenbenkuang" id="select">
<option value="xxx">請(qǐng)選擇分類</option>
<%
set rs_s=server.createobject("adodb.recordset")
sql="select * From shop_infoid order by infoid"
rs_s.open sql,conn,1,1
while not rs_s.eof
if rs("kin")=rs_s("id") then
%>
<option value="<%=rs_s("id")%>" selected ><%=trim(rs_s("info"))%></option>
<%
else
%>
<option value="<%=rs_s("id")%>" ><%=trim(rs_s("info"))%></option>
<%
end if
rs_s.movenext
wend
rs_s.close
set rs_s=nothing
%>
</select>
選擇供求:
<input name="gq" type="radio" value="出售" <%if rs("gq")="出售" then%>checked<%else%><%end if%>>
出售
<input type="radio" name="gq" value="求購" <%if rs("gq")="求購" then%>checked<%else%><%end if%>>
求購</td>
</tr>
<tr>
<td width="16%">主題:</td>
<td width="84%">
<input name="tit" type="text" class="wenbenkuang" id="tit2" value="<%=trim(rs("tit"))%>" size="44" maxlength="40">
* </td>
</tr>
<tr>
<td width="16%">電子郵件:</td>
<td width="84%">
<input name="mal" type="text" class="wenbenkuang" id="mal2" value="<%=trim(rs("mal"))%>" size="44" maxlength="30">
* </td>
</tr>
<tr>
<td width="16%">聯(lián)系人:</td>
<td width="84%">
<input name="lxr" type="text" class="wenbenkuang" id="lxr2" value="<%=trim(rs("lxr"))%>" size="44" maxlength="30">
<input name=userid type=hidden value="<%=trim(rs("userid"))%>" >
<input name=id type=hidden value="<%=trim(rs("id"))%>" >
* </td>
</tr>
<tr>
<td>聯(lián)系電話:</td>
<td width="84%"><input name="tel" type="text" class="wenbenkuang" id="tel2" value="<%=trim(rs("tel"))%>" size="44"maxlength="30">
*</td>
</tr>
<tr>
<td width="16%">聯(lián)系QQ:</td>
<td width="84%">
<input name="qq" type="text" class="wenbenkuang" id="qq2" value="<%=trim(rs("qq"))%>" size="44"maxlength="30">
</td>
</tr>
<tr>
<td>價(jià)格:</td>
<td width="84%"><input name="jg" type="text" class="wenbenkuang" id="jg2" value="<%=trim(rs("jg"))%>" size="44"maxlength="30">
元 *</td>
</tr>
<tr>
<td width="16%">相關(guān)地址:</td>
<td width="84%" height="11"> http://
<input name="ysh" type="text" class="wenbenkuang" id="ysh" value="<%=trim(rs("ysh"))%>" size="36" maxlength="30">
*</td>
</tr>
<tr>
<td width="16%" valign="top">內(nèi)容:</td>
<td width="84%" valign="middle">
<textarea name="msg" cols="50" rows="6" class="wenbenkuang" id="textarea"><%=trim(rs("msg"))%></textarea>
</td>
</tr>
<tr>
<td width="16%">所在地區(qū):</td>
<td width="84%">
<select name="whe" size="1" class="wenbenkuang" id="select2" onChange=chsel()>
<option value="xxx" selected>請(qǐng)選擇省份……</option>
<%
set rs_s=server.createobject("adodb.recordset")
sql="select * From shop_szSheng order by shengorder"
rs_s.open sql,conn,1,1
while not rs_s.eof
%>
<option value="<%=rs_s("ShengName")%>" <%if rs("whe")=rs_s("ShengName") then%>selected<%else%><%end if%>><%=trim(rs_s("ShengName"))%></option>
<%
rs_s.movenext
wend
rs_s.close
set rs_s=nothing
%>
</select>
有效期限:
<select name="edt" size="1" class="wenbenkuang" id="select3">
<option value="一天" <%if rs("edt")="一天" then%>selected<%else%><%end if%>>一天</option>
<option value="二天" <%if rs("edt")="二天" then%>selected<%else%><%end if%>>二天</option>
<option value="三天" <%if rs("edt")="三天" then%>selected<%else%><%end if%>>三天</option>
<option value="四天" <%if rs("edt")="四天" then%>selected<%else%><%end if%>>四天</option>
<option value="五天" <%if rs("edt")="五天" then%>selected<%else%><%end if%>>五天</option>
<option value="六天" <%if rs("edt")="六天" then%>selected<%else%><%end if%>>六天</option>
<option value="一個(gè)星期" <%if rs("edt")="一個(gè)星期" then%>selected<%else%><%end if%>>一個(gè)星期</option>
<option value="半個(gè)月" <%if rs("edt")="半個(gè)月" then%>selected<%else%><%end if%>>半個(gè)月</option>
<option value="一個(gè)月" <%if rs("edt")="一個(gè)月" then%>selected<%else%><%end if%>>一個(gè)月</option>
<option value="二個(gè)月" <%if rs("edt")="二個(gè)月" then%>selected<%else%><%end if%>>二個(gè)月</option>
<option value="一個(gè)季度" <%if rs("edt")="一個(gè)季度" then%>selected<%else%><%end if%>>一個(gè)季度</option>
<option value="半年" <%if rs("edt")="半年" then%>selected<%else%><%end if%>>半年</option>
<option value="一年" <%if rs("edt")="一年" then%>selected<%else%><%end if%>>一年</option>
<option value="無期" <%if rs("edt")="無期" then%>selected<%else%><%end if%>>無期</option>
</select>
</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td width="16%" align="center" height="54"> </td>
<td width="84%" height="54">
<input type="submit" value="馬上發(fā)布" name="B1" class="go-wenbenkuang">
<input type="reset" value="全部重填" name="B2" class="go-wenbenkuang">
</td>
</tr>
</table>
</form>
<p></p></td>
</tr>
</table></td>
</tr>
</table>
<!--#include file="../copyright.asp"-->
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -