⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 money.asp

📁 视频点播系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="chklogin.asp"-->
<%

call myobj.chkrq()
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>资费设置</title>
<link href="images/style2.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000000;
}
a:link {
	color: #0000FF;
	text-decoration: none;
}
a:visited {
	color: #0000FF;
	text-decoration: none;
}
a:hover {
	color: #FF0000;
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
-->
</style>
<script language="vbscript">
function show_card()
if document.GetElementById("card").style.display="none" then
	document.GetElementById("card").style.display="inline"
else
	document.GetElementById("card").style.display="none"
end if
end function
function show_agent()
if document.GetElementById("agent").style.display="none" then
	document.GetElementById("agent").style.display="inline"
else
	document.GetElementById("agent").style.display="none"
end if
end function
</script>
</head>

<body leftMargin="0" topMargin="0" bgcolor="#FFFFFF">
<%
action_e=request.QueryString("action")
Select Case action_e
	Case ""
	  Call main()
	Case "save_card"
	  Call save_card()
	Case "save_order"
	  Call save_order()
	Case "save_agent"
	  Call save_agent()
end select

sub main()
set rs=server.createobject("adodb.recordset")
rs.open "select * from money_setup where money_type='card'",conn,1,1
'个人计点
card_pop_100p=rs("pop_100p")
card_vip_100p=rs("vip_100p")
card_pop_300p=rs("pop_300p")
card_vip_300p=rs("vip_300p")
card_pop_600p=rs("pop_600p")
card_vip_600p=rs("vip_600p")
'个人包月
card_pop_ps1m=rs("pop_ps1m")
card_vip_ps1m=rs("vip_ps1m")
card_pop_ps3m=rs("pop_ps3m")
card_vip_ps3m=rs("vip_ps3m")
card_pop_ps6m=rs("pop_ps6m")
card_vip_ps6m=rs("vip_ps6m")
'网吧包月
card_pop_pb1m=rs("pop_pb1m")
card_vip_pb1m=rs("vip_pb1m")
card_pop_pb3m=rs("pop_pb3m")
card_vip_pb3m=rs("vip_pb3m")
card_pop_pb6m=rs("pop_pb6m")
card_vip_pb6m=rs("vip_pb6m")
rs.close

set rs=server.createobject("adodb.recordset")
rs.open "select * from money_setup where money_type='agent'",conn,1,1
'个人计点
agent_pop_100p=rs("pop_100p")
agent_vip_100p=rs("vip_100p")
agent_pop_300p=rs("pop_300p")
agent_vip_300p=rs("vip_300p")
agent_pop_600p=rs("pop_600p")
agent_vip_600p=rs("vip_600p")
'个人包月
agent_pop_ps1m=rs("pop_ps1m")
agent_vip_ps1m=rs("vip_ps1m")
agent_pop_ps3m=rs("pop_ps3m")
agent_vip_ps3m=rs("vip_ps3m")
agent_pop_ps6m=rs("pop_ps6m")
agent_vip_ps6m=rs("vip_ps6m")
'网吧包月
agent_pop_pb1m=rs("pop_pb1m")
agent_vip_pb1m=rs("vip_pb1m")
agent_pop_pb3m=rs("pop_pb3m")
agent_vip_pb3m=rs("vip_pb3m")
agent_pop_pb6m=rs("pop_pb6m")
agent_vip_pb6m=rs("vip_pb6m")
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<form name="form1" method="post" action="<%=filename%>?action=save_card">
<table width="500" height="25" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#3975CE" class="table1" onclick="vbscript:show_card()">
  <tr>
    <td align="center" class="font1"><strong>影卡资费设置</strong></td>
  </tr>
</table>
<table width="500" height="390" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E7E7E7" id="card" style="display:none">
  <tr>
      <td align="center" valign="top" bgcolor="#F7F7F7"><table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center"><strong>个人计点用户资费</strong></td>
        </tr>
      </table>
      <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>100点费用:
            <input name="pop_100p" type="text" class="input1" id="pop_100p" value="<%=card_pop_100p%>" size="4">
            元 
             VIP用户费用:
            <input name="vip_100p" type="text" class="input1" id="vip_100p" value="<%=card_vip_100p%>" size="4">
            元</td>
          </tr>
      </table>
        <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>300点费用:
                <input name="pop_300p" type="text" class="input1" id="pop_300p" value="<%=card_pop_300p%>" size="4">
      元   VIP用户费用:
      <input name="vip_300p" type="text" class="input1" id="vip_300p" value="<%=card_vip_300p%>" size="4">
      元</td>
          </tr>
        </table>
        <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>600点费用:
                <input name="pop_600p" type="text" class="input1" id="pop_600p" value="<%=card_pop_600p%>" size="4">
      元   VIP用户费用:
      <input name="vip_600p" type="text" class="input1" id="vip_600p" value="<%=card_vip_600p%>" size="4">
      元</td>
          </tr>
      </table>
        <table width="400" height="20" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center"></td>
          </tr>
        </table>
        <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center"><strong>个人包月用户资费</strong></td>
          </tr>
        </table>
        <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>1个月费用:
                <input name="pop_ps1m" type="text" class="input1" id="pop_ps1m" value="<%=card_pop_ps1m%>" size="4">
      元   VIP用户费用:
      <input name="vip_ps1m" type="text" class="input1" id="vip_ps1m" value="<%=card_vip_ps1m%>" size="4">
      元</td>
          </tr>
        </table>
        <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>3个月费用:
                <input name="pop_ps3m" type="text" class="input1" id="pop_ps3m" value="<%=card_pop_ps3m%>" size="4">
      元   VIP用户费用:
      <input name="vip_ps3m" type="text" class="input1" id="vip_ps3m" value="<%=card_vip_ps3m%>" size="4">
      元</td>
          </tr>
        </table>
        <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>6个月费用:
                <input name="pop_ps6m" type="text" class="input1" id="pop_ps6m" value="<%=card_pop_ps6m%>" size="4">
      元   VIP用户费用:
      <input name="vip_ps6m" type="text" class="input1" id="vip_ps6m" value="<%=card_vip_ps6m%>" size="4">
      元</td>
          </tr>
        </table>
        <table width="400" height="20" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center"></td>
          </tr>
        </table>
        <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center"><strong>网吧包月用户资费</strong></td>
          </tr>
        </table>
        <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>1个月费用:
                <input name="pop_pb1m" type="text" class="input1" id="pop_pb1m" value="<%=card_pop_pb1m%>" size="4">
      元   VIP用户费用:
      <input name="vip_pb1m" type="text" class="input1" id="vip_pb1m" value="<%=card_vip_pb1m%>" size="4">
      元</td>
          </tr>
        </table>
        <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>3个月费用:
                <input name="pop_pb3m" type="text" class="input1" id="pop_pb3m" value="<%=card_pop_pb3m%>" size="4">
      元   VIP用户费用:
      <input name="vip_pb3m" type="text" class="input1" id="vip_pb3m" value="<%=card_vip_pb3m%>" size="4">
      元</td>
          </tr>
        </table>
        <table width="400" height="25" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>6个月费用:
                <input name="pop_pb6m" type="text" class="input1" id="pop_pb6m" value="<%=card_pop_pb6m%>" size="4">
      元   VIP用户费用:
      <input name="vip_pb6m" type="text" class="input1" id="vip_pb6m" value="<%=card_vip_pb6m%>" size="4">
      元</td>
          </tr>
        </table>
        <table width="400" height="50" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center"><input name="Submit" type="submit" class="button1" value="保存影卡资费设置"></td>
          </tr>
        </table></td>
  </tr>
</table>
</form>
<form name="form1" method="post" action="<%=filename%>?action=save_agent">
<table width="500" height="25" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#3975CE" class="table1" onclick="vbscript:show_agent()">
  <tr>
    <td align="center" class="font1"><strong>代理商账号充值资费设置</strong></td>
  </tr>
</table>
<table width="500" height="390" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E7E7E7" id="agent" style="display:none">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -