<%@ LANGUAGE=VBScript codepage ="936" %>
<%Response.Expires=0
Response.Buffer=true
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"
if session("zhbg_adminok")<>true then Response.Redirect "../chat/readonly/bomb.htm"
if zhbg_grade<>10 or instr(Application("zhbg_user"),zhbg_name)=0  then Response.Redirect "../error.asp?id=439"
if zhbg_name<>Application("zhbg_adminuser") then Response.Redirect "../chat/readonly/bomb.htm"
lb=LCase(trim(Request.QueryString("lb")))
if lb="" then lb="药品"
%><head>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<LINK href='../css.css' type=text/css rel=stylesheet>
<title>添加物品</title></head>

<body>
<p align="center"><font size="2" >添加物品</font></p>
<form method="post" action="addwpok.asp">
  <table border="8" cellspacing="8" align="center" cellpadding="2" bordercolor="#cccccc" width="442">
    <tr> 
      <td colspan="2" height="18"><font size="-1">提示:对于添加卡片，还要改chat/sjfunc/44.asp文件!</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">物品名</font></div>
      </td>
      <td width="324"><font color="#FFFFFF" size="2"> 
        <input type="text" name="a" size="20"
value="<%=lb%>">
        </font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">图片</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="i"
value="无" size="10">
        (Center/jhjs/images)</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">耐久度</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="j"
value="0" size="10">
        (只对装备有效果)</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">特性</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="k"
value="无" size="8">
        (只对右手及宠物有效果，其它填写:无)</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">条件</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="l" size="20"
value="True">
        (任意购买填写:<b>True</b>)</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">类别</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="b"
value="<%=lb%>" size="10">
        (根据情况填写)</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">内力</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="d"
value="0" size="10">
        (对于药品、暗器、毒药)</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">体力</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="e"
value="0" size="10">
        (对于药品、暗器、毒药)</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">攻击</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="f"
value="0" size="10">
        (对于所有装备有效)</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">防御</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="g"
value="0" size="10">
        (对于所有装备有效)</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">说明</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="c" size="40"
value="<%=lb%>">
        </font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">银两</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="h"
value="0" size="10">
        (<b>卡片</b>时填写:0 隐藏此卡)</font></td>
    </tr>
    <tr> 
      <td width="62"> 
        <div align="center"><font size="2">金币</font></div>
      </td>
      <td width="324"><font size="2"> 
        <input type="text" name="m"
value="0" size="10">
        (<b>只对宠物有效</b>)</font></td>
    </tr>
    <tr> 
      <td colspan="2"> 
        <div align="center"> 
          <input type="submit" value="确 定">
          -------  
          <input  onClick="javascript:window.document.location.href='wpadmin.asp?lb=<%=lb%>'" value="返 回" type=button name="back">
        </div>
      </td>
    </tr>
  </table>
</form>
