<% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
<!--#include file="../inc.asp"-->
<!--#include file="../ydzq.asp"-->
<!--#INCLUDE file="conn1.asp"-->
<%call head()
call saycardd("我的属性")
set rs=Server.CreateObject("ADODB.Recordset")
strsQL="select * from zb where cstr(ids)='"&myid& "'"
rs.open strsQL,liao,1,2
if rs.recordcount<1 then
rs.addnew
rs("ids")=myid
rs.update
end if

if rs("wq")="1" then
wname="<img src='w/wu.gif' alt='木剑'/>"
elseif rs("wq")="2" then
wname="<img src='w/1.gif' alt='光芒剑'/>"
elseif rs("wq")="3" then
wname="<img src='w/2.gif' alt='战神剑'/>"
elseif rs("wq")="4" then
wname="<img src='w/3.gif' alt='天使剑'/>"
elseif rs("wq")="5" then
wname="<img src='w/4.gif' alt='黄金剑'/>"
elseif rs("wq")="6" then
wname="<img src='w/5.gif' alt='毁灭剑'/>"
elseif rs("wq")="7" then
wname="<img src='w/6.gif' alt='蝴蝶剑'/>"
elseif rs("wq")="8" then
wname="<img src='w/7.gif' alt='龙王剑'/>"
elseif rs("wq")="9" then
wname="<img src='w/8.gif' alt='轩辕煞魂斩'/>"
elseif rs("wq")="10" then
wname="<img src='w/9.gif' alt='神魔玄兵'/>"
else
wname="武器未装备"
end if
if rs("dp")="1" then
dname="<img src='y/yi.gif' alt='布衣'/>"
elseif rs("dp")="2" then
dname="<img src='y/1.gif' alt='光芒甲'/>"
elseif rs("dp")="3" then
dname="<img src='y/2.gif' alt='战神甲'/>"
elseif rs("dp")="4" then
dname="<img src='y/3.gif' alt='天使甲'/>"
elseif rs("dp")="5" then
dname="<img src='y/4.gif' alt='黄金甲'/>"
elseif rs("dp")="6" then
dname="<img src='y/5.gif' alt='毁灭甲'/>"
elseif rs("dp")="7" then
dname="<img src='y/6.gif' alt='蝴蝶甲'/>"
elseif rs("dp")="8" then
dname="<img src='y/7.gif' alt='龙王甲'/>"
elseif rs("dp")="9" then
dname="<img src='y/8.gif' alt='轩辕圣甲'/>"
elseif rs("dp")="10" then
dname="<img src='y/9.gif' alt='神魔玄翼'/>"
else
dname="衣服未装备"
end if

if rs("kyaa")="1" then
kname="<img src='x/xue.gif' alt='布靴'/>"
elseif rs("kyaa")="2" then
kname="<img src='x/1.gif' alt='光芒靴'/>"
elseif rs("kyaa")="3" then
kname="<img src='x/2.gif' alt='战神靴'/>"
elseif rs("kyaa")="4" then
kname="<img src='x/3.gif' alt='天使靴'/>"
elseif rs("kyaa")="5" then
kname="<img src='x/4.gif' alt='黄金靴'/>"
elseif rs("kyaa")="6" then
kname="<img src='x/5.gif' alt='毁灭靴'/>"
elseif rs("kyaa")="7" then
kname="<img src='x/6.gif' alt='蝴蝶靴'/>"
elseif rs("kyaa")="8" then
kname="<img src='x/7.gif' alt='龙王靴'/>"
elseif rs("kyaa")="9" then
kname="<img src='x/8.gif' alt='轩辕圣靴'/>"
elseif rs("kyaa")="10" then
kname="<img src='x/9.gif' alt='神魔玄靴'/>"
else
kname="靴子未装备"
end if
if rs("tou")="1" then
tname="<img src='t/tou.gif' alt='布料头盔'/>"
elseif rs("tou")="2" then
tname="<img src='t/1.gif' alt='光芒头盔'/>"
elseif rs("tou")="3" then
tname="<img src='t/2.gif' alt='战神头盔'/>"
elseif rs("tou")="4" then
tname="<img src='t/3.gif' alt='天使头盔'/>"
elseif rs("tou")="5" then
tname="<img src='t/4.gif' alt='黄金头盔'/>"
elseif rs("tou")="6" then
tname="<img src='t/5.gif' alt='毁灭头盔'/>"
elseif rs("tou")="7" then
tname="<img src='t/6.gif' alt='蝴蝶头盔'/>"
elseif rs("tou")="8" then
tname="<img src='t/7.gif' alt='龙王头盔'/>"
elseif rs("tou")="9" then
tname="<img src='t/8.gif' alt='轩辕圣盔'/>"
elseif rs("tou")="10" then
tname="<img src='t/9.gif' alt='神魔玄盔'/>"
else
tname="头盔未装备"
end if
Response.Write "我的属性<br/>"
Response.Write "" & wname & "<br/>" & tname & "<br/>" & dname & "<br/>" & kname & "<br/>"


set rs=Server.CreateObject("ADODB.Recordset")
strsQL="select * from sx where cstr(ids)='"&myid& "'"
rs.open strsQL,liao,1,2
if rs.recordcount<1 then
rs.addnew
rs("ids")=myid
rs.update
end if

Response.Write "攻击力：[" & rs("gj") &"]<br/>防御力：[" & rs("fs") &"]<br/>经验值：[" & rs("jy") &"]<br/>生命值：[" & rs("tl") &"/"&rs("xue")&"]<br/>当前等级：[" & rs("dj") &"]<br/>=========<br/>"
        rs.Close
	Set rs=Nothing
g
     liao.Close
      Set liao=Nothing
%>
<a href="myzb.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[查看装备]</a><br/>
<a href="mywp.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[我的包袱]</a><br/>
<a href="index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[江湖首页]</a><br/>
<a href="/bbs/index.asp?sid=<%=sid%>&amp;saytk=<%=saytk%>">[社区首页]</a><br/>
<%call head1()%>