% local data, viewlibrary, page_info, session = ... %> <% require("viewfunctions")%> <% require("weblogviewfunctions")%> <% if data.value.focus.value ~= "" then %> <% end %> <% local subdata, pagedata = paginate(data.value.log.value, page_info.clientdata, 200) %>
<%= html.html_escape(data.errtxt) %>
<% end %>Timestamp | Client IP | User ID | Size | Sus | Den | Byp | Score | Reason | URL | Bad Words | |
---|---|---|---|---|---|---|---|---|---|---|---|
checked <% end %>> | style="font-weight:bold;" id="focus" <% end %> ><%= html.link{value = "viewweblog?"..clientinfo.. "starttime="..os.date("%Y-%m-%d %H:%M:%S", time - 60*(tonumber(data.value.window.value))).. "&endtime="..os.date("%Y-%m-%d %H:%M:%S", time + 60*(tonumber(data.value.window.value))).. "&focus="..watch.logdatetime, label=watch.logdatetime} %> | style="font-weight:bold;" <% end %> ><%= html.html_escape(watch.clientip) %> | style="font-weight:bold;" <% end %> ><%= html.html_escape(watch.clientuserid) %> | <%= html.html_escape(watch.bytes) %> | <% if watch.badyesno == "1" then %>![]() |
<% if watch.deniedyesno ~= "0" then %> ![]() |
<% if watch.bypassyesno ~= "0" then %> ![]() |
<%= html.html_escape(watch.score) %> | <%= html.html_escape(watch.reason) %> | <% highlight_uri=html.html_escape(watch.uri) if watch.wordloc ~= nil then if string.find(watch.wordloc,"|") then badwords = split(watch.wordloc,"|") for key,wrd in pairs(badwords) do highlight_uri = string.highlight(highlight_uri, wrd, "yellow","red") end else highlight_uri = string.highlight(highlight_uri, watch.wordloc, "yellow","red") end end %> <%= highlight_uri %> | <%= watch.wordloc %> |
<%= html.html_escape(data.errtxt) %>
<% end %> <% if #data.value.log.value == 0 then %>No results, try adjusting search parameters
<% end %>