?? changejz_ok.asp
字號:
<%
if session("admin_name")="" then response.end
%>
<!--#include file="../inc/adconn.asp"-->
<!--#include file="../css.asp"-->
<%
'for i=1 to request("msg").count
'shw_msg=s msg&request("msg")(i)
'next
'msg=request("msg")
if request("action")="save" then
dim id,am_uid,title,msg
id=request("id")
title=request.form("title")
am_uid=request.form("am_uid")
msg=request.form("msg")
'data=request.form("date")
'time=request.form("time")
dim rs,sql
set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from jizhi where id="&id
rs.open sql,conn,1,3
rs("title")=title
if msg="" then
rs("msg")="暫且沒有商品簡介……"
else
rs("msg")=msg
end if
rs("date")=date()
rs("time")=time()
'rs("isbn")=isbn
rs.Update
end if
'conn.close
'set conn=nothing
'rs.close
'set rs=noting
response.redirect "jizhi.asp"
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -