取时一个时间的年月日+调用CSS用link,调用JS用script,调用ASP用include+表格变色效果

类别:Asp 点击:0 评论:0 推荐:

<!--#include file="conn.asp"-->
<link rel="stylesheet" type="text/css" href="css.css">
<script type="text/javascript" src="index/title.js"></script>

<%
set rs = server.createobject("adodb.recordset")
sql="select * from 1 order by id desc"
rs.open sql,conn,3,2
while not rs.eof
pubdate=rs("pubdate")
pubtime=year(pubdate)&"年"&month(pubdate)&"月"&day(pubdate)&"日"
%>
<% response.write pubtime
rs.movenext
wend %>


  <tr bgcolor="#eeeeee" onMouseOver=this.style.backgroundColor='ffffff' onMouseOut=this.style.backgroundColor=''>
    <td></td><tr>

本文地址:http://com.8s8s.com/it/it7788.htm