else
intI = 0
tT_STATUS = 0
tCAT_ID = 1
tFORUM_ID = 2 end if
if intI = 0 then
CColor = strAltForumCellColor
else
CColor = strForumCellColor
end if
Response.Write " <tr>" & vbNewLine & _
" <td bgcolor=""" & strForumCellColor & """ align=""center"" valign=""middle""><a href=""topic.asp?" & ArchiveLink & "TOPIC_ID=" & Topic_ID & """>" rec = rec + 1
intI = intI + 1
if intI = 2 then
intI = 0
end if
nextintI=(intI+1) mod 2Originally posted by phy1729
For your second block you could useCode:to condense it.intI=(intI+1) mod 2
Originally posted by AnonJr
Ask 10 programmers how to do something and you'll often get 20 different options at minimum.![]()
ref = " <td align=""right"" valign=""bottom"" bgcolor=""" & strForumCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>"