<!-- #include file="../Inc.asp" -->
<!--#include file="../ydzq.asp"-->
<%'============================================================

'============================================================
%>
<card title="日记置顶">
<p>
<% dim rs,sql,id
   id=request.QueryString("id")
  if id="" or IsNumeric(id)=False then
  Call Error("ID无效！")
  end if
   classid=int(request.QueryString("classid"))
   set rs=server.CreateObject ("ADODB.Recordset") 
rs.open "Select * from blog_view where id="&id ,conn,2,3  
rs.addnew
rs("num")=1
        rs.update
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing

Response.Write "日记置顶成功!" 
Response.write "<br/><a href='/bbs/Blog.asp?ids="&ids&"&amp;sid="&sid&"&amp;saytk="&saytk&"'>返回博客主页</a>"
Response.write "<br/><a href='/bbs/Blog.asp?sid="&sid&"&amp;saytk="&saytk&"'>博客</a>&lt;<a href='/bbs/photo.asp?sid="&sid&"&amp;saytk="&saytk&"'>相册</a>&lt;<a href='/bbs/myread.asp?sid="&sid&"&amp;saytk="&saytk&"'>留言</a>"

%>
<!--#include file="fanhui.asp"-->

</p>
</card>
</wml>