% dim xxid, exec, rs, title, isPrivate, isLock xxid=trim(request("id")) exec="select * from ly where id=" + CStr(xxid) + " " Set RS = Server.CreateObject("ADODB.RecordSet") rs.Open exec, Conn, 1, 3 isPrivate=rs("isPrivate") isLock=rs("isLock") rs("yd")=rs("yd")+1 rs.update '悄悄话的显示限制 if isPrivate then if (not theUser.reged) or (not theUser.master and theUser.name<>rs("name") ) then session("error")="您无权查看此留言!" rsclose() connclose() response.redirect "error.asp" end if end if title=rs("title") %>
| ::: 您 可 以 在 此 直 接 回 复 当 前 主 题 ::: |