<%@ Language=VBScript %>
<%if Session("weight")<>5 then 
Response.Redirect "error.asp?cause=4"
 end if
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<LINK 
href="css/default.css" rel=stylesheet>
</HEAD>
<BODY>
<object runat=server id=conn1 progid="adodb.connection"></object>
<%application.Lock
conn1.Open Application("p_jyzx")
Application.UnLock
%>
<%set rs=server.CreateObject ("ADODB.recordset")
 sql="select * from my_system where system_id=1"
 rs.Open sql,conn1,3
 if rs.RecordCount<>0 then
	
	affiliate_selected=rs("affiliate_selected")
	affiliate_visit_value=rs("affiliate_visit_value")
	affiliate_join_value=rs("affiliate_join_value")
	affiliate_join_vip=rs("affiliate_join_vip")
 end if
if affiliate_selected=0 then
	affiliate_selected1="不开放"
elseif affiliate_selected=1 then
	affiliate_selected1="对所有会员开放"
elseif affiliate_selected=2 then
	affiliate_selected1="仅对VIP会员开放"
end if
%>
<FORM action="affiliate_sysinfo_update.asp" method=POST id=form1 name=form1>
<TABLE cellSpacing=0 cellPadding=0 width=100% align=center border=0>
  <TBODY>
  <TR >
    <TD  align=left > <font size="4">系统信息 </font></TD>
            <td></td>
   </TR>
   <TR >
    <TD  align=left > <font size=5><BR></font></TD>
            <td></td>
   </TR>
    <TR><td><B><FONT color=#df372f>『开放程度』</FONT></B></td>
    <TD ><SELECT id=select1 name=affiliate_selected  style="BORDER-RIGHT: #000080 1px solid; BORDER-TOP: #000080 1px solid; BORDER-LEFT: #000080 1px solid; COLOR: #000000; BORDER-BOTTOM: #000080 1px solid; BACKGROUND-COLOR: #66cc33; TEXT-DECORATION: blink" >
<OPTION value=<%=affiliate_selected%> selected><%=affiliate_selected1%></OPTION>
<OPTION value=0 >不开放</OPTION>
<OPTION value=1 >对所有会员开放</OPTION>
<OPTION value=2 >仅对VIP会员开放</OPTION>
</SELECT> <br><br></TD></TR>
 <TR><td><B><FONT color=#df372f>『每次链接』</FONT></B></td>
    <TD ><INPUT  class=input1 type="text" id=text1 name=affiliate_visit_value value=<%=FormatNumber(affiliate_visit_value,2,-1)%> >元<br><br></TD></TR>
 <TR><td><B><FONT color=#df372f>『每介绍一个普通会员』</FONT></B></td>
    <TD > <INPUT  class=input1 type="text" id=text2 name=affiliate_join_value value=<%=FormatNumber(affiliate_join_value,2,-1)%> >元<br><br></TD></TR>
  <TR><td><B><FONT color=#df372f>『每介绍一个VIP会员』</FONT></B></td>
    <TD > <INPUT   class=input1 type="text" id=text3 name=affiliate_join_vip value=<%=FormatNumber(affiliate_join_vip,2,-1)%> >元<br><br></TD></TR>
    
   <TR><td colspan=2  align=center><INPUT   class=input1 type="submit" value="更 新" id=submit1 name=submit1></td>
   </TR>
</TBODY>    
 </table>   
</FORM>
<HR>    
 <P align=center><font size=5><A href=affiliate_list.asp>使用者列表</A></font></p>   
  
  


</BODY>
</HTML>
