%@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 rsblog Dim rscommenti Dim vpage Dim page Dim Block Dim Blocks Dim i Dim totale Dim maxpages Dim PagStart Dim PagStop Dim RemainingRecords Block = Request.querystring("Block") page = Request.querystring("page") if Block="" then Block=1 if page="" then page=1 %>
![]() |
|
| <% = strLangSelectEditDeleteBlog %> | |
![]() |
<% = request.querystring("msg") %> <% Set rsblog = Server.CreateObject("ADODB.Recordset") strSQL = "SELECT blog.* FROM blog ORDER BY blog_id DESC;" rsblog.Open strSQL, adoCon, 1, 1 rsblog.PageSize = intRecordsPerPage If NOT rsblog.EOF Then rsblog.AbsolutePage = page Set rscommenti = Server.CreateObject("ADODB.Recordset") If rsblog.EOF Then Response.Write " " & strLangErrorMessageNoBlog3 & " <% = UCase(strLangGlobBlogInDb) %> : <% = totale %>
<% 'paginazione Response.Write "
<% rsblog.Close Set rsblog = Nothing Set rscommenti = Nothing Set strCon = Nothing Set adoCon = Nothing %> |
||||||||||||