<!--#include file="setup.asp"-->
<!--#include file="pet_conn.asp"-->
<!--#include file="pet_config.asp"-->
<%
top
if Request.Cookies("username")=empty then error("<li>您还未<a href=login.asp>登录</a>论坛")


    dim money,smoney,saveday,allmoney,time1,time2,daikuang,dkdu,daiday,sucmsg
    dim Form_userphoto,Form_FaceUrl,Form_FaceWidth,Form_FaceHeight
    
    Dim rs_pet,sql_pet

	set rs_pet=conn.execute("select money from [user] where username='"&Request.Cookies("username")&"'")
      	
    money=rs_pet("money")

	    

    rs_pet.close
    

    
    
    sql_pet = "SELECT * FROM mypetdata WHERE username='"&Request.Cookies("username")&"' "
    rs_pet.open sql_pet,conn_pet,1,3
    if rs_pet.eof then
        error("你还没有宠物啊，<a href=petshop.asp>快攒钱去买吧~</a>")
        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_pers_petwordmoney
        tmp=sword-rs_pet("item1")
        if (money<tmoney) then
            error("你没有那么多钱购买这些物品")
        elseif (tmp<1) then
            error("你现有的装备等级高于你购买的装备，不用再买了")
        else
		 Set rs = Server.CreateObject("ADODB.Recordset")
					sql="select * from [user] where username='"&Request.Cookies("username")&"'"
rs.Open sql,Conn,1,3
 rs("money")=rs("money")-tmoney
 rs.update
        
            conn_pet.ExeCute("UPDATE mypetdata SET item1="&sword&" WHERE username='"&Request.Cookies("username")&"'")
            message="<li>购买成功，你的攻击力增加 "&sword&" 点！"
			succeed(message&"<meta http-equiv=refresh content=3;url='petweaponshop.asp'")
        end if
    case "buynecklace"
        necklace = request("necklace")
        tmoney=necklace*DEF_PET_pernecklacemoney
        tmp=necklace-rs_pet("item2")
        if (money<tmoney) then
             error("你没有那么多钱购买这些物品")
        elseif(tmp<1) then
            error("你现有的装备等级高于你购买的装备，不用再买了")
        else
           Set rs = Server.CreateObject("ADODB.Recordset")
					sql="select * from [user] where username='"&Request.Cookies("username")&"'"
rs.Open sql,Conn,1,3
 rs("money")=rs("money")-tmoney
 rs.update
            conn_pet.ExeCute("UPDATE mypetdata SET item2="&necklace&" WHERE username='"&Request.Cookies("username")&"'")

            message="<li>购买成功，你的攻击力增加 "&necklace&" 点！"
			succeed(message&"<meta http-equiv=refresh content=3;url='petweaponshop.asp'")
        end if
    case "buyhead"
        head = request("head")
        tmoney=head*DEF_PET_perheadmoney
        tmp=head-rs_pet("item3")
        if (money<tmoney) then
             error("你没有那么多钱购买这些物品")
        elseif(tmp<1) then
           error("你现有的装备等级高于你购买的装备，不用再买了")
        else
            Set rs = Server.CreateObject("ADODB.Recordset")
					sql="select * from [user] where username='"&Request.Cookies("username")&"'"
rs.Open sql,Conn,1,3
 rs("money")=rs("money")-tmoney
 rs.update
            conn_pet.ExeCute("UPDATE mypetdata SET item3="& head &" WHERE username='"&Request.Cookies("username")&"'")
            message="<li>购买成功，你的防御力增加 "& head &" 点！"
			succeed(message&"<meta http-equiv=refresh content=3;url='petweaponshop.asp'")
        end if
    case "buybody"
        body = request("body")
        tmoney=body*DEF_PET_perbodyemoney
        tmp=body-rs_pet("item4")
        if (money<tmoney) then
            error("你没有那么多钱购买这些物品")
        elseif(tmp<1) then
            error("你现有的装备等级高于你购买的装备，不用再买了")
        else
           Set rs = Server.CreateObject("ADODB.Recordset")
					sql="select * from [user] where username='"&Request.Cookies("username")&"'"
rs.Open sql,Conn,1,3
 rs("money")=rs("money")-tmoney
 rs.update
            conn_pet.ExeCute("UPDATE mypetdata SET item4="&body&" WHERE username='"&Request.Cookies("username")&"'")
            message="<li>购买成功，你的防御力增加 "&body&" 点！"
			succeed(message&"<meta http-equiv=refresh content=3;url='petweaponshop.asp'")
        end if
    case "buyfoot"
        foot = request("foot")
        tmoney=foot*DEF_PET_perfootmoney
        tmp=foot-rs_pet("item5")
        if (money<tmoney) then
             error("你没有那么多钱购买这些物品")
        elseif(tmp<1) then
           error("你现有的装备等级高于你购买的装备，不用再买了")
        else
           Set rs = Server.CreateObject("ADODB.Recordset")
					sql="select * from [user] where username='"&Request.Cookies("username")&"'"
rs.Open sql,Conn,1,3
 rs("money")=rs("money")-tmoney
 rs.update
            conn_pet.ExeCute("UPDATE mypetdata SET item5="&foot&" WHERE username='"&Request.Cookies("username")&"'")
            message="<li>购买成功，你的防御力增加 "&foot&" 点！"
			succeed(message&"<meta http-equiv=refresh content=3;url='petweaponshop.asp'")
        end if
end select        
        
        
    end if
    rs_pet.close    
%>
<title>宠物装备店</title>
<table border=0 width=97% align=center cellspacing=1 cellpadding=4 class=a2>
<tr class=a3>
<td height=25>&nbsp;<img src=images/Forum_nav.gif>&nbsp; <%ClubTree%> → 
<a href="petcenter.asp">宠物中心</a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td width="28%" rowspan="2"><table width="90%" border="0" align="center" cellpadding="3" cellspacing="3">
<tr><td><div align="center"></div>
<!-- #include file=petnav.asp --></td>
</tr></table><table height=100%><tr><td></td></tr></table></td></tr><tr><td width="72%"> 
<%if action = "showroom" then%>
<form action=petweaponshop.asp name="name" mtehod=post><br>
<TABLE class=a2 cellSpacing=1 cellPadding=3 width=530 align=center border=0>
<TR cellSpacing=1 class=a3> 
<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 cellSpacing=1 class=a3><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_pers_petwordmoney*1%></DIV></TD>
<TD width=100 align=middle><div align="center"><input type="radio" name="sword" value="1">购买</div></TD></TR>
<TR cellSpacing=1 class=a3><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_pers_petwordmoney*2%></DIV></TD>
<TD width=100 align=middle><div align="center"><input type="radio" name="sword" value="2">购买</div></TD></TR><TR cellSpacing=1 class=a3>
<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_pers_petwordmoney*3%></DIV></TD>
<TD width=100 align=middle><div align="center"><input type="radio" name="sword" value="3">购买</div></TD>
</TR><TR cellSpacing=1 class=a3><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_pers_petwordmoney*4%></DIV></TD>
<TD width=100 align=middle><div align="center"><input type="radio" name="sword" value="4">购买</div></TD>
</TR><TR cellSpacing=1 class=a3><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_pers_petwordmoney*5%></DIV></TD><TD width=100 align=middle><div align="center"><input type="radio" name="sword" value="5">
购买</div></TD></TR><TR cellSpacing=1 class=a3><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_pers_petwordmoney*6%></DIV></TD><TD width=100 align=middle><div align="center"> 
<input type="radio" name="sword" value="6">购买</div></TD>
</TR><TR cellSpacing=1 class=a3><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_pers_petwordmoney*7%></DIV></TD><TD width=100 align=middle><div align="center"> 
<input type="radio" name="sword" value="7">购买</div></TD>
</TR><TR cellSpacing=1 class=a3><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_pers_petwordmoney*8%></DIV></TD><TD width=100 align=middle><div align="center"> 
<input type="radio" name="sword" value="8">购买</div></TD>
</TR><TR cellSpacing=1 class=a3> 
<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_pers_petwordmoney*9%></DIV></TD>
<TD width=100 align=middle><div align="center"> 
<input type="radio" name="sword" value="9">购买</div></TD>
</TR><TR cellSpacing=1 class=a3><TD colspan="5"><div align="center">
                            <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>
                  <form action=petweaponshop.asp name="name" mtehod=post>
<TABLE cellSpacing=1 cellPadding=3 width=530 align=center border=0 class=a2>
<TR cellSpacing=1 class=a3>
<TD width=100 cellSpacing=1 class=a3><DIV align=center>名称</DIV></TD>
<TD width=100 cellSpacing=1 class=a3><DIV align=center>图片</DIV></TD>
<TD width=100 cellSpacing=1 class=a3><DIV align=center>攻击力</DIV></TD>
<TD width=100 cellSpacing=1 class=a3><DIV align=center>价格</DIV></TD>
<TD width=100 cellSpacing=1 class=a3><div align="center">购买选项</div></TD>
</TR><TR cellSpacing=1 class=a3><TD width=100 cellSpacing=1 class=a3><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 cellSpacing=1 class=a3> 
<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 cellSpacing=1 class=a3><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 cellSpacing=1 class=a3><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 cellSpacing=1 class=a3> <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 cellSpacing=1 class=a3> 
<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 cellSpacing=1 class=a3> 
<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 cellSpacing=1 class=a3><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 cellSpacing=1 class=a3><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 cellSpacing=1 class=a3><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=petweaponshop.asp name="name" mtehod=post>
<TABLE class=a2 cellSpacing=1 cellPadding=3 width=536 align=center border=0>
<TR cellSpacing=2 class=a3><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 cellSpacing=2 class=a3>
<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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3>
<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 cellSpacing=2 class=a3>
<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 cellSpacing=2 class=a3><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=petweaponshop.asp name="name" mtehod=post>
<TABLE class=a2 cellSpacing=1 cellPadding=3 width=536 align=center border=0>
<TR cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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=petweaponshop.asp name="name" mtehod=post>
<TABLE class=a2 cellSpacing=1 cellPadding=3 width=536 align=center border=0><tr cellSpacing=2 class=a3> 
<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 cellSpacing=2 class=a3>
<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 cellSpacing=2 class=a3>
<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 cellSpacing=2 class=a3>
<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 cellSpacing=2 class=a3>
<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 cellSpacing=2 class=a3>
<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 cellSpacing=2 class=a3>
<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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3><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 cellSpacing=2 class=a3>
<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 cellSpacing=2 class=a3><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>
<%
htmlend
%>
