%
if SESSION("UserID")="" then
response.End
end if
if not CheckSecurity(SESSION("_" & strTableName & "_OwnerID"),"Search") then
response.End
end if
dbConnection=""
db_connect()
Set rs = server.CreateObject("ADODB.Recordset")
Set rss = server.CreateObject("ADODB.Recordset")
dim recordsCounter
strSQL = gstrSQL
str = SecuritySQL("Search")
if len(str)>0 then _
where = where & " and " & str
strSQL=gSQLWhereAdd(where)
strSQL=strSQL & " " & gstrOrderBy
rowcount=gSQLRowCount(where)
if rowcount > 0 then
rs.Open strSQL, dbConnection,1,2
response.write "Dettagli trovati" & ": " & rowcount & ""
if rowcount > 10 then
response.write ". Displaying first: 10.
"
else
response.write "
"
end if
response.write "
titolare | " response.write "
" & value & " | " response.write "