<!--#include virtual="/incs/config.asp"-->
<!--#include virtual="/incs/top.asp"-->
<% chk_log()%>
<%
chk_newpwr 4,20,1
%>
<script language=javascript>
function ifdel(stid)
{
if(confirm("提示：是否确认删除！"))
location.href="pdt_mng.asp?module=<%=server.urlencode("st_del")%>&stid="+stid;
}
</script>
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tbody> 
  <tr> 
    <td  colspan=2 valign="middle" align="center"> 
      <table class=line cellspacing=0 cellpadding=0 width="100%" 
                  border=0 align="center">
        <tbody> 
        <tr> 
          <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong>服务器分类</strong></span></b></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%"> <a href="svr_lst.asp" class=commonface>服务器列表</a> 
            <font color="#000000">|</font> <a href="javascript:showurl('svr_add.asp');" class=commonface>服务器添加</a></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=5></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=2 class=menuline></td>
        </tr>
        </tbody> 
      </table>
      <br>
      <b>（本功能仅用于和上级服务商数据库进行同步，不支持代理商添加自己的服务器分类，请在上级服务商的指导下使用本功能）</b> <br>
      <br>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="top" height="28"> 
      <div align="center"></div>
      <table border="0" width=70% align="center" cellPadding="0" cellSpacing="0" class="datalist">
        <tbody> 
        <tr  > 
          <th height="20" width="8%" align=center class=datalistheader> 序号 </th>
          <th width="14%" align=center class=datalistheader>服务器分类</th>
          <th width="14%" align=center class=datalistheader>分类编号</th>
          <th width="14%" align=center class=datalistheader>下级平台可获取</th>
          <th width="20%" align=center class=datalistheader>管理</th>
        </tr>
        <%
					   conn.open constr
					   query="select * from svrtpe  order by st_tid"
					   rs.open query,conn,1,1
					   i=0
					   while not rs.eof
					   i=i+1
					    %>
        <form action="pdt_mng.asp" method=post name=ptmng<%=rs("st_id")%>>
          <tr > 
            <td height="22"  align=center class=datalistgridb><%=i%></td>
            <td  align=center class=datalistgridb> 
              <input type="text" name="st_nme" value="<%=rs("st_nme")%>" size=15 class=normalform>
            </td>
            <td  align=center class=datalistgridb> 
              <input type="text" name="st_tid" value="<%=rs("st_tid")%>" size=15 class=normalform>
            </td>
            <td  align=center class=datalistgridb> 
              <select name="st_ifagt">
                <option value="1"  <%if rs("st_ifagt")=1 then
				response.write " selected"
				end if %> >允许</option>
                <option value="0"  style='color:#ff0000' <%if rs("st_ifagt")=0 then
				response.write " selected"
				end if %>>禁止</option>
              </select>
            </td>
            <td  align=center class=datalistgridb> <a href="javascript:ifdel('<%=rs("st_id")%>');" class=commonface>删除</a>&nbsp;&nbsp; 
              <a class=commonface  href="javascript:document.ptmng<%=rs("st_id")%>.submit();">修改</a>&nbsp;&nbsp; 
              <input type="hidden" name="module" value="st_edt" >
              <input type="hidden" name="stid" value="<%=rs("st_id")%>" >
            </td>
          </tr>
        </form>
        <% 
					 
					
					rs.movenext
					wend
					rs.close
					conn.close
					%>
        </tbody> 
      </table>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="top" height="20"> 
      <div align="center"><br>
        <b>服务器分类添加</b><br>
        <br>
      </div>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="top" height="28"> 
      <table border=0 cellpadding=0 
                        cellspacing=0  align="center" width="70%" class=datalist>
        <tbody> 
        <form action="pdt_mng.asp" method=post name=stadd>
          <tr  > 
            <th height="20" width="8%" align=center class=datalistheader> 序号 </th>
            <th width="14%" align=center class=datalistheader>服务器分类</th>
            <th width="14%" align=center class=datalistheader>分类编号</th>
            <th width="14%" align=center class=datalistheader>下级平台可获取</th>
            <th width="20%" align=center class=datalistheader>添加</th>
          <tr > 
            <td height="22"  align=center class=datalistgridb>&nbsp;</td>
            <td  align=center class=datalistgridb> 
              <input type="text" name="st_nme" value="" size=15 class=normalform>
            </td>
            <td  align=center class=datalistgridb> 
              <input type="text" name="st_tid" value="" size=15 class=normalform>
            </td>
            <td  align=center class=datalistgridb> 
              <select name="st_ifagt">
                <option value="1"  >允许</option>
                <option value="0"  style='color:#ff0000'>禁止</option>
              </select>
            </td>
            <td  align=center class=datalistgridb> <a href="javascript:document.stadd.submit();" class=commonface>添加</a> 
              <input type="hidden" name="module" value="st_add" >
            </td>
          </tr>
        </form>
        </tbody> 
      </table>  
    </td>
  </tr>
  </tbody> 
</table>
<br>
<!--#include virtual="/incs/bottom.asp"-->

