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

📄 best_more.asp

📁 日记本(多用户版)V3.0 主要功能: 1、日记本基本功能:添加、修改日记等。 2、日记加密:当日记添加时
💻 ASP
📖 第 1 页 / 共 2 页
字号:
    writeday=cstr(year(nowtime))+"-"+cstr(month(nowtime))+"-"+cstr(day(nowtime))
    
    %>
                    <TR> 
                      <TD width="42%">&nbsp;<IMG height=11 src="images/dot.gif" 
                  width=11 border=0><FONT size=2>&nbsp;<A href=show_diary.asp?id=<%=rs("id")%> target=_blank><%=title%></A> <%if rs("lock")=0 then response.Write "<IMG src=images/lock.gif border=0>" 

grade=Cint(rs("hits")/200)
if grade>5 then grade=5
for n=1 to grade
response.Write "<IMG src=images/star.gif border=0>"
next

                  %>
                        </FONT></TD>
                      <TD width="10%"> <DIV align=center><FONT color=#999999 
                size=2><%=rs.fields("content").actualsize/2%></FONT></DIV></TD>
                      <TD width="8%"> <DIV align=center><FONT color=#666666 
size=2><%=rs("hits")%></FONT></DIV></TD>
                      <TD width="8%"> <DIV align=center><FONT color=#666666 
size=2><%=rs("saynum")%></FONT></DIV></TD>
                      <TD width="16%"> <DIV align=center><A href=diary.asp?user=<%=user%> target=_blank><%=nickname%></A></DIV></TD>
                      <TD width="16%"> <DIV align=center><FONT color=#666666 
                  size=2><%=writeday%></FONT></DIV></TD>
                    </TR>
<%
       j=j+1
       
       i=i+1
       if i>MaxPerPage then exit do '循环时如果到尾部则先退出,如果记录达到页最大显示数,也退出
          rs.movenext
    loop
    %>


                  </TBODY>
                </TABLE></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=2 cellPadding=2 width="100%" bgColor=#ffffee 
        border=0><TBODY>
<tr><td valign=middle nowrap>
页次:<b><%=currentpage%></b>/<b><%=maxpagenum%></b>页
&nbsp;
每页<b><%=MaxPerPage%></b>篇  总<b><%=totalPut%></b>篇日记</td>
<td valign=middle nowrap><div align=right><p>分页: 
<%
	if currentpage > 4 then
	response.write "<a href=""?page=1"">[1]</a> ..."
	end if
	if maxpagenum>currentpage+3 then
	endpage=currentpage+3
	else
	endpage=maxpagenum
	end if
	for i=currentpage-3 to endpage
	if not i<1 then
		if i = clng(currentpage) then
			response.write " <font color=#996600>["&i&"]</font>"
		else
			response.write " <a href=""?page="&i&""">["&i&"]</a>"
		end if
	end if
	next
	if currentpage+3 < maxpagenum then
		response.write "... <a href=""?page="&maxpagenum&""">["&maxpagenum&"]</a>"
	end if
%>
</p></div></td></tr></TBODY></TABLE></TD></TR>
  <TR>
    <TD bgColor=#ffffff height=16>
      <TABLE cellSpacing=0 cellPadding=3 width=609 align=center bgColor=#9c9a9d 
      border=0>
        <TBODY>
<!--#include file="foot.asp"-->
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</BODY></HTML>
<%end sub%>
<%sub showadd%>
<HTML><HEAD><TITLE>真露无香-网络日记本——优秀日记</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META http-equiv=robots content=all>
<LINK href="images/styles.css" type=text/css rel=stylesheet>
<STYLE>A {
	COLOR: #999999; TEXT-DECORATION: none
}
A:hover {
	COLOR: #e65c09; FONT-SIZE: 10pt;LINE-HEIGHT: 14pt; TEXT-DECORATION: underline
}
</STYLE>

<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY leftMargin=0 background=images/bg.gif topMargin=0>
<TABLE cellSpacing=0 cellPadding=0 width=617 align=center border=0>
  <TBODY>
  <TR>
    <TD vAlign=top bgColor=#ffffff height=16>

      <TABLE cellSpacing=0 cellPadding=0 width=617 align=center border=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD height=2><IMG height=8 src="images/top01.gif" 
                  width=617></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=609 align=center 
              border=0><TBODY>
              <TR>
                <TD width=569 bgColor=#ffffff>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD width="23%">
                        <DIV align=center><img src="images/diary_title.jpg" width="171" height="47"></DIV></TD>
                      <TD width="77%">
                        <DIV align=right></DIV></TD></TR></TBODY></TABLE></TD>
                <TD vAlign=bottom width=40 bgColor=#ffffff>
                  <DIV align=center> </DIV></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=609 align=center 
              border=0><TBODY>
              <TR>
                <TD height=2><IMG height=1 src="images/top02.gif" 
                  width=605></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=609 align=center 
            bgColor=#9c9a9d border=0>
              <TBODY>
              <TR>
                <TD>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD width="71%"></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=609 align=center 
            bgColor=#636562 border=0>
              <TBODY>
              <TR>
                <TD width=319>&nbsp;</TD>
                <TD width=290>
                  <DIV align=center><IMG height=16 
                  src="images/top_words.gif" 
            width=244></DIV></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=609 align=center 
              border=0><TBODY>
              <TR>
                <TD height=2><IMG height=4 src="images/top03.gif" 
                  width=605></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=609 align=center 
            bgColor=#ffffff border=0>
              <TBODY>
              <TR>
                <TD vAlign=top width=265 height=105><IMG height=105 
                  src="images/title_mini03.jpg" width=416></TD>
                <TD vAlign=center width=189 height=105>
                  <DIV align=center><A target=_blank 
                  href="http://www.yongzi.com"><IMG 
                  height=105 src="images/editor.jpg" width=190 
                  border=0></A></DIV></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=609 align=center 
              border=0><TBODY>
              <TR>
                <TD height=2><IMG height=4 src="images/top03.gif" 
                  width=605></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=609 align=center 
            bgColor=#636562 border=0>
              <TBODY>
              <TR>
                <TD>
                  <DIV align=left></DIV></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=609 align=center 
            bgColor=#999999 border=0>
              <TBODY>
              <TR>
                <TD align="center"><a href="index.asp"><FONT color=#ffffff size=2>日记首页</FONT></a>&nbsp; &nbsp; &nbsp; <a href="diary_more.asp"><FONT color=#ffffff size=2>公开日记</FONT></a>&nbsp; &nbsp; &nbsp; <a href="best_more.asp"><FONT color=#ffffff size=2>优秀日记</FONT></a>&nbsp; &nbsp; &nbsp; <a href="user_more.asp"><FONT color=#ffffff size=2>用户列表</FONT></a>&nbsp; &nbsp; &nbsp; <a href="leibie_more.asp"><FONT color=#ffffff size=2>日记类型</FONT></a>&nbsp; &nbsp; &nbsp; <a href="reg.asp"><FONT color=#ffffff size=2>免费注册日记本</FONT></a></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD vAlign=top bgColor=#ffffff>
      <TABLE cellSpacing=0 cellPadding=0 width=609 align=center border=0>
        <TBODY>
        <TR>
          <TD height=2>
            <TABLE borderColor=#e3e3e3 cellSpacing=0 borderColorDark=#e3e3e3 
            cellPadding=0 width=609 align=center bgColor=#ffffff border=1 
             bordercolorlight="#E3E3E3">
                  <TBODY>
                    <TR> 
                      <TD width="42%" bgColor=#e6e6e6> <DIV align=center><FONT size=2>主  题</FONT></DIV></TD>
                      <TD width="10%" bgColor=#e6e6e6> <DIV align=center><FONT size=2>字数</FONT></DIV></TD>
                      <TD width="8%" bgColor=#e6e6e6> <DIV align=center><FONT size=2>阅读</FONT></DIV></TD>
                      <TD width="8%" bgColor=#e6e6e6> <DIV align=center><FONT size=2>评论</FONT></DIV></TD>
                      <TD width="16%" bgColor=#e6e6e6> <DIV align=center><FONT size=2>作者</FONT></DIV></TD>
                      <TD width="16%" bgColor=#e6e6e6> <DIV align=center><FONT size=2>时间</FONT></DIV></TD>
                    </TR>
                    <TR> 
                      <TD colspan="6"> <DIV align=center><FONT size=2>还未有相关记录</A></FONT></DIV></TD>
                    </TR>
                  </TBODY>
                </TABLE></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=2 cellPadding=2 width="100%" bgColor=#ffffee 
        border=0><TBODY>
        <TR>
          <TD width="11%">
            <DIV align=right>第&nbsp;1&nbsp;页 </DIV></TD>
          <TD width="6%">
            <DIV align=center><A href="best_more.asp"><FONT color=#000000>首&nbsp;页</FONT></A>&nbsp;<A href="best_more.asp"><FONT color=#000000>上&nbsp;页</FONT></A></DIV></TD>
          <TD width="75%">
            <DIV align=left>
			 <A 
            href="best_more.asp"><FONT 
            color=#000000>下一页</FONT></A> <A 
            href="best_more.asp"><FONT 
            color=#000000>末&nbsp;页</FONT></A> </DIV></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD bgColor=#ffffff height=16>
      <TABLE cellSpacing=0 cellPadding=3 width=609 align=center bgColor=#9c9a9d 
      border=0>
        <TBODY>
<!--#include file="foot.asp"-->
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</BODY></HTML>
<%end sub%>

⌨️ 快捷键说明

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