 |
| Subject |
User |
Posted |
Duration |
Expired |
Action |
<%
I = 1
For rcount = 0 to numrows
If I mod 2 = 0 then cellColor = "class='evencell'": Else: cellColor = "class='oddcell'": End If
subject = iTotal(4, rcount)
If Cbool(iTotal(7, rcount)) then subject = subject & " "
nick = iTotal(5, rcount)
setLocale server_locale
duration = CDate(iTotal(3, rcount)) - CDate(iTotal(2, rcount))
setLocale resetLocale
postedOn = FormatDateTime(iTotal(2, rcount), 2)
adID = iTotal(0, rcount)
adExp = FormatDateTime(iTotal(3, rcount), 2)
userID = iTotal(1, rcount)
status = iTotal(8, rcount)
With Response
.Write ""
.Write "| " & subject & " | "
.Write "" & nick & " | "
.Write "" & postedOn & " | "
.Write "" & duration & " | "
.Write "" & adExp & " | "
.Write ""
.Write "Delete "
If status = 2 then .Write "Repost": Else: .Write "Enable"
.Write " | " & vbCrLf
End With
I = I + 1
Next
Response.Write " "
%>
|
 |
|