text:
1975 53rd Annual Session California Baptist State Convention: Oct. 27, 1975 - Oct. 31, 1975; souvenir program
Oakland: Antioch Baptist Church, 1975. Magazine. 37p., 8.5x11 inches, photos, ads, magazine format program, small pink stain on the cover otherwise a very good souvenir booklet in stapled pictorial wraps. The 1975 convention was held at the Antioch Baptist Church in Oakland and at the Oakland Hyatt House.	More
1978 Program Committee Report: Beth Eden Baptist Church Magnolia & Tenth Streets, Oakland, California
Oakland: The Church, 1978. 54 sheets (printed both sides on many but only numbered on recto) 8.5x11 inches, tables, reports, recommendations, very good in black plastic copy-shop-bound blue pictorial wraps.	More
42nd Annual Session, Home and Foreign Mission District Association, Women's Auxiliary August 7-12, 1988, Theme: "Going up Together by God's Design" Acts: 3:1
Oakland: Women's Auxiliary, 1988. 9.5x12 inch yellow folder printed black containing in pockets three 8.5x11 inch handbills, six 8.5x11 inch stapled sheets printed with information, a sermon and images and two 5.5x8.5 inch programs for the event. Pearlie Morgan was the President of the Auxiliary and Rev. Frank Poole was..... More
7th Annual Chester Himes black mystery writers conference and awards program; Saturday,April 27, 2002 ... Oakland Museum of California
Oakland: the Program, 2002. Folder with label logo, includes the 1st place winner of the Chester Himes Black Mystery Writing contest ("Mystery of the Smoked Herring" by 11th Grade Skyline High School student John Lo), a Himes chronology, a profile of Hugh Holton reprinted from the Sept. 29, 2000 issue.....	More
Against Sleep and Nightmare [6 issues]
Oakland: ASAN, [ca. 1990-2001]. Magazine. Six issues of the 8.5x11 inch staplebound zine, some with handling wear or soil, some rust to staples, decent reading copies. Issues present are numbers 2-7. One man anonymous ultra-left zine published out of Oakland in the '80s and '90s. Influenced by perspectives of the..... More
Against Sleep and Nightmare, No. 2
Oakland: ASAN, [1992?]. Magazine. 29p., 8.25x10.75 inches, illus., front wrap unevenly toned. Consists of folded leaves, not stapled or otherwise secured. One man anonymous ultra-left zine published out of Oakland in the '80s and '90s. Influenced by perspectives of the Situationists and Freddy Perlman's Black & Red publications.	More
Oakland: ASAN, [1992?]. Magazine. 29p., stapled wraps, 8.25x10.75 inches, illus., wraps slightly worn, rear wrap foxed, else good condition. One man anonymous ultra-left zine published out of Oakland in the '80s and '90s. Influenced by perspectives of the Situationists and Freddy Perlman's Black & Red publications.	More
Oakland: ASAN, [1992?]. Magazine. 29p., stapled wraps, 8.25x10.75 inches, illus., wraps slightly worn, stain on front wrap, rear wrap soiled, stained, and unevenly toned, else good condition. One man anonymous ultra-left zine published out of Oakland in the '80s and '90s. Influenced by perspectives of the Situationists and Freddy Perlman's..... More
Oakland: ASAN, [1990s]. Magazine. 29p., 8.25x10.75 inches, illus., pages slightly toned else very good condition. One man anonymous ultra-left zine published out of Oakland in the '80s and '90s. Influenced by perspectives of the Situationists and Freddy Perlman's Black & Red publications.	More
Oakland: ASAN, [1992?]. Magazine. 29p., 8.25x10.75 inches, illus., some rust to staples, else very good condition. One man anonymous ultra-left zine published out of Oakland in the '80s and '90s. Influenced by perspectives of the Situationists and Freddy Perlman's Black & Red publications.	More
Oakland: ASAN, [1990s]. Magazine. 29p., 8.25x10.75 inches, illus., wraps creased else good condition. One man anonymous ultra-left zine published out of Oakland in the '80s and '90s. Influenced by perspectives of the Situationists and Freddy Perlman's Black & Red publications.	More
Agreement, 1968-1971: San Francisco-Oakland Newspaper Guild and San Francisco Newspaper Publishers Association
San Francisco: American Newspaper Guild. Local 52, 1968. 45p., staplebound booklet, very good.	More
AIDS Alert [newsletter] vol. 1, #11, September, 1986
Oakland: AIDS Project of the East Bay, a Program of the Pacific Center for Human Growth, 1986. Four panel newsletter, 8.5x11 inches, information, events, two horizontal mailing fold creases and mailing address lavel (of Phyllis Lyon) otherwise very good on bright yellow stock.	More
Alambres de NEL: volume 1, no. 3 (Oct. 1975)
Oakland: N.E.L. (Narcotics Education League), 1975. [4p] 8.5x11 inches, edgeworn. Profile of an ex-junkie; a piece discussing M.A.T.A. (Minorities Alcoholic Treatment Alternative); another citing the Oakland-based Centro Legal.	More
An alternative seismic retrofit proposal, Sacred Heart Church presented to Oakland City Council, September 10, 1991
Oakland: The Church, 1991. Paperback. unpaginated, collection of facsimiles of letters and reports from architects, independent contractors etc., plans, budgets, arguments etc., very good in spiral-bound pictorial wraps. An evaluation of the '89 earthquake damage, proposed repairs and strengthenings.	More
America's Black Heritage Calendar; a continuing strength in our society [1987 calendar]
Oakland: Baker Mortuary, Inc., 1987. Calendar. [28p] includes covers, 8.75x9 inches, illustrations, photos, biographies, historical information, 12 month wall calendar, stapled pictorial covers.	More
Ang Katipunan special. Target: KDP
Oakland: Union of Democratic Filipinos (KDP), [1982]. Four-panel brochure, 8.5x11 inches, outlining US government spying against the KDP. Revised version of an article by Venny Villapando originally published in Ang Katipunan.	More
Announcement: We invite you to visit the Comrades Lunch Room upstairs in Machinists Hall, 531 Eleventh St. A good home cooked meal 25c [invitation card]
Oakland, CA: [International Association of Machinists], [192-?]. 2.5x4 inch card, very good, printed one side. Socialist notables including James P. Cannon spoke at the Hall in the early 1920s.	More
Anti-Apartheid Action! [five issues]
Oakland: Bay Area Free South Africa Movement, 1985-1986. Five issues of the 8.5x11 inch newsletter, 4 to 8 pages per issue, generally very good, one with a penned name. Issues present are June/July, August, and October 1985, Dec. 1985/Jan. 1986, and April-May 1986.	More
Artists Among Us: an exhibition of creative artist fellows honored from 1989 - 1997; February 1 - march 22, 1997, Pro Arts Gallery
Oakland: Cultural Arts Division, 1997. Paperback. 48p., 11x8.5 inches landscape layout, photos, biographical sketches, very good in stapled pictorial wraps. Honorees include Lucha Corpi, Larry Clark, and Ishmael Reed.	More
Babes in Toyland. Music by Victor Herbert
Oakland: Holy Names High School; Marylrose Grammar School, 1959. 24p., staplebound booklet, 8.5x11 inches, very good. Program booklet for a program hosted by the Catholic schools; many pages are devoted to ads for local businesses.	More
Being There: 45 Oakland artists; February 23 - May 12, 2002, Oakland Museum of California
Oakland: Oakland Museum of California, 2002. 16p., 11x8 inches landscape layout, thumbnail b&w reproductions, very good booklet in stapled wraps.	More
Bethany's Church Choir annual day, Sunday, September 26, 1993 5400 Adeline Street, Oakland, CA [souvenir program]
Oakland: Bethany's Church, 1993. Four panel souvenir program, 8.5x11 inches, list of deceased members, program for the event, officers and committees, single song sheet "We've Come This far By Faith" by Albert A. Goodson laid-in, very good.	More
Beulah Chapter no. 24 Order of the Eastern Star, Prince Hall Rite of Adoption, California and Hawaii 53rd year, yearbook 1975
Oakland: The Order, 1975. 30p., 4.5x6.25 inches, red typeface and illustrated with 6 red-printed photos of members, all but one are women; speech, list of officers, events, committees, list of other chapters. Yellow stapled wraps, badly worn, stained and handling-soiled.	More
Black filmmakers hall of fame 1975 the second Oscar Micheaux awards ceremony, February 16, 1975, Paramount Theatre of the Arts, Oakland, California
Oakland: Cultural and Ethnic Affairs Guild of the Oakland Museum Association, 1975. Oversized Paperback. Unpaginated (about 50p.), 8.5x8.5 inches, photos in text, slender softcover. Very good.	More


This year is FLOC's 12th Annual Spin Clinic! Come out and spin with us April 22rd from 8:30 am to 3:30 pm in Godwin Hall at James Madison University!
Register for our 2018 Spin Clinic here!
Below is the medial form for our clinic. You will not be able to participate if you do not bring your medical form the day of the clinic.


text:
<?php

if (!isset($this->NM_ajax_info['param']['buffer_output']) || !$this->NM_ajax_info['param']['buffer_output'])
{
    $sOBContents = ob_get_contents();
    ob_end_clean();
}

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
            "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">

<html<?php echo $_SESSION['scriptcase']['reg_conf']['html_dir'] ?>>

 <TITLE><?php if ('novo' == $this->nmgp_opcao) { echo strip_tags("" . $this->Ini->Nm_lang['lang_tble_creditcards'] . ""); } else { echo strip_tags("" . $this->Ini->Nm_lang['lang_tble_creditcards'] . ""); } ?></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="Cache-Control" content="post-check=0, pre-check=0"/>
 <META http-equiv="Pragma" content="no-cache"/>
<?php
header("X-XSS-Protection: 0");
?>
<?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
}

?>
 <link rel="stylesheet" href="<?php echo $this->Ini->path_prod ?>/third/jquery_plugin/thickbox/thickbox.css" type="text/css" media="screen" />

 <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 ?>_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" />
 <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" />
<?php
include_once("../_lib/css/" . $this->Ini->str_schema_all . "_tab.php");
?>

<?php
include_once("form_creditcards_sajax_js.php");
?>

<?php
$str_iframe_body = ('F' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] || 'R' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['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_creditcards']['opc_ant'] = "novo";
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['recarga'] = "novo";
}
if (empty($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['recarga']))
{
    $opcao_botoes = $this->nmgp_opcao;
}
else
{
    $opcao_botoes = $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['recarga'];
}
?>
<body class="scFormPage" style="<?php echo $str_iframe_body; ?>">
<?php

if (!isset($this->NM_ajax_info['param']['buffer_output']) || !$this->NM_ajax_info['param']['buffer_output'])
{
    echo $sOBContents;
}

?>

<?php
 include_once("form_creditcards_js0.php");
?>

<form name="F1" method="post"
               action="form_creditcards.php"
               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
if ('novo' == $this->nmgp_opcao || 'incluir' == $this->nmgp_opcao)
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['insert_validation'] = md5(time() . rand(1, 99999));
?>
<input type="hidden" name="nmgp_ins_valid" value="<?php echo $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['insert_validation']; ?>">
<?php
}
?>
<input type="hidden" name="nmgp_opcao" value="">
<input type="hidden" name="nmgp_ancora" value="">
<input type="hidden" name="nmgp_num_form" value="<?php  echo NM_encode_input($nmgp_num_form); ?>">
<input type="hidden" name="nmgp_parms" value="">
<input type="hidden" name="script_case_init" value="<?php  echo NM_encode_input($this->Ini->sc_page); ?>">
<input type="hidden" name="script_case_session" value="<?php  echo NM_encode_input(session_id()); ?>">
<input type="hidden" name="NM_cancel_return_new" value="<?php echo $this->NM_cancel_return_new ?>">
<input type="hidden" name="_sc_force_mobile" id="sc-id-mobile-control" value="" />
<?php
$_SESSION['scriptcase']['error_span_title']['form_creditcards'] = $this->Ini->Error_icon_span;
$_SESSION['scriptcase']['error_icon_title']['form_creditcards'] = '' != $this->Ini->Err_ico_title ? $this->Ini->path_icones . '/' . $this->Ini->Err_ico_title : '';
?>

<?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 } ?>

<?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	<?php echo nmButtonOutput($this->arr_buttons, "berrm_clse", "scAjaxHideErrorDisplay('table')", "scAjaxHideErrorDisplay('table')", "", "", "", "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

   <?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, "", "", "", "", "");?>

   <?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
}
?>

<input id="id_message_display_buttone" type="button" class="scButton_default" value="Ok" onClick="_scAjaxMessageBtnClick()" >

<?php
if (($this->Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R")
{
?>

<?php
}
if (($this->Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R")
{
    $NM_btn = false;
?>

<?php
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['new'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bnovo", "nm_move ('novo');", "nm_move ('novo');", "sc_b_new_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if (($opcao_botoes == "novo") && (!$this->Embutida_call || $this->sc_evento == "novo" || $this->sc_evento == "insert" || $this->sc_evento == "incluir")) {
        $sCondStyle = ($this->nmgp_botoes['insert'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bincluir", "nm_atualiza ('incluir');", "nm_atualiza ('incluir');", "sc_b_ins_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['update'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "balterar", "nm_atualiza ('alterar');", "nm_atualiza ('alterar');", "sc_b_upd_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['delete'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bexcluir", "nm_atualiza ('excluir');", "nm_atualiza ('excluir');", "sc_b_del_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['copy'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bcopy", "nm_move ('clone');", "nm_move ('clone');", "sc_b_clone_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if (($opcao_botoes == "novo") && (!$this->Embutida_call || $this->sc_evento == "novo" || $this->sc_evento == "insert" || $this->sc_evento == "incluir")) {
        $sCondStyle = ($this->nmgp_botoes['insert'] == "on") && ($this->nm_flag_saida_novo != "S" || $this->nmgp_botoes['exit'] != "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bcancelar", "" . $this->NM_cancel_insert_new . " document.F5.submit();", "" . $this->NM_cancel_insert_new . " document.F5.submit();", "sc_b_sai_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
?>

<?php
    if ('' != $this->url_webhelp) {
        $sCondStyle = '';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bhelp", "window.open('" . $this->url_webhelp. "', '', 'resizable, scrollbars'); ", "window.open('" . $this->url_webhelp. "', '', 'resizable, scrollbars'); ", "", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if (($opcao_botoes == "novo") && (isset($_SESSION['scriptcase']['nm_sc_retorno']) && !empty($_SESSION['scriptcase']['nm_sc_retorno']) && ($nm_apl_dependente != 1 || $this->nm_Start_new) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R") && (!$this->Embutida_call)) {
        $sCondStyle = (($this->nm_flag_saida_novo == "S" || ($this->nm_Start_new && !$this->aba_iframe)) && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bvoltar", "document.F5.action='" . $nm_url_saida. "'; document.F5.submit();", "document.F5.action='" . $nm_url_saida. "'; document.F5.submit();", "sc_b_sai_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if (($opcao_botoes == "novo") && (!isset($_SESSION['scriptcase']['nm_sc_retorno']) || empty($_SESSION['scriptcase']['nm_sc_retorno']) || $nm_apl_dependente == 1 || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] == "F" || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] == "R") && (!$this->Embutida_call)) {
        $sCondStyle = ($this->nm_flag_saida_novo == "S" && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bvoltar", "document.F5.action='" . $nm_url_saida. "'; document.F5.submit();", "document.F5.action='" . $nm_url_saida. "'; document.F5.submit();", "sc_b_sai_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if (($opcao_botoes != "novo") && (!$this->Embutida_call)) {
        $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_creditcards']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R" && (!$this->aba_iframe || $this->is_calendar_app) && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bsair", "document.F6.action='" . $nm_url_saida. "'; document.F6.submit(); return false;", "document.F6.action='" . $nm_url_saida. "'; document.F6.submit(); return false;", "sc_b_sai_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if (($opcao_botoes != "novo") && (!$this->Embutida_call)) {
        $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_creditcards']['run_iframe'] == "F" || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] == "R" || $this->aba_iframe || $this->nmgp_botoes['exit'] != "on") && ($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F" && $this->nmgp_botoes['exit'] == "on") && ($nm_apl_dependente == 1 && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bvoltar", "document.F6.action='" . $nm_url_saida. "'; document.F6.submit(); return false;", "document.F6.action='" . $nm_url_saida. "'; document.F6.submit(); return false;", "sc_b_sai_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if (($opcao_botoes != "novo") && (!$this->Embutida_call)) {
        $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_creditcards']['run_iframe'] == "F" || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] == "R" || $this->aba_iframe || $this->nmgp_botoes['exit'] != "on") && ($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F" && $this->nmgp_botoes['exit'] == "on") && ($nm_apl_dependente != 1 || $this->nmgp_botoes['exit'] != "on") && (!$this->aba_iframe && $this->nmgp_botoes['exit'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bsair", "document.F6.action='" . $nm_url_saida. "'; document.F6.submit(); return false;", "document.F6.action='" . $nm_url_saida. "'; document.F6.submit(); return false;", "sc_b_sai_t", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
}
if (($this->Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R")
{
?>

<?php
}
?>
<?php
if (!$NM_btn && isset($NM_ult_sep))
{
    echo "    ";
}
unset($NM_ult_sep);
?>
<?php if ('novo' != $this->nmgp_opcao || $this->Embutida_form) { ?><?php } ?>

<?php
  if ($this->nmgp_form_empty)
  {
       if (!empty($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['where_filter']))
       {
           $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['empty_filter'] = true;
       }
       echo "

";
       echo "Ini->pag_fonte_tipo . "\" color=\"" . $this->Ini->cor_txt_grid . "\" size=\"2\">" . $this->Ini->Nm_lang['lang_errm_empt'] . "";
       echo "
";
  }
  else
  {
?>
<?php $sc_hidden_no = 1; $sc_hidden_yes = 0; ?>

<?php
?>

       <?php if ('' != $this->Ini->Block_img_exp && '' != $this->Ini->Block_img_col) { echo "

Ini->path_icones . "/" . $this->Ini->Block_img_col . "\" style=\"border: 0px; float: left\" class=\"sc-ui-block-control\">	"; } ?><?php echo $this->Ini->Nm_lang['lang_card_info'] ?><?php if ('' != $this->Ini->Block_img_exp && '' != $this->Ini->Block_img_col) { echo "

"; } ?>

<?php if ($sc_hidden_no > 0) { echo "
"; };
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>

   <?php
   if (!isset($this->nm_new_label['cardtypeid']))
   {
       $this->nm_new_label['cardtypeid'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_cardtypeid'] . "";
   }
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $cardtypeid = $this->cardtypeid;
   $sStyleHidden_cardtypeid = '';
   if (isset($this->nmgp_cmp_hidden['cardtypeid']) && $this->nmgp_cmp_hidden['cardtypeid'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['cardtypeid']);
       $sStyleHidden_cardtypeid = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_cardtypeid = 'display: none;';
   $sStyleReadInp_cardtypeid = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['cardtypeid']) && $this->nmgp_cmp_readonly['cardtypeid'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['cardtypeid']);
       $sStyleReadLab_cardtypeid = '';
       $sStyleReadInp_cardtypeid = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['cardtypeid']) && $this->nmgp_cmp_hidden['cardtypeid'] == 'off') { $sc_hidden_yes++; ?>
<input type=hidden name="cardtypeid" value="<?php echo NM_encode_input($this->cardtypeid) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_cardtypeid" style="<?php echo $sStyleHidden_cardtypeid; ?>;">

<?php echo $this->nm_new_label['cardtypeid']; ?><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['cardtypeid']) || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['cardtypeid'] == "on") { ?> * <?php }?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["cardtypeid"]) &&  $this->nmgp_cmp_readonly["cardtypeid"] == "on") {

$nmgp_def_dados = "" ;
if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid']))
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid']);
}
else
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid'] = array();
}
   if (in_array(strtolower($this->Ini->nm_tpbanco), $this->Ini->nm_bases_ibase))
   {
       $GLOBALS["NM_ERRO_IBASE"] = 1;
   }
   $nm_nao_carga = false;
   $nmgp_def_dados = "" ;
   if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid']))
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid']);
   }
   else
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid'] = array();
    }

   $old_value_expirationdate = $this->expirationdate;
   $old_value_cardnumber = $this->cardnumber;
   $this->nm_tira_formatacao();
   $this->nm_converte_datas(false);

   $unformatted_value_expirationdate = $this->expirationdate;
   $unformatted_value_cardnumber = $this->cardnumber;

   $nm_comando = "select cardtypeid, description
from cardtype
order by description";

   $this->expirationdate = $old_value_expirationdate;
   $this->cardnumber = $old_value_cardnumber;

   $_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_creditcards']['Lookup_cardtypeid'][] = $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;
   $cardtypeid_look = "";
   $todo = explode("?@?", trim($nmgp_def_dados)) ;
   while (!empty($todo[$x]))
   {
          $cadaselect = explode("?#?", $todo[$x]) ;
          if (isset($this->Embutida_ronly) && $this->Embutida_ronly && isset($this->cardtypeid_1))
          {
              foreach ($this->cardtypeid_1 as $tmp_cardtypeid)
              {
                  if (trim($tmp_cardtypeid) === trim($cadaselect[1])) { $cardtypeid_look .= $cadaselect[0] . '__SC_BREAK_LINE__'; }
              }
          }
          elseif (trim($this->cardtypeid) === trim($cadaselect[1])) { $cardtypeid_look .= $cadaselect[0]; }
          $x++;
   }

?>
<input type="hidden" name="cardtypeid" value="<?php echo NM_encode_input($cardtypeid) . "\">" . $cardtypeid_look . ""; ?>
<?php } else { ?>

<?php
$nmgp_def_dados = "" ;
if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid']))
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid']);
}
else
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid'] = array();
}
   if (in_array(strtolower($this->Ini->nm_tpbanco), $this->Ini->nm_bases_ibase))
   {
       $GLOBALS["NM_ERRO_IBASE"] = 1;
   }
   $nm_nao_carga = false;
   $nmgp_def_dados = "" ;
   if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid']))
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid']);
   }
   else
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid'] = array();
    }

   $old_value_expirationdate = $this->expirationdate;
   $old_value_cardnumber = $this->cardnumber;
   $this->nm_tira_formatacao();
   $this->nm_converte_datas(false);

   $unformatted_value_expirationdate = $this->expirationdate;
   $unformatted_value_cardnumber = $this->cardnumber;

   $nm_comando = "select cardtypeid, description
from cardtype
order by description";

   $this->expirationdate = $old_value_expirationdate;
   $this->cardnumber = $old_value_cardnumber;

   $_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_creditcards']['Lookup_cardtypeid'][] = $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 ;
   $todo = explode("?@?", $nmgp_def_dados) ;
   $x = 0;
   $cardtypeid_look = "";
   $todo = explode("?@?", trim($nmgp_def_dados)) ;
   while (!empty($todo[$x]))
   {
          $cadaselect = explode("?#?", $todo[$x]) ;
          if (isset($this->Embutida_ronly) && $this->Embutida_ronly && isset($this->cardtypeid_1))
          {
              foreach ($this->cardtypeid_1 as $tmp_cardtypeid)
              {
                  if (trim($tmp_cardtypeid) === trim($cadaselect[1])) { $cardtypeid_look .= $cadaselect[0] . '__SC_BREAK_LINE__'; }
              }
          }
          elseif (trim($this->cardtypeid) === trim($cadaselect[1])) { $cardtypeid_look .= $cadaselect[0]; }
          $x++;
   }
   $x = 0;
   echo "" . NM_encode_input($cardtypeid_look) . "";
   echo " <select class=\"sc-js-input scFormObjectOdd\" style=\";\" id=\"id_sc_field_cardtypeid\" name=\"cardtypeid\" size=\"1\" alt=\"{type: 'select', enterTab: false}\">" ;
   echo "\r" ;
   $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_cardtypeid'][] = '';
   echo "  <option value=\"\"></option>" ;
   while (!empty($todo[$x]) && !$nm_nao_carga)
   {
          $cadaselect = explode("?#?", $todo[$x]) ;
          echo "  <option value=\"$cadaselect[1]\"" ;
          if (trim($this->cardtypeid) === trim($cadaselect[1]))
          {
              echo " selected" ;
          }
          if (strtoupper($cadaselect[2]) == "S")
          {
              if (empty($this->cardtypeid))
              {
                  echo " selected" ;
              }
           }
          echo ">$cadaselect[0] </option>" ;
          echo "\r" ;
          $x++ ;
   }  ;
   echo " </select>" ;
   echo "\r" ;
   echo "";
?>
<?php  }?>

   <?php }?>

   <?php
    if (!isset($this->nm_new_label['expirationdate']))
    {
        $this->nm_new_label['expirationdate'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_expirationdate'] . "";
    }
?>
<?php
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $expirationdate = $this->expirationdate;
   $sStyleHidden_expirationdate = '';
   if (isset($this->nmgp_cmp_hidden['expirationdate']) && $this->nmgp_cmp_hidden['expirationdate'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['expirationdate']);
       $sStyleHidden_expirationdate = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_expirationdate = 'display: none;';
   $sStyleReadInp_expirationdate = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['expirationdate']) && $this->nmgp_cmp_readonly['expirationdate'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['expirationdate']);
       $sStyleReadLab_expirationdate = '';
       $sStyleReadInp_expirationdate = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['expirationdate']) && $this->nmgp_cmp_hidden['expirationdate'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="expirationdate" value="<?php echo NM_encode_input($expirationdate) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_expirationdate" style="<?php echo $sStyleHidden_expirationdate; ?>;">

<?php echo $this->nm_new_label['expirationdate']; ?><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['expirationdate']) || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['expirationdate'] == "on") { ?> * <?php }?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["expirationdate"]) &&  $this->nmgp_cmp_readonly["expirationdate"] == "on") {

 ?>
<input type="hidden" name="expirationdate" value="<?php echo NM_encode_input($expirationdate) . "\">" . $expirationdate . ""; ?>
<?php } else { ?>
<span id="id_read_on_expirationdate" class="sc-ui-readonly-expirationdate" style=";<?php echo $sStyleReadLab_expirationdate; ?>"><?php echo NM_encode_input($expirationdate); ?><span id="id_read_off_expirationdate" style="white-space: nowrap;<?php echo $sStyleReadInp_expirationdate; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_expirationdate" type=text name="expirationdate" value="<?php echo NM_encode_input($expirationdate) ?>"
 size=10 alt="{datatype: 'date', dateSep: '<?php echo $this->field_config['expirationdate']['date_sep']; ?>', dateFormat: '<?php echo $this->field_config['expirationdate']['date_format']; ?>', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: false, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"><?php
$tmp_form_data = $this->field_config['expirationdate']['date_format'];
$tmp_form_data = str_replace('aaaa', 'yyyy', $tmp_form_data);
$tmp_form_data = str_replace('dd'  , $this->Ini->Nm_lang['lang_othr_date_days'], $tmp_form_data);
$tmp_form_data = str_replace('mm'  , $this->Ini->Nm_lang['lang_othr_date_mnth'], $tmp_form_data);
$tmp_form_data = str_replace('yyyy', $this->Ini->Nm_lang['lang_othr_date_year'], $tmp_form_data);
$tmp_form_data = str_replace('hh'  , $this->Ini->Nm_lang['lang_othr_date_hour'], $tmp_form_data);
$tmp_form_data = str_replace('ii'  , $this->Ini->Nm_lang['lang_othr_date_mint'], $tmp_form_data);
$tmp_form_data = str_replace('ss'  , $this->Ini->Nm_lang['lang_othr_date_scnd'], $tmp_form_data);
$tmp_form_data = str_replace(';'   , ' '                                       , $tmp_form_data);
?>
 <?php echo $tmp_form_data; ?><?php } ?>

   <?php }?>

   <?php
    if (!isset($this->nm_new_label['cardnumber']))
    {
        $this->nm_new_label['cardnumber'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_cardnumber'] . "";
    }
?>
<?php
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $cardnumber = $this->cardnumber;
   $sStyleHidden_cardnumber = '';
   if (isset($this->nmgp_cmp_hidden['cardnumber']) && $this->nmgp_cmp_hidden['cardnumber'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['cardnumber']);
       $sStyleHidden_cardnumber = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_cardnumber = 'display: none;';
   $sStyleReadInp_cardnumber = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['cardnumber']) && $this->nmgp_cmp_readonly['cardnumber'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['cardnumber']);
       $sStyleReadLab_cardnumber = '';
       $sStyleReadInp_cardnumber = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['cardnumber']) && $this->nmgp_cmp_hidden['cardnumber'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="cardnumber" value="<?php echo NM_encode_input($cardnumber) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_cardnumber" style="<?php echo $sStyleHidden_cardnumber; ?>;">

<?php echo $this->nm_new_label['cardnumber']; ?><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['cardnumber']) || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['cardnumber'] == "on") { ?> * <?php }?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["cardnumber"]) &&  $this->nmgp_cmp_readonly["cardnumber"] == "on") {

 ?>
<input type="hidden" name="cardnumber" value="<?php echo NM_encode_input($cardnumber) . "\">" . $cardnumber . ""; ?>
<?php } else { ?>
<span id="id_read_on_cardnumber" class="sc-ui-readonly-cardnumber" style=";<?php echo $sStyleReadLab_cardnumber; ?>"><?php echo NM_encode_input($this->cardnumber); ?><span id="id_read_off_cardnumber" style="white-space: nowrap;<?php echo $sStyleReadInp_cardnumber; ?>">
 <input class="sc-js-input scFormObjectOdd" style="text-align:right;" id="id_sc_field_cardnumber" type=text name="cardnumber" value="<?php echo NM_encode_input($cardnumber) ?>"
 size=30 maxlength=11 alt="{datatype: 'integer', maxLength: 11, thousandsSep: '<?php echo str_replace("'", "\'", $this->field_config['cardnumber']['symbol_grp']); ?>', thousandsFormat: <?php echo $this->field_config['cardnumber']['symbol_fmt']; ?>, allowNegative: false, onlyNegative: false, enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: false, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"><?php } ?>

   <?php }?>

<?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?>

    <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" >

<?php }
?>
<?php $sStyleHidden_cardtypeid_dumb = ('' == $sStyleHidden_cardtypeid) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_cardtypeid_dumb" style="<?php echo $sStyleHidden_cardtypeid_dumb; ?>">
<?php $sStyleHidden_expirationdate_dumb = ('' == $sStyleHidden_expirationdate) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_expirationdate_dumb" style="<?php echo $sStyleHidden_expirationdate_dumb; ?>">
<?php $sStyleHidden_cardnumber_dumb = ('' == $sStyleHidden_cardnumber) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_cardnumber_dumb" style="<?php echo $sStyleHidden_cardnumber_dumb; ?>">
<?php if ($sc_hidden_no > 0) { echo "
"; };
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>

   <?php
    if (!isset($this->nm_new_label['cardholder']))
    {
        $this->nm_new_label['cardholder'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_cardholder'] . "";
    }
?>
<?php
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $cardholder = $this->cardholder;
   $sStyleHidden_cardholder = '';
   if (isset($this->nmgp_cmp_hidden['cardholder']) && $this->nmgp_cmp_hidden['cardholder'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['cardholder']);
       $sStyleHidden_cardholder = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_cardholder = 'display: none;';
   $sStyleReadInp_cardholder = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['cardholder']) && $this->nmgp_cmp_readonly['cardholder'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['cardholder']);
       $sStyleReadLab_cardholder = '';
       $sStyleReadInp_cardholder = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['cardholder']) && $this->nmgp_cmp_hidden['cardholder'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="cardholder" value="<?php echo NM_encode_input($cardholder) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_cardholder" style="<?php echo $sStyleHidden_cardholder; ?>;">

<?php echo $this->nm_new_label['cardholder']; ?><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['cardholder']) || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['cardholder'] == "on") { ?> * <?php }?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["cardholder"]) &&  $this->nmgp_cmp_readonly["cardholder"] == "on") {

 ?>
<input type="hidden" name="cardholder" value="<?php echo NM_encode_input($cardholder) . "\">" . $cardholder . ""; ?>
<?php } else { ?>
<span id="id_read_on_cardholder" class="sc-ui-readonly-cardholder" style=";<?php echo $sStyleReadLab_cardholder; ?>"><?php echo NM_encode_input($this->cardholder); ?><span id="id_read_off_cardholder" style="white-space: nowrap;<?php echo $sStyleReadInp_cardholder; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_cardholder" type=text name="cardholder" value="<?php echo NM_encode_input($cardholder) ?>"
 size=20 maxlength=255 alt="{datatype: 'text', maxLength: 255, allowedChars: '<?php echo $this->allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: false, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"><?php } ?>

   <?php }?>

   <?php
    if (!isset($this->nm_new_label['securitycode']))
    {
        $this->nm_new_label['securitycode'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_securitycode'] . "";
    }
?>
<?php
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $securitycode = $this->securitycode;
   $sStyleHidden_securitycode = '';
   if (isset($this->nmgp_cmp_hidden['securitycode']) && $this->nmgp_cmp_hidden['securitycode'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['securitycode']);
       $sStyleHidden_securitycode = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_securitycode = 'display: none;';
   $sStyleReadInp_securitycode = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['securitycode']) && $this->nmgp_cmp_readonly['securitycode'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['securitycode']);
       $sStyleReadLab_securitycode = '';
       $sStyleReadInp_securitycode = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['securitycode']) && $this->nmgp_cmp_hidden['securitycode'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="securitycode" value="<?php echo NM_encode_input($securitycode) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_securitycode" style="<?php echo $sStyleHidden_securitycode; ?>;">

<?php echo $this->nm_new_label['securitycode']; ?><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['securitycode']) || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['securitycode'] == "on") { ?> * <?php }?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["securitycode"]) &&  $this->nmgp_cmp_readonly["securitycode"] == "on") {

 ?>
<input type="hidden" name="securitycode" value="<?php echo NM_encode_input($securitycode) . "\">" . $securitycode . ""; ?>
<?php } else { ?>
<span id="id_read_on_securitycode" class="sc-ui-readonly-securitycode" style=";<?php echo $sStyleReadLab_securitycode; ?>"><?php echo NM_encode_input($this->securitycode); ?><span id="id_read_off_securitycode" style="white-space: nowrap;<?php echo $sStyleReadInp_securitycode; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_securitycode" type=text name="securitycode" value="<?php echo NM_encode_input($securitycode) ?>"
 size=20 maxlength=255 alt="{datatype: 'text', maxLength: 255, allowedChars: '<?php echo $this->allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: false, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"><?php } ?>

   <?php }?>

<?php if ($sc_hidden_yes > 0) { ?>

    <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" >

<?php } ?>
<?php $sStyleHidden_cardholder_dumb = ('' == $sStyleHidden_cardholder) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_cardholder_dumb" style="<?php echo $sStyleHidden_cardholder_dumb; ?>">
<?php $sStyleHidden_securitycode_dumb = ('' == $sStyleHidden_securitycode) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_securitycode_dumb" style="<?php echo $sStyleHidden_securitycode_dumb; ?>">

<?php $sc_hidden_no = 1; ?>

       <?php if ('' != $this->Ini->Block_img_exp && '' != $this->Ini->Block_img_col) { echo "

Ini->path_icones . "/" . $this->Ini->Block_img_col . "\" style=\"border: 0px; float: left\" class=\"sc-ui-block-control\">	"; } ?><?php echo $this->Ini->Nm_lang['lang_tble_address'] ?><?php if ('' != $this->Ini->Block_img_exp && '' != $this->Ini->Block_img_col) { echo "

"; } ?>

<?php if ($sc_hidden_no > 0) { echo "
"; };
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>

   <?php
   if (!isset($this->nm_new_label['country']))
   {
       $this->nm_new_label['country'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_country'] . "";
   }
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $country = $this->country;
   $sStyleHidden_country = '';
   if (isset($this->nmgp_cmp_hidden['country']) && $this->nmgp_cmp_hidden['country'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['country']);
       $sStyleHidden_country = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_country = 'display: none;';
   $sStyleReadInp_country = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['country']) && $this->nmgp_cmp_readonly['country'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['country']);
       $sStyleReadLab_country = '';
       $sStyleReadInp_country = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['country']) && $this->nmgp_cmp_hidden['country'] == 'off') { $sc_hidden_yes++; ?>
<input type=hidden name="country" value="<?php echo NM_encode_input($this->country) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_country" style="<?php echo $sStyleHidden_country; ?>;">

<?php echo $this->nm_new_label['country']; ?><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['country']) || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['country'] == "on") { ?> * <?php }?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["country"]) &&  $this->nmgp_cmp_readonly["country"] == "on") {

$nmgp_def_dados = "" ;
if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country']))
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country']);
}
else
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'] = array();
}
   if (in_array(strtolower($this->Ini->nm_tpbanco), $this->Ini->nm_bases_ibase))
   {
       $GLOBALS["NM_ERRO_IBASE"] = 1;
   }
   $nm_nao_carga = false;
   $nmgp_def_dados = "" ;
   if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country']))
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country']);
   }
   else
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'] = array();
    }

   $old_value_expirationdate = $this->expirationdate;
   $old_value_cardnumber = $this->cardnumber;
   $this->nm_tira_formatacao();
   $this->nm_converte_datas(false);

   $unformatted_value_expirationdate = $this->expirationdate;
   $unformatted_value_cardnumber = $this->cardnumber;

   $nm_comando = "select countrycode, name
from country
order by name";

   $this->expirationdate = $old_value_expirationdate;
   $this->cardnumber = $old_value_cardnumber;

   $_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)
       {
              $nmgp_def_dados .= $rs->fields[1] . "?#?" ;
              $nmgp_def_dados .= $rs->fields[0] . "?#?N?@?" ;
              $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'][] = $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;
   $country_look = "";
   $todo = explode("?@?", trim($nmgp_def_dados)) ;
   while (!empty($todo[$x]))
   {
          $cadaselect = explode("?#?", $todo[$x]) ;
          if (isset($this->Embutida_ronly) && $this->Embutida_ronly && isset($this->country_1))
          {
              foreach ($this->country_1 as $tmp_country)
              {
                  if (trim($tmp_country) === trim($cadaselect[1])) { $country_look .= $cadaselect[0] . '__SC_BREAK_LINE__'; }
              }
          }
          elseif (trim($this->country) === trim($cadaselect[1])) { $country_look .= $cadaselect[0]; }
          $x++;
   }

?>
<input type="hidden" name="country" value="<?php echo NM_encode_input($country) . "\">" . $country_look . ""; ?>
<?php } else { ?>

<?php
$nmgp_def_dados = "" ;
if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country']))
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country']);
}
else
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'] = array();
}
   if (in_array(strtolower($this->Ini->nm_tpbanco), $this->Ini->nm_bases_ibase))
   {
       $GLOBALS["NM_ERRO_IBASE"] = 1;
   }
   $nm_nao_carga = false;
   $nmgp_def_dados = "" ;
   if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country']))
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country']);
   }
   else
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'] = array();
    }

   $old_value_expirationdate = $this->expirationdate;
   $old_value_cardnumber = $this->cardnumber;
   $this->nm_tira_formatacao();
   $this->nm_converte_datas(false);

   $unformatted_value_expirationdate = $this->expirationdate;
   $unformatted_value_cardnumber = $this->cardnumber;

   $nm_comando = "select countrycode, name
from country
order by name";

   $this->expirationdate = $old_value_expirationdate;
   $this->cardnumber = $old_value_cardnumber;

   $_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)
       {
              $nmgp_def_dados .= $rs->fields[1] . "?#?" ;
              $nmgp_def_dados .= $rs->fields[0] . "?#?N?@?" ;
              $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'][] = $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 ;
   $todo = explode("?@?", $nmgp_def_dados) ;
   $x = 0;
   $country_look = "";
   $todo = explode("?@?", trim($nmgp_def_dados)) ;
   while (!empty($todo[$x]))
   {
          $cadaselect = explode("?#?", $todo[$x]) ;
          if (isset($this->Embutida_ronly) && $this->Embutida_ronly && isset($this->country_1))
          {
              foreach ($this->country_1 as $tmp_country)
              {
                  if (trim($tmp_country) === trim($cadaselect[1])) { $country_look .= $cadaselect[0] . '__SC_BREAK_LINE__'; }
              }
          }
          elseif (trim($this->country) === trim($cadaselect[1])) { $country_look .= $cadaselect[0]; }
          $x++;
   }
   $x = 0;
   echo "" . NM_encode_input($country_look) . "";
   echo " <select class=\"sc-js-input scFormObjectOdd\" style=\";\" id=\"id_sc_field_country\" name=\"country\" size=\"1\" alt=\"{type: 'select', enterTab: false}\">" ;
   echo "\r" ;
   $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_country'][] = '';
   echo "  <option value=\"\"></option>" ;
   while (!empty($todo[$x]) && !$nm_nao_carga)
   {
          $cadaselect = explode("?#?", $todo[$x]) ;
          echo "  <option value=\"$cadaselect[1]\"" ;
          if (trim($this->country) === trim($cadaselect[1]))
          {
              echo " selected" ;
          }
          if (strtoupper($cadaselect[2]) == "S")
          {
              if (empty($this->country))
              {
                  echo " selected" ;
              }
           }
          echo ">$cadaselect[0] </option>" ;
          echo "\r" ;
          $x++ ;
   }  ;
   echo " </select>" ;
   echo "\r" ;
 ?> <?php echo nmButtonOutput($this->arr_buttons, "bform_lookuplink", "", "", "fldedt_country", "", "", "", "", "", "", $this->Ini->path_botoes, "", "", "thickbox", "" . $this->Ini->link_form_country_edit . "?script_case_init=" . $this->Ini->sc_page . "&script_case_session=" . session_id() . "&nmgp_url_saida=modal&nmgp_parms=sc_redir_atualiz*scinok*scout&nmgp_outra_jan=true&nm_evt_ret_edit=do_ajax_form_creditcards_lkpedt_refresh_country&KeepThis=true&TB_iframe=true&height=350&width=300&modal=true", "");?>
<?php    echo "";
?>
<?php  }?>

   <?php }?>

   <?php
   if (!isset($this->nm_new_label['state']))
   {
       $this->nm_new_label['state'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_state'] . "";
   }
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $state = $this->state;
   $sStyleHidden_state = '';
   if (isset($this->nmgp_cmp_hidden['state']) && $this->nmgp_cmp_hidden['state'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['state']);
       $sStyleHidden_state = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_state = 'display: none;';
   $sStyleReadInp_state = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['state']) && $this->nmgp_cmp_readonly['state'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['state']);
       $sStyleReadLab_state = '';
       $sStyleReadInp_state = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['state']) && $this->nmgp_cmp_hidden['state'] == 'off') { $sc_hidden_yes++; ?>
<input type=hidden name="state" value="<?php echo NM_encode_input($this->state) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_state" style="<?php echo $sStyleHidden_state; ?>;">

<?php echo $this->nm_new_label['state']; ?><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['state']) || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['state'] == "on") { ?> * <?php }?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["state"]) &&  $this->nmgp_cmp_readonly["state"] == "on") {

$nmgp_def_dados = "" ;
if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state']))
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state']);
}
else
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'] = array();
}
   if (in_array(strtolower($this->Ini->nm_tpbanco), $this->Ini->nm_bases_ibase))
   {
       $GLOBALS["NM_ERRO_IBASE"] = 1;
   }
   $nm_nao_carga = false;
   $nmgp_def_dados = "" ;
   if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state']))
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state']);
   }
   else
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'] = array();
    }

   $old_value_expirationdate = $this->expirationdate;
   $old_value_cardnumber = $this->cardnumber;
   $this->nm_tira_formatacao();
   $this->nm_converte_datas(false);

   $unformatted_value_expirationdate = $this->expirationdate;
   $unformatted_value_cardnumber = $this->cardnumber;

   $nm_comando = "select stateid, name
from states
where countrycode = '$this->country'
order by name";

   $this->expirationdate = $old_value_expirationdate;
   $this->cardnumber = $old_value_cardnumber;

   $_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)
       {
              $nmgp_def_dados .= $rs->fields[1] . "?#?" ;
              $nmgp_def_dados .= $rs->fields[0] . "?#?N?@?" ;
              $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'][] = $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;
   $state_look = "";
   $todo = explode("?@?", trim($nmgp_def_dados)) ;
   while (!empty($todo[$x]))
   {
          $cadaselect = explode("?#?", $todo[$x]) ;
          if (isset($this->Embutida_ronly) && $this->Embutida_ronly && isset($this->state_1))
          {
              foreach ($this->state_1 as $tmp_state)
              {
                  if (trim($tmp_state) === trim($cadaselect[1])) { $state_look .= $cadaselect[0] . '__SC_BREAK_LINE__'; }
              }
          }
          elseif (trim($this->state) === trim($cadaselect[1])) { $state_look .= $cadaselect[0]; }
          $x++;
   }

?>
<input type="hidden" name="state" value="<?php echo NM_encode_input($state) . "\">" . $state_look . ""; ?>
<?php } else { ?>

<?php
$nmgp_def_dados = "" ;
if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state']))
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state']);
}
else
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'] = array();
}
   if (in_array(strtolower($this->Ini->nm_tpbanco), $this->Ini->nm_bases_ibase))
   {
       $GLOBALS["NM_ERRO_IBASE"] = 1;
   }
   $nm_nao_carga = false;
   $nmgp_def_dados = "" ;
   if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state']))
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state']);
   }
   else
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'] = array();
    }

   $old_value_expirationdate = $this->expirationdate;
   $old_value_cardnumber = $this->cardnumber;
   $this->nm_tira_formatacao();
   $this->nm_converte_datas(false);

   $unformatted_value_expirationdate = $this->expirationdate;
   $unformatted_value_cardnumber = $this->cardnumber;

   $nm_comando = "select stateid, name
from states
where countrycode = '$this->country'
order by name";

   $this->expirationdate = $old_value_expirationdate;
   $this->cardnumber = $old_value_cardnumber;

   $_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)
       {
              $nmgp_def_dados .= $rs->fields[1] . "?#?" ;
              $nmgp_def_dados .= $rs->fields[0] . "?#?N?@?" ;
              $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'][] = $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 ;
   $todo = explode("?@?", $nmgp_def_dados) ;
   $x = 0;
   $state_look = "";
   $todo = explode("?@?", trim($nmgp_def_dados)) ;
   while (!empty($todo[$x]))
   {
          $cadaselect = explode("?#?", $todo[$x]) ;
          if (isset($this->Embutida_ronly) && $this->Embutida_ronly && isset($this->state_1))
          {
              foreach ($this->state_1 as $tmp_state)
              {
                  if (trim($tmp_state) === trim($cadaselect[1])) { $state_look .= $cadaselect[0] . '__SC_BREAK_LINE__'; }
              }
          }
          elseif (trim($this->state) === trim($cadaselect[1])) { $state_look .= $cadaselect[0]; }
          $x++;
   }
   $x = 0;
   echo "" . NM_encode_input($state_look) . "";
   echo " <select class=\"sc-js-input scFormObjectOdd\" style=\";\" id=\"id_sc_field_state\" name=\"state\" size=\"1\" alt=\"{type: 'select', enterTab: false}\">" ;
   echo "\r" ;
   $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['Lookup_state'][] = '';
   echo "  <option value=\"\"></option>" ;
   while (!empty($todo[$x]) && !$nm_nao_carga)
   {
          $cadaselect = explode("?#?", $todo[$x]) ;
          echo "  <option value=\"$cadaselect[1]\"" ;
          if (trim($this->state) === trim($cadaselect[1]))
          {
              echo " selected" ;
          }
          if (strtoupper($cadaselect[2]) == "S")
          {
              if (empty($this->state))
              {
                  echo " selected" ;
              }
           }
          echo ">$cadaselect[0] </option>" ;
          echo "\r" ;
          $x++ ;
   }  ;
   echo " </select>" ;
   echo "\r" ;
 ?> <?php echo nmButtonOutput($this->arr_buttons, "bform_lookuplink", "", "", "fldedt_state", "", "", "", "", "", "", $this->Ini->path_botoes, "", "", "thickbox", "" . $this->Ini->link_form_state_by_country_edit . "?script_case_init=" . $this->Ini->sc_page . "&script_case_session=" . session_id() . "&nmgp_url_saida=modal&nmgp_parms=sc_redir_atualiz*scinok*scout&nmgp_outra_jan=true&nm_evt_ret_edit=do_ajax_form_creditcards_lkpedt_refresh_state&KeepThis=true&TB_iframe=true&height=350&width=300&modal=true", "");?>
<?php    echo "";
?>
<?php  }?>

   <?php }?>

   <?php
    if (!isset($this->nm_new_label['city']))
    {
        $this->nm_new_label['city'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_city'] . "";
    }
?>
<?php
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $city = $this->city;
   $sStyleHidden_city = '';
   if (isset($this->nmgp_cmp_hidden['city']) && $this->nmgp_cmp_hidden['city'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['city']);
       $sStyleHidden_city = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_city = 'display: none;';
   $sStyleReadInp_city = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['city']) && $this->nmgp_cmp_readonly['city'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['city']);
       $sStyleReadLab_city = '';
       $sStyleReadInp_city = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['city']) && $this->nmgp_cmp_hidden['city'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="city" value="<?php echo NM_encode_input($city) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_city" style="<?php echo $sStyleHidden_city; ?>;">

<?php echo $this->nm_new_label['city']; ?><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['city']) || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['city'] == "on") { ?> * <?php }?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["city"]) &&  $this->nmgp_cmp_readonly["city"] == "on") {

 ?>
<input type="hidden" name="city" value="<?php echo NM_encode_input($city) . "\">" . $city . ""; ?>
<?php } else { ?>
<span id="id_read_on_city" class="sc-ui-readonly-city" style=";<?php echo $sStyleReadLab_city; ?>"><?php echo NM_encode_input($this->city); ?><span id="id_read_off_city" style="white-space: nowrap;<?php echo $sStyleReadInp_city; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_city" type=text name="city" value="<?php echo NM_encode_input($city) ?>"
 size=20 maxlength=255 alt="{datatype: 'text', maxLength: 255, allowedChars: '<?php echo $this->allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: false, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"><?php } ?>

   <?php }?>

<?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?>

    <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" >

<?php }
?>
<?php $sStyleHidden_country_dumb = ('' == $sStyleHidden_country) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_country_dumb" style="<?php echo $sStyleHidden_country_dumb; ?>">
<?php $sStyleHidden_state_dumb = ('' == $sStyleHidden_state) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_state_dumb" style="<?php echo $sStyleHidden_state_dumb; ?>">
<?php $sStyleHidden_city_dumb = ('' == $sStyleHidden_city) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_city_dumb" style="<?php echo $sStyleHidden_city_dumb; ?>">
<?php if ($sc_hidden_no > 0) { echo "
"; };
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>

   <?php
    if (!isset($this->nm_new_label['address1']))
    {
        $this->nm_new_label['address1'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_address1'] . "";
    }
?>
<?php
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $address1 = $this->address1;
   $sStyleHidden_address1 = '';
   if (isset($this->nmgp_cmp_hidden['address1']) && $this->nmgp_cmp_hidden['address1'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['address1']);
       $sStyleHidden_address1 = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_address1 = 'display: none;';
   $sStyleReadInp_address1 = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['address1']) && $this->nmgp_cmp_readonly['address1'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['address1']);
       $sStyleReadLab_address1 = '';
       $sStyleReadInp_address1 = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['address1']) && $this->nmgp_cmp_hidden['address1'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="address1" value="<?php echo NM_encode_input($address1) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_address1" style="<?php echo $sStyleHidden_address1; ?>;">

<?php echo $this->nm_new_label['address1']; ?><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['address1']) || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['address1'] == "on") { ?> * <?php }?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["address1"]) &&  $this->nmgp_cmp_readonly["address1"] == "on") {

 ?>
<input type="hidden" name="address1" value="<?php echo NM_encode_input($address1) . "\">" . $address1 . ""; ?>
<?php } else { ?>
<span id="id_read_on_address1" class="sc-ui-readonly-address1" style=";<?php echo $sStyleReadLab_address1; ?>"><?php echo NM_encode_input($this->address1); ?><span id="id_read_off_address1" style="white-space: nowrap;<?php echo $sStyleReadInp_address1; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_address1" type=text name="address1" value="<?php echo NM_encode_input($address1) ?>"
 size=20 maxlength=255 alt="{datatype: 'text', maxLength: 255, allowedChars: '<?php echo $this->allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: false, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"><?php } ?>

   <?php }?>

   <?php
    if (!isset($this->nm_new_label['address2']))
    {
        $this->nm_new_label['address2'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_address2'] . "";
    }
?>
<?php
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $address2 = $this->address2;
   $sStyleHidden_address2 = '';
   if (isset($this->nmgp_cmp_hidden['address2']) && $this->nmgp_cmp_hidden['address2'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['address2']);
       $sStyleHidden_address2 = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_address2 = 'display: none;';
   $sStyleReadInp_address2 = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['address2']) && $this->nmgp_cmp_readonly['address2'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['address2']);
       $sStyleReadLab_address2 = '';
       $sStyleReadInp_address2 = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['address2']) && $this->nmgp_cmp_hidden['address2'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="address2" value="<?php echo NM_encode_input($address2) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_address2" style="<?php echo $sStyleHidden_address2; ?>;">

<?php echo $this->nm_new_label['address2']; ?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["address2"]) &&  $this->nmgp_cmp_readonly["address2"] == "on") {

 ?>
<input type="hidden" name="address2" value="<?php echo NM_encode_input($address2) . "\">" . $address2 . ""; ?>
<?php } else { ?>
<span id="id_read_on_address2" class="sc-ui-readonly-address2" style=";<?php echo $sStyleReadLab_address2; ?>"><?php echo NM_encode_input($this->address2); ?><span id="id_read_off_address2" style="white-space: nowrap;<?php echo $sStyleReadInp_address2; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_address2" type=text name="address2" value="<?php echo NM_encode_input($address2) ?>"
 size=20 maxlength=255 alt="{datatype: 'text', maxLength: 255, allowedChars: '<?php echo $this->allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: false, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"><?php } ?>

   <?php }?>

   <?php
    if (!isset($this->nm_new_label['postalcode']))
    {
        $this->nm_new_label['postalcode'] = "" . $this->Ini->Nm_lang['lang_creditcards_fild_postalcode'] . "";
    }
?>
<?php
   $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  = ($nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $postalcode = $this->postalcode;
   $sStyleHidden_postalcode = '';
   if (isset($this->nmgp_cmp_hidden['postalcode']) && $this->nmgp_cmp_hidden['postalcode'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['postalcode']);
       $sStyleHidden_postalcode = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_postalcode = 'display: none;';
   $sStyleReadInp_postalcode = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['postalcode']) && $this->nmgp_cmp_readonly['postalcode'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['postalcode']);
       $sStyleReadLab_postalcode = '';
       $sStyleReadInp_postalcode = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['postalcode']) && $this->nmgp_cmp_hidden['postalcode'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="postalcode" value="<?php echo NM_encode_input($postalcode) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd" id="hidden_field_data_postalcode" style="<?php echo $sStyleHidden_postalcode; ?>;">

<?php echo $this->nm_new_label['postalcode']; ?><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['postalcode']) || $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['php_cmp_required']['postalcode'] == "on") { ?> * <?php }?>

<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["postalcode"]) &&  $this->nmgp_cmp_readonly["postalcode"] == "on") {

 ?>
<input type="hidden" name="postalcode" value="<?php echo NM_encode_input($postalcode) . "\">" . $postalcode . ""; ?>
<?php } else { ?>
<span id="id_read_on_postalcode" class="sc-ui-readonly-postalcode" style=";<?php echo $sStyleReadLab_postalcode; ?>"><?php echo NM_encode_input($this->postalcode); ?><span id="id_read_off_postalcode" style="white-space: nowrap;<?php echo $sStyleReadInp_postalcode; ?>">
 <input class="sc-js-input scFormObjectOdd" style=";" id="id_sc_field_postalcode" type=text name="postalcode" value="<?php echo NM_encode_input($postalcode) ?>"
 size=20 maxlength=255 alt="{datatype: 'text', maxLength: 255, allowedChars: '<?php echo $this->allowedCharsCharset("abcdefghijklmnopqrstuvwxyz0123456789áéíóúàèìòùãõâêîôûäëïöüñýÿç .,") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: false, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}"><?php } ?>

   <?php }?>

<?php if ($sc_hidden_yes > 0 && $sc_hidden_no > 0) { ?>

    <TD class="scFormDataOdd" colspan="<?php echo $sc_hidden_yes * 1; ?>" >

<?php }
?>

<?php
if (($this->Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R")
{
?>

<?php
}
if (($this->Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R")
{
    $NM_btn = false;
      if ($opcao_botoes != "novo" && $this->nmgp_botoes['goto'] == "on")
      {
        $sCondStyle = '';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "birpara", " nm_navpage(document.F1.nmgp_rec_b.value, 'P');document.F1.nmgp_rec_b.value = ''", " nm_navpage(document.F1.nmgp_rec_b.value, 'P');document.F1.nmgp_rec_b.value = ''", "brec_b", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
?>
   <input type="text" class="scFormToolbarInput" name="nmgp_rec_b" value="" style="width:25px;vertical-align: middle;"/>
<?php
      }
?>

<?php
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['first'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "binicio", "nm_move ('inicio');", "nm_move ('inicio');", "sc_b_ini_b", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['first'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "binicio_off", "nm_move ('inicio');", "nm_move ('inicio');", "sc_b_ini_off_b", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['back'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bretorna", "nm_move ('retorna');", "nm_move ('retorna');", "sc_b_ret_b", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['back'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bretorna_off", "nm_move ('retorna');", "nm_move ('retorna');", "sc_b_ret_off_b", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
if ($opcao_botoes != "novo" && $this->nmgp_botoes['navpage'] == "on")
{
?>

<?php
}
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['forward'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bavanca", "nm_move ('avanca');", "nm_move ('avanca');", "sc_b_avc_b", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['forward'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bavanca_off", "nm_move ('avanca');", "nm_move ('avanca');", "sc_b_avc_off_b", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['last'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bfinal", "nm_move ('final');", "nm_move ('final');", "sc_b_fim_b", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
    if ($opcao_botoes != "novo") {
        $sCondStyle = ($this->nmgp_botoes['last'] == "on") ? '' : 'display: none;';
?>
       <?php echo nmButtonOutput($this->arr_buttons, "bfinal_off", "nm_move ('final');", "nm_move ('final');", "sc_b_fim_off_b", "", "", "" . $sCondStyle . "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>

<?php
        $NM_btn = true;
    }
?>

<?php
if ($opcao_botoes != "novo" && $this->nmgp_botoes['summary'] == "on")
{
?>

<?php
}
}
if (($this->Embutida_form || !$this->Embutida_call || $this->Grid_editavel || $this->Embutida_multi || ($this->Embutida_call && 'on' == $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['embutida_liga_form_btn_nav'])) && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R")
{
?>

<?php
}
?>
<?php
if (!$NM_btn && isset($NM_ult_sep))
{
    echo "    ";
}
unset($NM_ult_sep);
?>
<?php if ('novo' != $this->nmgp_opcao || $this->Embutida_form) { ?><?php } ?>
<?php if (('novo' != $this->nmgp_opcao || $this->Embutida_form) && !$this->nmgp_form_empty && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F") { ?><?php } ?>
<?php if (('novo' != $this->nmgp_opcao || $this->Embutida_form) && !$this->nmgp_form_empty && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "R" && $_SESSION['sc_session'][$this->Ini->sc_page]['form_creditcards']['run_iframe'] != "F") { ?><?php } ?>

<?php
  }
?>

<?php echo nmButtonOutput($this->arr_buttons, "berrm_clse", "scAjaxHideDebug()", "scAjaxHideDebug()", "", "", "", "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>
  Output

</form>

<?php
if (isset($_POST['master_nav']) && 'on' == $_POST['master_nav'])
{
    $sTamanhoIframe = isset($_POST['sc_ifr_height']) && '' != $_POST['sc_ifr_height'] ? '"' . $_POST['sc_ifr_height'] . '"' : '$(document).innerHeight()';
?>

<?php
}
elseif (isset($_GET['script_case_detail']) && 'Y' == $_GET['script_case_detail'])
{
    $sTamanhoIframe = isset($_GET['sc_ifr_height']) && '' != $_GET['sc_ifr_height'] ? '"' . $_GET['sc_ifr_height'] . '"' : '$(document).innerHeight()';
?>

<?php
}
?>
<?php
if (isset($this->NM_ajax_info['displayMsg']) && $this->NM_ajax_info['displayMsg'])
{
?>

<?php
}
?>
<?php
if ('' != $this->scFormFocusErrorName)
{
?>

<?php
}
?>

<?php
       if (isset($_SESSION['scriptcase']['device_mobile']) && $_SESSION['scriptcase']['device_mobile'])
       {
?>
<?php echo $this->Ini->Nm_lang['lang_version_mobile']; ?>
<?php
       }
?>

redpajama_set_name: RedPajamaGithub


text:
• PILOT •
BIOCALENDARPRESSRECORDINGS
VIDEOSGALLERYCONTACTPILOT
http://www.erikwmsuter.com/wp-content/uploads/slideshow-gallery/slideeaglewing.jpg
http://www.erikwmsuter.com/wp-content/uploads/slideshow-gallery/slideamericaneagle.jpg
http://www.erikwmsuter.com/wp-content/uploads/slideshow-gallery/slidepilot.jpg
http://www.erikwmsuter.com/wp-content/uploads/slideshow-gallery/slideairwisconsin.jpg
Erik Wm. Suter is as passionate about flying as he is about music. An airline pilot with 7000+ hours, he is a First Officer at Southwest Airlines. Previously, he was a Captain and Line Check Airman on the Bombardier Canadair Regional Jet at Air Wisconsin Airlines flying for United Express. While most of his hours aloft are in an airliner, his first love in flying is general aviation. He maintains currency as a Certified Flight Instructor and can often be found on his days off helping a student attain a new certificate or rating. In addition to his freelance instructing, he serves on the board of the Inn Flying Club as Chief Flight Instructor.
Erik is available to conduct recurrent training events such as Flight Reviews and Instrument Proficiency Checks from Montgomery County Airpark (GAI) and Frederick Airport (FDK). He is current in a wide variety of Cessna, Piper, and Cirrus aircraft. Use the contact form to inquire about rates and availability.
Certificates Held
Airline Transport Pilot, with commercial privileges for single-engine aircraft
Certified Flight Instructor | Single-Engine, Multi-Engine, Instrument
Advanced Ground Instructor
• © 2021 | Erik Wm. Suter •

redpajama_set_name: RedPajamaCommonCrawl


text:
Man charged with trading drugs for stolen property
Roger Adkins / Editor
Police recently arrested a man who allegedly exchanged methamphetamine for stolen firearms.
Christopher Adam Spaulding, 46, 2493 Aplin Ridge Road, Gay, was charged with receiving stolen property and possession of a controlled substance with the intent to deliver.
Magistrate Laura Pursley set bond at $100,000
On Dec. 14, officers with the Ripley Police Department conducted a traffic stop in Ripley, according to a criminal complaint filed in magistrate court.
A search of the vehicle, produced CZ BREN .223-caliber semi-automatic rifle.
During the investigation, it was discovered that the rifle had been stolen from a delivery truck while it was in transit to Bridgeport Equipment in Fairplain.
The rifle, valued at $1,700, had been stolen from the truck by a contract driver for the company. The driver later confessed to having stolen the CZ rifle, along with a Winchester Model 70 .270-caliber rifle a few days prior.
The driver stated both rifles were traded to Spaulding for methamphetamine, according to the complaint.
As part of their investigation, investigators directed the contract driver in a third controlled gun-for-drugs transaction with the Spaulding.
The driver contacted Spaulding by text message and made arrangements to meet with him in the parking lot of Walmart in Ripley to deliver to the defendant a rifle for one gram of methamphetamine.
Officers observed as Spaulding arrived at the meeting location and accepted from the driver a cardboard box containing a Smith & Wesson M&P rifle.
Investigators immediately moved in and took the Spaulding into custody.
Officers found in the defendants pocket a small plastic container holding several small bags of suspected methamphetamine, according to the criminal complaint.


text:
Home » Sergio Ramos: Manchester United one of two favourites to sign the centre-back
Sergio Ramos: Manchester United one of two favourites to sign the centre-back
Sergio Ramos could secure a Manchester United transfer this summer, according to several reports from Spain.
Real Madrid officially confirmed that their captain would be leaving the club a free agent on June 30th after 16 years at the Bernabeu.
This has immediately given rise to speculation as to where his next destination will be, with four names agreed by the Spanish press to be the leading contenders – United, Manchester City, Paris St Germain and Sevilla.
Marca, the major Spanish outlet closest to Real Madrid, mention United by name and do think the Premier League is a likely destination:
'Sergio's agent and brother, René Ramos, has knocked on many doors in recent months, practically all of the greats in Europe. Whether any have suddenly opened in recent days is unknown for now.
'Could it be Italy, where taxation is attractive? The Premier League, where he already flirted with United years ago and where there are those who have linked him to Guardiola's City?
'PSG do not seem to be interested, in the same way that he is not seen in China either, despite the offensive he launched two years ago to go there for free.
'And Seville? The return of the prodigal son, of whom he has always felt like a sevillista, no matter how much part of the fans were against him, where he has a farm and near Madrid, where for now his wife lives and works.
'Although Monchi said it would not be easy just a few hours ago, who knows if he was playing a distraction.'
Transfer guru Fabrizio Romano also ruled out a return to Sevilla for Ramos last night, saying 'Sergio Ramos will NOT join Sevilla. It's never been an option, they're not interested in Ramos and the comeback is not even considered.
'He's in talks with another club, not Sevilla.'
Sergio Ramos will NOT join Sevilla. It's never been an option, they're not interested in Ramos and the comeback is not even considered. He's in talks with another club, not Sevilla. ⚪???????? #Sevilla #Ramos #SergioRamos
— Fabrizio Romano (@FabrizioRomano) June 16, 2021
But could that 'other club' be United? AS thinks so, although they seem more convinced about neighbours Manchester City.
'The Ramos entourage has been in contact with City leaders for a long time.
'The departure of Eric García and the possible departure of Laporte leave Pep Guardiola's team with Ruben Dias, Stones and Aké as the only centre-backs.
'Another possibility is United, a neighbour of the Citizens. It is an option that Ramos has always liked and currently they are also looking for a first-rate centre-back to accompany Maguire.'
Mundo Deportivo come to similar conclusions, putting United and City as the most likely candidates for his signature.
With Ramos's centre-back partner Raphael Varane also close to a Madrid exit and also linked with United and PSG, the situation is a very hard one to predict. As Varane is French and has reportedly expressed a preference to join PSG, which could be why Marca report that the Parisians are cool on the idea of pursuing Ramos.
This would appear to leave United and City as the main players for the Spaniard, but even without Laporte, would Pep Guardiola feel it necessary to interrupt the excellent John Stones and Ruben Dias partnership? Is there not already an alpha male in that City defence in the shape of the Portuguese man?
It is all speculation at this stage, but if United were willing to match Ramos's current £288,000 per week wage, it certainly appears that they could be very much in the running for a very prestigious signature.
Raphael VaraneSergio Ramos
Bruno Fernandes' contract extension talks stalling at Manchester...
Man United confirm their interest in Julian Alvarez...


text:
student@guruq.in
ICSE class 5 syllabus is primarily focusing on memorizing facts, helping students to think abstractly and solve problems. At this stage, students enjoy applying logic and are able to concentrate for a longer time period.
Hence, the ICSE syllabus is a well-planned document that focuses on strengthening concepts and include that will improve their reading, writing, and memory skills.
ICSE class 5 syllabus for all subjects
ICSE syllabus primarily covers subjects like Mathematics, English, Hindi, Social Studies, Science and Arts Education.
In English & Hindi, a student learns to speak using appropriate tone, stress and intonation to convey meaning. They also listen and analyze ideas and try to interpret the speaker's message. Here, a student also learns to think creatively and write create content like a short story, poem, anecdote, paragraph writing, etc. Students are taught to write notices and messages too. Topics like subject-verb agreement, direct and reported speech, adverbs, conjunctions, prepositions, interjections, idioms & proverbs, plural possessives & irregular verbs have been covered in grammar.
In Mathematics, a wide range of topics has been covered. Students need to focus on reading and writing numbers up to crores, round off numbers to the nearest 10s, 100s or 1000s, add and subtract mixed numbers, expand decimal fractions, compare decimal fractions, HCF & LCM, represent whole numbers through a number line, add and subtract integers, classify angles, compute area and perimeter of simple geometrical shapes, understand and use percentages, understanding bar graph, line graph, and pie chart, observe and generalize patterns.
In Sciences, the syllabus covers a varied range of topics including, the circulatory system, the skeletal system, food and health, pollination, plant reproduction, solid, liquid and gases, interdependence between living beings, sound and noise, work and energy, light and shadows, simple machines and cleanliness and hygiene.
In Social Studies,various themes like the evolution of mankind, basic features of the Indian constitution, geographical features of the Earth, India as a diverse country, and major concerns related to the environment & natural resources.
A wide range of themes has been covered in the syllabus of Computer Studies including, the evolution of computers, types of software, advanced features of word processors, special effects in the presentation software, introduction to scratch programming & varied internet services.
Book Top Tutors Now!
Fill the form and a GuruQ team
member will get in touch with you.
© 2022 GuruQ All Rights Reserved


Fast & Free Canacion A Una Puta Krishna Xochiquetzal Alvarez Garcia MP3 download from Awesome MP3. We have found your song: Canacion A Una Puta Krishna Xochiquetzal Alvarez Garcia MP3 music. Matching your searches top 10 results from Awesome MP3. Now we recommend you to Start Free Mp3 Download Canacion A Una Puta Krishna Xochiquetzal Alvarez Garcia MP3 which is uploaded by Hermanitosk1 of size 1.51 MB , duration 1 minute and 9 seconds and bitrate is 192 Kbps .