
<!--#include file="conn.asp"-->
<!--#include file="check2.asp"-->
<%
ok=request.form("ok")
if ok="ok" then

		youstat=trim(request.form("youstat"&i))
		memo=trim(request.form("memo"&i))
		sql="update sh_pay5 set youstat='"&youstat&"',memo='"&memo&"' "
		conn.execute(sql)

	response.write "<script language=JavaScript>" & "alert('成功保存设置！');" & "window.location.href='pay5.asp';" & "</script>"
	conn.close
	response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>
<!--
td{font-size:9pt}
body {
	margin-top: 5px;margin-left: 2px;
}
.style3 {color: #A84E22; font-weight: bold; }
#tabcss{
	BORDER-COLLAPSE: collapse;
	border-top-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-left-style: solid;
	border-top-color: #dddddd;
	border-left-color: #dddddd;
}#tabcss td {
	line-height: 24px;
	padding-left: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
	color: #333333;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-color: #dddddd;
	border-bottom-color: #dddddd;
}
-->
</style>
</head>
<BODY bgcolor="#fcfcfc">

<table height="5"><tr><td></td></tr></table>
<TABLE width=93% border=0 align="center" cellPadding=0 cellSpacing=0 style="BORDER-RIGHT: #b1bfee 1px solid; BORDER-TOP: #b1bfee 1px solid; BORDER-LEFT: #b1bfee 1px solid; BORDER-BOTTOM: #b1bfee 1px solid" 
>
  <TBODY>
    <TR>
      <TD width="90%" bgColor=#f4f5fd><font color="#000000">　<B><font color="#FF0000">账户余额支付设置</font></B></font></TD>
      <TD bgColor=#f4f5fd height=30>&nbsp;</TD>
    </TR>
  </TBODY>
</TABLE>

<%
dim sql4,rs4,id,num,pkid
	sql4="select * from sh_pay5"
	set rs4=server.createobject("adodb.recordset")
	rs4.open sql4,conn,1,1
	if rs4.bof or rs4.eof then
	else
		youstat=rs4("youstat")
		memo=rs4("memo")
	end if
	rs4.close
	set rs4=nothing
%>

<table width="93%"  border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#b1bfee">
  <form action=pay5.asp method=post name=setup>
    <tr bgcolor="#FFFFFF"> 
      <td width="20%" height="30" align="center" valign="middle"><div align="right">状态：</div></td>
      <td  valign="middle"><input type="radio" name="youstat" value="1" <%if youstat="1" then response.write "checked"%>>开启　　 
        <input type="radio" name="youstat" value="0" <%if youstat="0" then response.write "checked"%>>关闭</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="30" align="center" valign="middle"><div align="right">余额支付说明内容：</div></td>
      <td  valign="middle"><textarea name="memo" cols="60" rows="10"><%=memo%></textarea></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="17" colspan="2" align="center"  valign="middle"> <div align="right"></div></td>
    </tr>
    <tr> 
      <td height="30" bgcolor="#FFFFFF" >&nbsp;</td>
      <td height="30" bgcolor="#FFFFFF" ><input name="ok" type="hidden" value="ok"> 
        <input name=action type="submit" value="保存设置">
        &nbsp;（在这里保存后，还在要“栏目管理”-&gt;“支付方式”中进行相应的修改。）</td>
    </tr>
  </form>
</table>
</td></tr>
</table> </td></tr> </table> 
         
<table width="95%" border="0">
  <tr> 
    <td height="60">&nbsp;</td>
  </tr>
</table>
<%conn.close%>

</body></html>
