<!--#include virtual="/incs/config.asp"-->
<!--#include virtual="/incs/top.asp"-->
<% chk_log()%>
<%
chk_newpwr 4,20,4
  %>
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tbody> 
  <tr> 
    <td  colspan=2 valign="middle"> 
      <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>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="top" height="28"> 
      <table width="75%" border="0" cellspacing="0" cellpadding="10" class=datalist align="center">
        <tbody> 
        <form action=pdt_mng.asp method=post>
          <tr> 
            <td ><b>基本信息（本功能仅用于定义虚拟主机赠送的三级域名，不支持代理商添加自己的服务器，请在上级服务商的指导下使用本功能）</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border="0" align="left" cellpadding="0" cellspacing="0" class="datalist" width="95%">
                <tr> 
                  <td valign="middle" width="18%" nowrap>服务器名称<font color="red">*</font></td>
                  <td valign="middle" align="left" width="10">：</td>
                  <td valign="middle"> 
                    <input id="customer_telno" name="sp_nme" type="text" maxlength="16" size="28" class="normalform">
                    由字母数字下划线组成</td>
                </tr>
                <tr> 
                  <td valign="middle" nowrap>下级平台获取<font color="red">*</font></td>
                  <td valign="middle" align="left">：</td>
                  <td valign="middle"> 
                    <select name="sp_ifagt">
                      <option value="1"  >允许</option>
                      <option value="0"  style='color:#ff0000'>禁止</option>
                    </select>
                  </td>
                </tr>
                <tr> 
                  <td valign="middle" nowrap>开设状态<font color="red">*</font></td>
                  <td valign="middle" align="left">：</td>
                  <td valign="middle"> 
                    <select name="sp_stt" class=normalform>
                      <option value="1" selected>开设（正常使用中）</option>
                      <option value="2">暂停（暂时停止使用）</option>
                      <option value="0">封机（不再开设新站）</option>
                    </select>
                  </td>
                </tr>
                <tr> 
                  <td valign="middle" nowrap>优先级别<font color="red">*</font></td>
                  <td valign="middle" align="left">：</td>
                  <td valign="middle"> 
                    <input id="sp_odr" name="sp_odr" type="text" maxlength="5" size="28" class="normalform">
                    请填入正整数，如1 </td>
                </tr>
                <tr> 
                  <td nowrap>免费域名后缀<font color="red">*</font></td>
                  <td valign="middle" align="left">：</td>
                  <td valign="middle"> 
                    <input id="sp_odr" name="sp_dme" type="text" maxlength="35" size="28" class="normalform" value="">
                    申请主机时免费赠送的三级域名的后缀，如：免费域名后缀填为server.domain.com，而客户申请的主机名为ftpuser，则客户免费得到的三级域名便是ftpuser.<font color="#0000C4">server.domain.com</font></td>
                </tr>
                <tr> 
                  <td valign="middle" nowrap>所属分类<font color="red">*</font></td>
                  <td valign="middle" align="left">：</td>
                  <td valign="middle"  > 
                    <table width="90%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <% 
					conn.open constr
					query="select * from svrtpe order by st_tid"
					rs.open query,conn,1,1
					if rs.recordcount=0 then
					response.write "<td height=25 style='color:#ff0000'>当前还没有服务器分类，请先添加服务器分类！</td></tr>"
					else
					i=1
					while not rs.eof
					if i<>1 and (i-1) mod 3=0 then
					response.write "<tr>"
					end if 
					response.write "<td width=33% ><input type=checkbox checked name='sp_tpe' value="&rs("st_tid")&">"&trim(rs("st_nme"))&"</td>"
					
					 if i mod 3=0 then
					 response.write "</tr>" 
					 end if
					 i=i+1
					 rs.movenext
					 wend
					
					 if i mod 3=0 then
					 response.write "<td width=33% >&nbsp;</td></tr>"
					 end if
					  end if
					 %>
                    </table>
                  </td>
                </tr>
                <tr> 
                  <td valign="middle" nowrap>其它说明</td>
                  <td valign="middle" align="left">：</td>
                  <td valign="middle"> 
                    <textarea id="customer_address2" name="sp_inf" cols="60" class="normalform" rows="3"></textarea>
                  </td>
                </tr>
              </table>
              <br>
            </td>
          </tr>
          <tr> 
            <td ><b>服务器设置</b></td>
          </tr>
          <tr> 
            <td class=datagroup> 
              <table border="0" align="left" cellpadding="0" cellspacing="0" class="datalist" width="95%">
                <tr> 
                  <td valign="middle" nowrap width="18%">外网IP地址<font color="red">*</font></td>
                  <td valign="middle" align="left" width="10">：</td>
                  <td valign="middle"> 
                    <input id="customer_telno" name="sp_ip" type="text" maxlength="15" size="28" class="normalform">
                    如：218.5.76.177</td>
                </tr>
                <tr> 
                  <td valign="middle" nowrap>所属机房<font color="red">*</font></td>
                  <td valign="middle" align="left">：</td>
                  <td valign="middle"> 
                    <select name="sp_plc" class=normalform>
                      <option value="0" >未定义</option>
                      <%
					query="select * from svrplc order by sc_nme"
				    rs1.open query,conn,1,1
					while not rs1.eof
					response.write "<option value='"&rs1("sc_sid")&"' "
 
					response.write ">"&trim(rs1("sc_nme"))&"</option>"
					rs1.movenext
					wend
					rs1.close
					%>
                    </select>
                  </td>
                </tr>
                <tr> 
                  <td valign="middle" nowrap>操作系统<font color="red">*</font></td>
                  <td valign="middle" align="left">：</td>
                  <td valign="middle"> 
                    <select name="sp_op" class=normalform>
                      <option value="1">Win2000系统</option>
                      <option value="3">Win2003系统</option>
                      <option value="2">Linux系统</option>
                    </select>
                  </td>
                </tr>
              </table>
              <br>
              <br>
            </td>
          </tr>
          <tr> 
            <td align="center" > 
              <input type="hidden" name="module" value="svr_add">
              <input type="submit" name="Submit" value="添 加" class=btxx>
              <input type="reset" name="Submit2" value="重 置" class=btxx>
            </td>
          </tr>
        </form>
        </tbody> 
      </table>
      <br>
      <br>
      <br>
      <br>
    </td>
  </tr>
  </tbody> 
</table>
<!--#include virtual="/incs/bottom.asp"-->





