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

📄 show.asp

📁 企业管理系统,黑色风格
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
dim rs,id,title_p,keywords_p,Description_p,content_p,classid_p
  id=trim(request.QueryString("id"))
  set rs=conn.execute("select top 1 * from data_info where title<>'' and id="&id&" ")
   if not rs.eof then
	 title_p=rs("title")
	 keywords_p=rs("keywords")
	 Description_p=rs("Description")
	 classid_p=rs("classid")
	 content_p=rs("content")
   end if 
  rs.close
  set rs=nothing
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=title_p%>-<%=websitename%></title>
<%
if keywords_p<>"" then
response.write("<meta name=""keywords"" content="""&keywords_p&""" />" & vbcrlf)
end if
if Description_p<>"" then
response.write("<meta name=""Description"" content="""&Description_p&""" />" & vbcrlf)
end if
%><script src="inc/functions.js" type="text/javascript"></script>
<link href="images/style.css" rel="stylesheet" type="text/css" />
</head>
<body class="news">
<div id="page">
<!--#include file="top.asp"--> 
<div id="body">
     <div id="left">
       <!--#include file="left.asp"-->
     </div>
<div id="right">
<div id="path"><%=get_path_c(classid_p)%></div>
<div id="show_content">
             <div class="title"><span class="t"><h1><font color="#CCCCCC"><%=title_p%></font></h1></span></div>
             <div class="content"><font color="#CCCCCC">
             <%=content_p%>
            
             <%
			 set rs=conn.execute("select top 1 * from data_info where title<>'' and classid="&classid_p&" and id<"&id&" order by id desc")
			 if not rs.eof then
			 response.Write(" <div class=""pre"">上一篇:<a href=""?id="&rs("id")&""">"&rs("title")&"</a></div>")
			 end if
			 rs.close
			
			 set rs=conn.execute("select top 1 * from data_info where title<>'' and classid="&classid_p&" and id>"&id&" order by id ")
			 if not rs.eof then
			 response.Write(" <div class=""next"">下一篇:<a href=""?id="&rs("id")&""">"&rs("title")&"</a> </div>")
			 end if
			 rs.close
			 %></font></div>
</div>
          </div>
<div class="clear"></div>
  </div>
  <!--#include file="bottom.asp"-->
</div>
</body>
</html>

⌨️ 快捷键说明

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