<%
numberofarticles = 0
styletext = ""
clientservercall = ""
do while not rsBlogliste.eof
numberofarticles = numberofarticles +1
response.write "
"
if (chaexpstatus = "default" AND numberofarticles > 1 ) then
styletext = "style='display:none'"
'1 er server og 2 er client
clientservercall = "1"
end if
if (chaexpstatus = "default" AND numberofarticles = 1 ) then
styletext = ""
clientservercall = "2"
end if
if (chaexpstatus = "in" OR chaexpstatus = "specific" ) then
'Altid alle foldet ind fra starten
styletext = "style='display:none'"
clientservercall = "1"
end if
if (chaexpstatus = "out") then
'Altid alle foldet ud fra starten
styletext = ""
clientservercall = "2"
end if
blogLbnr = "x" & rsBlogliste("Lbnr") & "a"
nchaarticlelbnr = chaarticlelbnr & "a"
if (nchaarticlelbnr = blogLbnr) then
styletext = ""
clientservercall = "2"
end if
if (styletext = "") then
iconfilename = "ico_minus.gif"
else
iconfilename = "ico_plus.gif"
response.write "
"
end if
response.write "

" & rsBlogliste("Titel") & "
"
response.write "
" & "af " & HentForfatter(rsBlogliste("Forfatter")) & ", den "& FormatDato(rsBlogliste("Created")) & "
"
if (styletext = "") then
response.write rsBlogliste("Tekst")
end if
response.write "
"
if (styletext <> "") then
'Afslutte noprintsec div
response.write "
"
end if
rsBlogliste.movenext
Loop
%>