<%@ LANGUAGE=VBScript codepage ="936" %>
<!--#include file="check.asp"-->
<%Response.Expires=0%>
<html><head><title>添加转生资料</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link href="jh.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style4 {color: #0000FF}
-->
</style>
</head>
<SCRIPT language=JavaScript>
function show(str){
var ka=prompt("请输入["+str+"]的数值:","10");
document.form.c.value=document.form.c.value+str+"|"+ka+";";
}
function show1(str){
var ka=prompt("请输入["+str+"]的数值:","10");
document.form.d.value=document.form.d.value+str+"|"+ka+";";
}
function show2(str){
var ka=prompt("请输入["+str+"]的数值:","10");
document.form.df.value=document.form.f.value+str+"|"+ka+";";
}
function DoTitle(addTitle) {
if (addTitle==1){cc="无";dd="true";}
if (addTitle==2){cc="此招式被站长封存不可以修习使用！";dd="false";}
if (addTitle==3){cc="你不够10级不可以修习此招式！";dd="jh_dj>=10";}
if (addTitle==4){cc="只有女玩家才可以修习使用此招式!";dd="jh_sex='女'";}
if (addTitle==5){cc="你非处子之身，无法修习使用此招式!";dd="jh_jhcs=0";}
if (addTitle==6){cc="你非会员不可以修习使用此招式!";dd="jh_hydj<>0";}
if (addTitle==7){cc="你的道德少于100点，不可以修习使用此招式！";dd="jh_dd>=100";}
if (addTitle==8){cc="你还没有配偶不可以修习使用此招式!";dd="jh_peiou<>'无'";}
if (addTitle==9){cc="你非华山弟子无权修习使用此招式!";dd="jh_mp='华山'";}
document.form.c.value=cc;
document.form.d.value=dd;
document.form.c.focus();
document.form.d.focus();
return; }
function check(){

}
</script>
<form name="form" method="post" action="jhgl.asp?act=addsjzs" onSubmit="return check(this);">
  <div align="center"></div>
  <table width="95%" border=1 align="center" cellpadding=1 cellspacing=0  bordercolor="#000000" bordercolordark="#FFFFFF">
    <tr> 
      <td colspan="8" align="center" bgcolor="#d7ebff">添加转生资料</td>
    </tr>
    <tr> 
      <td align="center" bgcolor="#d7ebff">名称</td>
      <td width="86"> <input name="a" value="转生名称" size=10 maxlength=10></td>
      <td align="center" bgcolor="#d7ebff">说明</td>
      <td colspan="5"> <input name="b" id="b" value="转生说明" size=40 maxlength=200></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#d7ebff">限制条件</td>
      <td colspan="7"><input name="j" id="c3" value="等级&gt;50 and jh_zz='人族'" size=60 maxlength=200>      </td>
    </tr>
    <tr> 
      <td align="center" bgcolor="#d7ebff">删除状态</td>
      <td colspan="7"> <input name="c" id="c" value="allvalue|50000;" size=60 maxlength=200>
        (字段1|数值2;字段2|数值2;)</td>
    </tr>
    <tr> 
      <td align="center" bgcolor="#d7ebff">删除物品</td>
      <td colspan="7"><input name="d" id="d" value="水晶|10;蓝宝石|10;" size=60 maxlength=200>
      (物品名1|数量2;物品名2|数量2;)</td>
    </tr>
    <tr> 
      <td align="center" bgcolor="#d7ebff" >消费倍数</td>
      <td><input name="e" type="text" id="e" value="1" size="10" maxlength="10"></td>
      <td align="center" bgcolor="#D7EBFF">增加倍数</td>
      <td colspan="5"><input name="g" type="text" id="g" value="1" size="10" maxlength="10">
      <span class="style4">增加状态:(转生+1)X增加倍数</span></td>
    </tr>
    <tr> 
      <td align="center" valign=top bgcolor="#d7ebff">增加状态</td>
      <td colspan="7"><input name="f" id="f2" value="jh_gjj|100;" size=50 maxlength=200>
      (字段1|数值2;字段2|数值2;)</td>
    </tr>
    <tr> 
      <td align="center" valign=top bgcolor="#d7ebff">会员条件</td>
      <td>    <select name="h" id="h">
<%hypd=split(Application("sjjh_hypd"),",")
for x=1 to UBound(hypd)
%>
      <option value="<%=x%>" <%if x=3 then%>selected<%end if%>><%=x%>级</option>
<%next%>
    </select></td>
      <td align="center" bgcolor="#d7ebff">会员倍数</td>
      <td><input name="i" id="i" value="1.1" size=10 maxlength=8></td>
      <td align="center" bgcolor="#D7EBFF">会员等级</td>
      <td><select name="k" id="k">
        <%hypd=split(Application("sjjh_hypd"),",")
for x=1 to UBound(hypd)
%>
        <option value="<%=x%>" <%if x=2 then%>selected<%end if%>><%=x%>级</option>
        <%next%>
      </select>        
      </td>
      <td align="center" bgcolor="#D7EBFF">会员时间</td>
      <td><input name="l" id="l" value="60" size=8 maxlength=8>
      天</td>
    </tr>
    <tr> 
      <td height="24" colspan="8" align="center" valign=top bgcolor="#d7ebff">        <input type="SUBMIT" name="Submit" value="添加"> 
        <input type="RESET" name="Reset" value="清除"> </td>
    </tr>
    <tr>
      <td height="24" colspan="8" valign=top bgcolor="#d7ebff"><strong>zs_id:</strong><span class="style4">随机ID序列</span> <strong>zs_b:</strong><span class="style4">对系统资料说明的描述</span> <strong>zs_c:</strong><span class="style4">转生时所需可降的状态值</span> <strong>zs_d:</strong><span class="style4">转生时所需可的物品</span> <br>
        <strong>zs_e:</strong><span class="style4">(转生+1)X消费倍数,此值是删除状态,删除物品的倍数控制.</span> <strong>zs_f:</strong><span class="style4">转生成功后,所增加的状态值.</span><br>
        <strong>zs_g:</strong><span class="style4">(转生+1)X增加倍数,此值是转生成功后增加的状态位数.</span> <strong>zs_h:</strong><span class="style4">会员条件,即下面会员增加的倍数.</span><br>
        <strong>zs_i:</strong><span class="style4">会员在转生时,增加的状态倍数.</span> <strong>zs_j:</strong><span class="style4">会员转生的条件控制</span> <strong>zs_l:</strong><span class="style4">转生时,会员增加的会员时间(单位天).</span><br>
        <strong>zs_k:</strong><span class="style4">转生时所增加的会员等级(对于会员在转生前会提示他是否使用新的会员等级)</span><br></td>
    </tr>
    <tr>
      <td height="24" colspan="8" valign=top bgcolor="#d7ebff">
<%
Response.Write "<div align=""center"">删除状态列表</div>"
Response.Write "<table border=""1"" width=""100%"" cellpadding=""0"" cellspacing=""0"" height=""5"" bordercolordark=""#FFFFFF"" bordercolorlight=""#00215a"" align=""center""><tr bgcolor="""" onmouseover=""this.bgColor='#85C2E0';"" onmouseout=""this.bgColor='';"">"
Response.Write "<td align=""center""><A href=""javascript:show('jh_jb');""><font color=blue>金币</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_yl');""><font color=blue>银两</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_hyjk');""><font color=blue>金卡</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_wg');""><font color=blue>武功</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_wgj');""><font color=blue>武功加</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_nl');""><font color=blue>内力</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_nlj');""><font color=blue>内力加</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_tl');""><font color=blue>体力</font></a></td></tr>"
Response.Write "<tr align=""center"" bgcolor="""" onmouseover=""this.bgColor='#85C2E0';"" onmouseout=""this.bgColor='';""><td align=""center""><A href=""javascript:show('jh_tlj');""><font color=blue>体力加</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_gj');""><font color=blue>攻击</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_gjj');""><font color=blue>攻击加</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_fy');""><font color=blue>防御</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_fyj');""><font color=blue>防御加</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_dd');""><font color=blue>道德</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_ml');""><font color=blue>魅力</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_ziz');""><font color=blue>知质</font></a></td></tr>"
Response.Write "<tr align=""center"" bgcolor="""" onmouseover=""this.bgColor='#85C2E0';"" onmouseout=""this.bgColor='';""><td><A href=""javascript:show('jh_mf');""><font color=blue>魔法</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('allvalue');""><font color=blue>存点</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_ck');""><font color=blue>存款</font></a></td></tr>"
Response.Write "</table>"
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("sjjh_usermdb")
Response.Write "<div align=""center"">删除物品列表</div>"
rs.open "SELECT * from sjjh_b WHERE b='物品' or b='配药' order by b desc",conn,1,1
tt=0
Response.Write "<table border=""1"" width=""100%"" cellpadding=""0"" cellspacing=""0"" height=""5"" bordercolordark=""#FFFFFF"" bordercolorlight=""#00215a"" align=""center""><tr bgcolor="""" onmouseover=""this.bgColor='#85C2E0';"" onmouseout=""this.bgColor='';"">"
do while not rs.bof and not rs.eof
	tt=tt+1
	Response.Write "<td align=""center""><A href=""javascript:show1('"& rs("a") &"');""><font color=blue>"& rs("a") &"</font></a></td>"
	if tt/8=int(tt/8) then Response.Write "</tr><tr align=""center"" bgcolor="""" onmouseover=""this.bgColor='#85C2E0';"" onmouseout=""this.bgColor='';"">"
rs.movenext
loop
Response.Write "</table>"
rs.close
set rs=nothing
conn.close
set conn=nothing
Response.Write "<div align=""center"">增加状态列表</div>"
Response.Write "<table border=""1"" width=""100%"" cellpadding=""0"" cellspacing=""0"" height=""5"" bordercolordark=""#FFFFFF"" bordercolorlight=""#00215a"" align=""center""><tr bgcolor="""" onmouseover=""this.bgColor='#85C2E0';"" onmouseout=""this.bgColor='';"">"
Response.Write "<td align=""center""><A href=""javascript:show('jh_jb');""><font color=blue>金币</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_yl');""><font color=blue>银两</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_hyjk');""><font color=blue>金卡</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_wg');""><font color=blue>武功</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_wgj');""><font color=blue>武功加</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_nl');""><font color=blue>内力</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_nlj');""><font color=blue>内力加</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_tl');""><font color=blue>体力</font></a></td></tr>"
Response.Write "<tr align=""center"" bgcolor="""" onmouseover=""this.bgColor='#85C2E0';"" onmouseout=""this.bgColor='';""><td align=""center""><A href=""javascript:show('jh_tlj');""><font color=blue>体力加</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_gj');""><font color=blue>攻击</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_gjj');""><font color=blue>攻击加</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_fy');""><font color=blue>防御</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_fyj');""><font color=blue>防御加</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_dd');""><font color=blue>道德</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_ml');""><font color=blue>魅力</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_ziz');""><font color=blue>知质</font></a></td></tr>"
Response.Write "<tr align=""center"" bgcolor="""" onmouseover=""this.bgColor='#85C2E0';"" onmouseout=""this.bgColor='';""><td><A href=""javascript:show('jh_mf');""><font color=blue>魔法</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('allvalue');""><font color=blue>存点</font></a></td>"
Response.Write "<td align=""center""><A href=""javascript:show('jh_ck');""><font color=blue>存款</font></a></td></tr>"
Response.Write "</table>"
%>
</td>
    </tr>
  </table>
  <div align="center"> </div>
</form>
</body>
</html>
