<%! /* */ %> <% int i, line_no, rc; int line_count = 0; int size, ftype, options; int trace_level; string browser, formfld, header, trace_file, filter, lastControlID; string sel_tab[]; string ltab[]; boolean is_admin; boolean show_lineno; is_admin = __icm_get_system_property ("is_admin"); browser = __icm_get_browser_type(); lastControlID = htmlenc(__icm_get_form_field ("lastControlID")); filter = filterenc(urldec(__icm_get_form_field ("filter"))); show_lineno = __icm_get_form_field ("slineno"); formfld = anumenc(__icm_get_form_field ("line_no")); if (formfld != "") line_no = formfld; ftype = __icm_get_form_field ("ftype"); formfld = __icm_get_form_field ("onInputProcessing"); if (formfld == "outleft") line_no = 0; else if (formfld == "left"){ line_no -= 500; if (line_no < 0) line_no = 0; } else if (formfld == "right") line_no += 500; else if (formfld == "outright") line_no = -500; trace_level = __icm_get_system_property ("trace_level"); trace_file = __icm_get_system_property ("trace_file"); sel_tab[trace_level] = "selected"; options = 0; if (ftype) options = 1; if (show_lineno) options = options | 4; line_count = __icm_get_trace_lines (line_no, filter, ltab, size, options); %> Trace File
<%=trace_file%>:
Reset
Download
<% if (show_lineno == 0) { %>
Show line numbers
<% } else { %>
Hide line numbers
<% } %>
<% if (ftype == 0) { %>
Show dev_icmbnd
<% } else { %>
Show <%=trace_file%>
<% } %>
Close Menu
<%=trace_file%>:
Reset
Download
<% if (show_lineno == 0) { %>
Show line numbers
<% } else { %>
Hide line numbers
<% } %>
<% if (ftype == 0) { %>
Show dev_icmbnd
<% } else { %>
Show <%=trace_file%>
<% } %>
Close Menu
<% if (is_admin) { %> Trace File  <% } else __output ("Trace File"); %>   (<%=size%>bytes) <% if (ftype == 0) { %> : <% if (is_admin) { %> <% } else __output (trace_level); } %>
: : Display
<% for (i = 0; i < line_count; i++) { __output(ltab[i],"
"); } %>
Trace File 
  (<%=size%>bytes)
  : :