📄 yue.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/auto.asp" -->
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from ri where year='"&request("year")&"' and month='"&request("month")&"'"
rs.open sql,CN,1,1
if not rs.eof then
set rs1=server.CreateObject("adodb.recordset")
sql1="select sum(mainboard) as mm from ri where month='"&request("month")&"'"
rs1.open sql1,CN,1,1
set rs2=server.CreateObject("adodb.recordset")
sql2="select sum(mouse) as gg from ri where month='"&request("month")&"'"
rs2.open sql2,CN,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/MainBorder.css" rel="stylesheet" type="text/css">
<title>无标题文档</title>
</head>
<body>
<p> </p>
<table width="581" height="152" border="0" align="center" cellspacing="0" bgcolor="#0099FF">
<tr bgcolor="#FF9900">
<td height="47" colspan="3" bgcolor="#6699FF"><div align="center" >配件生产运行月报表
<table width="100%" border="0">
<tr>
<td> 【<a href=javascript:window.print();>打印</a>】
<div align="right"></div></td>
</tr>
</table>
</div></td>
</tr> <tr>
<td width="145" height="40" class="but01" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'" ><div align="center" class="style3">日期 </div></td>
<td width="210" class="but01" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'"><div align="center" class="style3">主板(单位:件)</div></td>
<td width="216" class="but01" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'"><div align="center" class="style3">鼠标(单位:件)</div>
<div align="center" class="style3"></div> <div align="center" class="style3"></div> <div align="center" class="style3"></div></td>
</tr>
<tr>
<td height="30" class="but1" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"><div align="center"><%=rs("year")%>-<%=rs("month")%></div></td>
<td class="but1" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"><div align="center"><%= rs1("mm") %> </div></td>
<td class="but1" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but1'"><div align="center"><%= rs2("gg") %></div> <div align="center"></div> <div align="center"></div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" colspan="3"> </td>
</tr>
</table>
</body>
</html>
<%else
response.Write("<script language=javascript>alert('对不起没有您所要查找的信息!');location='javascript:history.go(-1)'</script>")
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -