<%@ Language=VBScript %>
<%
If session("admau")="" Then
	ef=True
	ec="授权非法，有可能是超时造成的。"
elseIf session("cansetpro")="" Then
	ef=True
	ec="您没有此操作的权限。"
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 align="left"><table height="59"  border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="7" background="img/midtop.gif">&nbsp;</td>
            <td width="150" align="center" valign="middle" background="img/r3.jpg" id="tableTop1" style="Cursor:hand"><a href="product-domain2.asp"><font color="#FFFFFF">域名不同接口定价</font></a><a href="systeminfo.asp"></a><a href="logininfo.asp"></a></td>
            <td width="5" background="img/midtop2.gif">&nbsp;</td>
          </tr>
      </table></TD>
      <TD width="83">&nbsp;</TD>
      <TD width="83" align="left">&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"><br>
<br>
<%
Set conn=Server.CreateObject("ADODB.Connection")
	conn.Open Application("FreeHostDBlink")

	Set ds = Server.CreateObject("ADODB.Recordset")	
		Sql="Select * from FreeHost.FreeHost_DomainProductlist"
		ds.Open Sql,conn,1,3
While not ds.eof

For api=1 To 7
ds("usermoneyAPI"&api)=trim(Request.Form("usermoney"&ds("id")&"API"&api))
ds("usermoneyagnAPI"&api)=trim(Request.Form("usermoneyagn"&ds("id")&"API"&api))

ds("year2API"&api)=trim(Request.Form("usermoney"&ds("id")&"year2API"&api))
ds("year2agnAPI"&api)=trim(Request.Form("usermoneyagn"&ds("id")&"year2API"&api))

ds("year3API"&api)=trim(Request.Form("usermoney"&ds("id")&"year3API"&api))
ds("year3agnAPI"&api)=trim(Request.Form("usermoneyagn"&ds("id")&"year3API"&api))

ds("year4API"&api)=trim(Request.Form("usermoney"&ds("id")&"year4API"&api))
ds("year4agnAPI"&api)=trim(Request.Form("usermoneyagn"&ds("id")&"year4API"&api))

ds("year5API"&api)=trim(Request.Form("usermoney"&ds("id")&"year5API"&api))
ds("year5agnAPI"&api)=trim(Request.Form("usermoneyagn"&ds("id")&"year5API"&api))



next

ds.update
ds.movenext
wend
ds.close
%>
<br><br><br>修改成功
<br>
<br>


<a href="systeminfo.asp"><font color="#FF0000">如果您启用本功能,请注意要启用系统参数中的"是否允许单独设置每个域名接口的注册价格"功能.</font></a>

</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%>
