/home/suroeste/public_html/gorbus.transportessuroeste.com/suroeste/form_rutas
NameSizeModeActions
form_rutas.htm1250644editdlrm
form_rutas.php580644editdlrm
form_rutas_apl.php3051070644editdlrm
form_rutas_doc_name.php160970644editdlrm
form_rutas_empty.htm1930644editdlrm
form_rutas_erro.class.php16110644editdlrm
form_rutas_erro.php105720644editdlrm
form_rutas_fim.php103110644editdlrm
form_rutas_form0.php1787020644editdlrm
form_rutas_jquery.php353110644editdlrm
form_rutas_js0.php168620644editdlrm
form_rutas_json.php370280644editdlrm
form_rutas_ltr.css24770644editdlrm
form_rutas_rtl.css6630644editdlrm
form_rutas_sajax.php178970644editdlrm
form_rutas_sajax_js.php1737360644editdlrm
form_rutas_session.php30650644editdlrm
form_rutas_teste.php460644editdlrm
form_rutas_ul_save.php40760644editdlrm
index.php1774390644editdlrm
Edit: /home/suroeste/public_html/gorbus.transportessuroeste.com/suroeste/form_rutas/form_rutas_form0.php (178702B)
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"); ?> > <?php if ('novo' == $this->nmgp_opcao) { echo strip_tags("" . $this->Ini->Nm_lang['lang_othr_frmi_title'] . " rutas"); } else { echo strip_tags("" . $this->Ini->Nm_lang['lang_othr_frmu_title'] . " rutas"); } ?> $forced_mobile, 'appType' => 'form', 'improvements' => true, 'displayOptionsButton' => false, 'displayScrollUp' => true, 'scrollUpPosition' => 'A', 'toolbarOrientation' => 'H', 'mobilePanes' => 'true', 'navigationBarButtons' => unserialize('a:0:{}'), 'mobileSimpleToolbar' => true, 'bottomToolbarFixed' => true ]); ?> Ini->tippy_themes as $tippyTheme => $tippyThemeInfo) { ?> Ini->sc_page]['form_rutas']['link_info']['margin_top']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['link_info']['margin_top']) { ?> Ini->sc_page]['form_rutas']['embutida_pdf'])) { ?> Ini->str_google_fonts) && !empty($this->Ini->str_google_fonts)) { ?> Ini->str_schema_all . "_tab.php"); } ?> Ini->sc_page]['form_rutas']['run_iframe'] || 'R' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['opc_ant'] = "novo"; $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['recarga'] = "novo"; } if (empty($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['recarga'])) { $opcao_botoes = $this->nmgp_opcao; } else { $opcao_botoes = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['recarga']; } if ('novo' == $opcao_botoes && $this->Embutida_form) { $opcao_botoes = 'inicio'; } $remove_margin = isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['remove_margin']) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['remove_margin'] ? 'margin: 0; ' : ''; $remove_border = isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['remove_border']) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['remove_border'] ? 'border-width: 0; ' : ''; $remove_background = isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['remove_background']) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['remove_background'] ? 'background-color: transparent; background-image: none; ' : ''; if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['link_info']['remove_margin']) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['link_info']['remove_margin']) { $remove_margin = 'margin: 0; '; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['link_info']['remove_background']) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['link_info']['remove_border']) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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']['form_rutas'] = '' != $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]['form_rutas']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "R") { ?> Embutida_form) { $sCondStyle = ($this->nmgp_botoes['new'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['form_rutas']['btn_disabled']['new']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['new']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['new']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['new']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['new']; } ?> arr_buttons, "bnovo", "scBtnFn_sys_format_inc()", "scBtnFn_sys_format_inc()", "sc_b_new_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Ctrl + Enter)", "" . $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]['form_rutas']['btn_disabled']['new']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['new']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['new']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['new']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['new']; } ?> arr_buttons, "bnovo", "scBtnFn_sys_format_inc()", "scBtnFn_sys_format_inc()", "sc_b_new_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Ctrl + Enter)", "" . $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]['form_rutas']['btn_disabled']['insert']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['insert']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['insert']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['insert']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['insert']; } ?> arr_buttons, "bincluir", "scBtnFn_sys_format_inc()", "scBtnFn_sys_format_inc()", "sc_b_ins_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Ctrl + Enter)", "" . $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]['form_rutas']['btn_disabled']['bcancelar']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['bcancelar']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['bcancelar']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['bcancelar']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['bcancelar']; } ?> arr_buttons, "bcancelar", "scBtnFn_sys_format_cnl()", "scBtnFn_sys_format_cnl()", "sc_b_sai_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Escape)", "" . $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]['form_rutas']['btn_disabled']['update']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['update']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['update']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['update']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['update']; } ?> arr_buttons, "balterar", "scBtnFn_sys_format_alt()", "scBtnFn_sys_format_alt()", "sc_b_upd_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Ctrl + S)", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> nmgp_botoes['reload'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['form_rutas']['btn_disabled']['breload']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['breload']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['breload']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['breload']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['breload']; } ?> arr_buttons, "breload", "scBtnFn_sys_format_reload()", "scBtnFn_sys_format_reload()", "sc_b_reload_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> url_webhelp) { $sCondStyle = ''; ?> Ini->sc_page]['form_rutas']['btn_disabled']['help']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['help']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['help']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['help']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['help']; } ?> arr_buttons, "bhelp", "scBtnFn_sys_format_hlp()", "scBtnFn_sys_format_hlp()", "sc_b_hlp_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (F1)", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> nm_Start_new) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "R") && (!$this->Embutida_call) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['run_iframe'] == "F" || $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] == "R") && (!$this->Embutida_call) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['under_dashboard']))) { $sCondStyle = ($this->nm_flag_saida_novo == "S" && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['form_rutas']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "R" && !$this->aba_iframe && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['form_rutas']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']; } ?> arr_buttons, "bsair", "scBtnFn_sys_format_sai()", "scBtnFn_sys_format_sai()", "sc_b_sai_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Alt + Q)", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> Embutida_call) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['run_iframe'] == "F" || $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] == "R" || $this->aba_iframe || $this->nmgp_botoes['exit'] != "on") && ($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F" && $this->nmgp_botoes['exit'] == "on") && ($nm_apl_dependente == 1 && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['form_rutas']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['run_iframe'] == "F" || $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] == "R" || $this->aba_iframe || $this->nmgp_botoes['exit'] != "on") && ($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['exit']; } ?> arr_buttons, "bsair", "scBtnFn_sys_format_sai()", "scBtnFn_sys_format_sai()", "sc_b_sai_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Alt + Q)", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['where_filter'])) { $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['empty_filter'] = true; } echo "
"; } ?>
form_fixed_column_no = 0; ?> Embutida_form) { $classColFld = " sc-col-fld sc-col-fld-" . $this->form_fixed_column_no; $classColActions = " sc-col-actions"; } ?> Embutida_form) { $this->form_fixed_column_no++; } ?> Embutida_form && ($this->nmgp_opcao == 'novo' || ($this->nmgp_botoes['delete'] == "on" || $this->nmgp_botoes['update'] == "on"))) { $classColFld = " sc-col-fld sc-col-fld-" . $this->form_fixed_column_no; $classColActions = " sc-col-actions"; ?> form_fixed_column_no++; } ?> Embutida_form && $this->nmgp_botoes['insert'] == "on") { $classColFld = " sc-col-fld sc-col-fld-" . $this->form_fixed_column_no; $classColActions = " sc-col-actions"; ?> form_fixed_column_no++; }?> Embutida_form && $this->nmgp_botoes['insert'] != "on") { $classColFld = " sc-col-fld sc-col-fld-" . $this->form_fixed_column_no; $classColActions = " sc-col-actions"; ?> form_fixed_column_no++; }?> Embutida_form && $this->nmgp_opcao != "novo" && $this->nmgp_botoes['delete'] == "on") { ?> Embutida_form && $this->nmgp_opcao == "novo") { ?> nmgp_cmp_hidden['nomruta_']) && $this->nmgp_cmp_hidden['nomruta_'] == 'off') { $sStyleHidden_nomruta_ = 'display: none'; } if (1 || !isset($this->nmgp_cmp_hidden['nomruta_']) || $this->nmgp_cmp_hidden['nomruta_'] == 'on') { if (!isset($this->nm_new_label['nomruta_'])) { $this->nm_new_label['nomruta_'] = "Ruta"; } $SC_Label = "" . $this->nm_new_label['nomruta_'] . ""; $label_fieldName = nl2br($SC_Label); // label & order $divLabelStyle = '; justify-content: left'; $label_fieldName .= " * "; $fieldSortRule = $this->scGetColumnOrderRule("nomruta", $orderColName, $orderColOrient, $orderColRule); $fieldSortIcon = $this->scGetColumnOrderIcon("nomruta", $fieldSortRule); if (empty($this->Ini->Label_sort_pos)) { $this->Ini->Label_sort_pos = "right_field"; } if (empty($fieldSortIcon)) { $label_labelContent = "
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_field') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_field') { $label_labelContent = "
" . $fieldSortIcon . "\
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_cell') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_cell') { $label_labelContent = "
" . $fieldSortIcon . "
" . $label_fieldName . "
"; } else { $label_labelContent = "
" . $label_fieldName . "
"; } $label_labelContent = "" . $label_labelContent . ""; $label_divLabel = "
". $label_labelContent . "
"; // controls $label_fixedColumn = "form_fixed_column_no . " sc-op-fix-col-notfixed\" data-fixcolid=\"" . $this->form_fixed_column_no . "\" id=\"sc-fld-fix-col-" . $this->form_fixed_column_no . "\">"; $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++; } ?> nmgp_cmp_hidden['idoficina_']) && $this->nmgp_cmp_hidden['idoficina_'] == 'off') { $sStyleHidden_idoficina_ = 'display: none'; } if (1 || !isset($this->nmgp_cmp_hidden['idoficina_']) || $this->nmgp_cmp_hidden['idoficina_'] == 'on') { if (!isset($this->nm_new_label['idoficina_'])) { $this->nm_new_label['idoficina_'] = "Oficina"; } $SC_Label = "" . $this->nm_new_label['idoficina_'] . ""; $label_fieldName = nl2br($SC_Label); // label & order $divLabelStyle = '; justify-content: left'; $label_fieldName .= " * "; $fieldSortRule = $this->scGetColumnOrderRule("idoficina", $orderColName, $orderColOrient, $orderColRule); $fieldSortIcon = $this->scGetColumnOrderIcon("idoficina", $fieldSortRule); if (empty($this->Ini->Label_sort_pos)) { $this->Ini->Label_sort_pos = "right_field"; } if (empty($fieldSortIcon)) { $label_labelContent = "
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_field') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_field') { $label_labelContent = "
" . $fieldSortIcon . "\
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_cell') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_cell') { $label_labelContent = "
" . $fieldSortIcon . "
" . $label_fieldName . "
"; } else { $label_labelContent = "
" . $label_fieldName . "
"; } $label_labelContent = "" . $label_labelContent . ""; $label_divLabel = "
". $label_labelContent . "
"; // controls $label_fixedColumn = "form_fixed_column_no . " sc-op-fix-col-notfixed\" data-fixcolid=\"" . $this->form_fixed_column_no . "\" id=\"sc-fld-fix-col-" . $this->form_fixed_column_no . "\">"; $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++; } ?> nmgp_cmp_hidden['codigoterminal_']) && $this->nmgp_cmp_hidden['codigoterminal_'] == 'off') { $sStyleHidden_codigoterminal_ = 'display: none'; } if (1 || !isset($this->nmgp_cmp_hidden['codigoterminal_']) || $this->nmgp_cmp_hidden['codigoterminal_'] == 'on') { if (!isset($this->nm_new_label['codigoterminal_'])) { $this->nm_new_label['codigoterminal_'] = "Código Terminal"; } $SC_Label = "" . $this->nm_new_label['codigoterminal_'] . ""; $label_fieldName = nl2br($SC_Label); // label & order $divLabelStyle = '; justify-content: left'; $fieldSortRule = $this->scGetColumnOrderRule("codigoterminal", $orderColName, $orderColOrient, $orderColRule); $fieldSortIcon = $this->scGetColumnOrderIcon("codigoterminal", $fieldSortRule); if (empty($this->Ini->Label_sort_pos)) { $this->Ini->Label_sort_pos = "right_field"; } if (empty($fieldSortIcon)) { $label_labelContent = "
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_field') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_field') { $label_labelContent = "
" . $fieldSortIcon . "\
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_cell') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_cell') { $label_labelContent = "
" . $fieldSortIcon . "
" . $label_fieldName . "
"; } else { $label_labelContent = "
" . $label_fieldName . "
"; } $label_labelContent = "" . $label_labelContent . ""; $label_divLabel = "
". $label_labelContent . "
"; // controls $label_fixedColumn = "form_fixed_column_no . " sc-op-fix-col-notfixed\" data-fixcolid=\"" . $this->form_fixed_column_no . "\" id=\"sc-fld-fix-col-" . $this->form_fixed_column_no . "\">"; $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++; } ?> nmgp_cmp_hidden['codruta_']) && $this->nmgp_cmp_hidden['codruta_'] == 'off') { $sStyleHidden_codruta_ = 'display: none'; } if (1 || !isset($this->nmgp_cmp_hidden['codruta_']) || $this->nmgp_cmp_hidden['codruta_'] == 'on') { if (!isset($this->nm_new_label['codruta_'])) { $this->nm_new_label['codruta_'] = "Código M.T"; } $SC_Label = "" . $this->nm_new_label['codruta_'] . ""; $label_fieldName = nl2br($SC_Label); // label & order $divLabelStyle = '; justify-content: left'; $fieldSortRule = $this->scGetColumnOrderRule("codruta", $orderColName, $orderColOrient, $orderColRule); $fieldSortIcon = $this->scGetColumnOrderIcon("codruta", $fieldSortRule); if (empty($this->Ini->Label_sort_pos)) { $this->Ini->Label_sort_pos = "right_field"; } if (empty($fieldSortIcon)) { $label_labelContent = "
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_field') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_field') { $label_labelContent = "
" . $fieldSortIcon . "\
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_cell') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_cell') { $label_labelContent = "
" . $fieldSortIcon . "
" . $label_fieldName . "
"; } else { $label_labelContent = "
" . $label_fieldName . "
"; } $label_labelContent = "" . $label_labelContent . ""; $label_divLabel = "
". $label_labelContent . "
"; // controls $label_fixedColumn = "form_fixed_column_no . " sc-op-fix-col-notfixed\" data-fixcolid=\"" . $this->form_fixed_column_no . "\" id=\"sc-fld-fix-col-" . $this->form_fixed_column_no . "\">"; $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++; } ?> nmgp_cmp_hidden['origen_']) && $this->nmgp_cmp_hidden['origen_'] == 'off') { $sStyleHidden_origen_ = 'display: none'; } if (1 || !isset($this->nmgp_cmp_hidden['origen_']) || $this->nmgp_cmp_hidden['origen_'] == 'on') { if (!isset($this->nm_new_label['origen_'])) { $this->nm_new_label['origen_'] = "Origen"; } $SC_Label = "" . $this->nm_new_label['origen_'] . ""; $label_fieldName = nl2br($SC_Label); // label & order $divLabelStyle = '; justify-content: left'; $label_fieldName .= " * "; $fieldSortRule = $this->scGetColumnOrderRule("origen", $orderColName, $orderColOrient, $orderColRule); $fieldSortIcon = $this->scGetColumnOrderIcon("origen", $fieldSortRule); if (empty($this->Ini->Label_sort_pos)) { $this->Ini->Label_sort_pos = "right_field"; } if (empty($fieldSortIcon)) { $label_labelContent = "
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_field') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_field') { $label_labelContent = "
" . $fieldSortIcon . "\
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_cell') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_cell') { $label_labelContent = "
" . $fieldSortIcon . "
" . $label_fieldName . "
"; } else { $label_labelContent = "
" . $label_fieldName . "
"; } $label_labelContent = "" . $label_labelContent . ""; $label_divLabel = "
". $label_labelContent . "
"; // controls $label_fixedColumn = "form_fixed_column_no . " sc-op-fix-col-notfixed\" data-fixcolid=\"" . $this->form_fixed_column_no . "\" id=\"sc-fld-fix-col-" . $this->form_fixed_column_no . "\">"; $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++; } ?> nmgp_cmp_hidden['destino_']) && $this->nmgp_cmp_hidden['destino_'] == 'off') { $sStyleHidden_destino_ = 'display: none'; } if (1 || !isset($this->nmgp_cmp_hidden['destino_']) || $this->nmgp_cmp_hidden['destino_'] == 'on') { if (!isset($this->nm_new_label['destino_'])) { $this->nm_new_label['destino_'] = "Destino"; } $SC_Label = "" . $this->nm_new_label['destino_'] . ""; $label_fieldName = nl2br($SC_Label); // label & order $divLabelStyle = '; justify-content: left'; $label_fieldName .= " * "; $fieldSortRule = $this->scGetColumnOrderRule("destino", $orderColName, $orderColOrient, $orderColRule); $fieldSortIcon = $this->scGetColumnOrderIcon("destino", $fieldSortRule); if (empty($this->Ini->Label_sort_pos)) { $this->Ini->Label_sort_pos = "right_field"; } if (empty($fieldSortIcon)) { $label_labelContent = "
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_field') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_field') { $label_labelContent = "
" . $fieldSortIcon . "\
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_cell') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_cell') { $label_labelContent = "
" . $fieldSortIcon . "
" . $label_fieldName . "
"; } else { $label_labelContent = "
" . $label_fieldName . "
"; } $label_labelContent = "" . $label_labelContent . ""; $label_divLabel = "
". $label_labelContent . "
"; // controls $label_fixedColumn = "form_fixed_column_no . " sc-op-fix-col-notfixed\" data-fixcolid=\"" . $this->form_fixed_column_no . "\" id=\"sc-fld-fix-col-" . $this->form_fixed_column_no . "\">"; $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++; } ?> nmgp_cmp_hidden['activo_']) && $this->nmgp_cmp_hidden['activo_'] == 'off') { $sStyleHidden_activo_ = 'display: none'; } if (1 || !isset($this->nmgp_cmp_hidden['activo_']) || $this->nmgp_cmp_hidden['activo_'] == 'on') { if (!isset($this->nm_new_label['activo_'])) { $this->nm_new_label['activo_'] = "Activa"; } $SC_Label = "" . $this->nm_new_label['activo_'] . ""; $label_fieldName = nl2br($SC_Label); // label & order $divLabelStyle = '; justify-content: left'; $label_fieldName .= " * "; $fieldSortRule = $this->scGetColumnOrderRule("activo", $orderColName, $orderColOrient, $orderColRule); $fieldSortIcon = $this->scGetColumnOrderIcon("activo", $fieldSortRule); if (empty($this->Ini->Label_sort_pos)) { $this->Ini->Label_sort_pos = "right_field"; } if (empty($fieldSortIcon)) { $label_labelContent = "
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_field') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_field') { $label_labelContent = "
" . $fieldSortIcon . "\
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_cell') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_cell') { $label_labelContent = "
" . $fieldSortIcon . "
" . $label_fieldName . "
"; } else { $label_labelContent = "
" . $label_fieldName . "
"; } $label_labelContent = "" . $label_labelContent . ""; $label_divLabel = "
". $label_labelContent . "
"; // controls $label_fixedColumn = "form_fixed_column_no . " sc-op-fix-col-notfixed\" data-fixcolid=\"" . $this->form_fixed_column_no . "\" id=\"sc-fld-fix-col-" . $this->form_fixed_column_no . "\">"; $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++; } ?> nmgp_cmp_hidden['enviodian_']) && $this->nmgp_cmp_hidden['enviodian_'] == 'off') { $sStyleHidden_enviodian_ = 'display: none'; } if (1 || !isset($this->nmgp_cmp_hidden['enviodian_']) || $this->nmgp_cmp_hidden['enviodian_'] == 'on') { if (!isset($this->nm_new_label['enviodian_'])) { $this->nm_new_label['enviodian_'] = "Enviodian"; } $SC_Label = "" . $this->nm_new_label['enviodian_'] . ""; $label_fieldName = nl2br($SC_Label); // label & order $divLabelStyle = '; justify-content: left'; $fieldSortRule = $this->scGetColumnOrderRule("enviodian", $orderColName, $orderColOrient, $orderColRule); $fieldSortIcon = $this->scGetColumnOrderIcon("enviodian", $fieldSortRule); if (empty($this->Ini->Label_sort_pos)) { $this->Ini->Label_sort_pos = "right_field"; } if (empty($fieldSortIcon)) { $label_labelContent = "
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_field') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_field') { $label_labelContent = "
" . $fieldSortIcon . "\
" . $label_fieldName . "
"; } elseif ($this->Ini->Label_sort_pos == 'right_cell') { $label_labelContent = "
" . $label_fieldName . "
" . $fieldSortIcon . "
"; } elseif ($this->Ini->Label_sort_pos == 'left_cell') { $label_labelContent = "
" . $fieldSortIcon . "
" . $label_fieldName . "
"; } else { $label_labelContent = "
" . $label_fieldName . "
"; } $label_labelContent = "" . $label_labelContent . ""; $label_divLabel = "
". $label_labelContent . "
"; // controls $label_fixedColumn = "form_fixed_column_no . " sc-op-fix-col-notfixed\" data-fixcolid=\"" . $this->form_fixed_column_no . "\" id=\"sc-fld-fix-col-" . $this->form_fixed_column_no . "\">"; $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_form_rutas); $guarda_nmgp_opcao = $this->nmgp_opcao; $guarda_form_vert_form_rutas = $this->form_vert_form_rutas; $this->nmgp_opcao = 'novo'; } if ($this->Embutida_form && empty($this->form_vert_form_rutas)) { $sc_seq_vert = 0; } foreach ($this->form_vert_form_rutas as $sc_seq_vert => $sc_lixo) { $this->form_fixed_column_no = 0; $this->loadRecordState($sc_seq_vert); $this->idruta_ = $this->form_vert_form_rutas[$sc_seq_vert]['idruta_']; $this->codempresa_ = $this->form_vert_form_rutas[$sc_seq_vert]['codempresa_']; if (isset($this->Embutida_ronly) && $this->Embutida_ronly && !$Line_Add) { $this->nmgp_cmp_readonly['nomruta_'] = true; $this->nmgp_cmp_readonly['idoficina_'] = true; $this->nmgp_cmp_readonly['codigoterminal_'] = true; $this->nmgp_cmp_readonly['codruta_'] = true; $this->nmgp_cmp_readonly['origen_'] = true; $this->nmgp_cmp_readonly['destino_'] = true; $this->nmgp_cmp_readonly['activo_'] = true; $this->nmgp_cmp_readonly['enviodian_'] = true; } elseif ($Line_Add) { if (!isset($this->nmgp_cmp_readonly['nomruta_']) || $this->nmgp_cmp_readonly['nomruta_'] != "on") {$this->nmgp_cmp_readonly['nomruta_'] = false;} if (!isset($this->nmgp_cmp_readonly['idoficina_']) || $this->nmgp_cmp_readonly['idoficina_'] != "on") {$this->nmgp_cmp_readonly['idoficina_'] = false;} if (!isset($this->nmgp_cmp_readonly['codigoterminal_']) || $this->nmgp_cmp_readonly['codigoterminal_'] != "on") {$this->nmgp_cmp_readonly['codigoterminal_'] = false;} if (!isset($this->nmgp_cmp_readonly['codruta_']) || $this->nmgp_cmp_readonly['codruta_'] != "on") {$this->nmgp_cmp_readonly['codruta_'] = false;} if (!isset($this->nmgp_cmp_readonly['origen_']) || $this->nmgp_cmp_readonly['origen_'] != "on") {$this->nmgp_cmp_readonly['origen_'] = false;} if (!isset($this->nmgp_cmp_readonly['destino_']) || $this->nmgp_cmp_readonly['destino_'] != "on") {$this->nmgp_cmp_readonly['destino_'] = false;} if (!isset($this->nmgp_cmp_readonly['activo_']) || $this->nmgp_cmp_readonly['activo_'] != "on") {$this->nmgp_cmp_readonly['activo_'] = false;} if (!isset($this->nmgp_cmp_readonly['enviodian_']) || $this->nmgp_cmp_readonly['enviodian_'] != "on") {$this->nmgp_cmp_readonly['enviodian_'] = 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->nomruta_ = $this->form_vert_form_rutas[$sc_seq_vert]['nomruta_']; $nomruta_ = $this->nomruta_; $sStyleHidden_nomruta_ = ''; if (isset($sCheckRead_nomruta_)) { unset($sCheckRead_nomruta_); } if (isset($this->nmgp_cmp_readonly['nomruta_'])) { $sCheckRead_nomruta_ = $this->nmgp_cmp_readonly['nomruta_']; } if (isset($this->nmgp_cmp_hidden['nomruta_']) && $this->nmgp_cmp_hidden['nomruta_'] == 'off') { unset($this->nmgp_cmp_hidden['nomruta_']); $sStyleHidden_nomruta_ = 'display: none;'; } $bTestReadOnly_nomruta_ = true; $sStyleReadLab_nomruta_ = 'display: none;'; $sStyleReadInp_nomruta_ = ''; if (isset($this->nmgp_cmp_readonly['nomruta_']) && $this->nmgp_cmp_readonly['nomruta_'] == 'on') { $bTestReadOnly_nomruta_ = false; unset($this->nmgp_cmp_readonly['nomruta_']); $sStyleReadLab_nomruta_ = ''; $sStyleReadInp_nomruta_ = 'display: none;'; } $this->idoficina_ = $this->form_vert_form_rutas[$sc_seq_vert]['idoficina_']; $idoficina_ = $this->idoficina_; $sStyleHidden_idoficina_ = ''; if (isset($sCheckRead_idoficina_)) { unset($sCheckRead_idoficina_); } if (isset($this->nmgp_cmp_readonly['idoficina_'])) { $sCheckRead_idoficina_ = $this->nmgp_cmp_readonly['idoficina_']; } if (isset($this->nmgp_cmp_hidden['idoficina_']) && $this->nmgp_cmp_hidden['idoficina_'] == 'off') { unset($this->nmgp_cmp_hidden['idoficina_']); $sStyleHidden_idoficina_ = 'display: none;'; } $bTestReadOnly_idoficina_ = true; $sStyleReadLab_idoficina_ = 'display: none;'; $sStyleReadInp_idoficina_ = ''; if (isset($this->nmgp_cmp_readonly['idoficina_']) && $this->nmgp_cmp_readonly['idoficina_'] == 'on') { $bTestReadOnly_idoficina_ = false; unset($this->nmgp_cmp_readonly['idoficina_']); $sStyleReadLab_idoficina_ = ''; $sStyleReadInp_idoficina_ = 'display: none;'; } $this->codigoterminal_ = $this->form_vert_form_rutas[$sc_seq_vert]['codigoterminal_']; $codigoterminal_ = $this->codigoterminal_; $sStyleHidden_codigoterminal_ = ''; if (isset($sCheckRead_codigoterminal_)) { unset($sCheckRead_codigoterminal_); } if (isset($this->nmgp_cmp_readonly['codigoterminal_'])) { $sCheckRead_codigoterminal_ = $this->nmgp_cmp_readonly['codigoterminal_']; } if (isset($this->nmgp_cmp_hidden['codigoterminal_']) && $this->nmgp_cmp_hidden['codigoterminal_'] == 'off') { unset($this->nmgp_cmp_hidden['codigoterminal_']); $sStyleHidden_codigoterminal_ = 'display: none;'; } $bTestReadOnly_codigoterminal_ = true; $sStyleReadLab_codigoterminal_ = 'display: none;'; $sStyleReadInp_codigoterminal_ = ''; if (isset($this->nmgp_cmp_readonly['codigoterminal_']) && $this->nmgp_cmp_readonly['codigoterminal_'] == 'on') { $bTestReadOnly_codigoterminal_ = false; unset($this->nmgp_cmp_readonly['codigoterminal_']); $sStyleReadLab_codigoterminal_ = ''; $sStyleReadInp_codigoterminal_ = 'display: none;'; } $this->codruta_ = $this->form_vert_form_rutas[$sc_seq_vert]['codruta_']; $codruta_ = $this->codruta_; $sStyleHidden_codruta_ = ''; if (isset($sCheckRead_codruta_)) { unset($sCheckRead_codruta_); } if (isset($this->nmgp_cmp_readonly['codruta_'])) { $sCheckRead_codruta_ = $this->nmgp_cmp_readonly['codruta_']; } if (isset($this->nmgp_cmp_hidden['codruta_']) && $this->nmgp_cmp_hidden['codruta_'] == 'off') { unset($this->nmgp_cmp_hidden['codruta_']); $sStyleHidden_codruta_ = 'display: none;'; } $bTestReadOnly_codruta_ = true; $sStyleReadLab_codruta_ = 'display: none;'; $sStyleReadInp_codruta_ = ''; if (isset($this->nmgp_cmp_readonly['codruta_']) && $this->nmgp_cmp_readonly['codruta_'] == 'on') { $bTestReadOnly_codruta_ = false; unset($this->nmgp_cmp_readonly['codruta_']); $sStyleReadLab_codruta_ = ''; $sStyleReadInp_codruta_ = 'display: none;'; } $this->origen_ = $this->form_vert_form_rutas[$sc_seq_vert]['origen_']; $origen_ = $this->origen_; $sStyleHidden_origen_ = ''; if (isset($sCheckRead_origen_)) { unset($sCheckRead_origen_); } if (isset($this->nmgp_cmp_readonly['origen_'])) { $sCheckRead_origen_ = $this->nmgp_cmp_readonly['origen_']; } if (isset($this->nmgp_cmp_hidden['origen_']) && $this->nmgp_cmp_hidden['origen_'] == 'off') { unset($this->nmgp_cmp_hidden['origen_']); $sStyleHidden_origen_ = 'display: none;'; } $bTestReadOnly_origen_ = true; $sStyleReadLab_origen_ = 'display: none;'; $sStyleReadInp_origen_ = ''; if (isset($this->nmgp_cmp_readonly['origen_']) && $this->nmgp_cmp_readonly['origen_'] == 'on') { $bTestReadOnly_origen_ = false; unset($this->nmgp_cmp_readonly['origen_']); $sStyleReadLab_origen_ = ''; $sStyleReadInp_origen_ = 'display: none;'; } $this->destino_ = $this->form_vert_form_rutas[$sc_seq_vert]['destino_']; $destino_ = $this->destino_; $sStyleHidden_destino_ = ''; if (isset($sCheckRead_destino_)) { unset($sCheckRead_destino_); } if (isset($this->nmgp_cmp_readonly['destino_'])) { $sCheckRead_destino_ = $this->nmgp_cmp_readonly['destino_']; } if (isset($this->nmgp_cmp_hidden['destino_']) && $this->nmgp_cmp_hidden['destino_'] == 'off') { unset($this->nmgp_cmp_hidden['destino_']); $sStyleHidden_destino_ = 'display: none;'; } $bTestReadOnly_destino_ = true; $sStyleReadLab_destino_ = 'display: none;'; $sStyleReadInp_destino_ = ''; if (isset($this->nmgp_cmp_readonly['destino_']) && $this->nmgp_cmp_readonly['destino_'] == 'on') { $bTestReadOnly_destino_ = false; unset($this->nmgp_cmp_readonly['destino_']); $sStyleReadLab_destino_ = ''; $sStyleReadInp_destino_ = 'display: none;'; } $this->activo_ = $this->form_vert_form_rutas[$sc_seq_vert]['activo_']; $activo_ = $this->activo_; $sStyleHidden_activo_ = ''; if (isset($sCheckRead_activo_)) { unset($sCheckRead_activo_); } if (isset($this->nmgp_cmp_readonly['activo_'])) { $sCheckRead_activo_ = $this->nmgp_cmp_readonly['activo_']; } if (isset($this->nmgp_cmp_hidden['activo_']) && $this->nmgp_cmp_hidden['activo_'] == 'off') { unset($this->nmgp_cmp_hidden['activo_']); $sStyleHidden_activo_ = 'display: none;'; } $bTestReadOnly_activo_ = true; $sStyleReadLab_activo_ = 'display: none;'; $sStyleReadInp_activo_ = ''; if (isset($this->nmgp_cmp_readonly['activo_']) && $this->nmgp_cmp_readonly['activo_'] == 'on') { $bTestReadOnly_activo_ = false; unset($this->nmgp_cmp_readonly['activo_']); $sStyleReadLab_activo_ = ''; $sStyleReadInp_activo_ = 'display: none;'; } $this->enviodian_ = $this->form_vert_form_rutas[$sc_seq_vert]['enviodian_']; $enviodian_ = $this->enviodian_; $sStyleHidden_enviodian_ = ''; if (isset($sCheckRead_enviodian_)) { unset($sCheckRead_enviodian_); } if (isset($this->nmgp_cmp_readonly['enviodian_'])) { $sCheckRead_enviodian_ = $this->nmgp_cmp_readonly['enviodian_']; } if (isset($this->nmgp_cmp_hidden['enviodian_']) && $this->nmgp_cmp_hidden['enviodian_'] == 'off') { unset($this->nmgp_cmp_hidden['enviodian_']); $sStyleHidden_enviodian_ = 'display: none;'; } $bTestReadOnly_enviodian_ = true; $sStyleReadLab_enviodian_ = 'display: none;'; $sStyleReadInp_enviodian_ = ''; if (isset($this->nmgp_cmp_readonly['enviodian_']) && $this->nmgp_cmp_readonly['enviodian_'] == 'on') { $bTestReadOnly_enviodian_ = false; unset($this->nmgp_cmp_readonly['enviodian_']); $sStyleReadLab_enviodian_ = ''; $sStyleReadInp_enviodian_ = '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) { $classColFld = " sc-col-fld sc-col-fld-" . $this->form_fixed_column_no; ?> form_fixed_column_no++; } ?> Embutida_form && $this->nmgp_opcao != "novo" && $this->nmgp_botoes['delete'] == "on") { $classColFld = " sc-col-fld sc-col-fld-" . $this->form_fixed_column_no; ?> form_fixed_column_no++; }?> Embutida_form && $this->nmgp_opcao == "novo") { $classColFld = " sc-col-fld sc-col-fld-" . $this->form_fixed_column_no; ?> form_fixed_column_no++; }?> Embutida_form) { $classColFld = " sc-col-fld sc-col-fld-" . $this->form_fixed_column_no; ?> form_fixed_column_no++; }?> nmgp_cmp_hidden['nomruta_']) && $this->nmgp_cmp_hidden['nomruta_'] == 'off') { $sc_hidden_yes++; ?> "; ?> form_fixed_column_no; ?> form_fixed_column_no++; ?> nmgp_cmp_hidden['idoficina_']) && $this->nmgp_cmp_hidden['idoficina_'] == 'off') { $sc_hidden_yes++; ?> "; ?> form_fixed_column_no; ?> form_fixed_column_no++; ?> nmgp_cmp_hidden['codigoterminal_']) && $this->nmgp_cmp_hidden['codigoterminal_'] == 'off') { $sc_hidden_yes++; ?> "; ?> form_fixed_column_no; ?> form_fixed_column_no++; ?> nmgp_cmp_hidden['codruta_']) && $this->nmgp_cmp_hidden['codruta_'] == 'off') { $sc_hidden_yes++; ?> "; ?> form_fixed_column_no; ?> form_fixed_column_no++; ?> nmgp_cmp_hidden['origen_']) && $this->nmgp_cmp_hidden['origen_'] == 'off') { $sc_hidden_yes++; ?> "; ?> form_fixed_column_no; ?> form_fixed_column_no++; ?> nmgp_cmp_hidden['destino_']) && $this->nmgp_cmp_hidden['destino_'] == 'off') { $sc_hidden_yes++; ?> "; ?> form_fixed_column_no; ?> form_fixed_column_no++; ?> nmgp_cmp_hidden['activo_']) && $this->nmgp_cmp_hidden['activo_'] == 'off') { $sc_hidden_yes++; ?> "; ?> form_fixed_column_no; ?> form_fixed_column_no++; ?> nmgp_cmp_hidden['enviodian_']) && $this->nmgp_cmp_hidden['enviodian_'] == 'off') { $sc_hidden_yes++; ?> "; ?> form_fixed_column_no; ?> form_fixed_column_no++; ?> nmgp_cmp_readonly['nomruta_'] = $sCheckRead_nomruta_; } if ('display: none;' == $sStyleHidden_nomruta_) { $this->nmgp_cmp_hidden['nomruta_'] = 'off'; } if (isset($sCheckRead_idoficina_)) { $this->nmgp_cmp_readonly['idoficina_'] = $sCheckRead_idoficina_; } if ('display: none;' == $sStyleHidden_idoficina_) { $this->nmgp_cmp_hidden['idoficina_'] = 'off'; } if (isset($sCheckRead_codigoterminal_)) { $this->nmgp_cmp_readonly['codigoterminal_'] = $sCheckRead_codigoterminal_; } if ('display: none;' == $sStyleHidden_codigoterminal_) { $this->nmgp_cmp_hidden['codigoterminal_'] = 'off'; } if (isset($sCheckRead_codruta_)) { $this->nmgp_cmp_readonly['codruta_'] = $sCheckRead_codruta_; } if ('display: none;' == $sStyleHidden_codruta_) { $this->nmgp_cmp_hidden['codruta_'] = 'off'; } if (isset($sCheckRead_origen_)) { $this->nmgp_cmp_readonly['origen_'] = $sCheckRead_origen_; } if ('display: none;' == $sStyleHidden_origen_) { $this->nmgp_cmp_hidden['origen_'] = 'off'; } if (isset($sCheckRead_destino_)) { $this->nmgp_cmp_readonly['destino_'] = $sCheckRead_destino_; } if ('display: none;' == $sStyleHidden_destino_) { $this->nmgp_cmp_hidden['destino_'] = 'off'; } if (isset($sCheckRead_activo_)) { $this->nmgp_cmp_readonly['activo_'] = $sCheckRead_activo_; } if ('display: none;' == $sStyleHidden_activo_) { $this->nmgp_cmp_hidden['activo_'] = 'off'; } if (isset($sCheckRead_enviodian_)) { $this->nmgp_cmp_readonly['enviodian_'] = $sCheckRead_enviodian_; } if ('display: none;' == $sStyleHidden_enviodian_) { $this->nmgp_cmp_hidden['enviodian_'] = 'off'; } } if ($Line_Add) { $this->New_Line = ob_get_contents(); ob_end_clean(); $this->nmgp_opcao = $guarda_nmgp_opcao; $this->form_vert_form_rutas = $guarda_form_vert_form_rutas; } 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_form_rutas_add_new_line(" . $sc_seq_vert . ")", "do_ajax_form_rutas_add_new_line(" . $sc_seq_vert . ")", "sc_new_line_" . $sc_seq_vert . "", "", "", "display: none", "", "", "", $this->Ini->path_botoes, "", "", "", "", "", '', '', '', '', '', '', '', '', "");?> arr_buttons, "bmd_cancelar", "do_ajax_form_rutas_cancel_insert(" . $sc_seq_vert . ")", "do_ajax_form_rutas_cancel_insert(" . $sc_seq_vert . ")", "sc_canceli_line_" . $sc_seq_vert . "", "", "", "" . $Style_add_line . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "", '', '', '', '', '', '', '', '', "");?> arr_buttons, "bmd_cancelar", "do_ajax_form_rutas_cancel_update(" . $sc_seq_vert . ")", "do_ajax_form_rutas_cancel_update(" . $sc_seq_vert . ")", "sc_cancelu_line_" . $sc_seq_vert . "", "", "", "display: none", "", "", "", $this->Ini->path_botoes, "", "", "", "", "", '', '', '', '', '', '', '', '', "");?>
nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["nomruta_"]) && $this->nmgp_cmp_readonly["nomruta_"] == "on") { ?> " . $nomruta_ . ""; ?> form_format_readonly("nomruta_", $this->form_encode_input($this->nomruta_)); ?> classes_100perc_fields['keep_field_size']) { echo "size=30"; } ?> maxlength=100 alt="{datatype: 'text', maxLength: 100, allowedChars: 'allowedCharsCharset("") ?>', lettersCase: 'upper', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddMultWm', maskChars: '(){}[].,;:-+/ '}" >
nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["idoficina_"]) && $this->nmgp_cmp_readonly["idoficina_"] == "on") { $nmgp_def_dados = "" ; if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['Lookup_idoficina_'])) { $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['Lookup_idoficina_'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['Lookup_idoficina_']); } else { $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['Lookup_idoficina_'] = array(); } $nm_nao_carga = false; $nmgp_def_dados = "" ; if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['Lookup_idoficina_'])) { $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['Lookup_idoficina_'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['Lookup_idoficina_']); } else { $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['Lookup_idoficina_'] = array(); } $nm_comando = "SELECT Idoficina, nomoficina FROM oficinas ORDER BY nomoficina"; $_SESSION['scriptcase']['sc_sql_ult_comando'] = $nm_comando; $_SESSION['scriptcase']['sc_sql_ult_conexao'] = ''; if ($nm_comando != "" && $rs = $this->Db->Execute($nm_comando)) { while (!$rs->EOF) { $rs->fields[0] = str_replace(',', '.', $rs->fields[0]); $rs->fields[0] = (strpos(strtolower($rs->fields[0]), "e")) ? (float)$rs->fields[0] : $rs->fields[0]; $rs->fields[0] = (string)$rs->fields[0]; $nmgp_def_dados .= $rs->fields[1] . "?#?" ; $nmgp_def_dados .= $rs->fields[0] . "?#?N?@?" ; $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['Lookup_idoficina_'][] = $rs->fields[0]; $rs->MoveNext() ; } $rs->Close() ; } elseif ($GLOBALS["NM_ERRO_IBASE"] != 1 && $nm_comando != "") { $this->Erro->mensagem(__FILE__, __LINE__, "banco", $this->Ini->Nm_lang['lang_errm_dber'], $this->Db->ErrorMsg()); exit; } $GLOBALS["NM_ERRO_IBASE"] = 0; $x = 0; $idoficina__look = ""; $todox = str_replace("?#?@?#?", "?#?@ ?#?", trim($nmgp_def_dados)) ; $todo = explode("?@?", $todox) ; while (!empty($todo[$x])) { $cadaselect = explode("?#?", $todo[$x]) ; if ($cadaselect[1] == "@ ") {$cadaselect[1]= trim($cadaselect[1]); } ; if (isset($this->Embutida_ronly) && $this->Embutida_ronly && isset($this->idoficina__1)) { foreach ($this->idoficina__1 as $tmp_idoficina_) { if (trim($tmp_idoficina_) === trim($cadaselect[1])) {$idoficina__look .= $cadaselect[0] . '__SC_BREAK_LINE__';} } } elseif (isset($cadaselect[1]) && is_string($this->idoficina_) && trim($this->idoficina_) === trim($cadaselect[1])) {$idoficina__look .= $cadaselect[0];} $x++; } ?> " . $idoficina__look . ""; ?> Form_lookup_idoficina_(); $x = 0 ; $idoficina__look = ""; while (!empty($todo[$x])) { $cadaselect = explode("?#?", $todo[$x]) ; if ($cadaselect[1] == "@ ") {$cadaselect[1]= trim($cadaselect[1]); } ; if (isset($this->Embutida_ronly) && $this->Embutida_ronly && isset($this->idoficina__1)) { foreach ($this->idoficina__1 as $tmp_idoficina_) { if (trim($tmp_idoficina_) === trim($cadaselect[1])) {$idoficina__look .= $cadaselect[0] . '__SC_BREAK_LINE__';} } } elseif (isset($cadaselect[1]) && is_string($this->idoficina_)) { if (trim($this->idoficina_) == trim($cadaselect[1])) { $idoficina__look .= $cadaselect[0]; } } elseif (isset($cadaselect[1]) && $this->idoficina_ == $cadaselect[1]) { $idoficina__look .= $cadaselect[0]; } $x++; } if (empty($idoficina__look)) { $idoficina__look = $this->idoficina_; } $x = 0; echo "" . $this->form_format_readonly("idoficina_", $this->form_encode_input($idoficina__look)) . "classes_100perc_fields['span_input'] . "\" style=\"white-space: nowrap; " . $sStyleReadInp_idoficina_ . "\">"; echo " classes_100perc_fields['span_select'] . "\">" ; echo "\r" ; echo ""; ?>
nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["codigoterminal_"]) && $this->nmgp_cmp_readonly["codigoterminal_"] == "on") { ?> " . $codigoterminal_ . ""; ?> form_format_readonly("codigoterminal_", $this->form_encode_input($this->codigoterminal_)); ?> classes_100perc_fields['keep_field_size']) { echo "size=4"; } ?> maxlength=10 alt="{datatype: 'text', maxLength: 10, allowedChars: 'allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddMultWm', maskChars: '(){}[].,;:-+/ '}" >
nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["codruta_"]) && $this->nmgp_cmp_readonly["codruta_"] == "on") { ?> " . $codruta_ . ""; ?> form_format_readonly("codruta_", $this->form_encode_input($this->codruta_)); ?> classes_100perc_fields['keep_field_size']) { echo "size=4"; } ?> maxlength=4 alt="{datatype: 'text', maxLength: 4, allowedChars: 'allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddMultWm', maskChars: '(){}[].,;:-+/ '}" >
nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["origen_"]) && $this->nmgp_cmp_readonly["origen_"] == "on") { ?> " . $origen_ . ""; ?> form_format_readonly("origen_", $this->form_encode_input($this->origen_)); ?> classes_100perc_fields['keep_field_size']) { echo "size=20"; } ?> maxlength=50 alt="{datatype: 'text', maxLength: 50, allowedChars: 'allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddMultWm', maskChars: '(){}[].,;:-+/ '}" >
nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["destino_"]) && $this->nmgp_cmp_readonly["destino_"] == "on") { ?> " . $destino_ . ""; ?> form_format_readonly("destino_", $this->form_encode_input($this->destino_)); ?> classes_100perc_fields['keep_field_size']) { echo "size=20"; } ?> maxlength=50 alt="{datatype: 'text', maxLength: 50, allowedChars: 'allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddMultWm', maskChars: '(){}[].,;:-+/ '}" >
nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["activo_"]) && $this->nmgp_cmp_readonly["activo_"] == "on") { if ("1" == $this->activo_) { $activo__look = "Si";} if ("0" == $this->activo_) { $activo__look = "No";} ?> " . $activo__look . ""; ?> activo_) { $activo__look = "Si";} if ("0" == $this->activo_) { $activo__look = "No";} ?> form_format_readonly("activo_", $this->form_encode_input($activo__look)); ?>
Ini->sc_page]['form_rutas']['pdf_view']) { echo "
"; } ?> Ini->sc_page]['form_rutas']['Lookup_activo_'][] = '1'; ?> activo_) { echo " checked" ;} ?> onClick="" > Ini->sc_page]['form_rutas']['pdf_view']) { echo "
"; } ?>
Ini->sc_page]['form_rutas']['pdf_view']) { echo "
"; } ?> Ini->sc_page]['form_rutas']['Lookup_activo_'][] = '0'; ?> activo_) { echo " checked" ;} ?> onClick="" > Ini->sc_page]['form_rutas']['pdf_view']) { echo "
"; } ?>
nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["enviodian_"]) && $this->nmgp_cmp_readonly["enviodian_"] == "on") { if ("1" == $this->enviodian_) { $enviodian__look = "SI";} if ("0" == $this->enviodian_) { $enviodian__look = "NO";} ?> " . $enviodian__look . ""; ?> enviodian_) { $enviodian__look = "SI";} if ("0" == $this->enviodian_) { $enviodian__look = "NO";} ?> form_format_readonly("enviodian_", $this->form_encode_input($enviodian__look)); ?>
Ini->sc_page]['form_rutas']['pdf_view']) { echo "
"; } ?> Ini->sc_page]['form_rutas']['Lookup_enviodian_'][] = '1'; ?> enviodian_) { echo " checked" ;} ?> onClick="" > Ini->sc_page]['form_rutas']['pdf_view']) { echo "
"; } ?>
Ini->sc_page]['form_rutas']['pdf_view']) { echo "
"; } ?> Ini->sc_page]['form_rutas']['Lookup_enviodian_'][] = '0'; ?> enviodian_) { echo " checked" ;} ?> onClick="" > Ini->sc_page]['form_rutas']['pdf_view']) { echo "
"; } ?>
Embutida_form ? $sc_seq_vert + 1 : $sc_seq_vert + 1; if ($sc_seq_vert < $this->sc_max_reg) { echo " "; } ?>
Ini->Nm_lang['lang_othr_reqr']; ?> *
displayBottomToolbar(); ?> Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "R") { if ($opcao_botoes != "novo" && $this->nmgp_botoes['goto'] == "on") { $sCondStyle = ''; ?> Ini->sc_page]['form_rutas']['btn_disabled']['birpara']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['birpara']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['birpara']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['birpara']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['birpara']; } ?> arr_buttons, "birpara", "scBtnFn_sys_GridPermiteSeq('b')", "scBtnFn_sys_GridPermiteSeq('b')", "brec_b", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> nmgp_botoes['qtline'] == "on") { ?> Ini->Nm_lang['lang_btns_rows'] ?> form_paginacao)) { $sCondStyle = ($this->nmgp_botoes['first'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['form_rutas']['btn_disabled']['first']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['first']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['first']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['first']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['first']; } ?> arr_buttons, "binicio", "scBtnFn_sys_format_ini()", "scBtnFn_sys_format_ini()", "sc_b_ini_b", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Ctrl + Shift + ←)", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> form_paginacao)) { $sCondStyle = ($this->nmgp_botoes['back'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['form_rutas']['btn_disabled']['back']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['back']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['back']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['back']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['back']; } ?> arr_buttons, "bretorna", "scBtnFn_sys_format_ret()", "scBtnFn_sys_format_ret()", "sc_b_ret_b", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Ctrl + ←)", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> nmgp_botoes['navpage'] == "on") { ?> form_paginacao)) { $sCondStyle = ($this->nmgp_botoes['forward'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['form_rutas']['btn_disabled']['forward']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['forward']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['forward']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['forward']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['forward']; } ?> arr_buttons, "bavanca", "scBtnFn_sys_format_ava()", "scBtnFn_sys_format_ava()", "sc_b_avc_b", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Ctrl + →)", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> form_paginacao)) { $sCondStyle = ($this->nmgp_botoes['last'] == "on") ? '' : 'display: none;'; ?> Ini->sc_page]['form_rutas']['btn_disabled']['last']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_disabled']['last']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['last']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['last']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['btn_label']['last']; } ?> arr_buttons, "bfinal", "scBtnFn_sys_format_fim()", "scBtnFn_sys_format_fim()", "sc_b_fim_b", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "__NM_HINT__ (Ctrl + Shift + →)", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> nmgp_botoes['summary'] == "on") { ?> Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "R") { ?>
"; echo " document.getElementById('" . $NM_ult_sep . "').style.display='none';"; echo " "; } unset($NM_ult_sep); ?> nmgp_opcao || $this->Embutida_form) { ?> nmgp_opcao || $this->Embutida_form) && !$this->nmgp_form_empty && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F") { if ('parcial' == $this->form_paginacao) {?> nmgp_opcao || $this->Embutida_form) && !$this->nmgp_form_empty && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F") { if ('total' == $this->form_paginacao) {?> nmgp_opcao || $this->Embutida_form) && !$this->nmgp_form_empty && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['run_iframe'] != "F") { ?>
Ini->sc_page]['form_rutas']['dashboard_info']['under_dashboard']) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['dashboard_info']['under_dashboard']) { ?> Ini->sc_page]['form_rutas']['dashboard_info']['under_dashboard']) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_rutas']['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]['form_rutas']['buttonStatus'] = $this->nmgp_botoes; ?>