Modificare il file:
\Buoni-spesa-OLD\titolare_detailspreview.asp
<!--#include file="include/dbcommon.asp"--> <!--#include file="include/titolare_variables.asp"--> <% 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" & ": <strong>" & rowcount & "</strong>" if rowcount > 10 then response.write ". Displaying first: <strong>10</strong>.<br /><br />" else response.write "<br /><br />" end if response.write "<table cellpadding=1 cellspacing=1 border=0 align=left class=""detailtable""><tr>" response.write "<td><strong>titolare</strong></td>" response.write "</tr>" do while not rs.EOF recordsCounter = recordsCounter + 1 if recordsCounter > 10 then Exit Do response.write "<tr>" keylink="" keylink=keylink & "&key1=" & my_htmlspecialchars(server.urlencode(dbvalue(rs("titolare")))) Set fso = CreateObject("Scripting.FileSystemObject") '// titolare - value="" value = ProcessLargeText(GetData(rs,"titolare", ""),"field=titolare" & keylink,"",MODE_PRINT) response.write "<td>" & value & "</td>" response.write "</tr>" rs.MoveNext loop rs.Close response.write "</table>" else response.write "Dettagli trovati" & ": <strong>" & rowcount & "</strong>" end if response.write "counterSeparator" & postvalue("counter") %>
[
Íàçàä
]