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

📄 disp.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
%>


<title>市场信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<!--  #Include File=../main/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/market.gif"
%>

</head>
<body>
<form  name="submitinput" action="save.asp?opFlag=<%=opFlag%>&Number=<%=Number%>" method="post" onSubmit="MM_validateForm('Name','','R','Id','','R','Snumber','','R','Bdata','','R','Athing','','R','Sman','','R','Company','','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="80" align="right" nowrap height="25">产品名称:</td> 
      <td bgcolor=<%=Session("vcolcolor")%> height="25" colspan="3" ><%=rs("Name")%></td> 
    </tr>
    <tr>
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="80" align="right" nowrap height="25">      
        产品编号:</td> 
      <td bgcolor=<%=Session("vcolcolor")%> height="25" colspan="3" ><%=rs("Snumber")%></td> 
    </tr>
    <tr> 
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="80" align="right" nowrap valign="middle" height="25">需求状况:</td>  
      <td bgcolor=<%=Session("vcolcolor")%> height="25" ><%=rs("Athing")%></td>  
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="57" align="left" nowrap>      
        联系人:  
      </td>  
      <td bgcolor=<%=Session("vcolcolor")%> width="163" height="25" ><%=rs("Sman")%></td>  
    </tr> 
    <tr> 
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="80" align="right" nowrap height="25">       
        拜访时间:</td>  
        <td bgcolor=<%=Session("vcolcolor")%> colspan="3" height="25" > 
        <input  type=hidden name=Bdata accesskey="d" onKeyDown=gonext("Company")><%=rs("Bdata")%></td>                
    </tr>                
    <tr>                
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="80" align="right" nowrap height="25">单位名称:</td>                 
        <td bgcolor=<%=Session("vcolcolor")%> colspan="3" height="25" >                
        <p align="left"><%=rs("Company")%>                
      </td>                
    </tr>                
    <tr>                
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="80" align="right" nowrap height="25">地 址:</td>                                                                          
        <td bgcolor=<%=Session("vcolcolor")%> colspan="3" height="25" >                                                                 
        <p align="left"><%=rs("Sadd")%>                                                                 
      </td>                                                         
    </tr>                                                         
    <tr>                                                         
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="80" align="right" nowrap height="25">联系电话:</td>                                                                 
      <td bgcolor=<%=Session("vcolcolor")%> height="25" colspan="3" ><%=rs("Phone")%>                                  
      </td>                      
    </tr>
	<%if rs("Mail")<>"" then %>
    <tr>
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="80" align="right" nowrap height="25">                          
        电子邮件:</td>   
         <td colspan="3"  bgcolor=<%=Session("vcolcolor")%> height="25"><a href="mailto:<%=rs("Mail")%>"><%=rs("Mail")%> <font color="#008000">  写信</font></a>                           
      </td>
    </tr>
    <%end if%>
    <%if rs("Web")<>"" then %>
    <tr>
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="80" align="right" nowrap height="25">网址:</td>   
         <td colspan="3"  bgcolor=<%=Session("vcolcolor")%> height="25">
        <p align="left"><a href="<%=rs("Web")%>"><%=rs("Web")%> <font color="#008000">  
         查看</font></a> 
      </td> 
    </tr>
    <%end if%> 
    <tr> 
      <td bgcolor=<%=Session("vtabletitlebackcolor")%> width="80" align="right" nowrap height="62">备注:</td>   
      <td colspan="3"  bgcolor=<%=Session("vcolcolor")%> height="62"><%=rs("Vtext")%></td>
    </tr>
  </table>
  <table  cellspacing=0 cellpadding=0 width=554 border=0 align="center">  
  <tr>   
    <td width="552">   
      <p align=center>
		<br> 
		<button class=vinputbutton style="height=24" onClick="window.location.href='mprint.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 + -