查看完整版本: 一个底色交错表格分页不知道怎么弄, 请指点一下.谢谢.

大公无私 2008-8-14 22:14

一个底色交错表格分页不知道怎么弄, 请指点一下.谢谢.

一个底色交错表格分页不知道怎么弄, 请指点一下.谢谢.代码如下,表格显示效果是底色交错显示,该怎么[b][color=#ff0000]分页[/color][/b]?谢谢.


<link rel=&quot;stylesheet&quot; rev=&quot;stylesheet&quot; type=&quot;text/css&quot; href=http://www.love0452.com/&quot;Me_Style_All_1.css&quot; />
<!--#include file=&quot;myUrl_Conn.asp&quot;-->
<!--#include file=&quot;myUrl_Config.asp&quot;-->
<!--#include file=&quot;Me_Session.asp&quot;-->
<title><%=Url_Title%></title><table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;1&quot; bgcolor=&quot;#666666&quot;>
  <tr>
    <td height=&quot;11&quot; align=&quot;center&quot; bgcolor=&quot;#FFFFCC&quot;  ><table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>
      <tr>
        <td width=&quot;11%&quot; align=&quot;center&quot; class=&quot;border-right&quot;>添加时间</td>
        <td width=&quot;9%&quot; align=&quot;center&quot; class=&quot;border-right&quot;>网站分类</td>
        <td width=&quot;27%&quot; align=&quot;center&quot; class=&quot;border-right&quot;>网站名称</td>
        <td width=&quot;20%&quot; align=&quot;center&quot; class=&quot;border-right&quot;>网站地址</td>
        <td width=&quot;9%&quot; align=&quot;center&quot; class=&quot;border-right&quot;>logo地址</td>
        <td width=&quot;7%&quot; align=&quot;center&quot; class=&quot;border-right&quot;>浏览数</td>
        <td width=&quot;7%&quot; align=&quot;center&quot; class=&quot;border-right&quot;>编辑</td>
        <td width=&quot;5%&quot; align=&quot;center&quot; class=&quot;border-right&quot;>删</td>
        <td width=&quot;5%&quot; align=&quot;center&quot;>顶</td>
      </tr>
    </table></td>
  </tr>
  <%
exec=&quot;select * from Url order by Url_Id desc&quot;
set rs=server.createobject(&quot;adodb.recordset&quot;)
rs.open exec,conn,1,1
if rs.eof and rs.bof then
response.Write(&quot;暂时没有记录!&quot;)
else
%>
<%
i=0
while not rs.eof
if i mod 2 = 0 then
%><tr>
<td bgcolor=&quot;#FFFFFF&quot;  ><table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>
  <tr>
    <td width=&quot;11%&quot; align=&quot;center&quot; class=&quot;border-right&quot;><span class=&quot;Url_Time&quot;><%=left(rs(&quot;Url_Time&quot;),10)%></span></td>
    <td width=&quot;9%&quot; align=&quot;center&quot; class=&quot;border-right&quot;><a href=http://www.love0452.com/&quot;Me_Admin_Url_County.asp?County=<%=rs(&quot;Url_County&quot;)%>&quot;><%=rs(&quot;Url_County&quot;)%></a></td>
    <td width=&quot;27%&quot; align=&quot;left&quot; class=&quot;border-right&quot;> <a href=http://www.love0452.com/&quot;Go_Url.asp?Id=<%=rs(&quot;Url_Id&quot;)%>&Url_Http=<%=rs(&quot;Url_Http&quot;)%>&quot; title=&quot;Hits:<%=rs(&quot;Url_Hits&quot;)%>&quot; target=&quot;_blank&quot;><%=rs(&quot;Url_Name&quot;)%></a></td>
    <td width=&quot;20%&quot; align=&quot;left&quot; class=&quot;border-right&quot;> <span class=&quot;Url_Http&quot;><%=rs(&quot;Url_Http&quot;)%></span></td>
    <td width=&quot;9%&quot; align=&quot;left&quot; class=&quot;border-right&quot;> <span class=&quot;Url_Http&quot;><%=rs(&quot;logo&quot;)%></span></td>
    <td width=&quot;7%&quot; align=&quot;center&quot; class=&quot;border-right&quot;><span class=&quot;Url_Time&quot;><%=rs(&quot;Url_Hits&quot;)%></span></td>
    <td width=&quot;7%&quot; align=&quot;center&quot; class=&quot;border-right&quot;><a href=http://www.love0452.com/&quot;Me_Editor_Url.asp?Id=<%=rs(&quot;Url_id&quot;)%>&quot;><span class=&quot;Url_Time&quot;>Editor</span></a></td>
    <td width=&quot;5%&quot; align=&quot;center&quot; class=&quot;border-right&quot;><a href=http://www.love0452.com/&quot;Me_Del_Url.asp?Id=<%=rs(&quot;Url_id&quot;)%>&quot; onClick='return confirm(&quot;确定要退出管理吗?&quot;)'><span class=&quot;Url_Time&quot;>Del</span></a></td>
    <td width=&quot;5%&quot; align=&quot;center&quot;>
    <%if rs(&quot;Url_Top&quot;)=&quot;ok&quot; then%>
    <a href=http://www.love0452.com/&quot;Me_Top.asp?id=<%=rs(&quot;Url_Id&quot;)%>&act=no&quot; title=&quot;取消推荐&quot;><span class=&quot;Url_Time&quot;>?Top</span></a>
    <%end if%>
     <%if rs(&quot;Url_Top&quot;)=&quot;no&quot; then%>
     <a href=http://www.love0452.com/&quot;Me_Top.asp?id=<%=rs(&quot;Url_Id&quot;)%>&act=ok&quot; title=&quot;推荐网站&quot;><span class=&quot;Url_Time&quot;>Top</span></a>
     <%end if%></td>
  </tr>
</table></td>
  </tr>
  <%else%>
  <tr>
<td bgcolor=&quot;#efefef&quot;  ><table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;>
  <tr>
    <td width=&quot;11%&quot; align=&quot;center&quot; class=&quot;border-right&quot;><span class=&quot;Url_Time&quot;><%=left(rs(&quot;Url_Time&quot;),10)%></span></td>
    <td width=&quot;9%&quot; align=&quot;center&quot; class=&quot;border-right&quot;><a href=http://www.love0452.com/&quot;Me_Admin_Url_County.asp?County=<%=rs(&quot;Url_County&quot;)%>&quot;><%=rs(&quot;Url_County&quot;)%></a></td>
    <td width=&quot;27%&quot; align=&quot;left&quot; class=&quot;border-right&quot;> <a href=http://www.love0452.com/&quot;Go_Url.asp?Id=<%=rs(&quot;Url_Id&quot;)%>&Url_Http=<%=rs(&quot;Url_Http&quot;)%>&quot; title=&quot;Hits:<%=rs(&quot;Url_Hits&quot;)%>&quot; target=&quot;_blank&quot;><%=rs(&quot;Url_Name&quot;)%></a></td>
    <td width=&quot;20%&quot; align=&quot;left&quot; class=&quot;border-right&quot;> <span class=&quot;Url_Http&quot;><%=rs(&quot;Url_Http&quot;)%></span></td>
    <td width=&quot;9%&quot; align=&quot;left&quot; class=&quot;border-right&quot;> <span class=&quot;Url_Http&quot;><%=rs(&quot;logo&quot;)%></span></td>
    <td width=&quot;7%&quot; align=&quot;center&quot; class=&quot;border-right&quot;><span class=&quot;Url_Time&quot;><%=rs(&quot;Url_Hits&quot;)%></span></td>
    <td width=&quot;7%&quot; align=&quot;center&quot; class=&quot;border-right&quot;><a href=http://www.love0452.com/&quot;Me_Editor_Url.asp?Id=<%=rs(&quot;Url_id&quot;)%>&quot;><span class=&quot;Url_Time&quot;>Editor</span></a></td>
    <td width=&quot;5%&quot; align=&quot;center&quot; class=&quot;border-right&quot;><a href=http://www.love0452.com/&quot;Me_Del_Url.asp?Id=<%=rs(&quot;Url_id&quot;)%>&quot; onclick='return confirm(&quot;确定要执行操作吗?&quot;)'><span class=&quot;Url_Time&quot;>Del</span></a></td>
    <td width=&quot;5%&quot; align=&quot;center&quot;><%if rs(&quot;Url_Top&quot;)=&quot;ok&quot; then%>
    <a href=http://www.love0452.com/&quot;Me_Top.asp?id=<%=rs(&quot;Url_Id&quot;)%>&act=no&quot; title=&quot;取消推荐&quot;><span class=&quot;Url_Time&quot;>?Top</span></a>
    <%end if%>
     <%if rs(&quot;Url_Top&quot;)=&quot;no&quot; then%>
     <a href=http://www.love0452.com/&quot;Me_Top.asp?id=<%=rs(&quot;Url_Id&quot;)%>&act=ok&quot; title=&quot;推荐网站&quot;><span class=&quot;Url_Time&quot;>Top</span></a>
     <%end if%></td>
  </tr>
</table></td>
  </tr><%
end if
i=i+1
rs.movenext
wend
end if
%>
  <tr>
    <td height=&quot;2&quot; align=&quot;center&quot; bgcolor=&quot;#FFFFcc&quot;  >「<a />返回</a>」</td>
  </tr>
</table>
页: [1]
查看完整版本: 一个底色交错表格分页不知道怎么弄, 请指点一下.谢谢.
哈尔滨房产网 ONLY 齐齐哈尔房产网 齐齐哈尔鹤城青华 齐齐哈尔大学 齐齐哈尔医学院 齐齐哈尔职业学院 齐齐哈尔师范高等专科学校
哈尔滨网站建设 演唱会  Levis 李维斯 Levi's 齐齐哈尔信息网  设计之战