<%@ Language=VBScript %>
<%
If session("admau")="" Then
	ef=True
	ec="授权非法，有可能是超时造成的。"
elseIf session("canagnper")="" Then
	ef=True
	ec="您没有此操作的权限。"
ElseIf not IsNumeric(Request("id"))  Then
	ef=True
	ec="ID应该是数字！"
end if
if not ef then
Set conn=Server.CreateObject("ADODB.Connection")
	conn.Open Application("FreeHostDBlink")
	Set dsagnettype = Server.CreateObject("ADODB.Recordset")	
Sql="Select * from FreeHost.FreeHost_Agent_pers where id='"&Request("id")&"'"
		dsagnettype.Open Sql,conn,1,1
if dsagnettype.eof then
	ef=True
	ec="代理类型折扣为空，请先设置它！"
end if
end if

if not ef then
%>
<!--#include virtual="/inc-freehost-function/htmlwrite.asp"--><%=htmlwrite("html8")%>
<%=htmlwrite("html9")%>
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="img/midtop4.gif">
  <TBODY>
    <TR>
      <TD width=53 align="left" background="img/midtop1.gif"><strong> 　 </strong><font color="#FFFFFF">─<strong>&gt;</strong></font> </TD>
      <TD width="83"><table height="59"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="7" background="img/midtop.gif">&nbsp;</td>
            <td width="60" align="center" valign="middle" background="img/r3.jpg" id="tableTop1" style="Cursor:hand"><a href="agentpercent.asp"><font color="#FFFFFF">代理折扣</font></a></td>
            <td width="5" background="img/midtop2.gif">&nbsp;</td>
          </tr>
      </table></TD>
      <TD width="148"><table height="59"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="7" background="img/midtop.gif">&nbsp;</td>
            <td width="120" align="center" valign="middle" background="img/r3.jpg" id="tableTop1" style="Cursor:hand"><font color="#FFFFFF">批量修改代理折扣</font></td>
            <td width="5" background="img/midtop2.gif">&nbsp;</td>
          </tr>
      </table></TD>
      <TD width="18">&nbsp;</TD>
      <TD align="left">&nbsp;</TD>
      <TD width=23 align="right"><IMG height=59 
                  src="img/rtop4.jpg" 
                  width=19></TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD width=19 background="img/midlef.gif" id=rightid>&nbsp;</TD>
      <TD height="300" align="center" vAlign=top bgcolor="#FFFFFF">
	  
　　手工设置代理级别为：<font color="#FF0000"><%=dsagnettype ("agenttype")%>  </font>的折扣(当选择条件为&quot;任何&quot;时，影响所有的这个级别的代理，条件为&quot;低于,高于,等于&quot;时只影响单独设置过代理价格的代理)：
	  
	  <form name="form1" method="post" action="resetagentprice2.asp">
<strong>域名产品</strong>：
<%
	Set dsDomainlist = Server.CreateObject("ADODB.Recordset")	
		Sql="Select * from FreeHost.FreeHost_DomainProductlist order by id asc"
		dsDomainlist.Open Sql,conn,1,1
If dsDomainlist.Eof Then%>
产品列表为空.
<%else%><table width="100%"  border="0" cellspacing="1" bgcolor="#CCCCCC"><%
while not dsDomainlist.Eof%>

  <tr bgcolor="#FFFFFF">
    <td width="28%" align="left">　　　<%=dsDomainlist("id")%>.<%=dsDomainlist("Domaintype")%>
    <td width="72%" align="left">
	
<%if Application("domaincansetM")=true Then%>
<%for regapi=1 to 7%>
<br>
<%if regapi=1 then%>新网互联<%end if%>
<%if regapi=2 then%>新网<%end if%>
<%if regapi=3 then%>商务中国<%end if%>
<%if regapi=4 then%>中国频道<%end if%>
<%if regapi=5 then%>万网<%end if%>
<%if regapi=6 then%>API6<%end if%>
<%if regapi=7 then%>外国接口<%end if%>：<br>

<input type="checkbox" name="selectdomain<%=dsDomainlist("id")%>API<%=regapi%>" value="yes">
修改本项新价格为
  <input name="domain<%=dsDomainlist("id")%>API<%=regapi%>" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("usermoneyagn")
response.write  dsDomainlist("usermoneyagn"&"API"&regapi)

	  %>">
    元1年　只修改原价格
    <select name="domainlhtype<%=dsDomainlist("id")%>API<%=regapi%>">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
      <option value="为空">为空</option>	  
    </select>

    <input name="domainonlymoney<%=dsDomainlist("id")%>API<%=regapi%>" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("usermoneyagn")
response.write  dsDomainlist("usermoneyagn"&"API"&regapi)
	  
	  %>">
元的代理<br>
<%for iqx=2 to 5%>
<input type="checkbox" name="selectdomain<%=dsDomainlist("id")%>year<%=iqx%>API<%=regapi%>" value="yes">
修改本项新价格为
<input name="domain<%=dsDomainlist("id")%>year<%=iqx%>API<%=regapi%>" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("year"&iqx)
response.write  dsDomainlist("year"&iqx&"agn"&"API"&regapi)

	  
	  %>">
元<%=iqx%>年　只修改原价格
<select name="domainlhtype<%=dsDomainlist("id")%>year<%=iqx%>API<%=regapi%>">
  <option value="低于" selected>低于</option>
  <option value="等于">等于</option>
  <option value="高于">高于</option>
  <option value="任何">任何</option>
      <option value="为空">为空</option>	    
</select>
<input name="domainonlymoney<%=dsDomainlist("id")%>year<%=iqx%>API<%=regapi%>" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("year"&iqx&"agn")
response.write  dsDomainlist("year"&iqx&"agn"&"API"&regapi)

	  
	  %>">
元的代理<br>
<%next%>
<%next%>

<%
'以下是没有单独价格的情况.............................
else%>
<input type="checkbox" name="selectdomain<%=dsDomainlist("id")%>" value="yes">
修改本项新价格为
  <input name="domain<%=dsDomainlist("id")%>" type="text" size="4" maxlength="10" value="<%

response.write  dsDomainlist("usermoneyagn")

'	iqx=1  
	  %>">
    元1年　只修改原价格
    <select name="domainlhtype<%=dsDomainlist("id")%>">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
      <option value="为空">为空</option>	  
    </select>

    <input name="domainonlymoney<%=dsDomainlist("id")%>" type="text" size="4" maxlength="10" value="<%

response.write  dsDomainlist("usermoneyagn")

	  
	  %>">
元的代理<br>
<%for iqx=2 to 5%>
<input type="checkbox" name="selectdomain<%=dsDomainlist("id")%>year<%=iqx%>" value="yes">
修改本项新价格为
<input name="domain<%=dsDomainlist("id")%>year<%=iqx%>" type="text" size="4" maxlength="10" value="<%

response.write  dsDomainlist("year"&iqx&"agn")

	  
	  %>">
元<%=iqx%>年　只修改原价格
<select name="domainlhtype<%=dsDomainlist("id")%>year<%=iqx%>">
  <option value="低于" selected>低于</option>
  <option value="等于">等于</option>
  <option value="高于">高于</option>
  <option value="任何">任何</option>
      <option value="为空">为空</option>	    
</select>
<input name="domainonlymoney<%=dsDomainlist("id")%>year<%=iqx%>" type="text" size="4" maxlength="10" value="<%

response.write  dsDomainlist("year"&iqx&"agn")

	  
	  %>">
元的代理<br>
<%next%>
<%end if%>
<br>

    <input type="checkbox" name="selectdomainrepay<%=dsDomainlist("id")%>" value="yes">
修改新<font color="#0000FF">续费(新网互联)</font>价格为
<input name="domainrepay<%=dsDomainlist("id")%>" type="text" size="4" maxlength="10" value="<%

	  	
response.write  dsDomainlist("usermoneyagnrepay")

	  
	  %>">
元/年　只修改原价格
    <select name="domainrepaylhtype<%=dsDomainlist("id")%>">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
      <option value="为空">为空</option>	  	  
    </select>

    <input name="domainonlymoneyrepay<%=dsDomainlist("id")%>" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay")

	  
	  %>">
元的代理<br>

    <input type="checkbox" name="selectdomainrepay<%=dsDomainlist("id")%>_2" value="yes">
修改新<font color="#0000FF">续费(新网)</font>价格为
<input name="domainrepay<%=dsDomainlist("id")%>_2" type="text" size="4" maxlength="10" value="<%

	  	
'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay2")

	  
	  %>">
元/年　只修改原价格
    <select name="domainrepaylhtype<%=dsDomainlist("id")%>_2">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
      <option value="为空">为空</option>	  	  
    </select>

    <input name="domainonlymoneyrepay<%=dsDomainlist("id")%>_2" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay2")

	  
	  %>">
元的代理<br>

    <input type="checkbox" name="selectdomainrepay<%=dsDomainlist("id")%>_3" value="yes">
修改新<font color="#0000FF">续费(商务中国)</font>价格为
<input name="domainrepay<%=dsDomainlist("id")%>_3" type="text" size="4" maxlength="10" value="<%

	  	
'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay3")

	  
	  %>">
元/年　只修改原价格
    <select name="domainrepaylhtype<%=dsDomainlist("id")%>_3">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
      <option value="为空">为空</option>	  	  
    </select>

    <input name="domainonlymoneyrepay<%=dsDomainlist("id")%>_3" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay3")

	  
	  %>">
元的代理<br>


    <input type="checkbox" name="selectdomainrepay<%=dsDomainlist("id")%>_4" value="yes">
修改新<font color="#0000FF">续费(中国频道)</font>价格为
<input name="domainrepay<%=dsDomainlist("id")%>_4" type="text" size="4" maxlength="10" value="<%

	  	
'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay4")

	  
	  %>">
元/年　只修改原价格
    <select name="domainrepaylhtype<%=dsDomainlist("id")%>_4">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
      <option value="为空">为空</option>	  	  
    </select>

    <input name="domainonlymoneyrepay<%=dsDomainlist("id")%>_4" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay4")

	  
	  %>">
元的代理<br>


    <input type="checkbox" name="selectdomainrepay<%=dsDomainlist("id")%>_5" value="yes">
修改新<font color="#0000FF">续费(万网)</font>价格为
<input name="domainrepay<%=dsDomainlist("id")%>_5" type="text" size="4" maxlength="10" value="<%

	  	
'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay5")

	  
	  %>">
元/年　只修改原价格
    <select name="domainrepaylhtype<%=dsDomainlist("id")%>_5">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
      <option value="为空">为空</option>	  	  
    </select>

    <input name="domainonlymoneyrepay<%=dsDomainlist("id")%>_5" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay5")

	  
	  %>">
元的代理<br>


    <input type="checkbox" name="selectdomainrepay<%=dsDomainlist("id")%>_6" value="yes">
修改新<font color="#0000FF">续费(API6)</font>价格为
<input name="domainrepay<%=dsDomainlist("id")%>_6" type="text" size="4" maxlength="10" value="<%

	  	
'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay6")

	  
	  %>">
元/年　只修改原价格
    <select name="domainrepaylhtype<%=dsDomainlist("id")%>_6">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
      <option value="为空">为空</option>	  	  
    </select>

    <input name="domainonlymoneyrepay<%=dsDomainlist("id")%>_6" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay6")

	  
	  %>">
元的代理<br>


    <input type="checkbox" name="selectdomainrepay<%=dsDomainlist("id")%>_7" value="yes">
修改新<font color="#0000FF">续费(外国接口)</font>价格为
<input name="domainrepay<%=dsDomainlist("id")%>_7" type="text" size="4" maxlength="10" value="<%

	  	
'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay7")

	  
	  %>">
元/年　只修改原价格
    <select name="domainrepaylhtype<%=dsDomainlist("id")%>_7">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
      <option value="为空">为空</option>	  	  
    </select>

    <input name="domainonlymoneyrepay<%=dsDomainlist("id")%>_7" type="text" size="4" maxlength="10" value="<%

'response.write  dsDomainlist("usermoney")*dsagnettype("pers")
'读FreeHost_DomainProductlist
response.write  dsDomainlist("usermoneyagnrepay7")

	  
	  %>">
元的代理<br>


</td>
  </tr>

<%
dsDomainlist.movenext
wend
dsDomainlist.close
set dsDomainlist=nothing%></table><%end if%>


	  
<strong>虚拟主机产品</strong>：
<%
	Set dsHostlist = Server.CreateObject("ADODB.Recordset")	
		Sql="Select * from FreeHost.FreeHost_HostProductlist order by id asc"
		dsHostlist.Open Sql,conn,1,1
If dsHostlist.Eof Then%>产品列表为空.
<%else%>
<table width="100%"  border="0" cellspacing="1" bgcolor="#CCCCCC">
  <%while not dsHostlist.Eof%>
  <tr bgcolor="#FFFFFF">
    <td width="28%" align="left">　　　
<%=dsHostlist("id")%>.<%=dsHostlist("Hosttype")%> 
    <td width="72%" align="left"><input type="checkbox" name="selecthost<%=dsHostlist("id")%>" value="yes">
修改本项新价格为
  <input name="host<%=dsHostlist("id")%>" type="text" size="4" maxlength="10" value="<%=dsHostlist("usermoney")*dsagnettype("pers")%>">
    元　只修改原价格
    <select name="hostlhtype<%=dsHostlist("id")%>">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
    </select>

    <input name="hostonlymoney<%=dsHostlist("id")%>" type="text" size="4" maxlength="10" value="<%=dsHostlist("usermoney")*dsagnettype("pers")%>">
元的代理</td>
  </tr>

<%


dsHostlist.movenext
wend
dsHostlist.close
set dsHostlist=nothing%></table>
<%end if%>

<strong>邮箱产品</strong>：
<%
	Set dsEmaillist = Server.CreateObject("ADODB.Recordset")	
		Sql="Select * from FreeHost.FreeHost_EmailProductlist where isbyhost='n' order by id asc"
		dsEmaillist.Open Sql,conn,1,1
If dsEmaillist.Eof Then%>
产品列表为空.
<%else%>
<table width="100%"  border="0" cellspacing="1" bgcolor="#CCCCCC"><%
while not dsEmaillist.Eof%>
  <tr bgcolor="#FFFFFF">
    <td width="28%" align="left">　　　<%=dsEmaillist("id")%>.<%=dsEmaillist("Emailtype")%>
    <td width="72%" align="left"><input type="checkbox" name="selectemail<%=dsEmaillist("id")%>" value="yes">
修改本项新价格为
<input name="email<%=dsEmaillist("id")%>" type="text" size="4" maxlength="10" value="<%=dsEmaillist("usermoney")*dsagnettype("pers")%>">
    元　只修改原价格
    <select name="emaillhtype<%=dsEmaillist("id")%>">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
    </select>

    <input name="emailonlymoney<%=dsEmaillist("id")%>" type="text" size="4" maxlength="10" value="<%=dsEmaillist("usermoney")*dsagnettype("pers")%>">
元的代理</td>
  </tr>

<%
dsEmaillist.movenext
wend
dsEmaillist.close
set dsEmaillist=nothing%></table><%end if%>











<strong>数据库产品</strong>：
<%
	Set dsSqllist = Server.CreateObject("ADODB.Recordset")	
		Sql="Select * from FreeHost.FreeHost_SqlProductlist where isbyhost='n' order by id asc"
		dsSqllist.Open Sql,conn,1,1
If dsSqllist.Eof Then%>
产品列表为空.
<%else%><table width="100%"  border="0" cellspacing="1" bgcolor="#CCCCCC">
<%
while not dsSqllist.Eof%>

  <tr bgcolor="#FFFFFF">
    <td width="28%" align="left">　　　<%=dsSqllist("id")%>.<%=dsSqllist("Sqltype")%>
    <td width="72%" align="left"><input type="checkbox" name="selectsql<%=dsSqllist("id")%>" value="yes">
修改本项新价格为
  <input name="Sql<%=dsSqllist("id")%>" type="text" size="4" maxlength="10" value="<%

response.write  dsSqllist("usermoney")*dsagnettype("pers")

	  %>">
    元　只修改原价格
    <select name="sqllhtype<%=dsSqllist("id")%>">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
    </select>

    <input name="sqlonlymoney<%=dsSqllist("id")%>" type="text" size="4" maxlength="10" value="<%=dsSqllist("usermoney")*dsagnettype("pers")%>">
元的代理</td>
  </tr>
<%
dsSqllist.movenext
wend
dsSqllist.close
set dsSqllist=nothing%></table><%end if%>



<strong>云服务器产品</strong>：
<%
	Set dsVPSlist = Server.CreateObject("ADODB.Recordset")	
		Sql="Select * from FreeHost.FreeHost_VPSProductlist order by id asc"
		dsVPSlist.Open Sql,conn,1,1
If dsVPSlist.Eof Then%>
产品列表为空.
<%else%>
<table width="100%"  border="0" cellspacing="1" bgcolor="#CCCCCC"><%
while not dsVPSlist.Eof%>
  <tr bgcolor="#FFFFFF">
    <td width="28%" align="left">　　　<%=dsVPSlist("id")%>.<%=dsVPSlist("VPStype")%>
    <td width="72%" align="left"><input type="checkbox" name="selectVPS<%=dsVPSlist("id")%>" value="yes">
修改本项新价格为
<input name="VPS<%=dsVPSlist("id")%>" type="text" size="4" maxlength="10" value="<%=dsVPSlist("usermoney")*dsagnettype("pers")%>">
    元　只修改原价格
    <select name="VPSlhtype<%=dsVPSlist("id")%>">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
    </select>

    <input name="VPSonlymoney<%=dsVPSlist("id")%>" type="text" size="4" maxlength="10" value="<%=dsVPSlist("usermoney")*dsagnettype("pers")%>">
元的代理</td>
  </tr>

<%
dsVPSlist.movenext
wend
dsVPSlist.close
set dsVPSlist=nothing%></table><%end if%>




<strong>CDN产品</strong>：
<%
	Set dsCDNlist = Server.CreateObject("ADODB.Recordset")	
		Sql="Select * from FreeHost.FreeHost_CDNProductlist order by id asc"
		dsCDNlist.Open Sql,conn,1,1
If dsCDNlist.Eof Then%>
产品列表为空.
<%else%>
<table width="100%"  border="0" cellspacing="1" bgcolor="#CCCCCC"><%
while not dsCDNlist.Eof%>
  <tr bgcolor="#FFFFFF">
    <td width="28%" align="left">　　　<%=dsCDNlist("id")%>.<%=dsCDNlist("CDNtype")%>
    <td width="72%" align="left"><input type="checkbox" name="selectCDN<%=dsCDNlist("id")%>" value="yes">
修改本项新价格为
<input name="CDN<%=dsCDNlist("id")%>" type="text" size="4" maxlength="10" value="<%=dsCDNlist("usermoney")*dsagnettype("pers")%>">
    元　只修改原价格
    <select name="CDNlhtype<%=dsCDNlist("id")%>">
      <option value="低于" selected>低于</option>
      <option value="等于">等于</option>
      <option value="高于">高于</option>
      <option value="任何">任何</option>
    </select>

    <input name="CDNonlymoney<%=dsCDNlist("id")%>" type="text" size="4" maxlength="10" value="<%=dsCDNlist("usermoney")*dsagnettype("pers")%>">
元的代理</td>
  </tr>

<%
dsCDNlist.movenext
wend
dsCDNlist.close
set dsCDNlist=nothing%></table><%end if%>

<strong>其他产品</strong>：
<%
	Set dsOtherlist = Server.CreateObject("ADODB.Recordset")	
		Sql="Select * from FreeHost.FreeHost_OtherProductlist where isbyhost='n' order by id asc"
		dsOtherlist.Open Sql,conn,1,1
If dsOtherlist.Eof Then%>
产品列表为空.
<%else%><table width="100%"  border="0" cellspacing="1" bgcolor="#CCCCCC"><%
while not dsOtherlist.Eof%>

  <tr bgcolor="#FFFFFF">
    <td width="28%" align="left">　　　<%=dsOtherlist("id")%>.<%=dsOtherlist("Othertype")%>
    <td width="72%" align="left"><input type="checkbox" name="selectOther<%=dsOtherlist("id")%>" value="yes">
修改本项新价格为
  <input name="Other<%=dsOtherlist("id")%>" type="text" size="4" maxlength="10" value="<%

response.write  dsOtherlist("usermoney")*dsagnettype("pers")
	  %>">
    元　只修改原价格
    <select name="Otherlhtype<%=dsOtherlist("id")%>">
  <option value="低于" selected>低于</option>
  <option value="等于">等于</option>
  <option value="高于">高于</option>
  <option value="任何">任何</option>
    </select>
    <input name="Otheronlymoney<%=dsOtherlist("id")%>" type="text" size="4" maxlength="10" value="<%=dsOtherlist("usermoney")*dsagnettype("pers")%>">
元的代理</td>
  </tr>

<%
dsOtherlist.movenext
wend
dsOtherlist.close
set dsOtherlist=nothing%></table><%end if%>
<br>

<input type="submit" name="Submit" value="将这个级别的代理价格重置" onClick="if (confirm('批量操作会影响相关的代理价格，请您确认本次操作？')==false){return false;}">
<input name="id" type="hidden" value="<%=request("id")%>">
<input name="agenttype" type="hidden" id="agenttype" value="<%=dsagnettype("agenttype")%>">
	  </form>
	  
	  
	  
	  
	  </TD>
      <TD width=18 background="img/midri.gif">&nbsp;</TD>
    </TR>
  </TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
    <TR>
      <TD width=30><IMG height=19 
                  src="img/rb1.jpg" 
                  width=30></TD>
      <TD 
                background=img/rb2.jpg>&nbsp;</TD>
      <TD width=30><IMG height=19 
                  src="img/rb3.jpg" 
                  width=30></TD>
    </TR>
  </TBODY>
</TABLE>

<%=htmlwrite("html10")%>
<%
end if
if ef then
Response.Redirect "e.asp?e="&ec
end if
%>
