%@LANGUAGE="VBSCRIPT"%> <% If Session("admin") = False or IsNull(Session("admin")) = True then response.Redirect("login.asp?strMode=edit") End If %> <% Response.Buffer = True Dim iMonth, iYear iMonth=Request ("month") iYear=Request ("year") if iMonth = "" then iMonth = Month(Now) sMonth=NameFromMonth(iMonth) if iYear = "" then iYear = Year(Now) Dim rscommenti Dim vpage Dim page Dim Block Dim Blocks Dim i Dim totale Dim maxpages Dim PagStart Dim PagStop Dim RemainingRecords Dim blog_id blog_id = Request.QueryString("blog_id") Block = Request.querystring("Block") page = Request.querystring("page") if Block="" then Block=1 if page="" then page=1 %>
![]() |
|
| <% = strLangSelectEditDeleteComments %> <% = blog_id %> | |
![]() |
<% = request.querystring("msg") %> <% Set rscommenti = Server.CreateObject("ADODB.Recordset") strSQL = "SELECT commenti.* FROM commenti WHERE commenti.blog_id =" & blog_id rscommenti.Open strSQL, adoCon, 1, 3 rscommenti.PageSize = intRecordsPerPage If NOT rscommenti.EOF Then rscommenti.AbsolutePage = page If rscommenti.EOF Then Response.Write "" Response.End Else totale = rscommenti.RecordCount %> <% = UCase(strLangGlobNumberOfComment) %>: <% = totale %>
<% 'paginazione Response.Write "
<% rscommenti.Close Set rscommenti = Nothing Set strCon = Nothing Set adoCon = Nothing %> |
||||||||