<!--#include virtual="/inc/conn.asp"-->
<!--#include virtual="/inc/sitecon.asp"-->
<!--#include virtual="/inc/chkuser.asp"-->
<%

call logname("1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,99")


if SafeRequest("act")="upma" then

	id=SafeRequest("id")
	pic=SafeRequest("pic")
	
	sql="select * from ayname where aynameid="&request.Cookies("aynameid")&"" 
	rs.open sql,conn,1,3
	
	if id="ali" then rs("zsali")=trim(pic)
	if id="wei" then rs("zswei")=trim(pic)
	if id="qq" then rs("zsqq")=trim(pic)
	
	rs.update
	rs.close
response.Write "ok"
end if

%>