NM_ajax_info['param']['buffer_output']) || !$this->NM_ajax_info['param']['buffer_output']) { $sOBContents = ob_get_contents(); ob_end_clean(); } header("X-XSS-Protection: 1; mode=block"); header("X-Frame-Options: SAMEORIGIN"); header("X-Content-Type-Options: nosniff"); header("Referrer-Policy: same-origin"); ?> > <?php if ('novo' == $this->nmgp_opcao) { echo strip_tags("" . $this->Ini->Nm_lang['lang_list_groups'] . ""); } else { echo strip_tags("" . $this->Ini->Nm_lang['lang_list_groups'] . ""); } ?> $forced_mobile, 'appType' => 'form', 'improvements' => true, 'displayOptionsButton' => false, 'displayScrollUp' => false, 'scrollUpPosition' => 'A', 'toolbarOrientation' => 'H', 'mobilePanes' => 'true', 'navigationBarButtons' => unserialize('a:3:{i:0;s:2:"NP";i:1;s:2:"FL";i:2;s:2:"RC";}'), 'mobileSimpleToolbar' => false, 'bottomToolbarFixed' => false ]); ?> Ini->sc_page]['sec_form_sec_groups']['link_info']['margin_top']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['link_info']['margin_top']) { ?> Ini->sc_page]['sec_form_sec_groups']['embutida_pdf'])) { ?> Ini->str_google_fonts) && !empty($this->Ini->str_google_fonts)) { ?> Ini->str_schema_all . "_tab.php"); } ?> Ini->sc_page]['sec_form_sec_groups']['run_iframe'] || 'R' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe']) ? 'margin: 2px;' : ''; if (isset($_SESSION['nm_aba_bg_color'])) { $this->Ini->cor_bg_grid = $_SESSION['nm_aba_bg_color']; $this->Ini->img_fun_pag = $_SESSION['nm_aba_bg_img']; } if ($GLOBALS["erro_incl"] == 1) { $this->nmgp_opcao = "novo"; $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['opc_ant'] = "novo"; $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['recarga'] = "novo"; } if (empty($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['recarga'])) { $opcao_botoes = $this->nmgp_opcao; } else { $opcao_botoes = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['recarga']; } if ('novo' == $opcao_botoes && $this->Embutida_form) { $opcao_botoes = 'inicio'; } $remove_margin = isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['remove_margin']) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['remove_margin'] ? 'margin: 0; ' : ''; $remove_border = isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['remove_border']) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['remove_border'] ? 'border-width: 0; ' : ''; $remove_background = isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['remove_background']) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['remove_background'] ? 'background-color: transparent; background-image: none; ' : ''; if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['link_info']['remove_margin']) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['link_info']['remove_margin']) { $remove_margin = 'margin: 0; '; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['link_info']['remove_background']) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['link_info']['remove_background']) { $remove_background = 'background-color: transparent; background-image: none; '; } if ('' != $remove_margin && isset($str_iframe_body) && '' != $str_iframe_body) { $str_iframe_body = ''; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['link_info']['remove_border']) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['link_info']['remove_border']) { $remove_border = 'border-width: 0; '; } if ('' != $remove_background) { ?> NM_ajax_info['param']['buffer_output']) || !$this->NM_ajax_info['param']['buffer_output']) { echo $sOBContents; } ?>
Ini->Error_icon_span; $_SESSION['scriptcase']['error_icon_title']['sec_form_sec_groups'] = '' != $this->Ini->Err_ico_title ? $this->Ini->path_icones . '/' . $this->Ini->Err_ico_title : ''; ?> arr_buttons['bmessageclose']) ? $this->arr_buttons['bmessageclose']['value'] : 'Ok'; ?> record_insert_ok) { ?> record_delete_ok) { ?>
displayAppHeader(); ?>
displayTopToolbar(); ?> Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "R") { ?>
Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "R") { if ($this->Embutida_form) { $sCondStyle = ($this->nmgp_botoes['new'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['new']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['new']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['new']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['new']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['new']; } ?> arr_buttons, "bnovo", "scBtnFn_sys_format_inc()", "scBtnFn_sys_format_inc()", "sc_b_new_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> Grid_editavel) || !$this->Grid_editavel) && (!$this->Embutida_form) && (!$this->Embutida_call || $this->Embutida_multi)) { $sCondStyle = ($this->nmgp_botoes['new'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['new']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['new']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['new']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['new']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['new']; } ?> arr_buttons, "bnovo", "scBtnFn_sys_format_inc()", "scBtnFn_sys_format_inc()", "sc_b_new_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> Grid_editavel) || !$this->Grid_editavel) && (!$this->Embutida_form) && (!$this->Embutida_call || $this->Embutida_multi)) { $sCondStyle = ($this->nmgp_botoes['insert'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['insert']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['insert']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['insert']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['insert']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['insert']; } ?> arr_buttons, "bincluir", "scBtnFn_sys_format_inc()", "scBtnFn_sys_format_inc()", "sc_b_ins_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> Grid_editavel) || !$this->Grid_editavel) && (!$this->Embutida_form) && (!$this->Embutida_call || $this->Embutida_multi)) { $sCondStyle = ($this->nmgp_botoes['update'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['update']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['update']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['update']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['update']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['update']; } ?> arr_buttons, "balterar", "scBtnFn_sys_format_alt()", "scBtnFn_sys_format_alt()", "sc_b_upd_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> Embutida_call || $this->sc_evento == "novo" || $this->sc_evento == "insert" || $this->sc_evento == "incluir")) { $sCondStyle = ($this->nmgp_botoes['insert'] == "on" && $this->nmgp_botoes['cancel'] == "on") && ($this->nm_flag_saida_novo != "S" || $this->nmgp_botoes['exit'] != "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['bcancelar']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['bcancelar']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['bcancelar']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['bcancelar']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['bcancelar']; } ?> arr_buttons, "bcancelar", "scBtnFn_sys_format_cnl()", "scBtnFn_sys_format_cnl()", "sc_b_sai_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> form_paginacao)) { $sCondStyle = ($this->nmgp_botoes['first'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['first']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['first']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['first']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['first']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['first']; } ?> arr_buttons, "binicio", "scBtnFn_sys_format_ini()", "scBtnFn_sys_format_ini()", "sc_b_ini_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> form_paginacao)) { $sCondStyle = ($this->nmgp_botoes['back'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['back']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['back']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['back']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['back']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['back']; } ?> arr_buttons, "bretorna", "scBtnFn_sys_format_ret()", "scBtnFn_sys_format_ret()", "sc_b_ret_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> form_paginacao)) { $sCondStyle = ($this->nmgp_botoes['forward'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['forward']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['forward']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['forward']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['forward']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['forward']; } ?> arr_buttons, "bavanca", "scBtnFn_sys_format_ava()", "scBtnFn_sys_format_ava()", "sc_b_avc_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> form_paginacao)) { $sCondStyle = ($this->nmgp_botoes['last'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['last']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['last']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['last']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['last']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['last']; } ?> arr_buttons, "bfinal", "scBtnFn_sys_format_fim()", "scBtnFn_sys_format_fim()", "sc_b_fim_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> url_webhelp) { $sCondStyle = ''; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['help']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['help']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['help']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['help']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['help']; } ?> arr_buttons, "bhelp", "scBtnFn_sys_format_hlp()", "scBtnFn_sys_format_hlp()", "sc_b_hlp_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> nm_Start_new) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "R") && (!$this->Embutida_call) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']))) { $sCondStyle = (($this->nm_flag_saida_novo == "S" || ($this->nm_Start_new && !$this->aba_iframe)) && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']; } ?> arr_buttons, "bvoltar", "scBtnFn_sys_format_sai()", "scBtnFn_sys_format_sai()", "sc_b_sai_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> Ini->sc_page]['sec_form_sec_groups']['run_iframe'] == "F" || $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] == "R") && (!$this->Embutida_call) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']))) { $sCondStyle = ($this->nm_flag_saida_novo == "S" && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']; } ?> arr_buttons, "bvoltar", "scBtnFn_sys_format_sai()", "scBtnFn_sys_format_sai()", "sc_b_sai_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> Embutida_call || $this->form_3versions_single) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard'] || (isset($this->is_calendar_app) && $this->is_calendar_app)))) { $sCondStyle = (isset($_SESSION['scriptcase']['nm_sc_retorno']) && !empty($_SESSION['scriptcase']['nm_sc_retorno']) && $nm_apl_dependente != 1 && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "R" && !$this->aba_iframe && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']; } ?> arr_buttons, "bsair", "scBtnFn_sys_format_sai()", "scBtnFn_sys_format_sai()", "sc_b_sai_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> Embutida_call) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard'] || (isset($this->is_calendar_app) && $this->is_calendar_app)))) { $sCondStyle = (!isset($_SESSION['scriptcase']['nm_sc_retorno']) || empty($_SESSION['scriptcase']['nm_sc_retorno']) || $nm_apl_dependente == 1 || $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] == "F" || $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] == "R" || $this->aba_iframe || $this->nmgp_botoes['exit'] != "on") && ($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "F" && $this->nmgp_botoes['exit'] == "on") && ($nm_apl_dependente == 1 && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']; } ?> arr_buttons, "bvoltar", "scBtnFn_sys_format_sai()", "scBtnFn_sys_format_sai()", "sc_b_sai_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> Embutida_call) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard'] || (isset($this->is_calendar_app) && $this->is_calendar_app)))) { $sCondStyle = (!isset($_SESSION['scriptcase']['nm_sc_retorno']) || empty($_SESSION['scriptcase']['nm_sc_retorno']) || $nm_apl_dependente == 1 || $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] == "F" || $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] == "R" || $this->aba_iframe || $this->nmgp_botoes['exit'] != "on") && ($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "F" && $this->nmgp_botoes['exit'] == "on") && ($nm_apl_dependente != 1 || $this->nmgp_botoes['exit'] != "on") && ((!$this->aba_iframe || $this->is_calendar_app) && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['btn_label']['exit']; } ?> arr_buttons, "bsair", "scBtnFn_sys_format_sai()", "scBtnFn_sys_format_sai()", "sc_b_sai_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "");?> Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['run_iframe'] != "R") { ?>
"; echo " document.getElementById('" . $NM_ult_sep . "').style.display='none';"; echo " "; } unset($NM_ult_sep); ?> nmgp_opcao || $this->Embutida_form) { ?>
nmgp_form_empty) { if (!empty($_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['where_filter'])) { $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['empty_filter'] = true; } echo "
"; } ?>
Embutida_form && $this->nmgp_opcao != "novo" && $this->nmgp_botoes['delete'] == "on") { $Col_span = " colspan=2"; } if (!$this->Embutida_form && $this->nmgp_opcao == "novo") { $Col_span = " colspan=2"; } ?> Embutida_form && $this->nmgp_botoes['insert'] == "on") {?> Embutida_form && $this->nmgp_botoes['insert'] != "on") {?> nmgp_cmp_hidden['group_id_']) || $this->nmgp_cmp_hidden['group_id_'] == 'on') && ((isset($this->Embutida_form) && $this->Embutida_form) || ($this->nmgp_opcao != "novo" && $this->nmgp_opc_ant != "incluir"))) { if (!isset($this->nm_new_label['group_id_'])) { $this->nm_new_label['group_id_'] = "#"; } ?> form_fixed_column_no; // label $label_labelContent = $this->nm_new_label['group_id_']; $label_divLabel = "
". $label_labelContent . "
"; // controls $label_fixedColumn = ''; $label_divControl = '
' . $label_fixedColumn . '
'; // final label $label_final = '
' . $label_divLabel . $label_divControl . '
'; ?> form_fixed_column_no++;}?> nmgp_cmp_hidden['description_']) && $this->nmgp_cmp_hidden['description_'] == 'off') { $sStyleHidden_description_ = 'display: none'; } if (1 || !isset($this->nmgp_cmp_hidden['description_']) || $this->nmgp_cmp_hidden['description_'] == 'on') { if (!isset($this->nm_new_label['description_'])) { $this->nm_new_label['description_'] = "" . $this->Ini->Nm_lang['lang_sec_description'] . ""; } $SC_Label = "" . $this->nm_new_label['description_'] . ""; $label_fieldName = nl2br($SC_Label); // label & order $divLabelStyle = '; justify-content: left'; $label_labelContent = $label_fieldName; $label_divLabel = "
". $label_labelContent . "
"; // controls $label_fixedColumn = ''; $label_divControl = '
' . $label_chart . $label_fixedColumn . '
'; // final label $label_final = '
' . $label_divLabel . $label_divControl . '
'; $classColFld = " sc-col-fld sc-col-fld-" . $this->form_fixed_column_no; ?> form_fixed_column_no++; } ?> form_vert_sec_form_sec_groups); $guarda_nmgp_opcao = $this->nmgp_opcao; $guarda_form_vert_sec_form_sec_groups = $this->form_vert_sec_form_sec_groups; $this->nmgp_opcao = 'novo'; } if ($this->Embutida_form && empty($this->form_vert_sec_form_sec_groups)) { $sc_seq_vert = 0; } if ('novo' != $this->nmgp_opcao && !isset($this->nmgp_cmp_readonly['group_id_'])) { $this->nmgp_cmp_readonly['group_id_'] = 'on'; } foreach ($this->form_vert_sec_form_sec_groups as $sc_seq_vert => $sc_lixo) { $this->form_fixed_column_no = 0; $this->loadRecordState($sc_seq_vert); if (isset($this->Embutida_ronly) && $this->Embutida_ronly && !$Line_Add) { $this->nmgp_cmp_readonly['group_id_'] = true; $this->nmgp_cmp_readonly['description_'] = true; } elseif ($Line_Add) { if (!isset($this->nmgp_cmp_readonly['group_id_']) || $this->nmgp_cmp_readonly['group_id_'] != "on") {$this->nmgp_cmp_readonly['group_id_'] = false;} if (!isset($this->nmgp_cmp_readonly['description_']) || $this->nmgp_cmp_readonly['description_'] != "on") {$this->nmgp_cmp_readonly['description_'] = false;} } if (isset($this->form_vert_form_preenchimento[$sc_seq_vert])) { foreach ($this->form_vert_form_preenchimento[$sc_seq_vert] as $sCmpNome => $mCmpVal) { eval("\$this->" . $sCmpNome . " = \$mCmpVal;"); } } $this->group_id_ = $this->form_vert_sec_form_sec_groups[$sc_seq_vert]['group_id_']; $group_id_ = $this->group_id_; $sStyleHidden_group_id_ = ''; if (isset($sCheckRead_group_id_)) { unset($sCheckRead_group_id_); } if (isset($this->nmgp_cmp_readonly['group_id_'])) { $sCheckRead_group_id_ = $this->nmgp_cmp_readonly['group_id_']; } if (isset($this->nmgp_cmp_hidden['group_id_']) && $this->nmgp_cmp_hidden['group_id_'] == 'off') { unset($this->nmgp_cmp_hidden['group_id_']); $sStyleHidden_group_id_ = 'display: none;'; } $bTestReadOnly_group_id_ = true; $sStyleReadLab_group_id_ = 'display: none;'; $sStyleReadInp_group_id_ = ''; if (/*($this->nmgp_opcao != "novo" && $this->nmgp_opc_ant != "incluir") || */(isset($this->nmgp_cmp_readonly["group_id_"]) && $this->nmgp_cmp_readonly["group_id_"] == "on")) { $bTestReadOnly_group_id_ = false; unset($this->nmgp_cmp_readonly['group_id_']); $sStyleReadLab_group_id_ = ''; $sStyleReadInp_group_id_ = 'display: none;'; } $this->description_ = $this->form_vert_sec_form_sec_groups[$sc_seq_vert]['description_']; $description_ = $this->description_; $sStyleHidden_description_ = ''; if (isset($sCheckRead_description_)) { unset($sCheckRead_description_); } if (isset($this->nmgp_cmp_readonly['description_'])) { $sCheckRead_description_ = $this->nmgp_cmp_readonly['description_']; } if (isset($this->nmgp_cmp_hidden['description_']) && $this->nmgp_cmp_hidden['description_'] == 'off') { unset($this->nmgp_cmp_hidden['description_']); $sStyleHidden_description_ = 'display: none;'; } $bTestReadOnly_description_ = true; $sStyleReadLab_description_ = 'display: none;'; $sStyleReadInp_description_ = ''; if (isset($this->nmgp_cmp_readonly['description_']) && $this->nmgp_cmp_readonly['description_'] == 'on') { $bTestReadOnly_description_ = false; unset($this->nmgp_cmp_readonly['description_']); $sStyleReadLab_description_ = ''; $sStyleReadInp_description_ = 'display: none;'; } $nm_cor_fun_vert = (isset($nm_cor_fun_vert) && $nm_cor_fun_vert == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar); $nm_img_fun_cel = (isset($nm_img_fun_cel) && $nm_img_fun_cel == $this->Ini->img_fun_imp ? $this->Ini->img_fun_par : $this->Ini->img_fun_imp); $sHideNewLine = ''; ?> class="sc-row" data-sc-row-number=""> Embutida_form && $this->nmgp_opcao != "novo" && $this->nmgp_botoes['delete'] == "on") {?> Embutida_form && $this->nmgp_opcao == "novo") {?> Embutida_form) {?> nmgp_cmp_hidden['group_id_']) && $this->nmgp_cmp_hidden['group_id_'] == 'off') { $sc_hidden_yes++; ?> "; ?> Embutida_form) && $this->Embutida_form) || ($this->nmgp_opcao != "novo" && $this->nmgp_opc_ant != "incluir")) { ?> nmgp_cmp_hidden['description_']) && $this->nmgp_cmp_hidden['description_'] == 'off') { $sc_hidden_yes++; ?> "; ?> nmgp_cmp_readonly['group_id_'] = $sCheckRead_group_id_; } if ('display: none;' == $sStyleHidden_group_id_) { $this->nmgp_cmp_hidden['group_id_'] = 'off'; } if (isset($sCheckRead_description_)) { $this->nmgp_cmp_readonly['description_'] = $sCheckRead_description_; } if ('display: none;' == $sStyleHidden_description_) { $this->nmgp_cmp_hidden['description_'] = 'off'; } } if ($Line_Add) { $this->New_Line = ob_get_contents(); ob_end_clean(); $this->nmgp_opcao = $guarda_nmgp_opcao; $this->form_vert_sec_form_sec_groups = $guarda_form_vert_sec_form_sec_groups; } if ($Table_refresh) { $this->Table_refresh = ob_get_contents(); ob_end_clean(); } } function Form_Fim() { global $sc_seq_vert, $opcao_botoes, $nm_url_saida; ?>
   
onclick="if (this.checked) {sc_quant_excl++; } else {sc_quant_excl--; }" class="sc-js-input" alt="{type: 'checkbox', enterTab: false}"> nm_todas_criticas)) { echo " checked ";} ?> class="sc-js-input" alt="{type: 'checkbox', enterTab: false}"> nmgp_opcao != "novo") { if ($this->nmgp_botoes['delete'] == "off") { $sDisplayDelete = 'display: none'; } else { $sDisplayDelete = ''; } ?> arr_buttons, "bmd_excluir", "nm_atualiza_line('excluir', " . $sc_seq_vert . ")", "nm_atualiza_line('excluir', " . $sc_seq_vert . ")", "sc_exc_line_" . $sc_seq_vert . "", "", "", "" . $sDisplayDelete. "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?> nmgp_opcao != "novo") { if ($this->nmgp_botoes['update'] == "off") { $sDisplayUpdate = 'display: none'; } else { $sDisplayUpdate = ''; } if ($this->Embutida_ronly) { ?> arr_buttons, "bmd_edit", "mdOpenLine(" . $sc_seq_vert . ")", "mdOpenLine(" . $sc_seq_vert . ")", "sc_open_line_" . $sc_seq_vert . "", "", "", "" . $sDisplayUpdate. "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?> arr_buttons, "bmd_alterar", "findPos(this); nm_atualiza_line('alterar', " . $sc_seq_vert . ")", "findPos(this); nm_atualiza_line('alterar', " . $sc_seq_vert . ")", "sc_upd_line_" . $sc_seq_vert . "", "", "", "" . $sButDisp. "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?> nmgp_botoes['insert'] == "on" && $this->nmgp_opcao == "novo") {?> arr_buttons, "bmd_incluir", "findPos(this); nm_atualiza_line('incluir', " . $sc_seq_vert . ")", "findPos(this); nm_atualiza_line('incluir', " . $sc_seq_vert . ")", "sc_ins_line_" . $sc_seq_vert . "", "", "", "display: ''", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?> nmgp_botoes['delete'] == "on") {?> arr_buttons, "bmd_excluir", "nm_atualiza_line('excluir', " . $sc_seq_vert . ")", "nm_atualiza_line('excluir', " . $sc_seq_vert . ")", "sc_exc_line_" . $sc_seq_vert . "", "", "", "display: none", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?> Embutida_ronly) {?> arr_buttons, "bmd_edit", "mdOpenLine(" . $sc_seq_vert . ")", "mdOpenLine(" . $sc_seq_vert . ")", "sc_open_line_" . $sc_seq_vert . "", "", "", "display: none", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?> nmgp_botoes['update'] == "on") {?> arr_buttons, "bmd_alterar", "findPos(this); nm_atualiza_line('alterar', " . $sc_seq_vert . ")", "findPos(this); nm_atualiza_line('alterar', " . $sc_seq_vert . ")", "sc_upd_line_" . $sc_seq_vert . "", "", "", "display: none", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?> nmgp_botoes['insert'] == "on") {?> arr_buttons, "bmd_novo", "do_ajax_sec_form_sec_groups_add_new_line(" . $sc_seq_vert . ")", "do_ajax_sec_form_sec_groups_add_new_line(" . $sc_seq_vert . ")", "sc_new_line_" . $sc_seq_vert . "", "", "", "display: none", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?> arr_buttons, "bmd_cancelar", "do_ajax_sec_form_sec_groups_cancel_insert(" . $sc_seq_vert . ")", "do_ajax_sec_form_sec_groups_cancel_insert(" . $sc_seq_vert . ")", "sc_canceli_line_" . $sc_seq_vert . "", "", "", "" . $Style_add_line . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?> arr_buttons, "bmd_cancelar", "do_ajax_sec_form_sec_groups_cancel_update(" . $sc_seq_vert . ")", "do_ajax_sec_form_sec_groups_cancel_update(" . $sc_seq_vert . ")", "sc_cancelu_line_" . $sc_seq_vert . "", "", "", "display: none", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>
form_format_readonly("group_id_", $this->form_encode_input($this->group_id_)); ?>"?>
nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["description_"]) && $this->nmgp_cmp_readonly["description_"] == "on") { ?> " . $description_ . ""; ?> form_format_readonly("description_", $this->form_encode_input($this->description_)); ?> classes_100perc_fields['keep_field_size']) { echo "size=50"; } ?> maxlength=64 alt="{datatype: 'text', maxLength: 64, allowedChars: 'allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddMultWm', maskChars: '(){}[].,;:-+/ '}" >
Embutida_form ? $sc_seq_vert + 1 : $sc_seq_vert + 1; if ($sc_seq_vert < $this->sc_max_reg) { echo " "; } ?>
Ini->Nm_lang['lang_errm_empt']; ?>
Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']) { ?> Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']) && $_SESSION['sc_session'][$this->Ini->sc_page]['sec_form_sec_groups']['dashboard_info']['under_dashboard']) { } else { $sTamanhoIframe = isset($_GET['sc_ifr_height']) && '' != $_GET['sc_ifr_height'] ? '"' . $_GET['sc_ifr_height'] . '"' : '$(document).innerHeight()'; ?> NM_ajax_info['displayMsg']) && $this->NM_ajax_info['displayMsg']) { $isToast = isset($this->NM_ajax_info['displayMsgToast']) && $this->NM_ajax_info['displayMsgToast'] ? 'true' : 'false'; $toastType = $isToast && isset($this->NM_ajax_info['displayMsgToastType']) ? $this->NM_ajax_info['displayMsgToastType'] : ''; ?> scFormFocusErrorName) && '' != $this->scFormFocusErrorName) { ?> nmgp_form_empty) { ?> Ini->sc_page]['sec_form_sec_groups']['buttonStatus'] = $this->nmgp_botoes; ?>