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

📄 paydetail.asp

📁 1 除掉了 时间 限制 2 除掉了 人数 限制 改为 500人 原为5人 3 发现一点小缺陷 增加人员的时候没有判断 登陆名是否重复! 自己写吧~~~:) 4 又 是一点缺陷
💻 ASP
字号:
<!--#include file="../config.ini" -->
<!--#include file="../commfunction.inc" -->
<%Dim objcheck
Set objcheck=Server.CreateObject("SmartSales.CheckFunction")
objcheck.CheckUserFunction "popayment","read"
set objcheck=nothing

dim conn
dim rs 
set conn=server.CreateObject("adodb.connection")
set rs=server.CreateObject("adodb.recordset")
conn.Open connstring
rs.Open "select * from v_pay where payid="&request("payid"),conn,1,1
if rs.EOF then
	Response.Write "记录不存在"
	Response.End 
end if
%>
<html>
<head>
<LINK href="../global.css" rel=STYLESHEET type=text/css>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=rs("payno")%></title>
</head>
<script language="JavaScript">
function window_onload()
{
//window.moveTo(-2,-2);
//window.resizeTo(screen.availWidth, screen.availHeight);
}
</script>
<body bgcolor="#ffffff" onload="window_onload()">
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="35%"><b><font  class="title">付款:<%=rs("payno")%></font></b></td>
    <td width="65%">&nbsp;&nbsp;</td>
  </tr>
    <tr > 
      <td height="16" colspan="2" background="../images/title.gif"></td>
    </tr>
    <tr>
      <td height=4></td>
    </tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="DECFAD">
  <tr> 
    <td align=center height=20 bgcolor="DEDFDE">付款编号</td>
    <td align=center bgcolor="efefef"><%=rs("payno")%></td>
    <td align=center bgcolor="DEDFDE">客户</td>
    <td align=center bgcolor="efefef"> 
      <%=rs("account")%>
    </td>
    <td align=center bgcolor="DEDFDE">状态</td>
    <td align=center bgcolor="efefef"><%=rs("paymentstatus")%></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td align=center height=18  bgcolor="DEDFDE">付款日期</td>
    <td align=center bgcolor="efefef"><%=rs("receiveddate")%></td>
    <td align=center bgcolor="DEDFDE">金额</td>
    <td align=center bgcolor="efefef"><%=rs("amount")%></td>
    <td align=center bgcolor="DEDFDE">付款类型</td>
    <td align=center bgcolor="efefef"><%=rs("paytype")%></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td align=center height=18  bgcolor="DEDFDE">描述</td>
    <td colspan="5" align=center bgcolor="efefef"> <div align="left"><%=rs("description")%></div></td>
  </tr>
</table>
  <%
  rs.Close
  set rs=nothing
  conn.Close 
  set conn=nothing
  %>
</body>
</html>

⌨️ 快捷键说明

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