%! struct icm_http_subhdl { boolean active; string name; int type; int flags; int param_idx; string param_prefix; string url_prefix; }; struct icm_mod_info_type { boolean active; string file; string format; int maxsize; int switcht; int fsize; int lcount; }; %> <% int i, count, rc; int line_count = 0; string hdlsel, what, browser, lastControlID; string rules[]; boolean is_admin; string tab_hdlsel[]; struct icm_http_subhdl icm_subhdl_tab[]; struct icm_mod_info_type icm_mod_info; is_admin = __icm_get_system_property ("is_admin"); browser = __icm_get_browser_type(); lastControlID = htmlenc(__icm_get_form_field ("lastControlID")); count = __icm_http_hdl (2,icm_subhdl_tab,13); for (i = 0; i < count; i++) { tab_hdlsel[i] = ""; } hdlsel = anumenc(__icm_get_form_field ("hdlsel")); if (hdlsel != "") tab_hdlsel[hdlsel] = "selected"; rc = __icm_mod_hdl (1,hdlsel,icm_mod_info); if (rc == 0) line_count = __icm_mod_hdl (4,hdlsel,rules); %>