?? disp.asp
字號(hào):
<%response.expires=0%>
<%Response.Buffer=true%>
<!-- #include file="../conn_lr.asp"-->
<!-- #include file="../css.asp"-->
<%
oabusyname=session("oabusyname")
oabusyusername=session("oabusyusername")
oabusyuserdept=session("oabusyuserdept")
oabusyuserlevel=session("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>市場(chǎng)信息</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
'獲取輸入?yún)?shù):記錄號(hào)和操作標(biāo)志
Number=cint(request("Number"))
opFlag=request("opFlag")
'創(chuàng)建記錄訪問(wèn)對(duì)象
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open Session("SQL"),Session("conn"),1,3
rs.move number
title="詳細(xì)市場(chǎng)信息"
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">產(chǎn)品名稱:</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">
產(chǎn)品編號(hào):</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>
聯(lián)系人:
</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">
拜訪時(shí)間:</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">聯(lián)系電話:</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">網(wǎng)址:</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>
<% '關(guān)閉記錄源
rs.close
set rs=nothing
%>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -