亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? index.asp

?? 同信息網站建設
?? ASP
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/newsconn.asp" -->
<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_newsconn_STRING
Recordset1.Source = "SELECT * FROM tnews"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index

Repeat1__numRows = 10
Repeat1__index = 0
Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
%>
<%
'  *** Recordset Stats, Move To Record, and Go To Record: declare stats variables

Dim Recordset1_total
Dim Recordset1_first
Dim Recordset1_last

' set the record count
Recordset1_total = Recordset1.RecordCount

' set the number of rows displayed on this page
If (Recordset1_numRows < 0) Then
  Recordset1_numRows = Recordset1_total
Elseif (Recordset1_numRows = 0) Then
  Recordset1_numRows = 1
End If

' set the first and last displayed record
Recordset1_first = 1
Recordset1_last  = Recordset1_first + Recordset1_numRows - 1

' if we have the correct record count, check the other stats
If (Recordset1_total <> -1) Then
  If (Recordset1_first > Recordset1_total) Then
    Recordset1_first = Recordset1_total
  End If
  If (Recordset1_last > Recordset1_total) Then
    Recordset1_last = Recordset1_total
  End If
  If (Recordset1_numRows > Recordset1_total) Then
    Recordset1_numRows = Recordset1_total
  End If
End If
%>
<%
' *** Recordset Stats: if we don't know the record count, manually count them

If (Recordset1_total = -1) Then

  ' count the total records by iterating through the recordset
  Recordset1_total=0
  While (Not Recordset1.EOF)
    Recordset1_total = Recordset1_total + 1
    Recordset1.MoveNext
  Wend

  ' reset the cursor to the beginning
  If (Recordset1.CursorType > 0) Then
    Recordset1.MoveFirst
  Else
    Recordset1.Requery
  End If

  ' set the number of rows displayed on this page
  If (Recordset1_numRows < 0 Or Recordset1_numRows > Recordset1_total) Then
    Recordset1_numRows = Recordset1_total
  End If

  ' set the first and last displayed record
  Recordset1_first = 1
  Recordset1_last = Recordset1_first + Recordset1_numRows - 1
  
  If (Recordset1_first > Recordset1_total) Then
    Recordset1_first = Recordset1_total
  End If
  If (Recordset1_last > Recordset1_total) Then
    Recordset1_last = Recordset1_total
  End If

End If
%>
<%
Dim MM_paramName 
%>
<%
' *** Move To Record and Go To Record: declare variables

Dim MM_rs
Dim MM_rsCount
Dim MM_size
Dim MM_uniqueCol
Dim MM_offset
Dim MM_atTotal
Dim MM_paramIsDefined

Dim MM_param
Dim MM_index

Set MM_rs    = Recordset1
MM_rsCount   = Recordset1_total
MM_size      = Recordset1_numRows
MM_uniqueCol = ""
MM_paramName = ""
MM_offset = 0
MM_atTotal = false
MM_paramIsDefined = false
If (MM_paramName <> "") Then
  MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
End If
%>
<%
' *** Move To Record: handle 'index' or 'offset' parameter

if (Not MM_paramIsDefined And MM_rsCount <> 0) then

  ' use index parameter if defined, otherwise use offset parameter
  MM_param = Request.QueryString("index")
  If (MM_param = "") Then
    MM_param = Request.QueryString("offset")
  End If
  If (MM_param <> "") Then
    MM_offset = Int(MM_param)
  End If

  ' if we have a record count, check if we are past the end of the recordset
  If (MM_rsCount <> -1) Then
    If (MM_offset >= MM_rsCount Or MM_offset = -1) Then  ' past end or move last
      If ((MM_rsCount Mod MM_size) > 0) Then         ' last page not a full repeat region
        MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
      Else
        MM_offset = MM_rsCount - MM_size
      End If
    End If
  End If

  ' move the cursor to the selected record
  MM_index = 0
  While ((Not MM_rs.EOF) And (MM_index < MM_offset Or MM_offset = -1))
    MM_rs.MoveNext
    MM_index = MM_index + 1
  Wend
  If (MM_rs.EOF) Then 
    MM_offset = MM_index  ' set MM_offset to the last possible record
  End If

End If
%>
<%
' *** Move To Record: if we dont know the record count, check the display range

If (MM_rsCount = -1) Then

  ' walk to the end of the display range for this page
  MM_index = MM_offset
  While (Not MM_rs.EOF And (MM_size < 0 Or MM_index < MM_offset + MM_size))
    MM_rs.MoveNext
    MM_index = MM_index + 1
  Wend

  ' if we walked off the end of the recordset, set MM_rsCount and MM_size
  If (MM_rs.EOF) Then
    MM_rsCount = MM_index
    If (MM_size < 0 Or MM_size > MM_rsCount) Then
      MM_size = MM_rsCount
    End If
  End If

  ' if we walked off the end, set the offset based on page size
  If (MM_rs.EOF And Not MM_paramIsDefined) Then
    If (MM_offset > MM_rsCount - MM_size Or MM_offset = -1) Then
      If ((MM_rsCount Mod MM_size) > 0) Then
        MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
      Else
        MM_offset = MM_rsCount - MM_size
      End If
    End If
  End If

  ' reset the cursor to the beginning
  If (MM_rs.CursorType > 0) Then
    MM_rs.MoveFirst
  Else
    MM_rs.Requery
  End If

  ' move the cursor to the selected record
  MM_index = 0
  While (Not MM_rs.EOF And MM_index < MM_offset)
    MM_rs.MoveNext
    MM_index = MM_index + 1
  Wend
End If
%>
<%
' *** Move To Record: update recordset stats

' set the first and last displayed record
Recordset1_first = MM_offset + 1
Recordset1_last  = MM_offset + MM_size

If (MM_rsCount <> -1) Then
  If (Recordset1_first > MM_rsCount) Then
    Recordset1_first = MM_rsCount
  End If
  If (Recordset1_last > MM_rsCount) Then
    Recordset1_last = MM_rsCount
  End If
End If

' set the boolean used by hide region to check if we are on the last record
MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount)
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth

Dim MM_removeList
Dim MM_item
Dim MM_nextItem

' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
  MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If

MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""

' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
  MM_nextItem = "&" & MM_item & "="
  If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
    MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
  End If
Next

' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
  MM_nextItem = "&" & MM_item & "="
  If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
    MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
  End If
Next

' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then 
  MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "")  Then
  MM_keepURL  = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
  MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If

' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
  If (firstItem <> "") Then
    MM_joinChar = "&"
  Else
    MM_joinChar = ""
  End If
End Function
%>
<%
' *** Move To Record: set the strings for the first, last, next, and previous links

Dim MM_keepMove
Dim MM_moveParam
Dim MM_moveFirst
Dim MM_moveLast
Dim MM_moveNext
Dim MM_movePrev

Dim MM_urlStr
Dim MM_paramList
Dim MM_paramIndex
Dim MM_nextParam

MM_keepMove = MM_keepBoth
MM_moveParam = "index"

' if the page has a repeated region, remove 'offset' from the maintained parameters
If (MM_size > 1) Then
  MM_moveParam = "offset"
  If (MM_keepMove <> "") Then
    MM_paramList = Split(MM_keepMove, "&")
    MM_keepMove = ""
    For MM_paramIndex = 0 To UBound(MM_paramList)
      MM_nextParam = Left(MM_paramList(MM_paramIndex), InStr(MM_paramList(MM_paramIndex),"=") - 1)
      If (StrComp(MM_nextParam,MM_moveParam,1) <> 0) Then
        MM_keepMove = MM_keepMove & "&" & MM_paramList(MM_paramIndex)
      End If
    Next
    If (MM_keepMove <> "") Then
      MM_keepMove = Right(MM_keepMove, Len(MM_keepMove) - 1)
    End If
  End If
End If

' set the strings for the move to links
If (MM_keepMove <> "") Then 
  MM_keepMove = Server.HTMLEncode(MM_keepMove) & "&"
End If

MM_urlStr = Request.ServerVariables("URL") & "?" & MM_keepMove & MM_moveParam & "="

MM_moveFirst = MM_urlStr & "0"
MM_moveLast  = MM_urlStr & "-1"
MM_moveNext  = MM_urlStr & CStr(MM_offset + MM_size)
If (MM_offset - MM_size < 0) Then
  MM_movePrev = MM_urlStr & "0"
Else
  MM_movePrev = MM_urlStr & CStr(MM_offset - MM_size)
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>無標題文檔</title>
</head>

<body>
<table align="center" border="1">
  <tr>
    <td align="left" width="33%"> t_name </td>
    <td align="left" width="33%"> n_title </td>
    <td align="left" width="33%"> n_time </td>
  </tr>
  <% 
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF)) 
%>
    <tr>
      <td align="left" width="33%"><%=(Recordset1.Fields.Item("t_name").Value)%> </td>
      <td align="left" width="33%"><a href="shown.asp?<%= Server.HTMLEncode(MM_keepBoth) & MM_joinChar(MM_keepBoth) & "n_id=" & Recordset1.Fields.Item("n_id").Value %>"><%=(Recordset1.Fields.Item("n_title").Value)%></a> </td>
      <td align="left" width="33%"><%=(Recordset1.Fields.Item("n_time").Value)%> </td>
    </tr>
    <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  Recordset1.MoveNext()
Wend
%>
</table>
<br>
<table border="0" width="50%" align="center">
  <tr>
    <td width="23%" align="center"><% If MM_offset <> 0 Then %>
          <a href="<%=MM_moveFirst%>">第一頁</a>
          <% End If ' end MM_offset <> 0 %>
    </td>
    <td width="31%" align="center"><% If MM_offset <> 0 Then %>
          <a href="<%=MM_movePrev%>">前一頁</a>
          <% End If ' end MM_offset <> 0 %>
    </td>
    <td width="23%" align="center"><% If Not MM_atTotal Then %>
          <a href="<%=MM_moveNext%>">下一頁</a>
          <% End If ' end Not MM_atTotal %>
    </td>
    <td width="23%" align="center"><% If Not MM_atTotal Then %>
          <a href="<%=MM_moveLast%>">最后一頁</a>
          <% End If ' end Not MM_atTotal %>
    </td>
  </tr>
</table>
&#35760;&#24405; <%=(Recordset1_first)%> &#21040; <%=(Recordset1_last)%> (&#24635;&#20849; <%=(Recordset1_total)%>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区四区在线免费观看 | 福利一区二区在线观看| av影院午夜一区| 欧美一区二区三区在线电影| www国产成人免费观看视频 深夜成人网| 国产日韩精品一区| 天天综合网 天天综合色| www.日韩在线| 精品99久久久久久| 日一区二区三区| 色哟哟亚洲精品| 中文字幕第一区二区| 开心九九激情九九欧美日韩精美视频电影| 不卡视频在线观看| 久久久久久电影| 日韩电影免费一区| 色噜噜久久综合| 亚洲日本在线视频观看| 成人免费电影视频| 国产亚洲综合在线| 国精产品一区一区三区mba桃花| 欧美男男青年gay1069videost| 亚洲欧美激情一区二区| 成人午夜伦理影院| 欧美激情一区二区三区在线| 麻豆91在线播放免费| 欧美日韩在线播放一区| 亚洲一区二区在线免费看| 风间由美性色一区二区三区| 日韩女优制服丝袜电影| 免费成人小视频| 欧美精选一区二区| 亚洲国产va精品久久久不卡综合| 在线观看视频91| 亚洲午夜电影在线| 欧美日韩精品一区二区天天拍小说| 亚洲影院在线观看| 在线视频一区二区三区| 亚洲国产欧美一区二区三区丁香婷| 91蝌蚪porny成人天涯| 亚洲另类中文字| 在线欧美一区二区| 国产电影一区在线| www久久久久| 国产福利一区二区三区在线视频| 欧美激情一区不卡| 99久久综合国产精品| 亚洲乱码中文字幕| 欧美视频一区二区| 人人精品人人爱| 欧美v国产在线一区二区三区| 国产乱理伦片在线观看夜一区| 久久精品一区二区三区不卡 | 日韩有码一区二区三区| 欧美一级免费观看| 国产在线麻豆精品观看| 国产日产欧产精品推荐色 | 欧美剧情片在线观看| 蜜桃av一区二区| 国产午夜亚洲精品不卡| 99v久久综合狠狠综合久久| 午夜视频一区二区三区| 欧美精品一区二区三区在线| 国产99久久久久久免费看农村| 国产精品视频你懂的| 欧美性受xxxx| 国内精品嫩模私拍在线| 中文字幕日韩一区| 欧美妇女性影城| 国产盗摄一区二区三区| 亚洲综合精品久久| 26uuu久久天堂性欧美| 亚洲精品一区二区三区精华液| 国产在线播放一区三区四| 国产精品超碰97尤物18| 69堂国产成人免费视频| eeuss鲁片一区二区三区在线看| 亚洲一卡二卡三卡四卡无卡久久 | av在线一区二区| 水蜜桃久久夜色精品一区的特点 | 91精品国产高清一区二区三区| 国产精品一区二区视频| 亚洲综合精品自拍| 国产欧美日韩中文久久| 91精品福利在线一区二区三区| 国产成人精品午夜视频免费| 婷婷六月综合网| 亚洲欧美日韩国产成人精品影院 | 国产亚洲一区二区三区四区| 精品视频全国免费看| 国产精品亚洲人在线观看| 午夜精品福利一区二区三区蜜桃| 国产日韩综合av| 日韩一二三区视频| 欧美系列在线观看| 成人av电影免费观看| 九色|91porny| 日韩电影免费在线| 亚洲福利视频三区| 一区二区在线观看av| 中文av一区二区| 久久久久久久性| 日韩欧美国产午夜精品| 欧美妇女性影城| 91精品国产综合久久香蕉麻豆| 一本到不卡免费一区二区| 成人av小说网| 国产 欧美在线| 国产在线精品国自产拍免费| 久久激情五月婷婷| 久久国产精品无码网站| 日韩高清国产一区在线| 亚洲成人综合在线| 亚洲午夜久久久久久久久电影院| 国产精品成人一区二区艾草| 中文字幕二三区不卡| 国产色产综合色产在线视频| 国产欧美一区二区精品性| 久久精品亚洲麻豆av一区二区| 亚洲精品一区二区三区福利 | 青青草国产成人av片免费 | 亚洲国产成人在线| 国产日韩欧美精品综合| 中文字幕免费一区| 国产精品美女久久久久aⅴ| 国产午夜精品理论片a级大结局| 久久久精品tv| 日韩毛片高清在线播放| 亚洲男帅同性gay1069| 伊人开心综合网| 亚洲一区视频在线观看视频| 日韩激情视频网站| 黄色资源网久久资源365| 国产一区二区不卡在线| jiyouzz国产精品久久| 欧日韩精品视频| 日韩欧美一区在线观看| 久久综合久色欧美综合狠狠| 中文字幕不卡在线观看| 亚洲黄色录像片| 日本亚洲三级在线| 国产精品18久久久久| 91麻豆国产自产在线观看| 欧美午夜一区二区三区免费大片| 欧美性色aⅴ视频一区日韩精品| 67194成人在线观看| 精品国产免费视频| 亚洲欧美日本在线| 免费精品视频在线| 福利视频网站一区二区三区| 91福利国产成人精品照片| 日韩视频不卡中文| 中文字幕日韩一区| 另类小说色综合网站| 91在线无精精品入口| 欧美一区二区视频网站| 国产精品热久久久久夜色精品三区 | 亚洲一区二区在线观看视频| 久久丁香综合五月国产三级网站| 国产成人午夜精品5599| 欧美午夜精品久久久久久孕妇| 欧美一级二级在线观看| 综合久久久久久| 麻豆91免费看| 一本到不卡精品视频在线观看| 91精品国产综合久久久久久久| 中文在线一区二区| 蜜臀a∨国产成人精品| 97久久超碰国产精品电影| 中国av一区二区三区| 亚洲va中文字幕| 成人av在线影院| 日韩欧美一区二区在线视频| 亚洲六月丁香色婷婷综合久久 | 亚洲精品成人a在线观看| 久久99精品国产.久久久久| 色呦呦一区二区三区| 欧美国产欧美亚州国产日韩mv天天看完整| 亚洲成人午夜电影| av激情亚洲男人天堂| 久久综合九色综合欧美就去吻| 亚洲成人一区二区| 欧美亚洲愉拍一区二区| 中文字幕一区二区三中文字幕| 国产一区免费电影| 日韩一级大片在线| 日本伊人色综合网| 欧美日韩国产系列| 亚洲第一激情av| 日本道色综合久久| 亚洲欧洲在线观看av| 成人免费av在线| 久久久久国产精品厨房| 欧美电影在线免费观看| 中文天堂在线一区| 狠狠色狠狠色综合日日91app| 欧美一区二区三区精品| 亚洲午夜免费电影| 欧美三级一区二区| 一区二区三区在线高清|