📄 frm_zszlc.asp
字号:
<!--#include virtual="/include/DBCon.inc"-->
<html>
<head>
<title>油田采油工艺综合管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/css/oil.css" type="text/css">
<SCRIPT LANGUAGE=javascript>
<!--
function OpenBut(url)
{
window.open(url, "OpenClose");
}
function subcheck(act) {
if (act==0)
form1.action="frm_zszlc_remove.asp";
else if (act==1)
form1.action="frm_zszlc_modify.asp";
form1.submit();
}
-->
</SCRIPT>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br>
<%
Set Rs = Server.CreateObject("ADODB.RecordSet")
SQL="select file_obj_date,file_id,zsz_name,file_name,file_create_date,file_memo from oil.oil_file,oil.oil_zsz where file_type='zszlc' and file_well_id=zsz_id order by file_id DESC"
rs.open SQL,conn,1,1
dim zszlc(),zszlcCount
zszlcCount=0
do while not rs.eof
zszlcCount=zszlcCount+1
redim preserve zszlc(zszlcCount)
zszlc(zszlcCount-1)=""
zszlc(zszlcCount-1)=zszlc(zszlcCount-1)& "@" & rs("file_id")
zszlc(zszlcCount-1)=zszlc(zszlcCount-1)& "@" & rs("zsz_name")
zszlc(zszlcCount-1)=zszlc(zszlcCount-1)& "@" & rs("file_name")
zszlc(zszlcCount-1)=zszlc(zszlcCount-1)& "@" & rs("file_create_date")
zszlc(zszlcCount-1)=zszlc(zszlcCount-1)& "@" & rs("file_memo")
rs.movenext
loop
rs.close
%>
<span class="subject">
注水站流程示意图
</span>
<hr size="1" class=hr width="98%" align="center">
<br>
<form action="" method=post name=form1>
<table border="1" cellpadding="1" cellspacing="0" align="center" class="table2"
bordercolor="#000000" bordercolordark="#F8EDEB" width=600>
<tr height="20">
<td class="title" align=center width=20> </td>
<td class="title" align=center width=60>注水站</td>
<td class="title" align=center width=200>查看示意图</td>
<td class="title" align=center width=80>上传日期</td>
<td class="title" align=center width=200>文件备注</td>
</tr>
<%for i=0 to zszlcCount-1%>
<tr height="20" align=center>
<td> <input type=checkbox name=chzszlc value=<%=split(zszlc(i),"@")(1)%>></td>
<td> <%=split(zszlc(i),"@")(2)%></td>
<td> <a href="javascript:OpenBut('/function/openblob.asp?id=<%=split(zszlc(i),"@")(1)%>')"><%=split(zszlc(i),"@")(3)%></a></td>
<td> <%=split(zszlc(i),"@")(4)%></td>
<td> <textarea rows=2 cols=25 class=text><%=split(zszlc(i),"@")(5)%></textarea></td>
</tr>
<%next%>
</table>
<br>
<table width="98%" border="0" cellspacing="0" cellpadding="2" align="center">
<tr>
<td align=center>
<input type="button" name="bt1" value="添加新数据" class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_zszlc_add.asp");'>
<input type="button" name="bt1" value="修改选中的数据" class=button LANGUAGE=javascript onclick=subcheck(1)>
<input type="button" name="bt1" value="删除选中的数据" class=button LANGUAGE=javascript onclick=subcheck(0)>
</td>
</tr>
</table>
<hr size="1" class=hr width="98%" align="center">
<br>
<table width="98%" border="0" cellspacing="0" cellpadding="2" align="center">
<tr align="center">
<td>
<input type="button" name="Submit32" value=" 返回 " class=button LANGUAGE=javascript onclick='javascript:location.replace("frm_wast_detail.asp");'>
</td>
</tr>
</table>
</form>
</body>
</html>
<!--#include virtual="/include/DBClose.inc"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -