<!-- #include file=../../inc/BBSsetup.asp -->
<!-- #include file=../../inc/Board_popfun.asp -->
<!-- #include file=pet_conn.asp -->
<!--#include file=pet_config.asp-->
<%
DEF_BBS_HomeUrl = "../../"
dim menu,savem,rsbank,rssql,chentitle,chenbackasp,stats,errmsg,founderr,action

chentitle="宠物装备店"
chenbackasp="petcenter.asp"
stats="宠物装备商店"
BBS_SiteHead DEF_SiteNameString&" "&DEF_BBS_Name,GBL_board_ID,">>&nbsp;<a href=petcenter.asp>宠物中心</a>&nbsp;>>&nbsp;" & chentitle

if GBL_CHK_User="" then
	AlarmErrmsg
else
    dim money,smoney,saveday,allmoney,time1,time2,daikuang,dkdu,daiday,sucmsg
    dim Form_userphoto,Form_FaceUrl,Form_FaceWidth,Form_FaceHeight
    
    Dim Rs,SQL

	OpenDatabase	
    set rs=con.execute("select * from [leadbbs_user] where username='"&GBL_CHK_User&"' ")
      	
    money=rs("points")

	Form_userphoto = Rs("Userphoto")
	If DEF_AllDefineFace = 1 Then
		Form_FaceUrl = Rs("FaceUrl")
		Form_FaceWidth = Rs("FaceWidth")
		Form_FaceHeight = Rs("FaceHeight")
	End If    

    rs.close
    

    
    
    sql = "SELECT * FROM mypetdata WHERE username='"&GBL_CHK_User&"' "
    rs.open sql,connpet,1,3
    if rs.eof then
        call showmessage("你还没有宠物啊，快攒钱去买吧~","petshop.asp")
        else

dim tmoney,sword,tmp,necklace,head,body,foot
        
if request("action") = "" then
    action = "showroom"
    else
    action = lcase(request("action"))
end if


select case action
    case "buysword"
        sword = request("sword")
        tmoney=sword*DEF_PET_perswordmoney
        tmp=sword-rs("item1")
        if (money<tmoney) then
            call showmessage("你没有那么多钱购买这些物品","weaponshop.asp")
        elseif (tmp<1) then
            call showmessage("你现有的装备等级高于你购买的装备，不用再买了","weaponshop.asp")
        else
            con.ExeCute("UPDATE [leadbbs_user] SET points=points-" & tmoney & " WHERE username='"&GBL_CHK_User&"'")
            connpet.ExeCute("UPDATE mypetdata SET item1="&sword&" WHERE username='"&GBL_CHK_User&"'")
            call showmessage("购买成功，你的攻击力增加 "&sword&" 点！","weaponshop.asp")
        end if
    case "buynecklace"
        necklace = request("necklace")
        tmoney=necklace*DEF_PET_pernecklacemoney
        tmp=necklace-rs("item2")
        if (money<tmoney) then
            call showmessage("你没有那么多钱购买这些物品","weaponshop.asp")
        elseif(tmp<1) then
            call showmessage("你现有的装备等级高于你购买的装备，不用再买了","weaponshop.asp")
        else
            con.ExeCute("UPDATE [leadbbs_user] SET points=points-" & tmoney & " WHERE username='"&GBL_CHK_User&"'")
            connpet.ExeCute("UPDATE mypetdata SET item2="&necklace&" WHERE username='"&GBL_CHK_User&"'")
            call showmessage("购买成功，你的攻击力增加 "&necklace&" 点！","weaponshop.asp")
        end if
    case "buyhead"
        head = request("head")
        tmoney=head*DEF_PET_perheadmoney
        tmp=head-rs("item3")
        if (money<tmoney) then
            call showmessage("你没有那么多钱购买这些物品","weaponshop.asp")
        elseif(tmp<1) then
            call showmessage("你现有的装备等级高于你购买的装备，不用再买了","weaponshop.asp")
        else
            con.ExeCute("UPDATE [leadbbs_user] SET points=points-" & tmoney & " WHERE username='"&GBL_CHK_User&"'")
            connpet.ExeCute("UPDATE mypetdata SET item3="& head &" WHERE username='"&GBL_CHK_User&"'")
            call showmessage("购买成功，你的防御力增加 "& head &" 点！","weaponshop.asp")
        end if
    case "buybody"
        body = request("body")
        tmoney=body*DEF_PET_perbodyemoney
        tmp=body-rs("item4")
        if (money<tmoney) then
            call showmessage("你没有那么多钱购买这些物品","weaponshop.asp")
        elseif(tmp<1) then
            call showmessage("你现有的装备等级高于你购买的装备，不用再买了","weaponshop.asp")
        else
            con.ExeCute("UPDATE [leadbbs_user] SET points=points-" & tmoney & " WHERE username='"&GBL_CHK_User&"'")
            connpet.ExeCute("UPDATE mypetdata SET item4="&body&" WHERE username='"&GBL_CHK_User&"'")
            call showmessage("购买成功，你的防御力增加 "&body&" 点！","weaponshop.asp")
        end if
    case "buyfoot"
        foot = request("foot")
        tmoney=foot*DEF_PET_perfootmoney
        tmp=foot-rs("item5")
        if (money<tmoney) then
            call showmessage("你没有那么多钱购买这些物品","weaponshop.asp")
        elseif(tmp<1) then
            call showmessage("你现有的装备等级高于你购买的装备，不用再买了","weaponshop.asp")
        else
            con.ExeCute("UPDATE [leadbbs_user] SET points=points-" & tmoney & " WHERE username='"&GBL_CHK_User&"'")
            connpet.ExeCute("UPDATE mypetdata SET item5="&foot&" WHERE username='"&GBL_CHK_User&"'")
            call showmessage("购买成功，你的防御力增加 "&foot&" 点！","weaponshop.asp")
        end if
end select        
        
        
    end if
    rs.close    
%>
<% If GBL_TableHeadString <> "" Then %><table width=<%=DEF_BBS_ScreenWidth%> border=0 cellspacing=0 cellpadding=0 align=center><tr><td><%=GBL_TableHeadString%></td></tr></table><% End If %>
<table width="<%=DEF_BBS_ScreenWidth%>" border="0" cellspacing="1" cellpadding="5" align="center" class=TBone>
  <tr>
    <td height=27 align="center" class=tbhead2><b><font class=HeadFont><%=stats%></font></b></td>
  </tr>
  <tr>
    <td class=tbbg1>
    
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td width="28%" rowspan="2"><table width="79%"  border="0" align="center" cellpadding="3" cellspacing="3">
<tr><td width="100%"> <div align="center">我的资料</div></td>
</tr><tr><td><div align="center">
					<%
					If isNull(Form_FaceUrl) Then Form_FaceUrl = ""
					If DEF_AllDefineFace = 0 or Trim(Form_FaceUrl) = "" Then%>
					<img src=<%=DEF_BBS_HomeUrl%>images/face/<%=string(4-len(cstr(Form_userphoto)),"0")&Form_userphoto%>.gif align=absmiddle width=62 height=62>
					<%Else%>
						<img src="<%=htmlencode(replace(Form_FaceUrl,"../","../../"))%>" align=absmiddle width=<%=Form_FaceWidth%> height=<%=Form_FaceHeight%>>
					<%End If%>
					<br><img src=../images/blank.gif width=2 height=5><br>                      
</div></td>
</tr><tr>
                    <td> <div align="center">
                        <nobr>用户<%=DEF_PointsName%>: <%=money%></nobr>
                        </div></td>
</tr></table><br> <table width="90%" border="0" align="center" cellpadding="3" cellspacing="3">
<tr><td><div align="center"></div>
<!-- #include file=petnav.asp --></td>
</tr></table><br><table width="79%" border="0" align="center" cellpadding="3" cellspacing="3">
<tr><td width="100%"><div align="center"><img src="images/pet/27.gif"></div></td>
</tr></table><br><div align="right"></div></td>
<td><table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr><td width="20%"><div align="center"><a href="weaponshop.asp?action=showroom">武器柜台</a></div></td><td width="20%"><div align="center"><a href="weaponshop.asp?action=shownecklace">项链柜台</a></div></td>
<td><div align="center"><a href="weaponshop.asp?action=showhead">头盔柜台</a></div></td><td width="20%"><div align="center"><a href="weaponshop.asp?action=showbody">盔甲柜台</a></div></td>
<td width="20%"><div align="center"><a href="weaponshop.asp?action=showfoot">鞋子柜台</a></div></td>
</tr></table></td></tr><tr><td width="72%"> 
<%if action = "showroom" then%>
<form action=weaponshop.asp name="name" mtehod=post>
<TABLE class=text1 cellSpacing=1 cellPadding=3 width=530 align=center border=0><TR> 
<TD width=100><DIV align=center>名字</DIV></TD>
<TD width=100><DIV align=center>形象</DIV></TD>
<TD width=100><DIV align=center>攻击力</DIV></TD>
<TD width="100"><DIV align=center>价格</DIV></TD>
<TD width=100><div align="center">购买选项</div></TD>
</TR><TR><TD width=100><DIV align=center>短剑</DIV></TD>
<TD width=100><DIV align=center><IMG height=30 src="images/pet/sword/1.gif" width=30></DIV></TD>
<TD width=100><DIV align=center>＋1</DIV></TD>
<TD><DIV align=center><%=DEF_PET_perswordmoney*1%></DIV></TD>
<TD width=100 align=middle><div align="center"><input type="radio" name="sword" value="1">购买</div></TD></TR>
<TR><TD width=100><DIV align=center>狩猎剑</DIV></TD><TD width=100 align=middle><DIV align=center>
<IMG height=30 src="images/pet/sword/2.gif" width=30></DIV></TD>
<TD width=100><DIV align=center>＋2</DIV></TD>
<TD><DIV align=center><%=DEF_PET_perswordmoney*2%></DIV></TD>
<TD width=100 align=middle><div align="center"><input type="radio" name="sword" value="2">购买</div></TD></TR><TR>
<TD width=100><DIV align=center>强力剑</DIV></TD>
<TD width=100 align=middle><DIV align=center><IMG height=30 src="images/pet/sword/3.gif" width=30></DIV></TD>
<TD width=100><DIV align=center>＋3</DIV></TD>
<TD><DIV align=center><%=DEF_PET_perswordmoney*3%></DIV></TD>
<TD width=100 align=middle><div align="center"><input type="radio" name="sword" value="3">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>正义剑</DIV></TD>
<TD width=100 align=middle><DIV align=center><IMG height=30 src="images/pet/sword/4.gif" width=30></DIV></TD>
<TD width=100><DIV align=center>＋4</DIV></TD><TD><DIV align=center><%=DEF_PET_perswordmoney*4%></DIV></TD>
<TD width=100 align=middle><div align="center"><input type="radio" name="sword" value="4">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>男爵剑</DIV></TD><TD width=100 align=middle> <DIV align=center><IMG height=30 
src="images/pet/sword/5.gif" width=30></DIV></TD><TD width=100> <DIV align=center>＋5</DIV></TD>
<TD><DIV align=center><%=DEF_PET_perswordmoney*5%></DIV></TD><TD width=100 align=middle><div align="center"><input type="radio" name="sword" value="5">
购买</div></TD></TR><TR><TD width=100><DIV align=center>烈焰剑</DIV></TD><TD width=100 align=middle> <DIV align=center><IMG height=30 
src="images/pet/sword/6.gif" width=30></DIV></TD><TD width=100><DIV align=center>＋6</DIV></TD>
<TD><DIV align=center><%=DEF_PET_perswordmoney*6%></DIV></TD><TD width=100 align=middle><div align="center"> 
<input type="radio" name="sword" value="6">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>青钢剑</DIV></TD><TD width=100 align=middle> <DIV align=center><IMG height=30 
src="images/pet/sword/7.gif" width=30></DIV></TD><TD width=100> <DIV align=center>＋7</DIV></TD>
<TD><DIV align=center><%=DEF_PET_perswordmoney*7%></DIV></TD><TD width=100 align=middle><div align="center"> 
<input type="radio" name="sword" value="7">购买</div></TD>
</TR><TR><TD width=100> <DIV align=center>多刃剑</DIV></TD>
<TD width=100 align=middle><DIV align=center><IMG height=30 src="images/pet/sword/8.gif" width=30></DIV></TD>
<TD width=100><DIV align=center>＋8</DIV></TD><TD><DIV align=center><%=DEF_PET_perswordmoney*8%></DIV></TD><TD width=100 align=middle><div align="center"> 
<input type="radio" name="sword" value="8">购买</div></TD>
</TR><TR> 
<TD width=100><DIV align=center>战神剑</DIV></TD>
<TD width=100 align=middle> <DIV align=center><IMG height=30 src="images/pet/sword/9.gif" 
width=30></DIV></TD>
<TD width=100> <DIV align=center>＋9</DIV></TD>
<TD width="100"> <DIV 
align=center><%=DEF_PET_perswordmoney*9%></DIV></TD>
<TD width=100 align=middle><div align="center"> 
<input type="radio" name="sword" value="9">购买</div></TD>
</TR><TR><TD colspan="5"><div align="center"><br>
                            <input type="hidden" name="action" value="buysword">
<input type="submit" name="Submit" value="结帐购买">
</div></TD></TR></TABLE></form>
                  <%end if%>
                  <%if action = "shownecklace" then%>
                  <br>
                  <br>
                  <form action=weaponshop.asp name="name" mtehod=post>
<TABLE class=text1 cellSpacing=1 cellPadding=3 width=530 align=center border=0>
<TR><TD width=100><DIV align=center>名字</DIV></TD>
<TD width=100><DIV align=center>形象</DIV></TD>
<TD width=100><DIV align=center>攻击力</DIV></TD>
<TD width=100><DIV align=center>价格</DIV></TD>
<TD width=100><div align="center">购买选项</div></TD>
</TR><TR><TD width=100><DIV align=center>普通项链</DIV></TD>
<TD width=100><DIV align=center><IMG height=30 src="images/pet/necklace/1.gif" width=30></DIV></TD>
<TD align=middle width=100> <DIV align=center>＋1</DIV></TD>
<TD width=100 align=middle> <DIV align=center><%=DEF_PET_pernecklacemoney*1%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="necklace" value="1">
购买</div></TD></TR><TR> 
<TD width=100><DIV align=center>宝石项链</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/necklace/2.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋2</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_pernecklacemoney*2%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="necklace" value="2">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>绿宝石项链</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/necklace/3.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋3</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_pernecklacemoney*3%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="necklace" value="3">购买</div></TD>
</TR><TR ><TD width=100><DIV align=center>蓝宝石项链</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/necklace/4.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋4</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_pernecklacemoney*4%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="necklace" value="4">购买</div></TD>
</TR><TR> <TD width=100><DIV align=center>红宝石项链</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/necklace/5.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋5</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_pernecklacemoney*5%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="necklace" value="5">购买</div></TD>
</TR><TR> 
<TD width=100><DIV align=center>精致项链</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/necklace/6.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋6</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_pernecklacemoney*6%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="necklace" value="6">购买</div></TD>
</TR><TR> 
<TD width=100><DIV align=center>无暇之链</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/necklace/7.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋7</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_pernecklacemoney*7%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="necklace" value="7">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>优雅之链</DIV></TD><TD align=middle width=100>
<DIV align=center><IMG height=30 src="images/pet/necklace/8.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋8</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_pernecklacemoney*8%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="necklace" value="8">
购买</div></TD></TR><TR><TD><DIV align=center>祝福之链</DIV></TD>
<TD align=middle><DIV align=center><IMG height=30 src="images/pet/necklace/9.gif" width=30></DIV></TD>
<TD align=middle><DIV align=center>＋9</DIV></TD>
<TD align=middle><DIV align=center><%=DEF_PET_pernecklacemoney*9%></DIV></TD>
<TD align=middle><div align="center"><input type="radio" name="necklace" value="9">购买</div></TD>
</TR><TR><TD colspan="5"><DIV align=center><br>
                            <input name="action" type="hidden" id="action" value="buynecklace">
<input type="submit" name="Submit2" value="结帐购买"></DIV>
</TD></TR></TABLE></form>
                  <%end if%>
                  <%if action = "showhead" then%>
                  <br>
                  <form action=weaponshop.asp name="name" mtehod=post>
<TABLE class=text1 cellSpacing=1 cellPadding=3 width=536 align=center border=0>
<TR><TD width=100><DIV align=center>名字</DIV></TD>
<TD width=100><DIV align=center>形象</DIV></TD>
<TD width=100><DIV align=center>防御力</DIV></TD>
<TD width=100><DIV align=center>价格</DIV></TD>
<TD width=100><div align="center">购买选项</div></TD></TR><TR>
<TD width=100><DIV align=center>棉质头盔</DIV></TD>
<TD width=100><DIV align=center><IMG height=30 src="images/pet/head/1.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋1</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perheadmoney*1%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="head" value="1">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>皮质头盔</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/head/2.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋2</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perheadmoney*2%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="head" value="2">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>兽骨头盔</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/head/3.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋3</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perheadmoney*3%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="head" value="3">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>特制兽骨头盔</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/head/4.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋4</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perheadmoney*4%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="head" value="4">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>全银头盔</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/head/5.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋5</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perheadmoney*5%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="head" value="5">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>黄金头盔</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/head/6.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋6</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perheadmoney*6%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="head" value="6">购买</div></TD>
</TR><TR><TD width=100> <DIV align=center>优雅之头盔</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/head/7.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋7</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perheadmoney*7%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="head" value="7">购买</div></TD></TR><TR>
<TD width=100><DIV align=center>高贵之头盔</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/head/8.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋8</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perheadmoney*8%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="head" value="8">购买</div></TD></TR><TR>
<TD width=100> <DIV align=center>飞翔之头盔</DIV></TD>
<TD align=middle> <DIV align=center><IMG height=30 src="images/pet/head/9.gif" width=30></DIV></TD>
<TD align=middle> <DIV align=center>＋9</DIV></TD>
<TD align=middle><DIV align=center><%=DEF_PET_perheadmoney*9%></DIV></TD>
<TD align=middle><div align="center"> 
<input type="radio" name="head" value="9">购买</div></TD>
</TR><TR><TD colspan="5"><DIV align=center><br>
                            <input name="action" type="hidden" id="action" value="buyhead">
<input type="submit" name="Submit2" value="结帐购买">
</DIV></TD></TR></TABLE></form>
                  <%end if%>
                  <%if action = "showbody" then%>
                  <br>
                  <form action=weaponshop.asp name="name" mtehod=post>
<TABLE class=text1 cellSpacing=1 cellPadding=3 width=536 align=center border=0>
<TR><TD width=100><DIV align=center>名字</DIV></TD>
<TD width=100><DIV align=center>形象</DIV></TD>
<TD width=100><DIV align=center>防御力</DIV></TD>
<TD width=100><DIV align=center>价格</DIV></TD>
<TD width=100><div align="center">购买选项</div></TD>
</TR><TR><TD width=100><DIV align=center>棉质甲</DIV></TD>
<TD width=100><DIV align=center><IMG height=30 src="images/pet/body/1.gif" width=30></DIV></TD>
<TD align=middle width=100> <DIV align=center>＋1</DIV></TD>
<TD width=100 align=middle> <DIV align=center><%=DEF_PET_perbodyemoney*1%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="body" value="1">购买</div></TD>
</TR><TR><TD width=100> 
<DIV align=center>皮质甲</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/body/2.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋2</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perbodyemoney*2%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="body" value="2">购买</div></TD>
</TR><TR><TD width=100> 
<DIV align=center>兽骨软甲</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/body/3.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋3</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perbodyemoney*3%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="body" value="3">购买</div></TD>
</TR><TR ><TD width=100> 
<DIV align=center>兽骨铠甲</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/body/4.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋4</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perbodyemoney*4%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="body" value="4">购买</div></TD>
</TR><TR><TD width=100> 
<DIV align=center>全银铠甲</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/body/5.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋5</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perbodyemoney*5%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="body" value="5">购买</div></TD>
</TR><TR><TD width=100> 
<DIV align=center>黄金铠甲</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/body/6.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋6</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perbodyemoney*6%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="body" value="6">购买</div></TD>
</TR><TR><TD width=100> 
<DIV align=center>优雅之甲胄装</DIV></TD>
<TD align=middle width=100> <DIV align=center><IMG height=30 src="images/pet/body/7.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋7</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perbodyemoney*7%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="body" value="7">购买</div></TD>
</TR><TR><TD width=100> 
<DIV align=center>高贵之甲胄装</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/body/8.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋8</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perbodyemoney*8%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="body" value="8">
购买</div></TD></TR><TR><TD width=100> 
<DIV align=center>神秘之甲胄装</DIV></TD>
<TD align=middle><DIV align=center><IMG height=30 src="images/pet/body/9.gif" width=30></DIV></TD>
<TD align=middle><DIV align=center>＋9</DIV></TD>
<TD align=middle><DIV align=center><%=DEF_PET_perbodyemoney*9%></DIV></TD>
<TD align=middle><div align="center"> 
<input type="radio" name="body" value="9">购买</div></TD>
</TR><TR><TD colspan="5"><DIV align=center><br>
                            <input name="action" type="hidden" id="action" value="buybody">
<input type="submit" name="Submit2" value="结帐购买">
</DIV></TD></TR></TABLE></form>
                  <%end if%>
                  <%if action = "showfoot" then%>
                  <br>
                  <form action=weaponshop.asp name="name" mtehod=post>
<TABLE class=text1 cellSpacing=1 cellPadding=3 width=536 align=center border=0><TR> 
<TD width=100><DIV align=center>名字</DIV></TD>
<TD width=100><DIV align=center>形象</DIV></TD>
<TD width=100><DIV align=center>防御力</DIV></TD>
<TD width=100><DIV align=center>价格</DIV></TD>
<TD width=100><div align="center">购买选项</div></TD></TR><TR>
<TD width=100><DIV align=center>棉质鞋子</DIV></TD>
<TD width=100><DIV align=center><IMG height=30 src="images/pet/foot/1.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋1</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perfootmoney*1%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="foot" value="1">购买</div></TD></TR><TR>
<TD width=100><DIV align=center>皮质鞋子</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/foot/2.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋2</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perfootmoney*2%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="foot" value="2">购买</div></TD></TR><TR>
<TD width=100><DIV align=center>兽骨鞋子</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/foot/3.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋3</DIV></TD>
<TD width=100 align=middle> <DIV align=center><%=DEF_PET_perfootmoney*3%></DIV></TD>
<TD align=middle width=100><div align="center"> <input type="radio" name="foot" value="3">购买</div></TD></TR><TR >
<TD width=100> <DIV align=center>特制兽骨鞋子</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/foot/4.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋4</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perfootmoney*4%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="foot" value="4">购买</div></TD></TR><TR>
<TD width=100><DIV align=center>全银鞋子</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/foot/5.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋5</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perfootmoney*5%></DIV></TD>
<TD align=middle width=100><div align="center"> 
<input type="radio" name="foot" value="5">购买</div></TD></TR><TR>
<TD width=100><DIV align=center>黄金鞋子</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/foot/6.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋6</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perfootmoney*6%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="foot" value="6">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>优雅之靴</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/foot/7.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋7</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perfootmoney*7%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="foot" value="7">购买</div></TD>
</TR><TR><TD width=100><DIV align=center>高贵之靴</DIV></TD>
<TD align=middle width=100><DIV align=center><IMG height=30 src="images/pet/foot/8.gif" width=30></DIV></TD>
<TD align=middle width=100><DIV align=center>＋8</DIV></TD>
<TD width=100 align=middle><DIV align=center><%=DEF_PET_perfootmoney*8%></DIV></TD>
<TD align=middle width=100><div align="center"><input type="radio" name="foot" value="8">购买</div></TD></TR><TR>
<TD width=100> <DIV align=center>神秘之靴</DIV></TD><TD align=middle> <DIV align=center><IMG height=30 src="images/pet/foot/9.gif" width=30></DIV></TD>
<TD align=middle><DIV align=center>＋9</DIV></TD>
<TD align=middle><DIV align=center><%=DEF_PET_perfootmoney*9%></DIV></TD>
<TD align=middle><div align="center"><input type="radio" name="foot" value="9">
购买</div></TD></TR><TR><TD colspan="5"><DIV align=center><br>
                            <input name="action" type="hidden" id="action" value="buyfoot">
                            <input type="submit" name="Submit2" value="结帐购买">
</DIV></TD></TR></TABLE></form>
                  <%end if%>
                  <br>
                  <br>
                </td>
              </tr></table>

	</td></tr></table>
<% If GBL_TableBottomString <> "" Then %><table width=<%=DEF_BBS_ScreenWidth%> border=0 cellspacing=0 cellpadding=0 align=center><tr><td><%=GBL_TableBottomString%></td></tr></table><% End If %>
<%    
end if

SiteBottom 
If GBL_SiteBottomString <> "" Then Response.Write GBL_SiteBottomString
%>