<!--#include virtual="/incs/config.asp" -->
<!--#include virtual="/incs/top.asp" -->
<!--#include virtual="/incs/present.asp" -->
<%
chk_log()
chk_newpwr 4,2,5
	sqnme=SafeRequest("sqnme")
	If sqnme="" Then
	call errorpage(-2,"对不起，参数错误！")
	End If
if session("sysclass")>=5 then
query="select * from v_sqllst   where sq_nme ='"&sqnme&"'"
elseif session("sysclass")>=4 then
query="select * from v_sqllst  where sq_nme ='"&sqnme&"'  and  ((("&session("sysarestr")&" or u_myare=0) and u_rotnme='') or u_rotnme='"&session("usrname")&"')"
 end if
	conn.open constr

	rs.open query,conn,1,1
    if rs.recordcount<>1 then
	rs.close
	conn.close
	call errorpage(-2,"对不起，该邮局不存在或者您无权操作！")

	end if

%>
<%
			    sq_nme = rs("sq_nme") 
				dbname=sq_nme
			    proid=trim(rs("sq_prd"))
                g_sst=rs("sq_sst")
		%>
<script language=javascript>
		function expl()
		{
		if (identity.style.display=="none")
		identity.style.display="block";
		else
		identity.style.display="none";
		}
		</script>
<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><b>数据库列表</b><a class=commonface href="index.asp"><font color="#FF0000">（查询）</font></a></td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a class=commonface  href="sql_lst.asp?querytype=8">今天新开通</a> 
            | <a  class=commonface href="sql_lst.asp?querytype=9">本周新开通</a> | 
            <a class=commonface  href="sql_lst.asp?querytype=10">本周到期</a> | <a  class=commonface href="sql_lst.asp?querytype=11">本月到期</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>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="middle" height="28"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
          <td> 
            <!--#include file="menu.asp"-->
          </td>
        </tr>
      </table>
      <br>
      <table   bordercolor="0" cellpadding="0" cellspacing="0" id="AutoNumber3" style="border-collapse: collapse" width="100%" align="center" border="0">
        <tr> 
          <td height="4" width="99%" valign="top"  > 
            <table cellpadding="0" cellspacing="0" id="AutoNumber3" style="border-collapse: collapse" width="100%"  border="0">
              <tr> 
                <td  valign="top"> 

                  <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class=datalist>
                    <tr > 
                      <th class=datalistheader colspan="3" height="22"> 
                        <div align="center"><b>数据库申请人（仅更改数据库）</b></div>
                      </th>
                    </tr>
                    <form action=sql_adm_rez.asp method=post>
                      <tr> 
                        <td class=datalistgrida   height="22" width="25%"> 
                          <div align="center">公司名称：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" class=normalform size=28 name="sq_copnme_cn" value="<%=trim(rs("sq_copnme_cn"))%>">
                        </td>
                        <td class=datalistgrida width="20%"  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" width="25%"> 
                          <div align="center">联系人：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" class=normalform size=28 name="sq_ctt_cn"  value="<%=trim(rs("sq_ctt_cn"))%>">
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22"> 
                          <div align="center">省份：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" class=normalform size=28 name="sq_prv_cn"  value="<%=trim(rs("sq_prv_cn"))%>">
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22"> 
                          <div align="center">联系地址：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" class=normalform size=28 name="sq_adr_cn"  value="<%=trim(rs("sq_adr_cn"))%>">
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">邮政编码：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_cde"  value="<%=trim(rs("sq_cde"))%>">
                        </td>
                        <td class=datalistgrida   >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22"> 
                          <div align="center">电话：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" class=normalform size=28 name="sq_tel"  value="<%=trim(rs("sq_tel"))%>">
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">传真：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_fax"  value="<%=trim(rs("sq_fax"))%>">
                        </td>
                        <td class=datalistgrida   >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">邮件：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_eml"  value="<%=trim(rs("sq_eml"))%>">
                          <input type=hidden name=dbname value="<%=dbname%>">
                          <input type=hidden name=module value="sql_ctt">
                        </td>
                        <td class=datalistgrida   > 
                          <input type="submit" name="Submit2" value="更 改" class=btxx>
                          <input type="reset" name="Submit3" value="复 原" class=btxx>
                        </td>
                      </tr>
                    </form>
                  </table>
                  <br>
                  <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class=datalist>
                    <tr > 
                      <th class=datalistheader  colspan="3" height="22"> 
                        <div align="center"><b>数据库更改（仅更改数据库）</b></div>
                      </th>
                    </tr>
                    <form action="sql_adm_rez.asp"  method="post">
                      <tr> 
                        <td class=datalistgrida   height="22" width="25%"> 
                          <div align="center">数据库型号：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <select name="sq_prd" style="font-size: 9pt" size="1" >
                            <option value="<%=rs("g_prd")%>" ><%=rs("g_nme")%></option>
                            <% query="select * from v_pdtlst  where pt_tag='sql'"
						  rs1.open query,conn,1,1
						  while not rs1.eof 
						  response.write "<option value='"&rs1("g_prd")&"' >"&rs1("g_nme")&"</option>"
					  rs1.movenext
					  wend
					  rs1.close
					  %>
                          </select>
                        </td>
                        <td class=datalistgrida width="20%"  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">数据库名称：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_nme" value="<%=trim(rs("sq_nme"))%>">
                        </td>
                        <td class=datalistgrida   >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" width="25%"> 
                          <div align="center">数据库状态：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <select name="sq_regstt" style="font-size: 9pt" size="1" >
                            <option value="0"  <%if cint(rs("sq_regstt"))=0 then
					  response.write " selected "
					  end if %> >未开通</option>
                            <option value="1" <%if cint(rs("sq_regstt"))=1 then
					  response.write " selected "
					  end if %> >运行中</option>
                            <option value="2"  <%if cint(rs("sq_regstt"))=2 then
					  response.write " selected "
					  end if %> >暂停中</option>
                            <option value="3" <%if cint(rs("sq_regstt"))=3 then
					  response.write " selected "
					  end if %> >处理中</option>
                            <option value="5" <%if cint(rs("sq_regstt"))=5 then
					  response.write " selected "
					  end if %> >管理员停止</option>
                            <option value="6" <%if cint(rs("sq_regstt"))=6 then
					  response.write " selected "
					  end if %> >待开通</option>
                            <option value="4" <%if cint(rs("sq_regstt"))=4 then
					  response.write " selected "
					  end if %> >已删除</option>
                          </select>
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" width="25%"> 
                          <div align="center">数据库系统：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <select name="sq_sst" style="font-size: 9pt" size="1" >
                            <option value="1" <%
							if rs("sq_sst")=1 then
							response.write " selected "
							end if
							%>>MSSQL数据库</option>
                            <option value="2"  <%
							if rs("sq_sst")=2 then
							response.write " selected "
							end if
							%>>MYSQL(Windows平台)</option>
                            <option value="3"  <%
							if rs("sq_sst")=3 then
							response.write " selected "
							end if
							%>>MYSQL(Linux平台)</option>
                          </select>
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <% if g_sst=1 then %>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">FTP用户名：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_ftpusr" value="<%=trim(rs("sq_ftpusr"))%>">
                        </td>
                        <td class=datalistgrida   >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" width="25%"> 
                          <div align="center">FTP状态：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <select name="sq_ftpstt" style="font-size: 9pt" size="1" >
                            <option value="0"  <%if cint(rs("sq_ftpstt"))=0 then
					  response.write " selected "
					  end if %> >未开通</option>
                            <option value="1" <%if cint(rs("sq_ftpstt"))=1 then
					  response.write " selected "
					  end if %> >运行中</option>
                            <option value="2"  <%if cint(rs("sq_ftpstt"))=2 then
					  response.write " selected "
					  end if %> >暂停中</option>
                            <option value="3" <%if cint(rs("sq_ftpstt"))=3 then
					  response.write " selected "
					  end if %> >处理中</option>
                            <option value="5" <%if cint(rs("sq_ftpstt"))=5 then
					  response.write " selected "
					  end if %> >管理员停止</option>
                            <option value="6" <%if cint(rs("sq_ftpstt"))=6 then
					  response.write " selected "
					  end if %> >待开通</option>
                          </select>
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <% else %>
                      <input type="hidden"  name="sq_ftpusr" value="<%=trim(rs("sq_ftpusr"))%>">
                      <% end if %>
                      <tr> 
                        <td class=datalistgrida   height="22" width="25%"> 
                          <div align="center">申请类型：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <select name="sq_regtpe" style="font-size: 9pt" size="1" >
                            <option value="1" <%if rs("sq_regtpe")=1 then
					  response.write " selected "
					  end if %> >购买</option>
                            <option value="0" <%if rs("sq_regtpe")=0 then
					  response.write " selected "
					  end if %> >试用</option>
                            <option value="5" <%if rs("sq_regtpe")=5 then
					  response.write " selected "
					  end if %> >赠送</option>
                          </select>
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" width="25%"> 
                          <div align="center">数据库大小：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" class=normalform size=28 name="sq_sze" value="<%=trim(rs("sq_sze"))%>">
                          MB</td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" width="25%"> 
                          <div align="center">已用空间大小：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" class=normalform size=28 name="sq_dskqta" value="<%=trim(rs("sq_dskqta"))%>">
                          MB</td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22"> 
                          <div align="center">申请总价格：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=10  name="years" value="<%=trim(rs("years"))%>">
                          X
						                                                      						  <%
						  prcstrname="sq_prcstr"
						  prcstr=rs(prcstrname)
						  %>
                          <select name="<%=prcstrname%>" style="font-size: 9pt" size="1" >
                            <%
							query="select * from memlst where u_nme='"&rs("sq_unme")&"'"
							rs2.open query,conn,1,1
							if not rs2.eof then
							u_prc=rs2("u_prc")
							canlist=true
							end if
							rs2.close 
							if canlist then
							 query="select * from v_prclst where p_prd='"&proid&"' and p_cls="&u_prc&" order by p_tmetpe,p_yar"
					  rs2.open query,conn,1,1
					  while not rs2.eof 
					  response.write "<option "
					  if  prcstr=trim(rs2("p_prcstr")) then
					  response.write " selected "
					  end if
					  p_yar=rs2("p_yar")
					  if p_yar="1" then
					  p_yar=""
					  end if
					  response.write " value="&rs2("p_prcstr")&">"&rs2("p_prc")&"元/"&p_yar&tmenmes(rs2("p_tmetpe"))&"</option>"
					  rs2.movenext
					  wend
					  rs2.close
					  end if
					  %>
                          </select>
</td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22"> 
                          <div align="center">申请总期限：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" class=normalform size=28 name="sq_yarcnt" value="<%=mynum(rs("sq_yarcnt"))%>">
                          年 </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">注册时间：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_addtme" value="<%=trim(rs("sq_addtme"))%>">
                        </td>
                        <td class=datalistgrida   >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">到期时间：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_exptme" value="<%=trim(rs("sq_exptme"))%>">
                        </td>
                        <td class=datalistgrida   >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">服务提供商：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_cprnme" value="<%=trim(rs("sq_cprnme"))%>">
                          <input type=hidden name=dbname value="<%=dbname%>">
                          <input type=hidden name=module value="sql_edta">
                        </td>
                        <td class=datalistgrida   >&nbsp; </td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">数据库IP：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_svrip" value="<%=trim(rs("sq_svrip"))%>">
                        </td>
                        <td class=datalistgrida   >&nbsp; </td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">是否付款：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="radio" name="sq_ifpay" value="1" <%if trim(rs("sq_ifpay"))=1 then
						  response.write " checked "
						  end if %>>
                          1已付款 
                          <input type="radio" name="sq_ifpay" value="0" <%if trim(rs("sq_ifpay"))=0 then
						  response.write " checked "
						  end if %>>
                          0未付款 </td>
                        <td class=datalistgrida   >&nbsp; </td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">其它说明：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <textarea cols="38" name="content" rows="3"><%=trim(rs("content"))%></textarea>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="submit" name="Submit23" value="更 改" class=btxx>
                          <input type="reset" name="Submit33" value="复 原" class=btxx>
                        </td>
                      </tr>
                    </form>
                    <% if g_sst=1 then %>
                    <tr > 
                      <th class=datalistheader  colspan="3" height="22"> 
                        <div align="center"><b>数据库更改（仅更改数据库）</b></div>
                      </th>
                    </tr>
                    <form action=sql_adm_rez.asp method=post>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">备份时间一：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_bkptme1" value="<%=trim(rs("sq_bkptme1"))%>">
                        </td>
                        <td class=datalistgrida   >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22"> 
                          <div align="center">备份时间二：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" class=normalform size=28 name="sq_bkptme2" value="<%=trim(rs("sq_bkptme2"))%>">
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">备份时间三：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_bkptme3" value="<%=trim(rs("sq_bkptme3"))%>">
                          <input type=hidden name=dbname value="<%=dbname%>">
                          <input type=hidden name=module value="sql_edtb">
                        </td>
                        <td class=datalistgrida   >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">备份时间四：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_bkptme4" value="<%=trim(rs("sq_bkptme4"))%>">
                        </td>
                        <td class=datalistgrida   >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida   height="22" > 
                          <div align="center">备份时间五：</div>
                        </td>
                        <td class=datalistgrida   > 
                          <input type="text" class=normalform size=28 name="sq_bkptme5" value="<%=trim(rs("sq_bkptme5"))%>">
                        </td>
                        <td class=datalistgrida   > 
                          <input type="submit" name="Submit24"  class=btxx value="更 改">
                          <input type="reset" name="Submit34" class=btxx value="复 原">
                        </td>
                      </tr>
                    </form>
                    <% end if %>
                    <tr> 
                      <td    height="22" colspan="3" >&nbsp;</td>
                    </tr>
                    <form action=sql_adm_rez.asp method=post>
                      <tr > 
                        <th class=datalistheader colspan="3" height="22"> 
                          <div align="center"><b>数据库更改（仅更改数据库）</b> </div>
                        </th>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">赠送品一产品编号：</div>
                        </td>
                        <td class=datalistgrida > 
                          <select name="pstprd1">
                            <option value="" <%if trim(rs("pstprd1"))="" then
					  response.write " selected "
					  end if %>>没有赠送品</option>
                            <% 
				query="select * from v_pdtlst  where pt_tag<>'set' order by pt_odr,pc_odr"
						rs1.open query,conn,1,1
						while not rs1.eof 
						response.write "<option style='color:"&trim(rs1("pt_clr"))&";' value="&rs1("g_prd")
						if trim(rs1("g_prd"))=trim(rs("pstprd1")) then
						response.write " selected "
						end if
						response.write ">"&rs1("g_nme")&"----"&trim(Rs1("pt_nme"))&"</option>"
						rs1.movenext
						wend
						rs1.close
						%>
                          </select>
                        </td>
                        <td class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">赠送品一：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="pstnme1" value="<%=rs("pstnme1")%>">
                          填：域名/主机名/FTP名/数据库名...</td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">赠送品二产品编号：</div>
                        </td>
                        <td  class=datalistgrida > 
                          <select name="pstprd2">
                            <option value="" <%if trim(rs("pstprd2"))="" then
					  response.write " selected "
					  end if %>>没有赠送品</option>
                            <% 
				query="select * from v_pdtlst  where pt_tag<>'set' order by pt_odr,pc_odr"
						rs1.open query,conn,1,1
						while not rs1.eof 
						response.write "<option style='color:"&trim(rs1("pt_clr"))&";' value="&rs1("g_prd")
						if trim(rs1("g_prd"))=trim(rs("pstprd2")) then
						response.write " selected "
						end if
						response.write ">"&rs1("g_nme")&"----"&trim(Rs1("pt_nme"))&"</option>"
						rs1.movenext
						wend
						rs1.close
						%>
                          </select>
                        </td>
                        <td  class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">赠送品二：</div>
                        </td>
                        <td  class=datalistgrida  > 
                          <input type="text" size=28  name="pstnme2"  value="<%=rs("pstnme2")%>">
                          填：域名/主机名/FTP名/数据库名... </td>
                        <td  class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22" > 
                          <div align="center">赠送品三产品编号：</div>
                        </td>
                        <td   class=datalistgrida > 
                          <select name="pstprd3">
                            <option value="" <%if trim(rs("pstprd3"))="" then
					  response.write " selected "
					  end if %>>没有赠送品</option>
                            <% 
				query="select * from v_pdtlst  where pt_tag<>'set' order by pt_odr,pc_odr"
						rs1.open query,conn,1,1
						while not rs1.eof 
						response.write "<option style='color:"&trim(rs1("pt_clr"))&";' value="&rs1("g_prd")
						if trim(rs1("g_prd"))=trim(rs("pstprd3")) then
						response.write " selected "
						end if
						response.write ">"&rs1("g_nme")&"----"&trim(Rs1("pt_nme"))&"</option>"
						rs1.movenext
						wend
						rs1.close
						%>
                          </select>
                        </td>
                        <td   class=datalistgrida >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">赠送品三：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=28  name="pstnme3" value="<%=rs("pstnme3")%>">
                          填：域名/主机名/FTP名/数据库名... </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">获得此赠送品的产品编号：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <select name="pstrotprd">
                            <option value="" <%if trim(rs("pstrotprd"))="" then
					  response.write " selected "
					  end if %>>非赠送品</option>
                            <% 
				query="select * from v_pdtlst  where pt_tag<>'set' order by pt_odr,pc_odr"
						rs1.open query,conn,1,1
						while not rs1.eof 
						response.write "<option style='color:"&trim(rs1("pt_clr"))&";' value="&rs1("g_prd")
						if trim(rs1("g_prd"))=trim(rs("pstrotprd")) then
						response.write " selected "
						end if
						response.write ">"&rs1("g_nme")&"----"&trim(Rs1("pt_nme"))&"</option>"
						rs1.movenext
						wend
						rs1.close
						%>
                          </select>
                        </td>
                        <td class=datalistgrida  >&nbsp;</td>
                      </tr>
                      <tr> 
                        <td  class=datalistgrida  height="22"> 
                          <div align="center">获得此赠送品的产品：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=28  name="pstrotnme"  value="<%=rs("pstrotnme")%>">
                          填：域名/主机名/FTP名/数据库名... </td>
                        <td class=datalistgrida  > 
                          <input type=hidden name=dbname value="<%=dbname%>">
                          <input type=hidden name=module value="sql_edtc">
                        </td>
                      </tr>
                      <tr> 
                        <td class=datalistgrida  height="22" > 
                          <div align="center">所属套餐名称：</div>
                        </td>
                        <td class=datalistgrida  > 
                          <input type="text" size=28  name="setnme" value="<%=trim(rs("setnme"))%>">
                        </td>
                        <td class=datalistgrida  > 
                          <input type="submit" name="Submit222" value="更  改" class=btxx >
                          <input type="reset" name="Submit322" value="复  原" class=btxx >
                        </td>
                      </tr>
                    </form>
                  </table>
                  <br>

                </td>
              </tr>
            </table>
            <%
rs.close
conn.close
%>
          </td>
        </tr>
        <tr> 
          <td height="4" width="99%" valign="top"  >&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
  </tbody> 
</table>
<!--#include virtual="/incs/bottom.asp"-->



