% strCheckAdmin = Right(Session("SbNuAdmin"), 1) %> <% Set RSShow = Server.CreateObject("ADODB.Recordset") Visa = "SELECT * FROM tblHistoryCat WHERE Deleted = False ORDER BY Ordning, Name, ID " RSShow.Open Visa, Connect, adOpenStatic, adLockOptimistic %>
Skivbaren.nu's Musikhistoria!
Här finns historieinformation om saker och ting som hänt i musikvärlden!
<% If strCheckAdmin = "1" Then %>
Lägg till Kategori | Lägg till Historiepost
<% End If %>
Välj vad Du vill se genom att välja något av nedanstående:
...eller någon av följande kategorier:
<% Do Until RSShow.EOF %>
Kategorier
<% strCatID = 0
Count = 0
RSCount.Close
RSShow.MoveNext
Loop
RSShow.Close %>
<% strCatID = RSShow("ID")
Set RSCount = Server.CreateObject("ADODB.Recordset")
Count = "SELECT ID FROM tblHistory WHERE CatID = " & strCatID & " AND Deleted = False AND Verified = True "
RSCount.CursorLocation = adUseClient
RSCount.Open Count, Connect, adOpenDynamic, adLockOptimistic %>
"><% =RSShow("Name") %>
<% =RSShow("Info") %>
<% If strCheckAdmin = "1" Then %>
">
">
<% End If %>
Innehåller <% If RSCount.EOF Then %><% Response.Write "0" %><% Else %><% =RSCount.RecordCount %><% End If %> <% If RSCount.RecordCount <> 1 Then %>Poster<% Else %>Post<% End If %>...