% local data, viewlibrary, page_info, session = ... %> <% if data.value.focus.value ~= "" then %> <% end %>
<%= html.html_escape(data.errtxt) %>
<% end %> <% local clientinfo = "" if data.value.clientuserid.value ~= "" then clientinfo = clientinfo .. "clientuserid="..data.value.clientuserid.value.."&" end if data.value.clientip.value ~= "" then clientinfo = clientinfo .. "clientip="..data.value.clientip.value.."&" end %>Timestamp | Client IP | User ID | Size | |
<%= 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} %> | <%= html.html_escape(watch.clientip) %> | <%= html.html_escape(watch.clientuserid) %> | <%= html.html_escape(watch.bytes) %> | |
style="background:#f33; color:#fff" title="<%= html.html_escape(watch.reason) %>"<% end %> colspan=3> <% if watch.score and watch.score ~= "0" then %><%= html.html_escape(watch.score) %> - <% end %> <% if (watch.shortreason and watch.shortreason ~= "") then %> <%= html.html_escape(watch.shortreason) %> <% elseif (watch.reason and watch.reason ~= "") then %> <%= html.html_escape(string.gsub(watch.reason, "%(.*", "")) %> <% end %> | style="background:#ee1" <% end %> title="<%= html.html_escape(watch.uri) %>" > <%= html.link{value = watch.uri, label=string.gsub(watch.uri, "[;?].*", "...")} %> |
<%= html.html_escape(data.errtxt) %>
<% end %> <% if #data.value.log.value == 0 then %>No results, try adjusting search parameters
<% end %> <% if page_info.action == "viewweblog" then %> <% end %>