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

📄 sbdisp.asp

📁 具有计划、任务、通告、公文、员工档案、等网络办公功能
💻 ASP
字号:
<%response.expires=0%>
<%Response.Buffer=true%>
<!-- #include file="../conn_lr.asp"-->
<!-- #include file="../css.asp"-->
<%
oabusyname=request.cookies("oabusyname")
oabusyusername=request.cookies("oabusyusername")
oabusyuserdept=request.cookies("oabusyuserdept")
oabusyuserlevel=request.cookies("oabusyuserlevel")
if oabusyusername="" then 
	response.write("<script language=""javascript"">")
	response.write("window.top.location.href='../../default.asp';")
	response.write("</script>")
	response.end
end if
%>


<html>
<head>
<title>详细设备信息</title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<!-- #include file="../inc/css.asp" -->
<% '定义变量
	dim Number,opFlag,title,image
	on error resume next
	Server.ScriptTimeOut =4

	'获取输入参数:记录号和操作标志
	Number=cint(request("Number"))
	opFlag=request("opFlag")

	'创建记录访问对象
	Set rs = Server.CreateObject("ADODB.Recordset")
	rs.Open Session("SQL"),Session("conn"),1,3
	rs.move number
	title="详细设备信息"	
	image="../images/sbinfo.gif"
%>

<style>
.css0{<%=vinputtext%>;border:none;}
</style>
</head>
<body>

<form  name="submitinput" action="sbsave.asp?opFlag=<%=opFlag%>&Number=<%=Number%>" method="post" onSubmit="MM_validateForm('Sname','','R','Spin','','R','Scompany','','R','Padd','','R','Phone','','R','Web','','R','Mail','','R');return document.MM_returnValue" >
<!-- #include file="../inc/title.asp" --> 
 <table cellspacing=1 cellpadding=2 width=95% bgcolor=<%=Session("vtablebordercolor")%> border=0 class=vtext align="center">
    <tr> 
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="91" align="right" nowrap height="25">设备名称:</td>
      <td bgcolor=<%=Session("vcolcolor")%> height="25" colspan="3" >  
      <%=rs("Sname")%>  
      </td>  
    </tr>  
    <tr>                 
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="91" align="right" nowrap height="21">品牌:</td>                    
      <td bgcolor=<%=Session("vcolcolor")%> height="21" colspan="3" >                     
            <%=rs("Spin")%>                        
      </td>                      
    </tr>                      
    <tr>                      
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="91" align="right" nowrap height="19">
        <p align="right">生产厂商:</p>
      </td>                     
      <td bgcolor=<%=Session("vcolcolor")%> height="19" colspan="3" >                      
             <%=rs("Scompany")%>                         
      </td>                       
    </tr>                       
    <tr>                 
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="91" align="right" nowrap height="19">
        <p align="right">公司地址:</p>
      </td>                
      <td bgcolor=<%=Session("vcolcolor")%> height="19" colspan="3" >                 
             <%=rs("Address")%>    
      </td>                
    </tr>                      
    <tr>                 
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="91" align="right" nowrap>
        <p align="right">原产地:</p>
      </td>                
      <td bgcolor=<%=Session("vcolcolor")%> >                 
             <%=rs("Sadd")%>                
      </td>                
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="95" align="left" nowrap height="19">                 
             联系人:                
      </td>                
      <td bgcolor=<%=Session("vcolcolor")%> width="197" height="19" >                 
             <%=rs("Chuman")%>    
      </td>                
    </tr>                      
    <tr>                 
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="91" align="right" nowrap height="17">
        <p align="right">联系电话:</p>
      </td>                
      <td bgcolor=<%=Session("vcolcolor")%> height="17" >                 
            <%=rs("Phone")%>                 
      </td>                
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="95" align="left" nowrap height="19">                
            传真:                
      </td>                
      <td bgcolor=<%=Session("vcolcolor")%> width="197" height="17" >                 
             <%=rs("Fax")%>    
      </td>                
    </tr> 
     <%if rs("Web")<>"" then %>
    <tr>                 
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="91" align="right" nowrap height="25">
        <p align="right">公司主页:</p>
      </td>                
      <td bgcolor=<%=Session("vcolcolor")%> height="25" colspan="3" align="left" >                 
       <font color="#008000">&nbsp;</font><a href="<%=rs("Web")%>"><%=rs("Web")%><font color="#008000">  查看</font>             
       </a>              
      </td>             
    </tr>   
    <%end if%>  
    <%if rs("Mail")<>"" then %>                     
    <tr>  
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="91" align="right" nowrap height="25">  
        <p align="right">  
        电子邮件:</p>
      </td>   
      <td bgcolor=<%=Session("vcolcolor")%> height="25"  nowrap height="25" colspan="3" align="left" >    
        <font color="#008000"></font><a href="mailto:<%=rs("Mail")%>"><%=rs("Mail")%><font color="#008000">  写信</font>   
        </a>   
      </TD>   
    </tr>
    <%end if%> 
    <tr>
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="91" align="right" nowrap height="25">
        <p align="right">备注:</p>
      </td> 
      <td bgcolor=<%=Session("vcolcolor")%> height="25" colspan="3" >  
        <%=rs("Beizhu")%>
      </td> 
    </tr>
   </table>                       
<table  cellspacing=0 cellpadding=0 width=577 border=0 align="center">                       
  <tr>                        
    <td width="575">                        
      <p align=center> 
		<br>
		<button class=vinputbutton style="height=24" onClick="window.location.href='sbprint.asp?Number=<%=Number%>'"><img src="../images/print.gif" align="absmiddle"> 打印</button> 
		<button class=vinputbutton style="height=24" onClick="javascript:history.go(-1);"><img src="../images/back.gif" align="absmiddle"> 返回</button>                    
      </p>                       
    </td>                       
  </tr>                       
   <tr>
   </tr>                    
</table>                       
                       
</form>
                       
<% '关闭记录源
	rs.close
	set rs=nothing
%>   
</body>
</html>                    
                         
  
  
  
  

⌨️ 快捷键说明

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