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

📄 frm_well_layer.asp

📁 一套石油公司内部的运营管理系统
💻 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	subcheck(act) {
	if (act==0)
		form1.action="frm_well_layer_remove.asp";
	else if (act==1)
		form1.action="frm_well_layer_modify.asp";		
	form1.submit();
}
-->
</SCRIPT>

</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><br>
	<%
	wellId=request("wellId")
	Set Rs = Server.CreateObject("ADODB.RecordSet")
	SQL="select * from oil.oil_oilstil where oilstil_well_id='" &wellId& "'"
	rs.open SQL,conn,1,1
	dim stil(),stilCount
	stilCount=0
	do while not rs.eof
		stilCount=stilCount+1
		redim preserve stil(stilCount)
		stil(stilCount-1)=""
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_id") 
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_layer")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_oillayer")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_ply")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_instruct")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_resistance")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_kxd")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_hsbhd")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_zrdw")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_stl")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_nzhl")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_skjd")
		stil(stilCount-1)=stil(stilCount-1)& "@" & rs("oilstil_skhd")
		rs.movenext
	loop
	rs.close
	%>
	<span class="subject">
		井<%=wellId%>的油层及射孔情况
	</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=750>
	  <tr height="20">
	   <td class="title" rowspan=2 align=center width=30>&nbsp</td>
	   <td class="title" rowspan=2 align=center width=50>层位</td>
	   <td class="title" rowspan=2 align=center width=70>油层井段</td>
	   <td class="title" rowspan=2 align=center width=50>厚度</td>
	   <td class="title" rowspan=2 align=center width=70>综合解释</td>
	   <td class="title" colspan=6 align=center>电性参数</td>
	   <td class="title" rowspan=2 align=center width=70>射孔井段</td>
	   <td class="title" rowspan=2 align=center width=50>厚度</td>
	  </tr> 
	  <tr height="20">
	   <td class="title" align=center width=60>电阻率</td>
	   <td class="title" align=center width=60>孔隙度</td>
	   <td class="title" align=center width=80>含水饱和度</td>
	   <td class="title" align=center width=60>自然电位</td>
	   <td class="title" align=center width=60>渗透率</td>
	   <td class="title" align=center width=60>泥质含量</td>
	  </tr> 
	  <%for i=0 to stilCount-1%>
	  <tr height="20" align=center>
	   <td>&nbsp<input type=checkbox name=chstil value=<%=split(stil(i),"@")(1)%>></td>
	   <td>&nbsp<%=split(stil(i),"@")(2)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(3)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(4)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(5)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(6)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(7)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(8)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(9)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(10)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(11)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(12)%></td>
	   <td>&nbsp<%=split(stil(i),"@")(13)%></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_well_layer_add.asp?wellId=<%=wellId%>");'> 
				<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)> 
				<input type=hidden name=wellId value=<%=wellId%>>
			</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_well_basic.asp?well_id=<%=wellId%>");'>
		  </td>
		</tr>
	  </table>
	</form>

</body>
</html>
<!--#include virtual="/include/DBClose.inc"-->

⌨️ 快捷键说明

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