<!--#include file="function.asp"-->
<%CheckAdmin3%>
<!--#include file="conn.asp"-->
<!--#include file="Star.inc"-->
<%
page=trim(request.querystring("page"))
AskClassid=trim(request.querystring("AskClassid"))
AskSClassid=trim(request.querystring("AskSClassid"))
AskNClassid=trim(request.querystring("AskNClassid"))
Wma=trim(request.form("Wma"))
MusicName=trim(request.form("MusicName"))
classid=trim(request.querystring("classid"))
Sclassid=trim(request.querystring("Sclassid"))
Nclassid=trim(request.querystring("Nclassid"))
Specialid=trim(request.querystring("Specialid"))
set rs=server.createobject("adodb.recordset")
founerr=false
if act<>"edithits" then
act=request("act")
end if

if act="edithits" then
		hits=request.Form("hits")
		sql="select hits from MusicList where id="&request("id") 
		rs.open sql,conn,1,3
		if not rs.EOF then
			rs("hits")=hits			
			rs.update
		end if
		rs.close
	else
		conn.close
		set conn=nothing
		errmsg=errmsg+"<li>操作错误！请联系管理员</li>"
		call error()
		Response.End
	end if
	set rs=nothing
	conn.close
	set conn=nothing
response.write "<script language=javascript>location.href='javascript:history.go(-1)';</script>"
%>






