<%Response.Expires=0
Response.Buffer=true
zhbg_id=Session("zhbg_id")
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"

%><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>
<div align="center"><font size="2"><a href="http://www.oneidc.cn/" target="_blank">非凡国度</a>房间新增程序</font></div>
<form method="post" action="addroomok.asp">
  <table border="8" cellspacing="1" align="center" cellpadding="0" bordercolor="#cccccc" width="75%">
    <tr> 
      <td width="67"> 
        <div align="center"><font size="2">操作</font></div>
      </td>
      <td width="197"><font size="2"> 新增国度房间</font></td>
      <td width="81"> 
        <div align="center"><font size="2">房间名</font></div>
      </td>
      <td width="224"><font size="2"> 
        <input type="text" name="name" size="15" maxlength="20">
        </font></td>
    </tr>
    <tr> 
      <td width="67"> 
        <div align="center"><font size="2">最大人数</font></div>
      </td>
      <td width="197"><font size="2"> 
        <input type="text" name="zdrs" size="15" maxlength="3">
        </font></td>
      <td width="81" nowrap> 
        <div align="center"><font size="2">发招限制</font></div>
      </td>
      <td width="224"><font size="2"> 
        <select name=fzxz size=1 >
          <option value='0' selected >允许</option>
          <option value='1' >禁止</option>
        </select>
        </font></td>
    </tr>
    <tr> 
      <td width="67" nowrap> 
        <div align="center"><font size="2">事件限制</font></div>
      </td>
      <td width="197"><font size="2"> 
        <select name=sjxz size=1 >
          <option value='0' selected >允许</option>
          <option value='1' >禁止</option>
        </select>
        </font></td>
      <td width="81"> 
        <div align="center"><font size="2">保护</font></div>
      </td>
      <td width="224"><font size="2"> 
        <select name=bh size=1 >
          <option value='0' selected>允许</option>
          <option value='1'>禁止</option>
        </select>
        </font></td>
    </tr>
    <tr> 
      <td width="67"> 
        <div align="center"><font size="2">卡片</font></div>
      </td>
      <td width="197"><font size="2"> 
        <select name=kp size=1 >
          <option value='0' selected >允许</option>
          <option value='1' >禁止</option>
        </select>
        </font></td>
      <td width="81"> 
        <div align="center"><font size="2">赌博</font></div>
      </td>
      <td width="224"><font size="2"> 
        <select name=db size=1 >
          <option value='0' selected>允许</option>
          <option value='1' >禁止</option>
        </select>
        </font></td>
    </tr>
    <tr> 
      <td width="67"> 
        <div align="center"><font size="2">限制</font></div>
      </td>
      <td><font size="2"> 
        <select name=xz size=1 >
          <option value='0' selected >加入此房间无限制</option>
          <option value='1' >加入此房间有限制</option>
        </select>
        </font></td>
		<td width="81"> 
        <div align="center"><font size="2">pk允许时间</font></div>
      </td>
      <td width="224"><input type="text" name=pksj size="6" maxlength="20">分钟(0到60，0为禁止动武)</td>
    </tr>
    <tr> 
      <td width="67"> 
        <div align="center"><font size="2">限制说明</font></div>
      </td>
      <td colspan="3"><font size="2"> 
        <input type="text" name=xzsm size="50">
        </font></td>
    </tr>
    <tr> 
      <td width="67"> 
        <div align="center"><font size="2">表达式</font></div>
      </td>
      <td colspan="3"><font size="2"> 
        <input type="text" name=bds size="50">
        <br>
        可以使用：and、or、not、+、-、=等表达式请对应条件连接！<br>
        对于编程不了解者不可随意修改！(ID为1主聊天不要加限制！) </font></td>
    </tr>
    <tr> 
      <td width="67" height="2"> 
        <div align="center"><font size="2">今日话题</font></div>
      </td>
      <td colspan="3" height="2"><font size="2"> 
        <input type="text" name=jrht
value="话题" size="50" maxlength="150">
        (在进入国度时是会显示的)</font></td>
    </tr>
    <tr> 
      <td colspan="4"> 
        <div align="center"> 
          <input type="submit" value="确 定">
          -------  
          <input  onClick="javascript:window.document.location.href='roomlist.asp'" value="返 回" type=button name="back">
        <br>
确定后，别忘了重新启动国度，否则无法生效</div>
      </td>
    </tr>
  </table>
</form>
<div align="center"> <font size="2">数据库更新程序因为时间有限，没有加入为空值时的检测，请大家更改时注意没有值的地方填0</font></div>
