<%@ LANGUAGE=VBScript codepage ="936" %>
<%Response.Expires=0
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Pragma","No-Cache"
Response.AddHeader "Cache-Control","Private"
Response.CacheControl = "No-Cache"
zhbg_id=Session("zhbg_id")
zhbg_name=Session("zhbg_name")
zhbg_grade=Session("zhbg_grade")
zhbg_jhdj=Session("zhbg_jhdj")
if zhbg_name="" then Response.Redirect "../../error.asp?id=440"
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("zhbg_usermdb")
%>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title><%=Application("zhbg_chatroomname")%>[<%=zhbg_name%>]状态</title>
<link href="../../css.CSS" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	background-color: #EAF3FA;
}
-->
</style></head>
<body  leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<SCRIPT language=javascript>
function showwp(ename,cname,tx,tj,lb,liliang,fangyu,sudu1,sudu,price){
	zl.innerHTML='<input type=hidden name=wpname value='+cname+'>'+cname+'[<font color="#ff6600">'+lb+'</font>]<br>攻击：['+liliang+']，防御：['+fangyu+']，耐久：[<font color=red>'+sudu1+'</font>/<font color=blue>'+sudu+'</font>]，特性:['+tx+']<br>'
}
function yesno(name) {
if(confirm("您现在将要卸下的是 ["+name+"]  \n您现在可以点确定卸下。")) {document.form1.submit();}
}
</SCRIPT>
<%
function gjl(lb)
if isnull(rs(lb)) then
	gjl=0
	exit function
end if
data1=split(rs(lb),"|")
rs.close
rs.open "select * FROM b WHERE a='" & data1(0) &"'",conn,3,3
If Rs.Bof OR Rs.Eof then
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing
	gjl=0
	exit function
end if
gjl=int(rs("f")*(clng(data1(1))/rs(j)))
rs.close
end function
function myzb(lb)
if isnull(rs(lb)) or trim(rs(lb))="" then
	rs.close
	myzb="无"
	exit function
end if
data1=split(rs(lb),"|")
rs.close
rs.open "select * FROM b WHERE a='" & data1(0) &"'",conn,3,3
If Rs.Bof OR Rs.Eof then
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing
	myzb="无"
	exit function
end if
myzb="<A href='#' onclick="&chr(34)&"showwp('"&rs("i")&"','"&rs("a")&"','"&rs("k")&"','"&tj&"','"&rs("b")&"',"&rs("f")&","&rs("g")&","&data1(1)&","&rs("j")&","&rs("h")&");"&chr(34)&" title='"&rs("c")&"'><img src='../../Center/jhjs/images/"&rs("i")&"'width='75' border='0' alt='"&rs("c")&"'></A>"
rs.close
end function
if zhbg_name="" then Response.Redirect "../../error.asp?id=440"
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("zhbg_usermdb")
rs.open "SELECT * FROM 用户 WHERE 姓名='"&zhbg_name&"'",conn,3,3
tlj=rs("体力加")
nlj=rs("内力加")
tx=rs("名单头像")
%>
<table width="530" border="0" align="center" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
<tr><td width="22" height="67" valign="top"><img src="../../GIF/zhuant1.gif"></td>
  <td width="111" valign="top"><img src="../../GIF/zhuant3zb.jpg" width="111" height="67"></td>
  <td width="375" valign="top" background="../../GIF/zhuant4.jpg"><a href="daojun.asp"><img src="../../GIF/zhuant3zblb.jpg" width="111" height="67" border="0"></a></td>
  <td width="22" valign="top"><img src="../../GIF/zhuant2.gif" width="22" height="67"></td>
</tr></table>
<table width="530" border="0" align="center" cellpadding="0" cellspacing="0" background="../../GIF/zhuant01.gif">
  <!--DWLayoutTable-->
<tr><td height="15" colspan="3" valign="top"><img src="../../GIF/zhuant02.gif" width="530" height="15"></td>
  </tr>
<tr>
  <td width="22" height="175" valign="top"><img src="../../GIF/zhuant5.gif" width="22" height="8"></td>
  <td width="486" valign="top"><br>
  
	<table width="486" height="100" border="0" cellpadding="0" cellspacing="0">
	  <!--DWLayoutTable-->
	  <tr><td width="130" height="22" align="center" bgcolor="#E7F5FF">[头盔]
	    
	</td>
	    <td width="23" rowspan="6" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
	    <td width="130" align="center" bgcolor="#E7F5FF" height="22">[装饰]</td>
	    <td width="26" rowspan="6" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
	    <td width="177" rowspan="6" valign="top"><div align="center"><img id=face src="../../ico/<%=tx%>-2.gif" alt=个人形象代表></div>
	      <br>
	      <div align="left">用  户：<font size="2" color="#FF0000"><%=rs("姓名")%></font><br><br>
	        银  子：<%=rs("银两")%><br>
	        攻击力：<%=rs("攻击")%><br>
	        攻击加：<%=rs("攻击加")%><br>
	        防御力：<%=rs("防御")%><br>
	        防御加：<%=rs("防御加")%></div>	</td>
	  </tr>
	  <tr>
	    <td height="34" align="center"><% rs.close 
			rs.open "SELECT z1 FROM 用户 WHERE 姓名='"&zhbg_name&"'" %>
	    <%=myzb("z1")%></td>
	    <td align="center"><%rs.open "SELECT z2 FROM 用户 WHERE 姓名='"&zhbg_name&"'",conn,3,3 %>
	      <%=myzb("z2")%></td>
	    </tr>
	  <tr>
	    <td height="22" align="center" bgcolor="#E7F5FF">[盔甲]</td>
	    <td align="center" valign="middle" bgcolor="#E7F5FF">[左手]</td>
	    </tr>
	  <tr>
	    <td height="34" align="center"><%rs.open "SELECT z3 FROM 用户 WHERE 姓名='"&zhbg_name&"'",conn,3,3 %>
	      <%=myzb("z3")%></td>
	    <td align="center" valign="middle"><%rs.open "SELECT z4 FROM 用户 WHERE 姓名='"&zhbg_name&"'",conn,3,3 %>
	      <%=myzb("z4")%></td>
	    </tr>
	  <tr>
	    <td height="22" align="center" bgcolor="#E7F5FF">[右手]</td>
	    <td align="center" valign="middle" bgcolor="#E7F5FF">[战靴]</td>
	    </tr>
	  <tr>
	    <td height="36" align="center"><%rs.open "SELECT z5 FROM 用户 WHERE 姓名='"&zhbg_name&"'",conn,3,3 %>
	      <%=myzb("z5")%></td>
	    <td align="center" valign="middle"><%rs.open "SELECT z6 FROM 用户 WHERE 姓名='"&zhbg_name&"'",conn,3,3 %>
	      <%=myzb("z6")%></td>
	    </tr>
	</table>
	<br>
	<FORM action=xxia.asp method=post name=form1>	
		<table width="100%" border="0" align="center" cellpadding="8" cellspacing="0" bgcolor="#E7F5FF">
		<tr>
   <td width="398" rowspan="3" align="center" vAlign=middle id=zl><input type=hidden name=wpname value=''>　</td>
  </tr>
  <tr valign="top">
   <td width="50"><input type="submit"  value="卸  下" class=solbutton onClick="if(document.form1.wpname.value!=''){yesno(document.form1.wpname.value);return false;}else{return false;}">
   </td>
  </tr>
</table>
</FORM>
</td>
  <td width="22" valign="top"><img src="../../GIF/zhuant6.gif" width="22" height="8"></td>
</tr>
<tr>
  <td height="42" colspan="3" valign="top"><img src="../../GIF/zhuant0di.gif" width="530" height="65"></td>
  </tr>
</table>
</body>
</html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>