<!--#include file="../inc/Bll.asp"-->
<!--#include file="../inc/Constant.asp"-->
<!--#include file="../inc/Md5.asp"-->
<!--#include file="../inc/App.asp"-->

<%
Auto_Login2()

dim UID,RV,MicIndex,RoomID
if Request.QueryString("ac")="UpdateForTime" then 
	RS_End
	if Request.QueryString("y")="" then MicIndex=""
	if not IsNumeric(Request.QueryString("y")) then MicIndex="" else MicIndex=Request.QueryString("y")
	if MicIndex="" then
		DB_CONN.EXECUTE("update [i_User_Info] set [i_User_ForUpdateTime]='"&now()&"' where [i_User_ID]="&Session(Session_UserID_Arg))
	else
		if Request.QueryString("r")="" then Rend
		if not IsNumeric(Request.QueryString("r")) then 
			Rend 
		else 
			RoomID=Request.QueryString("r")
		end if
		DB_CONN.EXECUTE("update [i_Sys_Room] set [i_Sys_Room_Mic0"&y&"_UpForTime]='"&now()&"' where [i_Sys_Room_ID]="&RoomID)
	end if
	Rend
end if
%>