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

📄 baoxian_cindex.asp

📁 asp数据库系统开发:人力资源管理系统 代码完整
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file=DataBase/conn.asp-->
<!--#include file=yan.asp-->
<!--#include file=purview.asp-->
<%
call chanpinjieshao

set rs=server.CreateObject("adodb.recordset")
sql="select top 5 * from tb_Insurance where fenlei='产品介绍' order by id desc"
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
.style1 {
	color: #FF0000;
	font-weight: bold;
}
a:link {
	color: #FF0000;
}
a:visited {
	color: #FF0000;
}
-->
</style>
<link href="CSS/css.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="552" border="0" align="center" cellspacing="0" class="dian">
  <tr align="center" >
    <td height="28" colspan="2" background="images/index_24.gif">&nbsp;</td>
  </tr>
  <tr align="center">
    <td colspan="2"><img src="images/b2.gif" width="200" height="50"></td>
  </tr>
  <%
  if not rs.eof then
  for i=1 to 5
  %>
  <tr>
    <td width="37" rowspan="2" align="center" valign="top"><img src="images/b1.gif" width="25" height="25"></td>
    <td width="511" valign="top">
	  <p>
        <%
	if len(rs("content"))>100 then
	response.Write(left(rs("content"),100)&"……")
	else
	response.Write(rs("content"))
	end if
	%>	
    </p>
    </td>
  </tr>
  <tr>
    <td align="right" valign="top"><span class="style1">&gt;&gt;</span><a href="javascript:" onClick="window.open('baoxian_jibenopen.asp?id=<%=rs("id")%>','','width=510,height=450,scrollbars=yes')"><%=rs("title")%></a></td>
  </tr>
  <%
  rs.movenext
  if rs.eof then exit for 
  next
  end if
  %>
  <tr align="center">
    <td colspan="2"><p><a href="baoxian_more.asp?lei=产品介绍">更多...</a></p>
    <p>&nbsp;</p></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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