📄 stat2.asp
字号:
<%@ LANGUAGE = VBScript %>
<!--#include file="conn.asp"-->
<!--#include file="checklogin.asp"-->
<%
Set rs = nothing
Conn.Close
Set Conn = nothing
TotalPoints = Request ("TotalPoints")
Income = Request ("Income")
If Income = "" Then
Session ("Message") = "您必须输入收入数额。"
Response.Redirect "error.asp"
Response.End
End If
If TotalPoints <= 0 Then
Session ("Message") = "总点数不能小于等于零。"
Response.Redirect "error.asp"
Response.End
End If
Value2 = FormatNumber (Income / TotalPoints, 4, -1)
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link REL="StyleSheet" HREF="../tjscripts.css" TYPE="text/css" MEDIA="screen">
<title><%= SiteTitle %>后台管理系统</title>
</head>
<body topmargin="0" leftmargin="0">
<div align="center">
<table border="1" cellspacing="1" width="760" bordercolor="#0033CC">
<tr>
<td width="100%" height="31" bgcolor="#FFCC00"><b>点数兑换现金</b></td>
</tr>
<tr>
<td width="100%">
<form method="POST" action="stat_do.asp">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="95%">
<tr>
<td width="50%" height="30">每点预计价值:</td>
<td width="50%" height="30"><input type="text" name="Value2" size="20" value="<%= Value2 %>"></td>
</tr>
<tr>
<td width="50%" height="30">每点实际支付价值:(单位:元)</td>
<td width="50%" height="30"><input type="text" name="Value" size="20"></td>
</tr>
<tr>
<td width="100%" height="30" colspan="2" align="center"></td>
</tr>
<tr>
<td width="100%" height="30" colspan="2" align="center">
<input type="submit" value="点数兑换现金" name="q"></td>
</tr>
</table>
</div>
</form>
</td>
</tr>
<tr>
<td width="100%" align="center"><a href="javascript:history.back();"><b>返回</b></a></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -