<% local form = ... require("viewfunctions") %> <% --[[ DEBUG INFORMATION io.write("

DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(form)) io.write("
") --]] %>

SYSTEM INFO

<% local myform = form.status local tags = { "status", "version", "autostart", } displayinfo(myform,tags,"viewonly") %>

PROGRAM SPECIFIC OPTIONS/INFORMATION

Counted alerts
<%= form.alerts %> alert(s)

ALERT LIST

<% for i=1, table.maxn(form.alertresult) do %>

<%= form.alertresult[i]["name"] %>

<% for j in pairs(form.alertresult[i]["value"]) do %>

<%= j %>

<% for k in pairs(form.alertresult[i]["value"][j]) do %>

<%= form.alertresult[i]["value"][j][k]["value"][1] %>
<% for l=2, table.maxn(form.alertresult[i]["value"][j][k]["value"]) do %> <%= form.alertresult[i]["value"][j][k]["value"][l] %>
<% end %> (This alarm is repeated <%= form.alertresult[i]["value"][j][k]["count"] %> times) <% if (table.maxn(form.alertresult[i]["value"][j][k]["url"]) ~= 0) then %> ( URL's: <% for q=1, table.maxn(form.alertresult[i]["value"][j][k]["url"]) do %> " target="_new"><%= form.alertresult[i]["> <% end %> ) <% end %>

<% end %> <% end %> <% end %>