")
Response.Write("")
sColor = "#e9e9e9"
strConta = 0
inumero = 0
' ----------------------------------------------------
Do While NOT oRS.EOF
Dim valore
strConta = strConta + 1
strDataCreazione = oRS("data_creazione").Value
strdataModifica = oRS("data_modifica").Value
strDataCreazioneleft = left(strDataCreazione,10)
strdataModificaleft = left(strdataModifica,10)
strDopoleft = left(strDopo,10)
Rtrim(strDataCreazioneleft)
Rtrim(strdataModificaleft)
Rtrim(strDopoleft)
' Data creazione
strAAAA = right(strDataCreazioneleft,4)
strGG = left(strDataCreazioneleft,2)
strMM = mid(strDataCreazioneleft,4,2)
strDataCreazioneleft = strAAAA & strMM & strGG
' Data modifica
strAAAA = right(strdataModificaleft,4)
strGG = left(strdataModificaleft,2)
strMM = mid(strdataModificaleft,4,2)
strdataModificaleft = strAAAA & strMM & strGG
' Data validita
strAAAA = right(strDopoleft,4)
strGG = left(strDopoleft,2)
strMM = mid(strDopoleft,4,2)
strDopoleft = strAAAA & strMM & strGG
'Response.Write strAAAA & strMM & strGG
strBanner = oRS("url_banner")
valore = StrComp(strdataModificaleft,strDopoleft,0)
if( valore > 0) Then
if Len(strBuffer) = 0 Then
strBuffer = "-" & oRS("id").Value & "-"
else
strBuffer = strBuffer & "-" & oRS("id").Value & "-"
end if
strUrlSitoClick = "click.asp?id="&oRS("id").Value
if inumero = 0 Then
Response.Write("")
inumero = 1
Else
inumero = 0
End If
'Response.Write("| "& oRS("click").Value & " | ")
if(StrComp(strDataCreazione,strdataModifica,0) = 0) Then
Response.Write(" " & oRS("nome_sito").Value & "")
if ordina = 8 and strBanner <> "http://" then
Response.Write(" ")
end if
else
Response.Write(" | " & oRS("nome_sito").Value & "")
end if
if inumero = 0 Then
Response.Write(" | ")
Else
Response.Write("")
End If
end if
oRS.MoveNext
Loop
oRS.Close
Set oRS = oConn.Execute(sSQL)
sColor = "white"
inumero = 0
For i=1 to strConta
Appo = "-" & oRS("id").Value & "-"
if(Instr(1, strBuffer, Appo, 0) = 0) then
if sColor = "#E1C095" Then
sColor = "#e9e9e9"
Else
sColor = "#e9e9e9"
End If
strBanner = oRS("url_banner")
strUrlSitoClick = "click.asp?id="&oRS("id").Value
if ordina = 8 and strBanner <> "http://" then
if inumero = 0 Then
Response.Write("")
inumero = 1
Else
inumero = 0
End If
'Response.Write("| "& oRS("click").Value & " | ")
'Response.Write(""& oRS("nome_sito").Value & "")
Response.Write(" | .Value & ") | ")
if inumero = 0 Then
Response.Write(" ")
End If
elseif strBanner = "http://" then
if inumero = 0 Then
Response.Write("")
inumero = 1
Else
inumero = 0
End If
'Response.Write("| "& oRS("click").Value & " | ")
Response.Write(" "& oRS("nome_sito").Value & " | ")
if inumero = 0 Then
Response.Write(" ")
End If
else
if inumero = 0 Then
Response.Write("")
inumero = 1
Else
inumero = 0
End If
'Response.Write("| "& oRS("click").Value & " | ")
Response.Write(" " & oRS("nome_sito").Value & " | ")
if inumero = 0 Then
Response.Write(" ")
End If
end if
end if
oRS.MoveNext
If oRS.EOF Then Exit For
Next
if lingua="it" then
Response.Write("Numero di Link: "& strConta & " | ")
else
Response.Write("Number of Link: "& strConta & " | ")
end if
Response.Write("")
Response.Write(" | ")
Response.Write(" | ")
%>
<%
Response.Write(" | ")
Response.Write("")
Response.Write("
")
Response.Write("