script asp
Inviato: ven nov 04, 2005 4:23 pm
in uno script di visualizzazione cartelle ho questo codice:
<%
For Each f1 in FC
If (RecordsCount >= (intPage * rpf)) And (RecordsCount < (intPage * rpf) + rpf) Then
If NOT InStr(f1, "tn-") > 0 Then ' Hide NON-Thumnails In View
ThumbPath = UploadPath&"\"&strFolderName&"\"&f1.Name
'##### Thumbnailer Call ######
If gfxSpex(ThumbPath, width, height, colors, strType) = true then
strwidth = "37"
strheight = FormatNumber(strwidth*(height/width),0)
If strheight > 33 Then strheight = "33" Else strheight = strheight
If nailer Then
strURL = URLPath&"/"&strfoldername&"/tn-"&f1.Name
Else
strURL = URLPath&"/"&strfoldername&"/"&f1.Name
End If
strimagesrc = "<img src="""&strURL&""" width="""&strwidth&""" height="""&strheight&""" border=""0"">"
End If
'##### End Thumbnailer Call ######
If Not i Mod rpr = 0 Then
%>
essendo che nn ne capisco un HHHHH come faccio a non far visualizzare le cartelle temporanee tipo _vti dovrei inserire tipo <>_
<%
For Each f1 in FC
If (RecordsCount >= (intPage * rpf)) And (RecordsCount < (intPage * rpf) + rpf) Then
If NOT InStr(f1, "tn-") > 0 Then ' Hide NON-Thumnails In View
ThumbPath = UploadPath&"\"&strFolderName&"\"&f1.Name
'##### Thumbnailer Call ######
If gfxSpex(ThumbPath, width, height, colors, strType) = true then
strwidth = "37"
strheight = FormatNumber(strwidth*(height/width),0)
If strheight > 33 Then strheight = "33" Else strheight = strheight
If nailer Then
strURL = URLPath&"/"&strfoldername&"/tn-"&f1.Name
Else
strURL = URLPath&"/"&strfoldername&"/"&f1.Name
End If
strimagesrc = "<img src="""&strURL&""" width="""&strwidth&""" height="""&strheight&""" border=""0"">"
End If
'##### End Thumbnailer Call ######
If Not i Mod rpr = 0 Then
%>
essendo che nn ne capisco un HHHHH come faccio a non far visualizzare le cartelle temporanee tipo _vti dovrei inserire tipo <>_