?? viewinfo.asp
字號:
<!--#Include file="../Common/Inc_DatConn.asp"-->
<!--#Include file="Common/Inc_Config.asp"-->
<!--#Include file="Common/Inc_Function.asp"-->
<!--#Include file="Common/Inc_Code.asp"-->
<%
'┌─ 風云ASP在線 ────────────────────────┐
'│ │
'│ 作者:趙振波. http://www.fyasp.com │
'│ │
'│ Q Q:176189168 │
'│ │
'│ Email:fy96@163.com │
'│ │
'│ 程序定做,系統開發,網站制作,提供高質量的網絡產品、技術和服務!│
'│ │
'│【版權聲明】 │
'│ │
'│ 本程序版權歸坐看風云所有,未經授權擅自修改、復制或散布本程序│
'│ │
'│的部分或全部,將承受嚴厲的民事和刑事處罰,對已知的違反者將給予法 │
'│ │
'│律范圍內的全面制裁。對非法使用此程序所造成的一切后果本人概不負責!│
'│ │
'└─────────────────── http://www.fyasp.com ──┘
%>
<%if IsTimeOut(Session("strAccount"),Session("strPassWord")) then Response.Redirect "index.asp"%>
<html>
<head>
<title><% = strSiteName%> - 網站后臺管理系統</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="Common/Site.css" type="text/css">
</head>
<body topmargin="1" leftmargin="1">
<%
Dim intInfoKey
Dim rdsInfo
Dim sqlInfo
intInfoKey = Request.QueryString("Id")
if intInfoKey = "" then intInfoKey = 0
set rdsInfo = Server.CreateObject("ADODB.Recordset")
sqlInfo = "Select * From Dat_Information Where InfoKey = "& intInfoKey
rdsInfo.Open sqlInfo,Conn,1,1
if not rdsInfo.EOF then
%>
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="100%" class="booktable">
<table border="0" width="100%" cellspacing="1" cellpadding="0" align="center">
<tr>
<td width="100%" height="30" class="bottom" colspan="2"> 來自 <font color="#FF0000"><% = rdsInfo("ContactMan")%></font> 的信息資料:</td>
</tr>
<tr>
<td width="25%" height="25" class="banma1" align="right">信息狀態:</td>
<td width="75%" height="25" bgcolor="#FFFFFF">
<%
if rdsInfo("State") = 0 then
Response.Write " <font color=""#FF0000"">關閉</font>"
else
Response.Write " <font color=""#FF0000"">開啟</font>"
end if
%>
</td>
</tr>
<tr>
<td height="25" class="banma1" align="right">供求類別:</td>
<td height="25" bgcolor="#FFFFFF">
<%xxlx3=rdsInfo("InfoClass")
Select Case xxlx3
Case "1"
strInfoClass = "<font color=#FFFF00>[銷售]</font>"
Case "2"
strInfoClass = "<font color=#FFFF00>[求購]</font>"
Case "3"
strInfoClass = "<font color=#FFFF00>[要聞]</font>"
Case "4"
strInfoClass = "<font color=#FFFF00>[動態]</font>"
Case "5"
strInfoClass = "<font color=#FFFF00>[招聘]</font>"
Case "6"
strInfoClass = "<font color=#FFFF00>[求職]</font>"
Case "7"
strInfoClass = "<font color=#FFFF00>[展會]</font>"
Case "8"
strInfoClass = "<font color=#FFFF00>[其它]</font>"
End Select
Response.Write ""&strInfoClass&""%>
</td>
</tr>
<tr>
<td height="25" class="banma1" align="right">價格:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("jg")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">圖片:</td>
<td height="25" bgcolor="#FFFFFF"><%if rdsInfo("pic")<>"" and rdsInfo("pic")<>"http://" then%>
<a href="../<%=rdsInfo("pic")%>" target="_blank">
<img border="0" src="../<%=rdsInfo("pic")%>" width="177" height="112" alt="<% = rdsInfo("Topic")%>" style="border: 1px solid #C0C0C0; padding: 1px"></a>
<%else%><img border="0" src="../x/NoPic2.jpg" width="135" height="112"><%end if%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">主題:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("Topic")%></td>
</tr>
<tr>
<td class="banma1" align="right">內容:</td>
<td bgcolor="#FFFFFF" align="center" valign="top">
<table border="0" width="96%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="50" style="line-height:150%"><% = rdsInfo("Content")%></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="25" class="banma1" align="right">聯系人:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("ContactMan")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">企業名稱:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("CompanyName")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">地址:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("Add")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">郵編:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("Postalcode")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">電話:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("Tel")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">傳真:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("Fax")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">Homepage:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("Homepage")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">E-Mail:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("Email")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">面向地區:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("InfoAdd")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">有效期:</td>
<td height="25" bgcolor="#FFFFFF">
<%
if rdsInfo("InfoDate") = "1" then
Response.Write " 一天"
elseif rdsInfo("InfoDate") = "3" then
Response.Write " 三天"
elseif rdsInfo("InfoDate") = "7" then
Response.Write " 一星期"
elseif rdsInfo("InfoDate") = "15" then
Response.Write " 半個月"
elseif rdsInfo("InfoDate") = "30" then
Response.Write " 一個月"
elseif rdsInfo("InfoDate") = "60" then
Response.Write " 兩個月"
elseif rdsInfo("InfoDate") = "90" then
Response.Write " 一個季度"
elseif rdsInfo("InfoDate") = "182" then
Response.Write " 半年"
else
Response.Write " 一年"
end if
%>
</td>
</tr>
<tr>
<td height="25" class="banma1" align="right">IP 地址:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("Ip")%></td>
</tr>
<tr>
<td height="25" class="banma1" align="right">發布時間:</td>
<td height="25" bgcolor="#FFFFFF"> <% = rdsInfo("CreateTime")%></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="40" align="right"><input onclick="parent.location.href='javascript:close();'" type="button" value="關閉窗口" class="button" name="Button"> </td>
</tr>
</table>
<%
end if
rdsInfo.Close
set rdsInfo = nothing
%>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -