📄 distillate.asp
字号:
%>
<a href="<%=liststr%>.asp?id=<%=id%>"><%=rs("topic")%></a></td>
<td width="80" height="24" align="center" nowrap bgcolor="#F1F3D6">
<a href='profile.asp?name=<%=author%>' target="_blank"><%=rs("name")%></a></td>
<td width="40" height="24" align="center" bgcolor="#FFFFFF">
<%=rs("re")%></td>
<td width="40" height="24" align="center" bgcolor="#FFFFFF">
<%=rs("click")%></td>
<td width="120" height="24" align="center" nowrap bgcolor="#FFFFFF">
<%=lasttime%> </td>
</tr>
<%
rs.movenext
loop
else
response.Write("<tr><td colspan=7 bgcolor=#FFFFFF height=30> 暂无精华帖子 ... </td></tr>")
end if
rs.close
set rs=nothing
%>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="2" bgcolor="#ECE9D9"></td>
</tr>
</table></td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/blank.gif" width="1" height="5"></td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">
<tr bgcolor="#FFFFFF">
<td valign="top" class="v7"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F1F0E4">
<form name="pageform" method="post" action="distillate.asp?forumid=<%=FID%>">
<tr>
<td><span class="v7"> 精华帖子数:<%=totalcount%>
总页数:<%=totalpages%>
|
<%if page>1 then
response.write("<a href='distillate.asp?forumid="&FID&"'>首页</a>")
else
response.write("<font color=#999999>首页</font>")
end if
%>
|
<%if page>1 then
response.write("<a href='distillate.asp?forumid="&FID&"&page="&page-1&"'>前一页</a>")
else
response.write("<font color=#999999>前一页</font>")
end if
%>
|
<%if page<totalpages then
response.write("<a href='distillate.asp?forumid="&FID&"&page="&page+1&"'>下一页</a>")
else
response.write("<font color=#999999>下一页</font>")
end if
%>
|
<%if page<totalpages then
response.write("<a href='distillate.asp?forumid="&FID&"&page="&totalpages&"'>末页</a>")
else
response.write("<font color=#999999>末页</font>")
end if
%>
|
<%if totalpages>3 then%>
跳到:第
<select name="page" class="input1" id="page" onChange="this.form.submit()">
<%for i=1 to totalpages
response.write "<option value="&i&""
if i=page then response.write" selected"
response.write">"&i&"</option>"&chr(13)
next
%>
</select>
页
<%end if%>
</span><a name=bot></a> </td>
</tr>
</form>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="2" bgcolor="#ECE9D9"></td>
</tr>
</table></td>
</tr>
</table>
<br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="12"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="130" height="16" bgcolor="#A0AB6D"> <span class="v8b"> <img src="images/fang-1.gif" align="absmiddle">
</span><span class="v7"><font color="#FFFFFF">帖子搜索</font></span></td>
<td height="16" nowrap bgcolor="#CCCCCC" class="v8b"> </td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
<tr bgcolor="#FFFFFF">
<td valign="top" class="v7"><table border="0" cellspacing="0" cellpadding="0" width=400>
<form name="schform" method="post" action="search.asp">
<tr>
<td nowrap> 关键词:
<input name="keyword" type="text" class=input1 id="keyword" value="" size="10" maxlength="30">
类别:
<select name="type" id="type" class="input1">
<option value="1">标题</option>
<option value="2">作者</option>
</select> 范围:
<select name="where" class="select" id="where">
<%
dim tmprs1,tmprs2,tmpcid,tmpsql
tmpsql="select * from m3_category where CValid=1 order by CIndex asc"
set tmprs1=server.CreateObject("adodb.recordset")
set tmprs2=server.CreateObject("adodb.recordset")
tmprs1.open tmpsql,conn,1,1
do while not tmprs1.eof
response.write("<option value="""&tmprs1("CID")&""">"&tmprs1("CTitle")&"</option>")
tmpsql="select FID,FTitle from m3_forum where CID="&tmprs1("CID")&" and FValid=1 order by FIndex asc"
tmprs2.open tmpsql,conn,1,1
do while not tmprs2.eof
response.write("<option value="""&tmprs2("FID")&"""> - "&tmprs2("FTitle")&"</option>")
tmprs2.movenext
loop
tmprs2.close
tmprs1.movenext
loop
tmprs1.close
set tmprs1=nothing
set tmprs2=nothing
call closedb()
%>
</select> <input name="imageField" type="image" src="images/sch1.gif" align="middle" width="16" height="14" border="0">
</td>
</tr>
</form>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="2" bgcolor="#ECE9D9"></td>
</tr>
</table></td>
</tr>
</table>
<i></i> </td>
<td width="10"> </td>
<td width="1" bgcolor="#E8BC3C"></td>
<td width="100" bgcolor="#ECE9D9" valign="top">
<!-- #include file="right.asp" -->
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="10" align="center" valign="bottom">
<!-- #include file="bottombar.asp" -->
</td>
</tr>
</table>
</body>
</html>
<%
function getext(filename)
if isnull(filename) then exit function
if instr(filename,".")>0 then
getext=lcase(mid(filename,instrRev(filename,".")+1))
else
getext=""
end if
end function
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -