/
home
/
suroeste
/
public_html
/
gorbus.transportessuroeste.com
/
reservas
/
app_Login
/
/home/suroeste/public_html/gorbus.transportessuroeste.com/reservas/app_Login
mkdir
upload
Name
Size
Mode
Actions
app_Login.htm
125
0644
edit
dl
rm
app_Login.php
57
0644
edit
dl
rm
app_Login_apl.php
283451
0644
edit
dl
rm
app_Login_captcha_play.php
421
0644
edit
dl
rm
app_Login_captcha_show.php
1422
0644
edit
dl
rm
app_Login_doc_name.php
16097
0644
edit
dl
rm
app_Login_empty.htm
192
0644
edit
dl
rm
app_Login_erro.class.php
1444
0644
edit
dl
rm
app_Login_erro.php
10216
0644
edit
dl
rm
app_Login_fim.php
10473
0644
edit
dl
rm
app_Login_form0.php
65682
0644
edit
dl
rm
app_Login_jquery.php
19931
0644
edit
dl
rm
app_Login_js0.php
16378
0644
edit
dl
rm
app_Login_json.php
36980
0644
edit
dl
rm
app_Login_ltr.css
1793
0644
edit
dl
rm
app_Login_mob.htm
267
0644
edit
dl
rm
app_Login_mob.php
233737
0644
edit
dl
rm
app_Login_mob_apl.php
286018
0644
edit
dl
rm
app_Login_mob_captcha_play.php
425
0644
edit
dl
rm
app_Login_mob_captcha_show.php
1426
0644
edit
dl
rm
app_Login_mob_doc_name.php
16097
0644
edit
dl
rm
app_Login_mob_empty.htm
196
0644
edit
dl
rm
app_Login_mob_erro.class.php
1452
0644
edit
dl
rm
app_Login_mob_erro.php
10320
0644
edit
dl
rm
app_Login_mob_fim.php
10572
0644
edit
dl
rm
app_Login_mob_form0.php
66539
0644
edit
dl
rm
app_Login_mob_jquery.php
18634
0644
edit
dl
rm
app_Login_mob_js0.php
13299
0644
edit
dl
rm
app_Login_mob_json.php
36980
0644
edit
dl
rm
app_Login_mob_ltr.css
1793
0644
edit
dl
rm
app_Login_mob_rtl.css
0
0644
edit
dl
rm
app_Login_mob_sajax.php
17897
0644
edit
dl
rm
app_Login_mob_sajax_js.php
135417
0644
edit
dl
rm
app_Login_mob_securimage.php
124930
0644
edit
dl
rm
app_Login_mob_session.php
3065
0644
edit
dl
rm
app_Login_mob_ul_save.php
4088
0644
edit
dl
rm
app_Login_rtl.css
467
0644
edit
dl
rm
app_Login_sajax.php
17897
0644
edit
dl
rm
app_Login_sajax_js.php
135191
0644
edit
dl
rm
app_Login_securimage.php
124930
0644
edit
dl
rm
app_Login_session.php
3065
0644
edit
dl
rm
app_Login_teste.php
46
0644
edit
dl
rm
app_Login_ul_save.php
4072
0644
edit
dl
rm
index.php
223716
0644
edit
dl
rm
Edit:
/home/suroeste/public_html/gorbus.transportessuroeste.com/reservas/app_Login/app_Login_form0.php
(65682B)
<?php if (!isset($this->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"); ?> <!DOCTYPE html> <html<?php echo $_SESSION['scriptcase']['reg_conf']['html_dir'] ?>> <HEAD> <TITLE><?php if ('novo' == $this->nmgp_opcao) { echo strip_tags("" . $this->Ini->Nm_lang['lang_othr_frmi_titl'] . " - "); } else { echo strip_tags("Transportes Suroeste Antioqueño"); } ?></TITLE> <META http-equiv="Content-Type" content="text/html; charset=<?php echo $_SESSION['scriptcase']['charset_html'] ?>" /> <META http-equiv="Expires" content="Fri, Jan 01 1900 00:00:00 GMT" /> <META http-equiv="Last-Modified" content="<?php echo gmdate('D, d M Y H:i:s') ?> GMT" /> <META http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate" /> <META http-equiv="Pragma" content="no-cache" /> <link rel="shortcut icon" href="../_lib/img/scriptcase__NM__ico__NM__favicon.ico"> <?php if (isset($_SESSION['scriptcase']['device_mobile']) && $_SESSION['scriptcase']['device_mobile'] && $_SESSION['scriptcase']['display_mobile']) { ?> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <?php } ?> <meta name="viewport" content="minimal-ui, width=300, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> <meta name="mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="apple-touch-icon" sizes="57x57" href=""> <link rel="apple-touch-icon" sizes="60x60" href=""> <link rel="apple-touch-icon" sizes="72x72" href=""> <link rel="apple-touch-icon" sizes="76x76" href=""> <link rel="apple-touch-icon" sizes="114x114" href=""> <link rel="apple-touch-icon" sizes="120x120" href=""> <link rel="apple-touch-icon" sizes="144x144" href=""> <link rel="apple-touch-icon" sizes="152x152" href=""> <link rel="apple-touch-icon" sizes="180x180" href=""> <link rel="icon" type="image/png" sizes="192x192" href=""> <link rel="icon" type="image/png" sizes="32x32" href=""> <link rel="icon" type="image/png" sizes="96x96" href=""> <link rel="icon" type="image/png" sizes="16x16" href=""> <meta name="msapplication-TileColor" content="___"> <meta name="msapplication-TileImage" content=""> <meta name="theme-color" content="___"> <meta name="apple-mobile-web-app-status-bar-style" content="___"> <link rel="shortcut icon" href=""> <link rel="stylesheet" href="<?php echo $this->Ini->path_prod ?>/third/jquery_plugin/thickbox/thickbox.css" type="text/css" media="screen" /> <SCRIPT type="text/javascript"> var sc_pathToTB = '<?php echo $this->Ini->path_prod ?>/third/jquery_plugin/thickbox/'; var sc_tbLangClose = "<?php echo html_entity_decode($this->Ini->Nm_lang["lang_tb_close"], ENT_COMPAT, $_SESSION["scriptcase"]["charset"]) ?>"; var sc_tbLangEsc = "<?php echo html_entity_decode($this->Ini->Nm_lang["lang_tb_esc"], ENT_COMPAT, $_SESSION["scriptcase"]["charset"]) ?>"; var sc_userSweetAlertDisplayed = false; </SCRIPT> <SCRIPT type="text/javascript"> var sc_blockCol = '<?php echo $this->Ini->Block_img_col; ?>'; var sc_blockExp = '<?php echo $this->Ini->Block_img_exp; ?>'; var sc_ajaxBg = '<?php echo $this->Ini->Color_bg_ajax; ?>'; var sc_ajaxBordC = '<?php echo $this->Ini->Border_c_ajax; ?>'; var sc_ajaxBordS = '<?php echo $this->Ini->Border_s_ajax; ?>'; var sc_ajaxBordW = '<?php echo $this->Ini->Border_w_ajax; ?>'; var sc_ajaxMsgTime = 2; var sc_img_status_ok = '<?php echo $this->Ini->path_icones; ?>/<?php echo $this->Ini->Img_status_ok; ?>'; var sc_img_status_err = '<?php echo $this->Ini->path_icones; ?>/<?php echo $this->Ini->Img_status_err; ?>'; var sc_css_status = '<?php echo $this->Ini->Css_status; ?>'; var sc_css_status_pwd_box = '<?php echo $this->Ini->Css_status_pwd_box; ?>'; var sc_css_status_pwd_text = '<?php echo $this->Ini->Css_status_pwd_text; ?>'; </SCRIPT> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->url_third; ?>jquery/js/jquery.js"></SCRIPT> <?php if ($_SESSION['scriptcase']['display_mobile'] && $_SESSION['scriptcase']['device_mobile']) { $forced_mobile = (isset($_SESSION['scriptcase']['force_mobile']) && $_SESSION['scriptcase']['force_mobile']) ? 'true' : 'false'; $sc_app_data = json_encode([ 'forceMobile' => $forced_mobile, 'appType' => 'form', 'improvements' => true, 'displayOptionsButton' => false, 'displayScrollUp' => true, 'scrollUpPosition' => 'A', 'toolbarOrientation' => 'H', 'mobilePanes' => 'true', 'navigationBarButtons' => unserialize('a:0:{}'), 'mobileSimpleToolbar' => false, 'bottomToolbarFixed' => false ]); ?> <input type="hidden" id="sc-mobile-app-data" value='<?php echo $sc_app_data; ?>' /> <script type="text/javascript" src="../_lib/lib/js/nm_modal_panes.jquery.js"></script> <script type="text/javascript" src="../_lib/lib/js/nm_form_mobile.js"></script> <link rel='stylesheet' href='../_lib/lib/css/nm_form_mobile.css' type='text/css'/> <script> $(document).ready(function(){ bootstrapMobile(); }); </script> <?php } ?> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->path_prod; ?>/third/jquery/js/jquery-ui.js"></SCRIPT> <link rel="stylesheet" href="<?php echo $this->Ini->path_prod ?>/third/jquery/css/smoothness/jquery-ui.css" type="text/css" media="screen" /> <link rel="stylesheet" type="text/css" href="<?php echo $this->Ini->path_link ?>_lib/css/<?php echo $this->Ini->str_schema_all ?>_sweetalert.css" /> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->path_prod; ?>/third/sweetalert/sweetalert2.all.min.js"></SCRIPT> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->path_prod; ?>/third/sweetalert/polyfill.min.js"></SCRIPT> <script type="text/javascript" src="<?php echo $this->Ini->url_lib_js ?>frameControl.js"></script> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->url_lib_js; ?>jquery.iframe-transport.js"></SCRIPT> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->url_lib_js; ?>jquery.fileupload.js"></SCRIPT> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->path_prod; ?>/third/jquery_plugin/malsup-blockui/jquery.blockUI.js"></SCRIPT> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->path_prod; ?>/third/jquery_plugin/thickbox/thickbox-compressed.js"></SCRIPT> <style type="text/css"> .sc-form-order-icon { padding: 0 2px; } </style> <?php $formOrderUnusedVisivility = $_SESSION['scriptcase']['device_mobile'] && $_SESSION['scriptcase']['display_mobile'] ? 'visible' : 'hidden'; $formOrderUnusedOpacity = $_SESSION['scriptcase']['device_mobile'] && $_SESSION['scriptcase']['display_mobile'] ? '0.5' : '1'; ?> <style> .sc-form-order-icon-unused { visibility: <?php echo $formOrderUnusedVisivility ?>; opacity: 0.5; } .scFormLabelOddMult:hover .sc-form-order-icon-unused { visibility: visible; opacity: <?php echo $formOrderUnusedOpacity ?>; } </style> <style type="text/css"> .sc-button-image.disabled { opacity: 0.25 } .sc-button-image.disabled img { cursor: default !important } </style> <style type="text/css"> .fileinput-button-padding { padding: 3px 10px !important; } .fileinput-button { position: relative; overflow: hidden; float: left; margin-right: 4px; } .fileinput-button input { position: absolute; top: 0; right: 0; margin: 0; border: solid transparent; border-width: 0 0 100px 200px; opacity: 0; filter: alpha(opacity=0); -moz-transform: translate(-300px, 0) scale(4); direction: ltr; cursor: pointer; } </style> <style type="text/css"> .select2-container { width: auto; flex-grow: 1; } .select2-selection { width: 100%; } </style> <?php if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['link_info']['margin_top']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['link_info']['margin_top']) { ?> <style> .scFormBorder { padding-top: 0 !important; } .scBlockRowFirst .scFormTable { margin-top: <?php echo $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['link_info']['margin_top'] ?>; } </style> <?php } ?> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->url_lib_js; ?>scInput.js"></SCRIPT> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->url_lib_js; ?>jquery.scInput.js"></SCRIPT> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->url_lib_js; ?>jquery.scInput2.js"></SCRIPT> <SCRIPT type="text/javascript" src="<?php echo $this->Ini->url_lib_js; ?>jquery.fieldSelection.js"></SCRIPT> <?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['embutida_pdf'])) { ?> <link rel="stylesheet" type="text/css" href="<?php echo $this->Ini->path_link ?>_lib/css/<?php echo $this->Ini->str_schema_all ?>_form.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $this->Ini->path_link ?>_lib/css/<?php echo $this->Ini->str_schema_all ?>_form<?php echo $_SESSION['scriptcase']['reg_conf']['css_dir'] ?>.css" /> <?php if(isset($this->Ini->str_google_fonts) && !empty($this->Ini->str_google_fonts)) { ?> <link href="<?php echo $this->Ini->str_google_fonts ?>" rel="stylesheet" /> <?php } ?> <link rel="stylesheet" type="text/css" href="<?php echo $this->Ini->path_link ?>_lib/css/<?php echo $this->Ini->str_schema_all ?>_appdiv.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $this->Ini->path_link ?>_lib/css/<?php echo $this->Ini->str_schema_all ?>_appdiv<?php echo $_SESSION['scriptcase']['reg_conf']['css_dir'] ?>.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $this->Ini->path_link ?>_lib/css/<?php echo $this->Ini->str_schema_all ?>_tab.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $this->Ini->path_link ?>_lib/css/<?php echo $this->Ini->str_schema_all ?>_tab<?php echo $_SESSION['scriptcase']['reg_conf']['css_dir'] ?>.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $this->Ini->path_link ?>_lib/buttons/<?php echo $this->Ini->Str_btn_form . '/' . $this->Ini->Str_btn_form ?>.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $this->Ini->path_prod; ?>/third/font-awesome/6/css/all.min.css" /> <?php include_once("../_lib/css/" . $this->Ini->str_schema_all . "_tab.php"); } ?> <link rel="stylesheet" type="text/css" href="<?php echo $this->Ini->path_link ?>app_Login/app_Login_<?php echo strtolower($_SESSION['scriptcase']['reg_conf']['css_dir']) ?>.css" /> <script> var scFocusFirstErrorField = true; var scFocusFirstErrorName = "<?php if (isset($this->scFormFocusErrorName)) {echo $this->scFormFocusErrorName;} ?>"; </script> <?php include_once("app_Login_sajax_js.php"); ?> <script type="text/javascript"> if (document.getElementById("id_error_display_fixed")) { scCenterFixedElement("id_error_display_fixed"); } var posDispLeft = 0; var posDispTop = 0; var Nm_Proc_Atualiz = false; var scFormCtrlChanged = false; function findPos(obj) { var posCurLeft = posCurTop = 0; if (obj.offsetParent) { posCurLeft = obj.offsetLeft posCurTop = obj.offsetTop while (obj = obj.offsetParent) { posCurLeft += obj.offsetLeft posCurTop += obj.offsetTop } } posDispLeft = posCurLeft - 10; posDispTop = posCurTop + 30; } var Nav_permite_ret = "<?php if ($this->Nav_permite_ret) { echo 'S'; } else { echo 'N'; } ?>"; var Nav_permite_ava = "<?php if ($this->Nav_permite_ava) { echo 'S'; } else { echo 'N'; } ?>"; var Nav_binicio = "<?php echo $this->arr_buttons['binicio']['type']; ?>"; var Nav_bavanca = "<?php echo $this->arr_buttons['bavanca']['type']; ?>"; var Nav_bretorna = "<?php echo $this->arr_buttons['bretorna']['type']; ?>"; var Nav_bfinal = "<?php echo $this->arr_buttons['bfinal']['type']; ?>"; var Nav_binicio_macro_disabled = "<?php echo (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['first']) ? $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['first'] : 'off'); ?>"; var Nav_bavanca_macro_disabled = "<?php echo (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['forward']) ? $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['forward'] : 'off'); ?>"; var Nav_bretorna_macro_disabled = "<?php echo (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['back']) ? $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['back'] : 'off'); ?>"; var Nav_bfinal_macro_disabled = "<?php echo (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['last']) ? $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['last'] : 'off'); ?>"; function nav_atualiza(str_ret, str_ava, str_pos) { <?php if (isset($this->NM_btn_navega) && 'N' == $this->NM_btn_navega) { echo " return;"; } else { ?> if ('S' == str_ret) { <?php if (isset($this->nmgp_botoes['first']) && $this->nmgp_botoes['first'] == "on") { ?> if ("off" == Nav_binicio_macro_disabled) { $("#sc_b_ini_" + str_pos).prop("disabled", false).removeClass("disabled"); } <?php } if (isset($this->nmgp_botoes['back']) && $this->nmgp_botoes['back'] == "on") { ?> if ("off" == Nav_bretorna_macro_disabled) { $("#sc_b_ret_" + str_pos).prop("disabled", false).removeClass("disabled"); } <?php } ?> } else { <?php if (isset($this->nmgp_botoes['first']) && $this->nmgp_botoes['first'] == "on") { ?> $("#sc_b_ini_" + str_pos).prop("disabled", true).addClass("disabled"); <?php } if (isset($this->nmgp_botoes['back']) && $this->nmgp_botoes['back'] == "on") { ?> $("#sc_b_ret_" + str_pos).prop("disabled", true).addClass("disabled"); <?php } ?> } if ('S' == str_ava) { <?php if (isset($this->nmgp_botoes['last']) && $this->nmgp_botoes['last'] == "on") { ?> if ("off" == Nav_bfinal_macro_disabled) { $("#sc_b_fim_" + str_pos).prop("disabled", false).removeClass("disabled"); } <?php } if (isset($this->nmgp_botoes['forward']) && $this->nmgp_botoes['forward'] == "on") { ?> if ("off" == Nav_bavanca_macro_disabled) { $("#sc_b_avc_" + str_pos).prop("disabled", false).removeClass("disabled"); } <?php } ?> } else { <?php if (isset($this->nmgp_botoes['last']) && $this->nmgp_botoes['last'] == "on") { ?> $("#sc_b_fim_" + str_pos).prop("disabled", true).addClass("disabled"); <?php } if (isset($this->nmgp_botoes['forward']) && $this->nmgp_botoes['forward'] == "on") { ?> $("#sc_b_avc_" + str_pos).prop("disabled", true).addClass("disabled"); <?php } ?> } <?php } ?> } function nav_liga_img() { sExt = sImg.substr(sImg.length - 4); sImg = sImg.substr(0, sImg.length - 4); if ('_off' == sImg.substr(sImg.length - 4)) { sImg = sImg.substr(0, sImg.length - 4); } sImg += sExt; } function nav_desliga_img() { sExt = sImg.substr(sImg.length - 4); sImg = sImg.substr(0, sImg.length - 4); if ('_off' != sImg.substr(sImg.length - 4)) { sImg += '_off'; } sImg += sExt; } <?php include_once('app_Login_jquery.php'); ?> var Dyn_Ini = true; function setLabelCellMaxWidth() { var $labelList = $(".scUiLabelWidthFix"), $spanList, i, testWidth, maxLabelWidth = 0; for (i = 0; i < $labelList.length; i++) { $spanList = $($labelList[i]).find("span"); if ($spanList.length) { testWidth = $($spanList[0]).width(); maxLabelWidth = Math.max(maxLabelWidth, testWidth); } } if (0 < maxLabelWidth) { maxLabelWidth += 20; $labelList.css("width", maxLabelWidth + "px"); } } $(function() { scJQElementsAdd(''); scJQGeneralAdd(); <?php if (!isset($this->scFormFocusErrorName) || '' == $this->scFormFocusErrorName) { ?> scFocusField('login'); <?php } ?> $(document).bind('drop dragover', function (e) { e.preventDefault(); }); setLabelCellMaxWidth(); <?php if (!$this->NM_ajax_flag && isset($this->NM_non_ajax_info['ajaxJavascript']) && !empty($this->NM_non_ajax_info['ajaxJavascript'])) { foreach ($this->NM_non_ajax_info['ajaxJavascript'] as $aFnData) { ?> <?php echo $aFnData[0]; ?>(<?php echo implode(', ', $aFnData[1]); ?>); <?php } } ?> }); $(window).on('load', function() { }); if($(".sc-ui-block-control").length) { preloadBlock = new Image(); preloadBlock.src = "<?php echo $this->Ini->path_icones; ?>/" + sc_blockExp; } var show_block = { }; function toggleBlock(e) { var block = e.data.block, block_id = $(block).attr("id"); block_img = $("#" + block_id + " .sc-ui-block-control"); if (1 >= block.rows.length) { return; } show_block[block_id] = !show_block[block_id]; if (show_block[block_id]) { $(block).css("height", "100%"); if (block_img.length) block_img.attr("src", changeImgName(block_img.attr("src"), sc_blockCol)); } else { $(block).css("height", ""); if (block_img.length) block_img.attr("src", changeImgName(block_img.attr("src"), sc_blockExp)); } for (var i = 2; i < block.rows.length; i++) { if (show_block[block_id]) $(block.rows[i]).show(); else $(block.rows[i]).hide(); } if (show_block[block_id]) { } } function changeImgName(imgOld, imgNew) { var aOld = imgOld.split("/"); aOld.pop(); aOld.push(imgNew); return aOld.join("/"); } </script> </HEAD> <?php $str_iframe_body = ('F' == $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['run_iframe'] || 'R' == $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['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]['app_Login']['opc_ant'] = "novo"; $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['recarga'] = "novo"; } if (empty($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['recarga'])) { $opcao_botoes = $this->nmgp_opcao; } else { $opcao_botoes = $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['recarga']; } $remove_margin = isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['remove_margin']) && $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['remove_margin'] ? 'margin: 0; ' : ''; $remove_border = isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['remove_border']) && $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['remove_border'] ? 'border-width: 0; ' : ''; $remove_background = isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['remove_background']) && $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['remove_background'] ? 'background-color: transparent; background-image: none; ' : ''; if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['link_info']['remove_margin']) && $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['link_info']['remove_margin']) { $remove_margin = 'margin: 0; '; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['link_info']['remove_background']) && $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['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]['app_Login']['link_info']['remove_border']) && $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['link_info']['remove_border']) { $remove_border = 'border-width: 0; '; } if ('' != $remove_background) { ?> <style> .scFormBorder { <?php echo $remove_background ?> } .scFormToolbar { <?php echo $remove_background ?> } </style> <?php } $vertical_center = 'display: flex; flex-direction: column; justify-content: center; margin: 0px; min-height: 100vh;'; ?> <body class="scFormPage sc-app-contr" style="<?php echo $remove_margin . $remove_background . $str_iframe_body . $vertical_center; ?>"> <?php if (!isset($this->NM_ajax_info['param']['buffer_output']) || !$this->NM_ajax_info['param']['buffer_output']) { echo $sOBContents; } ?> <div id="idJSSpecChar" style="display: none;"></div> <script type="text/javascript"> function NM_tp_critica(TP) { if (TP == 0 || TP == 1 || TP == 2) { nmdg_tipo_crit = TP; } } </script> <?php include_once("app_Login_js0.php"); ?> <script type="text/javascript"> function setLocale(oSel) { var sLocale = ""; if (-1 < oSel.selectedIndex) { sLocale = oSel.options[oSel.selectedIndex].value; } document.F1.nmgp_idioma_novo.value = sLocale; } function setSchema(oSel) { var sLocale = ""; if (-1 < oSel.selectedIndex) { sLocale = oSel.options[oSel.selectedIndex].value; } document.F1.nmgp_schema_f.value = sLocale; } var scInsertFieldWithErrors = new Array(); <?php foreach ($this->NM_ajax_info['fieldsWithErrors'] as $insertFieldName) { ?> scInsertFieldWithErrors.push("<?php echo $insertFieldName; ?>"); <?php } ?> $(function() { scAjaxError_markFieldList(scInsertFieldWithErrors); }); </script> <form name="F1" method="post" action="./" target="_self"> <input type="hidden" name="nm_form_submit" value="1"> <input type="hidden" name="nmgp_idioma_novo" value=""> <input type="hidden" name="nmgp_schema_f" value=""> <input type="hidden" name="nmgp_url_saida" value="<?php echo $this->form_encode_input($nmgp_url_saida); ?>"> <input type="hidden" name="bok" value="OK"> <input type="hidden" name="nmgp_opcao" value=""> <input type="hidden" name="nmgp_ancora" value=""> <input type="hidden" name="nmgp_num_form" value="<?php echo $this->form_encode_input($nmgp_num_form); ?>"> <input type="hidden" name="nmgp_parms" value=""> <input type="hidden" name="script_case_init" value="<?php echo $this->form_encode_input($this->Ini->sc_page); ?>"> <input type="hidden" name="NM_cancel_return_new" value="<?php echo $this->NM_cancel_return_new ?>"> <input type="hidden" name="csrf_token" value="<?php echo $this->scCsrfGetToken() ?>" /> <input type="hidden" name="_sc_force_mobile" id="sc-id-mobile-control" value="" /> <?php $_SESSION['scriptcase']['error_span_title']['app_Login'] = $this->Ini->Error_icon_span; $_SESSION['scriptcase']['error_icon_title']['app_Login'] = '' != $this->Ini->Err_ico_title ? $this->Ini->path_icones . '/' . $this->Ini->Err_ico_title : ''; ?> <div style="display: none; position: absolute; z-index: 1000" id="id_error_display_table_frame"> <table class="scFormErrorTable scFormToastTable"> <tr><?php if ($this->Ini->Error_icon_span && '' != $this->Ini->Err_ico_title) { ?><td style="padding: 0px" rowspan="2"><img src="<?php echo $this->Ini->path_icones; ?>/<?php echo $this->Ini->Err_ico_title; ?>" style="border-width: 0px" align="top"></td><?php } ?><td class="scFormErrorTitle scFormToastTitle"><table style="border-collapse: collapse; border-width: 0px; width: 100%"><tr><td class="scFormErrorTitleFont" style="padding: 0px; vertical-align: top; width: 100%"><?php if (!$this->Ini->Error_icon_span && '' != $this->Ini->Err_ico_title) { ?><img src="<?php echo $this->Ini->path_icones; ?>/<?php echo $this->Ini->Err_ico_title; ?>" style="border-width: 0px" align="top"> <?php } ?>ERROR</td><td style="padding: 0px; vertical-align: top"><?php echo nmButtonOutput($this->arr_buttons, "berrm_clse", "scAjaxHideErrorDisplay('table')", "scAjaxHideErrorDisplay('table')", "", "", "", "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "", '', '', '', '', '', '', '', '', "");?> </td></tr></table></td></tr> <tr><td class="scFormErrorMessage scFormToastMessage"><span id="id_error_display_table_text"></span></td></tr> </table> </div> <div style="display: none; position: absolute; z-index: 1000" id="id_message_display_frame"> <table class="scFormMessageTable" id="id_message_display_content" style="width: 100%"> <tr id="id_message_display_title_line"> <td class="scFormMessageTitle" style="height: 20px"><?php if ('' != $this->Ini->Msg_ico_title) { ?> <img src="<?php echo $this->Ini->path_icones . '/' . $this->Ini->Msg_ico_title; ?>" style="border-width: 0px; vertical-align: middle"> <?php } ?> <?php echo nmButtonOutput($this->arr_buttons, "bmessageclose", "_scAjaxMessageBtnClose()", "_scAjaxMessageBtnClose()", "id_message_display_close_icon", "", "", "float: right", "", "", "", $this->Ini->path_botoes, "", "", "", "", "", '', '', '', '', '', '', '', '', "");?> <span id="id_message_display_title" style="vertical-align: middle"></span></td> </tr> <tr> <td class="scFormMessageMessage"><?php if ('' != $this->Ini->Msg_ico_body) { ?> <img id="id_message_display_body_icon" src="<?php echo $this->Ini->path_icones . '/' . $this->Ini->Msg_ico_body; ?>" style="border-width: 0px; vertical-align: middle"> <?php } ?> <span id="id_message_display_text"></span><div id="id_message_display_buttond" style="display: none; text-align: center"><br /><input id="id_message_display_buttone" type="button" class="scButton_default" value="Ok" onClick="_scAjaxMessageBtnClick()" ></div></td> </tr> </table> </div> <?php $msgDefClose = isset($this->arr_buttons['bmessageclose']) ? $this->arr_buttons['bmessageclose']['value'] : 'Ok'; ?> <script type="text/javascript"> var scMsgDefTitle = "<?php if (isset($this->Ini->Nm_lang['lang_usr_lang_othr_msgs_titl'])) {echo $this->Ini->Nm_lang['lang_usr_lang_othr_msgs_titl'];} ?>"; var scMsgDefButton = "Ok"; var scMsgDefClose = "<?php echo $msgDefClose; ?>"; var scMsgDefClick = "close"; var scMsgDefScInit = "<?php echo $this->Ini->sc_page; ?>"; </script> <?php if ($this->record_insert_ok) { ?> <script type="text/javascript"> if (typeof sc_userSweetAlertDisplayed === "undefined" || !sc_userSweetAlertDisplayed) { _scAjaxShowMessage({message: "<?php echo $this->form_encode_input($this->Ini->Nm_lang['lang_othr_ajax_frmi']) ?>", title: "", isModal: false, timeout: sc_ajaxMsgTime, showButton: false, buttonLabel: "Ok", topPos: 0, leftPos: 0, width: 0, height: 0, redirUrl: "", redirTarget: "", redirParam: "", showClose: false, showBodyIcon: true, isToast: true, type: "success"}); } sc_userSweetAlertDisplayed = false; </script> <?php } if ($this->record_delete_ok) { ?> <script type="text/javascript"> if (typeof sc_userSweetAlertDisplayed === "undefined" || !sc_userSweetAlertDisplayed) { _scAjaxShowMessage({message: "<?php echo $this->form_encode_input($this->Ini->Nm_lang['lang_othr_ajax_frmd']) ?>", title: "", isModal: false, timeout: sc_ajaxMsgTime, showButton: false, buttonLabel: "Ok", topPos: 0, leftPos: 0, width: 0, height: 0, redirUrl: "", redirTarget: "", redirParam: "", showClose: false, showBodyIcon: true, isToast: true, type: "success"}); } sc_userSweetAlertDisplayed = false; </script> <?php } ?> <table id="main_table_form" align="center" cellpadding=0 cellspacing=0 width="15%"> <tr> <td> <div class="scFormBorder" style="<?php echo (isset($remove_border) ? $remove_border : ''); ?>"> <table width='100%' cellspacing=0 cellpadding=0> <?php $this->displayAppHeader(); ?> <tr><td> <?php $this->displayTopToolbar(); ?> <table style="border-collapse: collapse; border-width: 0px; width: 100%"><tr><td class="scFormToolbar sc-toolbar-top" style="padding: 0px; spacing: 0px"> <table style="border-collapse: collapse; border-width: 0px; width: 100%"> <tr> <td nowrap align="left" valign="middle" width="33%" class="scFormToolbarPadding"> <?php $NM_btn = false; ?> </td> <td nowrap align="center" valign="middle" width="33%" class="scFormToolbarPadding"> <?php if ('' != $this->url_webhelp) { $sCondStyle = ''; ?> <?php $buttonMacroDisabled = ''; $buttonMacroLabel = ""; if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['help']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['help']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['help']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['help']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['help']; } ?> <?php echo nmButtonOutput($this->arr_buttons, "bhelp", "scBtnFn_sys_format_hlp()", "scBtnFn_sys_format_hlp()", "sc_b_hlp_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> <?php $NM_btn = true; } ?> <?php if (($nm_apl_dependente != 1) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['under_dashboard'])) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['nm_run_menu']) || $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['nm_run_menu'] != 1))) { $sCondStyle = ($this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;'; ?> <?php $buttonMacroDisabled = 'sc-unique-btn-1'; $buttonMacroLabel = ""; if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['exit']; } ?> <?php echo nmButtonOutput($this->arr_buttons, "bsair", "scBtnFn_sys_format_sai()", "scBtnFn_sys_format_sai()", "Bsair_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> <?php $NM_btn = true; } ?> <?php if (($nm_apl_dependente == 1) && ((!isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['under_dashboard']) || !$_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['under_dashboard']))) { $sCondStyle = ($this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;'; ?> <?php $buttonMacroDisabled = 'sc-unique-btn-2'; $buttonMacroLabel = ""; if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['exit']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['exit']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['exit']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['exit']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['exit']; } ?> <?php echo nmButtonOutput($this->arr_buttons, "bvoltar", "scBtnFn_sys_format_sai()", "scBtnFn_sys_format_sai()", "Bsair_t", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> <?php $NM_btn = true; } ?> </td> <td nowrap align="right" valign="middle" width="33%" class="scFormToolbarPadding"> </td></tr> </table> </td></tr></table> <?php if (!$NM_btn && isset($NM_ult_sep)) { echo " <script language=\"javascript\">"; echo " document.getElementById('" . $NM_ult_sep . "').style.display='none';"; echo " </script>"; } unset($NM_ult_sep); ?> </td></tr> <tr><td> <?php echo "<div id=\"sc-ui-empty-form\" class=\"scFormPageText\" style=\"padding: 10px; font-weight: bold" . ($this->nmgp_form_empty ? '' : '; display: none') . "\">"; echo $this->Ini->Nm_lang['lang_errm_empt']; echo "</div>"; if ($this->nmgp_form_empty) { if (!empty($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['where_filter'])) { $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['empty_filter'] = true; } } ?> <?php $sc_hidden_no = 1; $sc_hidden_yes = 0; ?> <a name="bloco_0"></a> <table width="100%" height="100%" cellpadding="0" cellspacing=0 class="scBlockRow scBlockRowFirst"><tr valign="top"><td width="100%" height=""> <div id="div_hidden_bloco_0" class="scBlockFrame"><!-- bloco_c --> <?php if (!isset($this->nmgp_cmp_hidden['remember_me'])) { $this->nmgp_cmp_hidden['remember_me'] = 'off'; } if (!isset($this->nmgp_cmp_hidden['retrieve_pswd'])) { $this->nmgp_cmp_hidden['retrieve_pswd'] = 'off'; } ?> <TABLE align="center" id="hidden_bloco_0" class="scFormTable scFormDataOdd<?php echo $this->classes_100perc_fields['table'] ?>" width="100%" style="height: 100%;"><?php if ($sc_hidden_no > 0) { echo "<tr>"; }; $sc_hidden_yes = 0; $sc_hidden_no = 0; ?> <?php if (!isset($this->nm_new_label['login'])) { $this->nm_new_label['login'] = "" . $this->Ini->Nm_lang['lang_sec_users_fild_login'] . ""; } ?> <?php $nm_cor_fun_cel = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel == $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); $login = $this->login; $sStyleHidden_login = ''; if (isset($this->nmgp_cmp_hidden['login']) && $this->nmgp_cmp_hidden['login'] == 'off') { unset($this->nmgp_cmp_hidden['login']); $sStyleHidden_login = 'display: none;'; } $bTestReadOnly = true; $sStyleReadLab_login = 'display: none;'; $sStyleReadInp_login = ''; if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['login']) && $this->nmgp_cmp_readonly['login'] == 'on') { $bTestReadOnly = false; unset($this->nmgp_cmp_readonly['login']); $sStyleReadLab_login = ''; $sStyleReadInp_login = 'display: none;'; } ?> <?php if (isset($this->nmgp_cmp_hidden['login']) && $this->nmgp_cmp_hidden['login'] == 'off') { $sc_hidden_yes++; ?> <input type="hidden" name="login" value="<?php echo $this->form_encode_input($login) . "\">"; ?> <?php } else { $sc_hidden_no++; ?> <TD class="scFormDataOdd" id="hidden_field_data_login" style="<?php echo $sStyleHidden_login; ?>"> <table style="border-spacing: 0px; border-width: 0px; border-collapse: collapse; width: 100%" cellspacing=0 cellpadding=0><tr><td class="scFormLabelOddFormat scFormLabelAboveOddFormat css_login_label" style=" padding: 0px; width: 100%;"><span id="id_label_login"><?php echo $this->nm_new_label['login']; ?></span></td></tr><tr><td class="css_login_line" style="padding: 0px; width: 100%;"><input type="hidden" name="login" value="<?php echo $this->form_encode_input($login); ?>"><span id="id_ajax_label_login"><?php echo nl2br($login); ?></span> </td></tr></table> </TD> <?php }?> <?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?> <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" > </TD> <?php } ?> <?php if ($sc_hidden_no > 0) { echo "<tr>"; }; $sc_hidden_yes = 0; $sc_hidden_no = 0; ?> <?php if (!isset($this->nm_new_label['pswd'])) { $this->nm_new_label['pswd'] = "" . $this->Ini->Nm_lang['lang_sec_users_fild_pswd'] . ""; } ?> <?php $nm_cor_fun_cel = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel == $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); $pswd = $this->pswd; $sStyleHidden_pswd = ''; if (isset($this->nmgp_cmp_hidden['pswd']) && $this->nmgp_cmp_hidden['pswd'] == 'off') { unset($this->nmgp_cmp_hidden['pswd']); $sStyleHidden_pswd = 'display: none;'; } $bTestReadOnly = true; $sStyleReadLab_pswd = 'display: none;'; $sStyleReadInp_pswd = ''; if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['pswd']) && $this->nmgp_cmp_readonly['pswd'] == 'on') { $bTestReadOnly = false; unset($this->nmgp_cmp_readonly['pswd']); $sStyleReadLab_pswd = ''; $sStyleReadInp_pswd = 'display: none;'; } ?> <?php if (isset($this->nmgp_cmp_hidden['pswd']) && $this->nmgp_cmp_hidden['pswd'] == 'off') { $sc_hidden_yes++; ?> <input type="hidden" name="pswd" value="<?php echo $this->form_encode_input($pswd) . "\">"; ?> <?php } else { $sc_hidden_no++; ?> <TD class="scFormDataOdd" id="hidden_field_data_pswd" style="<?php echo $sStyleHidden_pswd; ?>"> <table style="border-spacing: 0px; border-width: 0px; border-collapse: collapse; width: 100%" cellspacing=0 cellpadding=0><tr><td class="scFormLabelOddFormat scFormLabelAboveOddFormat css_pswd_label" style=" padding: 0px; width: 100%;"><span id="id_label_pswd"><?php echo $this->nm_new_label['pswd']; ?></span></td></tr><tr><td class="css_pswd_line" style="padding: 0px; width: 100%;"><input type="hidden" name="pswd" value="<?php echo $this->form_encode_input($pswd); ?>"><span id="id_ajax_label_pswd"><?php echo nl2br($pswd); ?></span> <input type="hidden" name="pswd" value=""> <div class="scFormObjectOddPwdBox<?php echo $this->classes_100perc_fields['span_input'] ?>" style="width: 100%"><input class="sc-js-input scFormObjectOddPwdInput scFormObjectOddPwdText sc-ui-pwd-toggle css_pswd_obj<?php echo $this->classes_100perc_fields['input'] ?>" style="" id="id_sc_field_pswd" type="password" autocomplete="off" name="pswd" value="" </td></tr></table> </TD> <?php }?> <?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?> <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" > </TD> <?php } ?> <?php if ($sc_hidden_no > 0) { echo "<tr>"; }; $sc_hidden_yes = 0; $sc_hidden_no = 0; ?> <?php if (!isset($this->nm_new_label['remember_me'])) { $this->nm_new_label['remember_me'] = ""; } $nm_cor_fun_cel = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel == $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); $remember_me = $this->remember_me; if (!isset($this->nmgp_cmp_hidden['remember_me'])) { $this->nmgp_cmp_hidden['remember_me'] = 'off'; } $sStyleHidden_remember_me = ''; if (isset($this->nmgp_cmp_hidden['remember_me']) && $this->nmgp_cmp_hidden['remember_me'] == 'off') { unset($this->nmgp_cmp_hidden['remember_me']); $sStyleHidden_remember_me = 'display: none;'; } $bTestReadOnly = true; $sStyleReadLab_remember_me = 'display: none;'; $sStyleReadInp_remember_me = ''; if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['remember_me']) && $this->nmgp_cmp_readonly['remember_me'] == 'on') { $bTestReadOnly = false; unset($this->nmgp_cmp_readonly['remember_me']); $sStyleReadLab_remember_me = ''; $sStyleReadInp_remember_me = 'display: none;'; } ?> <?php if (isset($this->nmgp_cmp_hidden['remember_me']) && $this->nmgp_cmp_hidden['remember_me'] == 'off') { $sc_hidden_yes++; ?> <input type=hidden name="remember_me" value="<?php echo $this->form_encode_input($this->remember_me) . "\">"; ?> <?php } else { $sc_hidden_no++; ?> <?php if ($this->nmgp_opcao != "recarga") { $this->remember_me_1 = explode(";", trim($this->remember_me)); } else { if (empty($this->remember_me)) { $this->remember_me_1= array(); $this->remember_me= "0"; } else { $this->remember_me_1= $this->remember_me; $this->remember_me= ""; foreach ($this->remember_me_1 as $cada_remember_me) { if (!empty($remember_me)) { $this->remember_me.= ";"; } $this->remember_me.= $cada_remember_me; } } } ?> <TD class="scFormDataOdd" id="hidden_field_data_remember_me" style="<?php echo $sStyleHidden_remember_me; ?>"> <table style="border-spacing: 0px; border-width: 0px; border-collapse: collapse; width: 100%" cellspacing=0 cellpadding=0><tr><td class="scFormLabelOddFormat scFormLabelAboveOddFormat css_remember_me_label" style=" padding: 0px; width: 100%;"><span id="id_label_remember_me"><?php echo $this->nm_new_label['remember_me']; ?></span></td></tr><tr><td class="css_remember_me_line" style="padding: 0px; width: 100%;"> <?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["remember_me"]) && $this->nmgp_cmp_readonly["remember_me"] == "on") { $remember_me_look = ""; if ($this->remember_me == "1") { $remember_me_look .= "" . $this->Ini->Nm_lang['lang_sec_remember_me'] . "" ;} if (empty($remember_me_look)) { $remember_me_look = $this->remember_me; } ?> <input type="hidden" name="remember_me" value="<?php echo $this->form_encode_input($remember_me) . "\">" . $remember_me_look . ""; ?> <?php } else { ?> <?php $remember_me_look = ""; if ($this->remember_me == "1") { $remember_me_look .= "" . $this->Ini->Nm_lang['lang_sec_remember_me'] . "" ;} if (empty($remember_me_look)) { $remember_me_look = $this->remember_me; } ?> <span id="id_read_on_remember_me" class="css_remember_me_line" style="<?php echo $sStyleReadLab_remember_me; ?>"><?php echo $this->form_format_readonly("remember_me", $this->form_encode_input($remember_me_look)); ?></span><span id="id_read_off_remember_me" class="css_read_off_remember_me css_remember_me_line" style="<?php echo $sStyleReadInp_remember_me; ?>"><?php echo "<div id=\"idAjaxCheckbox_remember_me\" style=\"display: inline-block\" class=\"css_remember_me_line\">\r\n"; ?><TABLE cellspacing=0 cellpadding=0 border=0><TR> <TD class="scFormDataFontOdd css_remember_me_line"><?php $tempOptionId = "id-opt-remember_me" . $sc_seq_vert . "-1"; ?> <input type=checkbox id="<?php echo $tempOptionId ?>" class="sc-ui-checkbox-remember_me sc-ui-checkbox-remember_me" name="remember_me[]" value="1" <?php $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['Lookup_remember_me'][] = '1'; ?> <?php if (in_array("1", $this->remember_me_1)) { echo " checked" ;} ?> onClick="" ><label for="<?php echo $tempOptionId ?>"><?php echo $this->Ini->Nm_lang['lang_sec_remember_me']; ?></label></TD> </TR></TABLE> <?php echo "</div>\r\n"; ?></span><?php }?> </td></tr></table> </TD> <?php }?> <?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?> <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" > </TD> <?php } ?> <?php $sStyleHidden_remember_me_dumb = ('' == $sStyleHidden_remember_me) ? 'display: none' : ''; ?> <TD class="scFormDataOdd" id="hidden_field_data_remember_me_dumb" style="<?php echo $sStyleHidden_remember_me_dumb; ?>"></TD> </tr> <?php $sc_hidden_no = 1; ?> </TABLE></div><!-- bloco_f --> </td> </tr></table> <a name="bloco_1"></a> <table width="100%" height="100%" cellpadding="0" cellspacing=0 class="scBlockRow"><tr valign="top"><td width="100%" height=""> <div id="div_hidden_bloco_1" class="scBlockFrame"><!-- bloco_c --> <TABLE align="center" id="hidden_bloco_1" class="scFormTable scFormDataOdd<?php echo $this->classes_100perc_fields['table'] ?>" width="100%" style="height: 100%;"><?php if ($sc_hidden_no > 0) { echo "<tr>"; }; $sc_hidden_yes = 0; $sc_hidden_no = 0; ?> <?php if (!isset($this->nm_new_label['new_user'])) { $this->nm_new_label['new_user'] = "new_user"; } ?> <?php if (isset($this->nmgp_cmp_hidden['new_user']) && $this->nmgp_cmp_hidden['new_user'] == 'off') { $sc_hidden_yes++; ?> <input type="hidden" name="new_user" value="<?php echo $this->form_encode_input($this->new_user) . "\">"; ?> <?php } else { $sc_hidden_no++; ?> <TD class="scFormDataOdd css_new_user_line" id="hidden_field_data_new_user" style="<?php echo $sStyleHidden_new_user; ?>"> <?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["new_user"]) && $this->nmgp_cmp_readonly["new_user"] == "on") { ?> <input type="hidden" name="new_user" value="<?php echo $this->form_encode_input($new_user) . "\">" . $new_user . ""; ?> <?php } else { ?> <input type="hidden" name="new_user" value = ""> <input type="hidden" name="new_user_sc_target_name" value = ""> <?php } ?> </TD> <?php }?> <?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?> <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" > </TD> <?php } ?> <?php if ($sc_hidden_no > 0) { echo "<tr>"; }; $sc_hidden_yes = 0; $sc_hidden_no = 0; ?> <?php if (!isset($this->nm_new_label['retrieve_pswd'])) { $this->nm_new_label['retrieve_pswd'] = "retrieve_pswd"; } ?> <?php if (isset($this->nmgp_cmp_hidden['retrieve_pswd']) && $this->nmgp_cmp_hidden['retrieve_pswd'] == 'off') { $sc_hidden_yes++; ?> <input type="hidden" name="retrieve_pswd" value="<?php echo $this->form_encode_input($this->retrieve_pswd) . "\">"; ?> <?php } else { $sc_hidden_no++; ?> <TD class="scFormDataOdd css_retrieve_pswd_line" id="hidden_field_data_retrieve_pswd" style="<?php echo $sStyleHidden_retrieve_pswd; ?>"> <?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["retrieve_pswd"]) && $this->nmgp_cmp_readonly["retrieve_pswd"] == "on") { ?> <input type="hidden" name="retrieve_pswd" value="<?php echo $this->form_encode_input($retrieve_pswd) . "\">" . $retrieve_pswd . ""; ?> <?php } else { ?> <input type="hidden" name="retrieve_pswd" value = ""> <input type="hidden" name="retrieve_pswd_sc_target_name" value = ""> <?php } ?> </TD> <?php }?> <?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?> <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" > </TD> <?php } ?> </tr> <?php $sc_hidden_no = 1; ?> </TABLE></div><!-- bloco_f --> </td> </tr></table> <a name="bloco_2"></a> <table width="100%" height="100%" cellpadding="0" cellspacing=0 class="scBlockRow"><tr valign="top"><td width="100%" height=""> <div id="div_hidden_bloco_2" class="scBlockFrame"><!-- bloco_c --> <TABLE align="center" id="hidden_bloco_2" class="scFormTable scFormDataOdd<?php echo $this->classes_100perc_fields['table'] ?>" width="100%" style="height: 100%;"><?php if ($sc_hidden_no > 0) { echo "<tr>"; }; $sc_hidden_yes = 0; $sc_hidden_no = 0; ?> <?php if (!isset($this->nm_new_label['language'])) { $this->nm_new_label['language'] = "" . $this->Ini->Nm_lang['lang_btns_lang'] . ""; } $nm_cor_fun_cel = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel == $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); $language = $this->language; $tst_conf_reg = $this->Ini->str_lang . ";" . $this->Ini->str_conf_reg; $sStyleHidden_language = ''; if (isset($this->nmgp_cmp_hidden['language']) && $this->nmgp_cmp_hidden['language'] == 'off') { unset($this->nmgp_cmp_hidden['language']); $sStyleHidden_language = 'display: none;'; } $bTestReadOnly = true; $sStyleReadLab_language = 'display: none;'; $sStyleReadInp_language = ''; if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['language']) && $this->nmgp_cmp_readonly['language'] == 'on') { $bTestReadOnly = false; unset($this->nmgp_cmp_readonly['language']); $sStyleReadLab_language = ''; $sStyleReadInp_language = 'display: none;'; } ?> <?php if (isset($this->nmgp_cmp_hidden['language']) && $this->nmgp_cmp_hidden['language'] == 'off') { $sc_hidden_yes++; ?> <?php } else { $sc_hidden_no++; ?> <TD class="scFormDataOdd css_language_line" id="hidden_field_data_language" style="<?php echo $sStyleHidden_language; ?>"> <?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["language"]) && $this->nmgp_cmp_readonly["language"] == "on") { ?> <?php echo $this->Ini->Nm_lang_conf_region[$tst_conf_reg]; ?> <?php } else { ?> <span id="id_read_on_language" class="css_language_line" style="<?php echo $sStyleReadLab_language; ?>"><?php echo $this->Ini->Nm_lang_conf_region[$tst_conf_reg]; ?></span><span id="id_read_off_language" class="css_read_off_language" style="<?php echo $sStyleReadInp_language; ?>"> <span id="idAjaxSelect_language"><select class="sc-js-input scFormObjectOdd css_language_obj<?php echo $this->classes_100perc_fields['input'] ?>" style="" name="language" size=1 onChange="document.F1.nmgp_opcao.value='change_lang_f'; setLocale(this); document.F1.submit(); return false"> <?php foreach ($this->Ini->Nm_lang_conf_region as $cada_idioma => $cada_descr) { $tmp_idioma = explode(";", $cada_idioma); if (is_file($this->Ini->path_lang . $tmp_idioma[0] . ".lang.php")) { $obj_sel = ($tst_conf_reg == $cada_idioma) ? " selected" : ""; echo " <option value=\"" . $cada_idioma . "\"" . $obj_sel . ">" . str_replace('<', '<',$cada_descr) . "</option>"; } } ?> </select></span> </span><?php }?> </TD> <?php }?> <?php if ($sc_hidden_yes > 0) { ?> <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" > </TD> <?php } ?> </td></tr></table> </tr> </TABLE></div><!-- bloco_f --> </td></tr> <tr><td class="scFormPageText"> <script type="text/javascript"> function captchaReloadImage() { if ($("#id_captcha_img").length == 0) { return; } var sChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; var sRand = ""; for (var i = 0; i < 16; i++) { sRand += sChars.charAt(Math.round(sChars.length * Math.random())); } document.getElementById("id_captcha_img").src = "app_Login_captcha_show.php?sid=" + sRand; } </script> <?php if (true) { ?> <span id='SC_captcha_hidden' style='display:<?php if(isset($this->nmgp_captcha_display)) {echo $this->nmgp_captcha_display;} ?>'> <table style="border-collapse: collapse; border-width: 0px"> <tr> <td><span class="scFormPageText"><?php echo $this->Ini->Nm_lang['lang_othr_cptc_lbel']; ?></span></td> <td><input type="text" name="captcha_code" maxlength="4" size="4" class="scFormObjectOdd" /></td> <td><table style="border-collapse: collapse; border-width: 0px"><tr><td> <?php if ($this->Ini->Gd_missing) { echo "<span class=\"scFormErrorMessage scFormToastMessage\">" . $this->Ini->Nm_lang['lang_errm_gd'] . "</span>"; } ?> <img id="id_captcha_img" src="app_Login_captcha_show.php?sid=<?php echo md5(uniqid(time())); ?>" /></td><td><?php echo nmButtonOutput($this->arr_buttons, "bcaptchareload", "captchaReloadImage()", "captchaReloadImage()", "id_captcha_reload", "", "", "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "", '', '', '', '', '', '', '', '', "");?> </td></tr></table></td> </tr> </table> </span> <?php } ?> </td></tr> <tr><td> <?php $this->displayBottomToolbar(); ?> <table style="border-collapse: collapse; border-width: 0px; width: 100%"><tr><td class="scFormToolbar sc-toolbar-bottom" style="padding: 0px; spacing: 0px"> <table style="border-collapse: collapse; border-width: 0px; width: 100%"> <tr> <td nowrap align="left" valign="middle" width="33%" class="scFormToolbarPadding"> <?php $NM_btn = false; ?> </td> <td nowrap align="center" valign="middle" width="33%" class="scFormToolbarPadding"> <?php $sCondStyle = ($this->nmgp_botoes['ok'] == "on") ? '' : 'display: none;'; ?> <?php $buttonMacroDisabled = 'sc-unique-btn-3'; $buttonMacroLabel = "Entrar"; if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['ok']) && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_disabled']['ok']) { $buttonMacroDisabled .= ' disabled'; } if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['ok']) && '' != $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['ok']) { $buttonMacroLabel = $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['btn_label']['ok']; } ?> <?php echo nmButtonOutput($this->arr_buttons, "bok", "scBtnFn_sys_format_ok()", "scBtnFn_sys_format_ok()", "sub_form_b", "", "" . $buttonMacroLabel . "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "" . $buttonMacroDisabled . "", "", "", '', '', '', '', '', '', '', '', "");?> <?php $NM_btn = true; ?> </td> <td nowrap align="right" valign="middle" width="33%" class="scFormToolbarPadding"> </td></tr> </table> </td></tr></table> <?php if (!$NM_btn && isset($NM_ult_sep)) { echo " <script language=\"javascript\">"; echo " document.getElementById('" . $NM_ult_sep . "').style.display='none';"; echo " </script>"; } unset($NM_ult_sep); ?> </td></tr> </table> </div> </td> </tr> </table> <div id="id_debug_window" style="display: none;" class='scDebugWindow'><table class="scFormMessageTable"> <tr><td class="scFormMessageTitle"><?php echo nmButtonOutput($this->arr_buttons, "berrm_clse", "scAjaxHideDebug()", "scAjaxHideDebug()", "", "", "", "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "", '', '', '', '', '', '', '', '', "");?> Output</td></tr> <tr><td class="scFormMessageMessage" style="padding: 0px; vertical-align: top"><div style="padding: 2px; height: 200px; width: 350px; overflow: auto" id="id_debug_text"></div></td></tr> </table></div> </form> <script> <?php $nm_sc_blocos_da_pag = array(0,1,2); foreach ($this->Ini->nm_hidden_blocos as $bloco => $hidden) { if ($hidden == "off" && in_array($bloco, $nm_sc_blocos_da_pag)) { echo "document.getElementById('hidden_bloco_" . $bloco . "').style.display = 'none';"; if (isset($nm_sc_blocos_aba[$bloco])) { echo "document.getElementById('id_tabs_" . $nm_sc_blocos_aba[$bloco] . "_" . $bloco . "').style.display = 'none';"; } } } ?> </script> <script> <?php if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['masterValue'])) { if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['under_dashboard']) && $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['under_dashboard']) { ?> var dbParentFrame = $(parent.document).find("[name='<?php echo $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['parent_widget']; ?>']"); if (dbParentFrame && dbParentFrame[0] && dbParentFrame[0].contentWindow.scAjaxDetailValue) { <?php foreach ($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['masterValue'] as $cmp_master => $val_master) { ?> dbParentFrame[0].contentWindow.scAjaxDetailValue('<?php echo $cmp_master ?>', '<?php echo $val_master ?>'); <?php } unset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['masterValue']); ?> } <?php } else { ?> if (parent && parent.scAjaxDetailValue) { <?php foreach ($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['masterValue'] as $cmp_master => $val_master) { ?> parent.scAjaxDetailValue('<?php echo $cmp_master ?>', '<?php echo $val_master ?>'); <?php } unset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['masterValue']); ?> } <?php } } ?> function updateHeaderFooter(sFldName, sFldValue) { if (sFldValue[0] && sFldValue[0]["value"]) { sFldValue = sFldValue[0]["value"]; } } </script> <?php if (isset($_POST['master_nav']) && 'on' == $_POST['master_nav']) { if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['under_dashboard']) && $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['under_dashboard']) { ?> <script> var dbParentFrame = $(parent.document).find("[name='<?php echo $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['parent_widget']; ?>']"); dbParentFrame[0].contentWindow.scAjaxDetailStatus("app_Login"); </script> <?php } else { $sTamanhoIframe = isset($_POST['sc_ifr_height']) && '' != $_POST['sc_ifr_height'] ? '"' . $_POST['sc_ifr_height'] . '"' : '$(document).innerHeight()'; ?> <script> parent.scAjaxDetailStatus("app_Login"); parent.scAjaxDetailHeight("app_Login", <?php echo $sTamanhoIframe; ?>); </script> <?php } } elseif (isset($_GET['script_case_detail']) && 'Y' == $_GET['script_case_detail']) { if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['under_dashboard']) && $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['dashboard_info']['under_dashboard']) { } else { $sTamanhoIframe = isset($_GET['sc_ifr_height']) && '' != $_GET['sc_ifr_height'] ? '"' . $_GET['sc_ifr_height'] . '"' : '$(document).innerHeight()'; ?> <script> if (0 == <?php echo $sTamanhoIframe; ?>) { setTimeout(function() { parent.scAjaxDetailHeight("app_Login", <?php echo $sTamanhoIframe; ?>); }, 100); } else { parent.scAjaxDetailHeight("app_Login", <?php echo $sTamanhoIframe; ?>); } </script> <?php } } ?> <?php if (isset($this->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'] : ''; ?> <script type="text/javascript"> _scAjaxShowMessage({title: scMsgDefTitle, message: "<?php echo $this->NM_ajax_info['displayMsgTxt']; ?>", isModal: false, timeout: sc_ajaxMsgTime, showButton: false, buttonLabel: "Ok", topPos: 0, leftPos: 0, width: 0, height: 0, redirUrl: "", redirTarget: "", redirParam: "", showClose: false, showBodyIcon: true, isToast: <?php echo $isToast ?>, toastPos: "", type: "<?php echo $toastType ?>"}); </script> <?php } ?> <?php if (isset($this->scFormFocusErrorName) && '' != $this->scFormFocusErrorName) { ?> <script> scAjaxFocusError(); </script> <?php } ?> <script type='text/javascript'> bLigEditLookupCall = <?php if ($this->lig_edit_lookup_call) { ?>true<?php } else { ?>false<?php } ?>; function scLigEditLookupCall() { <?php if ($this->lig_edit_lookup && isset($_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['sc_modal']) && $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['sc_modal']) { ?> parent.<?php echo $this->lig_edit_lookup_cb; ?>(<?php echo $this->lig_edit_lookup_row; ?>); <?php } elseif ($this->lig_edit_lookup) { ?> opener.<?php echo $this->lig_edit_lookup_cb; ?>(<?php echo $this->lig_edit_lookup_row; ?>); <?php } ?> } if (bLigEditLookupCall) { scLigEditLookupCall(); } <?php if (isset($this->redir_modal) && !empty($this->redir_modal)) { echo $this->redir_modal; } ?> </script> <?php if ($this->nmgp_form_empty) { ?> <script type="text/javascript"> scAjax_displayEmptyForm(); </script> <?php } ?> <script type="text/javascript"> function scBtnFn_sys_format_hlp() { if ($("#sc_b_hlp_t").length && $("#sc_b_hlp_t").is(":visible")) { if ($("#sc_b_hlp_t").hasClass("disabled")) { return; } window.open('<?php echo $this->url_webhelp; ?>', '', 'resizable, scrollbars'); return; } } function scBtnFn_sys_format_sai() { if ($("#Bsair_t.sc-unique-btn-1").length && $("#Bsair_t.sc-unique-btn-1").is(":visible")) { if ($("#Bsair_t.sc-unique-btn-1").hasClass("disabled")) { return; } nm_saida_glo(); return false; return; } if ($("#Bsair_t.sc-unique-btn-2").length && $("#Bsair_t.sc-unique-btn-2").is(":visible")) { if ($("#Bsair_t.sc-unique-btn-2").hasClass("disabled")) { return; } nm_saida_glo(); return false; return; } } function scBtnFn_sys_format_ok() { if ($("#sub_form_b.sc-unique-btn-3").length && $("#sub_form_b.sc-unique-btn-3").is(":visible")) { if ($("#sub_form_b.sc-unique-btn-3").hasClass("disabled")) { return; } nm_atualiza('alterar'); return; } } </script> <script type="text/javascript"> $(function() { $("#sc-id-mobile-in").mouseover(function() { $(this).css("cursor", "pointer"); }).click(function() { scMobileDisplayControl("in"); }); $("#sc-id-mobile-out").mouseover(function() { $(this).css("cursor", "pointer"); }).click(function() { scMobileDisplayControl("out"); }); }); function scMobileDisplayControl(sOption) { $("#sc-id-mobile-control").val(sOption); nm_atualiza("recarga_mobile"); } </script> <?php if (isset($_SESSION['scriptcase']['device_mobile']) && $_SESSION['scriptcase']['device_mobile']) { ?> <span id="sc-id-mobile-in"><?php echo $this->Ini->Nm_lang['lang_version_mobile']; ?></span> <?php } ?> <?php $_SESSION['sc_session'][$this->Ini->sc_page]['app_Login']['buttonStatus'] = $this->nmgp_botoes; ?> <script type="text/javascript"> function sc_session_redir(url_redir) { if (window.parent && window.parent.document != window.document && typeof window.parent.sc_session_redir === 'function') { window.parent.sc_session_redir(url_redir); } else { if (window.opener && typeof window.opener.sc_session_redir === 'function') { window.close(); window.opener.sc_session_redir(url_redir); } else { window.location = url_redir; } } } </script> </body> </html>
Save
cmd:
run