?? summarycat.asp
字號:
<%
sub summarycat()
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" height="73">
<tr>
<td height="27" background="images/pic/title_hot.jpg"></td>
</tr>
<tr>
<td height="180" valign="top" background="images/pic/title_bg.gif">
<table width="94%" border="0" align="center" cellpadding="0" cellspacing="2">
<%
set rs3=server.createobject("adodb.recordset")
dim a_j
a_j=1
sql="select top 10 summary_id,summary_title,summary_count from summary order by summary_count DESC"
rs3.open sql,conn,1,1
do while not rs3.eof
if a_j>=10 then exit do
a_j=a_j+1
%>
<tr>
<td> <img src="images/pic/star.gif" width="12" height="12" align="middle" border="0"><a href="showsummary.asp?summary_id=<%=rs3("summary_id")%>" title="被點擊:<%=rs3("summary_count")%> ">
<%if len(Rs3("summary_title"))>10 then
response.write ""&left(Rs3("summary_title"),8)&"..."
else
response.write ""&Rs3("summary_title")
end if%>
</a></td>
</tr>
<tr>
<td>
<%
rs3.movenext
loop
if rs3.eof and rs3.bof then
response.write "沒有游戲寶典"
end if
rs3.close
set rs3=nothing
%>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="15" background="images/pic/title_bottom.gif"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse">
<tr>
<td height="27" background="images/pic/title_search.jpg"></td>
</tr>
<tr>
<td background="images/pic/title_bg.gif">
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="2">
<form name="form2" method="post" action="summary.asp">
<tr>
<td align="center"><select name="select">
<option value="teach_title">搜索概況標題</option>
<option value="teach_content">搜索概況內容</option>
</select></td>
</tr>
<tr>
<td align="center"> <input type="text" name="keyword" class="input" size="20"></td>
</tr>
<tr>
<td align="center"> <input name="search" type="image" value="搜索" src="images/pic/search.gif" width="61" height="20"></td>
</tr>
</form>
</table> </td>
</tr>
<tr>
<td height="15" background="images/pic/title_bottom.gif"></td>
</tr>
</table>
<%
end sub
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -