<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../conn/nosql.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<%
	action=request("action")
	xqpic=request("xqpic")
	if action="cg" then
		sql="update snsn_user set xq='"&xqpic&"' where id="&session("id")
		conn.execute(sql)
	end if
%>
<body>
<script language="javascript">
var xqword=new Array()
		xqword[1]="爱心"
		xqword[2]="伤心"
		xqword[3]="郁闷"
		xqword[4]="开心"
		xqword[5]="乐观"
		xqword[6]="惊吓"
		xqword[7]="快乐"
		xqword[8]="愤怒"
		xqword[9]="灵光"
		xqword[10]="恐怖"
		xqword[11]="生气"
		xqword[12]="幸福"
		xqword[13]="心碎"
		xqword[14]="幸运"
		xqword[15]="疑问"
		xqword[16]="惊叹"
		xqword[17]="悠闲"
		xqword[18]="包容"
		xqword[19]="高兴"
		xqword[20]="爱慕"
		xqword[21]="烦恼"
		xqword[22]="孤独"
		xqword[23]="思念"
		xqword[24]="恶心"
		xqword[25]="疼痛"
		xqword[26]="忙碌"
		xqword[27]="无语"
		xqword[28]="轻松"
		xqword[29]="警惕"
		xqword[30]="遗忘"
		document.write("<table border=0 width='45'>")
		
		for(i=1;i<=30;i++){
			document.write("<tr onmouseover='this.style.cursor=\"hand\";'><td onmouseout='this.style.backgroundColor=\"\"' onmouseover='this.style.backgroundColor=\"#CCCCCC\"'><div id=pic"+i+" onclick='xqsubmit(this)'>"+xqword[i]+"<img align='absmiddle'  src='xqshow/"+i+".gif'>")
			document.write("<div></td></tr>")
		}
		document.write("</table>")
		function xqsubmit(dd){
			var a=dd.id.substr(3,2)
			f1.xqpic.value="xqshow/"+a+".gif"
			b=dd.innerHTML
			b=b.substr(2,41)+b.substr(0,2)
			window.parent.document.all.content.innerHTML=b
			window.parent.document.all.divc.style.visibility="hidden"
			f1.submit()
		}
</script>
<form name="f1" method="post" action="xinqi.asp?action=cg">
  <input type="hidden" name="xqpic">
</form>
</body>
</html>
