|
<%if action=0 then%>
<%strPh = "public/team/"&idS&"/thumbnails/"
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
If objFSO.FolderExists(Server.MapPath(strPh)) Then
Set objFolder = objFso.GetFolder(Server.MapPath(strPh))
Set objFiles = objFolder.Files
For each strFile in objFiles
if imgT="" and (lcase(strFile.name)="logo.jpg" or lcase(strFile.name)="logo.png") then
imgT=strPh&strFile.name
ImgLogo=strFile.name
end if
Next
end if
Set objFolder = Nothing
Set objFiles = Nothing
Set objFSO = Nothing
if imgT="" then
imgT="public/team/nologo.png"
end if
%>
<%end if%>
<%=squadra%> |
|