<div id="fiche_pro_sante_insert_form1" style='<?php echo (1 != $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['form_wizard']['actual_step'] ? 'display: none; width: 1px; height: 0px; overflow: scroll' : ''); ?>'>
<?php $sc_hidden_no = 1; $sc_hidden_yes = 0; ?>
   <a name="bloco_0"></a>
   <table width="100%" height="100%" cellpadding="0" cellspacing=0><tr valign="top"><td width="100%" height="">
<div id="div_hidden_bloco_3"><!-- bloco_c -->
<?php
   if (!isset($this->nmgp_cmp_hidden['maladie_suspectee_by_ia']))
   {
       $this->nmgp_cmp_hidden['maladie_suspectee_by_ia'] = 'off';
   }
?>
<TABLE align="center" id="hidden_bloco_3" class="scFormTable<?php echo $this->classes_100perc_fields['table'] ?>" width="100%" style="height: 100%;"><?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>


   <?php
    if (!isset($this->nm_new_label['date_apparition_symptomes']))
    {
        $this->nm_new_label['date_apparition_symptomes'] = "" . $this->Ini->Nm_lang['lang_public_fiche_prof_sante_fld_date_apparition_symptomes'] . "";
    }
?>
<?php
   $nm_cor_fun_cel  = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = (isset($nm_img_fun_cel) && $nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $date_apparition_symptomes = $this->date_apparition_symptomes;
   $sStyleHidden_date_apparition_symptomes = '';
   if (isset($this->nmgp_cmp_hidden['date_apparition_symptomes']) && $this->nmgp_cmp_hidden['date_apparition_symptomes'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['date_apparition_symptomes']);
       $sStyleHidden_date_apparition_symptomes = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_date_apparition_symptomes = 'display: none;';
   $sStyleReadInp_date_apparition_symptomes = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['date_apparition_symptomes']) && $this->nmgp_cmp_readonly['date_apparition_symptomes'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['date_apparition_symptomes']);
       $sStyleReadLab_date_apparition_symptomes = '';
       $sStyleReadInp_date_apparition_symptomes = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['date_apparition_symptomes']) && $this->nmgp_cmp_hidden['date_apparition_symptomes'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="date_apparition_symptomes" value="<?php echo $this->form_encode_input($date_apparition_symptomes) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd css_date_apparition_symptomes_line" id="hidden_field_data_date_apparition_symptomes" style="<?php echo $sStyleHidden_date_apparition_symptomes; ?>"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd css_date_apparition_symptomes_line" style="vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat css_date_apparition_symptomes_label" style=""><span id="id_label_date_apparition_symptomes"><?php echo $this->nm_new_label['date_apparition_symptomes']; ?></span></span><br>
<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["date_apparition_symptomes"]) &&  $this->nmgp_cmp_readonly["date_apparition_symptomes"] == "on") { 

 ?>
<input type="hidden" name="date_apparition_symptomes" value="<?php echo $this->form_encode_input($date_apparition_symptomes) . "\">" . $date_apparition_symptomes . ""; ?>
<?php } else { ?>
<span id="id_read_on_date_apparition_symptomes" class="sc-ui-readonly-date_apparition_symptomes css_date_apparition_symptomes_line" style="<?php echo $sStyleReadLab_date_apparition_symptomes; ?>"><?php echo $this->form_format_readonly("date_apparition_symptomes", $this->form_encode_input($date_apparition_symptomes)); ?></span><span id="id_read_off_date_apparition_symptomes" class="css_read_off_date_apparition_symptomes<?php echo $this->classes_100perc_fields['span_input'] ?>" style="white-space: nowrap;<?php echo $sStyleReadInp_date_apparition_symptomes; ?>"><?php
$tmp_form_data = $this->field_config['date_apparition_symptomes']['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
$miniCalendarButton = $this->jqueryButtonText('calendar');
if ('scButton_' == substr($miniCalendarButton[1], 0, 9)) {
    $miniCalendarButton[1] = substr($miniCalendarButton[1], 9);
}
?>
<span class='trigger-picker-<?php echo $miniCalendarButton[1]; ?>' style='display: inherit; width: 100%'>

 <input class="sc-js-input scFormObjectOdd css_date_apparition_symptomes_obj<?php echo $this->classes_100perc_fields['input'] ?>" style="" id="id_sc_field_date_apparition_symptomes" type=text name="date_apparition_symptomes" value="<?php echo $this->form_encode_input($date_apparition_symptomes) ?>"
 <?php if ($this->classes_100perc_fields['keep_field_size']) { echo "size=10"; } ?> alt="{datatype: 'date', dateSep: '<?php echo $this->field_config['date_apparition_symptomes']['date_sep']; ?>', dateFormat: '<?php echo $this->field_config['date_apparition_symptomes']['date_format']; ?>', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '<?php echo $tmp_form_data; ?>', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}" ></span>
</span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 0"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_date_apparition_symptomes_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_date_apparition_symptomes_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






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


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





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


   <?php
   if (!isset($this->nm_new_label['symptomes']))
   {
       $this->nm_new_label['symptomes'] = "" . $this->Ini->Nm_lang['lang_public_fiche_prof_sante_fld_symptomes'] . "";
   }
   $nm_cor_fun_cel  = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = (isset($nm_img_fun_cel) && $nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $symptomes = $this->symptomes;
   $sStyleHidden_symptomes = '';
   if (isset($this->nmgp_cmp_hidden['symptomes']) && $this->nmgp_cmp_hidden['symptomes'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['symptomes']);
       $sStyleHidden_symptomes = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_symptomes = 'display: none;';
   $sStyleReadInp_symptomes = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['symptomes']) && $this->nmgp_cmp_readonly['symptomes'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['symptomes']);
       $sStyleReadLab_symptomes = '';
       $sStyleReadInp_symptomes = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['symptomes']) && $this->nmgp_cmp_hidden['symptomes'] == 'off') { $sc_hidden_yes++; ?>
<input type=hidden name="symptomes" value="<?php echo $this->form_encode_input($this->symptomes) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>
<?php  $this->symptomes_1 = explode(";", trim($this->symptomes)) ; ?>
    <TD class="scFormDataOdd css_symptomes_line" id="hidden_field_data_symptomes" style="<?php echo $sStyleHidden_symptomes; ?>"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd css_symptomes_line" style="vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat css_symptomes_label" style=""><span id="id_label_symptomes"><?php echo $this->nm_new_label['symptomes']; ?></span></span><br>
<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["symptomes"]) &&  $this->nmgp_cmp_readonly["symptomes"] == "on") { 
 
$nmgp_def_dados = "" ; 
if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_symptomes']))
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_symptomes'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_symptomes']); 
}
else
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_symptomes'] = 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]['fiche_pro_sante_insert']['Lookup_symptomes']))
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_symptomes'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_symptomes']); 
   }
   else
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_symptomes'] = array(); 
    }

   $old_value_date_declaration = $this->date_declaration;
   $old_value_date_declaration_hora = $this->date_declaration_hora;
   $old_value_age_malade = $this->age_malade;
   $old_value_tel_malade = $this->tel_malade;
   $old_value_date_apparition_symptomes = $this->date_apparition_symptomes;
   $old_value_date_hospitalisation = $this->date_hospitalisation;
   $old_value_date_evacuation = $this->date_evacuation;
   $old_value_date_sortie = $this->date_sortie;
   $old_value_date_deces = $this->date_deces;
   $this->nm_tira_formatacao();
   if ($this->nmgp_opcao != "nada") {
       $this->nm_converte_datas(false);
   }


   $unformatted_value_date_declaration = $this->date_declaration;
   $unformatted_value_date_declaration_hora = $this->date_declaration_hora;
   $unformatted_value_age_malade = $this->age_malade;
   $unformatted_value_tel_malade = $this->tel_malade;
   $unformatted_value_date_apparition_symptomes = $this->date_apparition_symptomes;
   $unformatted_value_date_hospitalisation = $this->date_hospitalisation;
   $unformatted_value_date_evacuation = $this->date_evacuation;
   $unformatted_value_date_sortie = $this->date_sortie;
   $unformatted_value_date_deces = $this->date_deces;

   $nm_comando = "select nomenclature_item_code, nomenclature_item from \"public\".ref_nomenclature_items  where nomenclature_fk = 'SYMPTOMES' order by nomenclature_item_order, nomenclature_item";

   $this->date_declaration = $old_value_date_declaration;
   $this->date_declaration_hora = $old_value_date_declaration_hora;
   $this->age_malade = $old_value_age_malade;
   $this->tel_malade = $old_value_tel_malade;
   $this->date_apparition_symptomes = $old_value_date_apparition_symptomes;
   $this->date_hospitalisation = $old_value_date_hospitalisation;
   $this->date_evacuation = $old_value_date_evacuation;
   $this->date_sortie = $old_value_date_sortie;
   $this->date_deces = $old_value_date_deces;

   $_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]['fiche_pro_sante_insert']['Lookup_symptomes'][] = $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; 
   $symptomes_look = ""; 
   $todox = str_replace("?#?@?#?", "?#?@ ?#?", trim($nmgp_def_dados)) ; 
   $todo  = explode("?@?", $todox) ; 
   while (!empty($todo[$x])) 
   {
          $cadaselect = explode("?#?", $todo[$x]) ; 
          if ($cadaselect[1] == "@ ") {$cadaselect[1]= trim($cadaselect[1]); } ; 
          foreach ($this->symptomes_1 as $Dados)
          {
              if ($Dados === $cadaselect[1])
              {
                  $symptomes_look .= $cadaselect[0] . "&nbsp;";
                  break;
              }
          }
          $x++; 
   }

?>
<input type="hidden" name="symptomes" value="<?php echo $this->form_encode_input($symptomes) . "\">" . $symptomes_look . ""; ?>
<?php } else { ?>
<?php
   $todo = $this->Form_lookup_symptomes();
   $x = 0 ; 
   $symptomes_look = ""; 
   while (!empty($todo[$x])) 
   {
          $cadaselect = explode("?#?", $todo[$x]) ; 
          if ($cadaselect[1] == "@ ") {$cadaselect[1]= trim($cadaselect[1]); } ; 
          foreach ($this->symptomes_1 as $Dados)
          {
              if ($Dados === $cadaselect[1])
              {
                  $symptomes_look .= $cadaselect[0] . "<br>";
                  break;
              }
          }
          $x++; 
   }
          if (empty($symptomes_look))
          {
              $symptomes_look = $this->symptomes;
          }
   $x = 0; 
   echo "<span id=\"id_read_on_symptomes\" class=\"css_symptomes_line\" style=\"" .  $sStyleReadLab_symptomes . "\">" . $this->form_format_readonly("symptomes", $this->form_encode_input($symptomes_look)) . "</span><span id=\"id_read_off_symptomes\" class=\"css_read_off_symptomes" . $this->classes_100perc_fields['span_input'] . "\" style=\"white-space: nowrap; " . $sStyleReadInp_symptomes . "\">";
   echo " <span id=\"idAjaxSelect_symptomes\" class=\"" . $this->classes_100perc_fields['span_select'] . "\"><select class=\"sc-js-input scFormObjectOdd css_symptomes_obj" . $this->classes_100perc_fields['input'] . "\" style=\"\" id=\"id_sc_field_symptomes\" name=\"symptomes[]\" size=\"10\" alt=\"{type: 'select', enterTab: false}\" multiple>" ; 
   echo "\r" ; 
   while (!empty($todo[$x]) && !$nm_nao_carga) 
   {
          $cadaselect = explode("?#?", $todo[$x]) ; 
          if ($cadaselect[1] == "@ ") {$cadaselect[1]= trim($cadaselect[1]); } ; 
          echo "  <option value=\"$cadaselect[1]\"" ; 
          foreach ($this->symptomes_1 as $Dados)
          {
              if ($Dados === $cadaselect[1])
              {
                  echo " selected" ; 
                  break;
              }
          }
          if (strtoupper($cadaselect[2]) == "S") 
          {
              if (empty($this->symptomes)) 
              {
                  echo " selected" ;
              } 
           } 
          echo ">" . str_replace('<', '&lt;',$cadaselect[0]) . "</option>" ; 
          echo "\r" ; 
          $x++ ; 
   }  ; 
   echo " </select></span>" ; 
   echo "\r" ; 
   echo "</span>";
?> 
<?php  }?>
<span class="scFormPopupBubble" style="display: inline-block"><span class="scFormPopupTrigger"><?php echo nmButtonOutput($this->arr_buttons, "bfieldhelp", "return false;", "return false;", "", "", "", "", "", "", "", $this->Ini->path_botoes, "", "", "", "", "");?>
</span><table class="scFormPopup"><tbody><?php
if (isset($_SESSION['scriptcase']['reg_conf']['html_dir']) && $_SESSION['scriptcase']['reg_conf']['html_dir'] == " DIR='RTL'") {
?>
<tr><td class="scFormPopupTopRight scFormPopupCorner"></td><td class="scFormPopupTop"></td><td class="scFormPopupTopLeft scFormPopupCorner"></td></tr><tr><td class="scFormPopupRight"></td><td class="scFormPopupContent">Le nombre de symptômes doit varier entre 3 et 12.<br>Autrement l’IA ne peut prétendre à une quelconque conclusion.</td><td class="scFormPopupLeft"></td></tr><tr><td class="scFormPopupBottomRight scFormPopupCorner"></td><td class="scFormPopupBottom"><img src="<?php echo $this->Ini->path_icones . '/' . $this->Ini->Bubble_tail; ?>" /></td><td class="scFormPopupBottomLeft scFormPopupCorner"></td></tr><?php
} else {
?>
<tr><td class="scFormPopupTopLeft scFormPopupCorner"></td><td class="scFormPopupTop"></td><td class="scFormPopupTopRight scFormPopupCorner"></td></tr><tr><td class="scFormPopupLeft"></td><td class="scFormPopupContent">Le nombre de symptômes doit varier entre 3 et 12.<br>Autrement l’IA ne peut prétendre à une quelconque conclusion.</td><td class="scFormPopupRight"></td></tr><tr><td class="scFormPopupBottomLeft scFormPopupCorner"></td><td class="scFormPopupBottom"><img src="<?php echo $this->Ini->path_icones . '/' . $this->Ini->Bubble_tail; ?>" /></td><td class="scFormPopupBottomRight scFormPopupCorner"></td></tr><?php
}
?>
</tbody></table></span></td></tr><tr><td style="vertical-align: top; padding: 0"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_symptomes_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_symptomes_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






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


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





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


   <?php
    if (!isset($this->nm_new_label['predict_button']))
    {
        $this->nm_new_label['predict_button'] = "Diagnostic probable selon l’IA";
    }
?>
<?php
   $nm_cor_fun_cel  = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = (isset($nm_img_fun_cel) && $nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $predict_button = $this->predict_button;
   $sStyleHidden_predict_button = '';
   if (isset($this->nmgp_cmp_hidden['predict_button']) && $this->nmgp_cmp_hidden['predict_button'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['predict_button']);
       $sStyleHidden_predict_button = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_predict_button = 'display: none;';
   $sStyleReadInp_predict_button = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['predict_button']) && $this->nmgp_cmp_readonly['predict_button'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['predict_button']);
       $sStyleReadLab_predict_button = '';
       $sStyleReadInp_predict_button = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['predict_button']) && $this->nmgp_cmp_hidden['predict_button'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="predict_button" value="<?php echo $this->form_encode_input($predict_button) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd css_predict_button_line" id="hidden_field_data_predict_button" style="<?php echo $sStyleHidden_predict_button; ?>"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd css_predict_button_line" style="vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat css_predict_button_label" style=""><span id="id_label_predict_button"><?php echo $this->nm_new_label['predict_button']; ?></span></span><br><span id="id_ajax_label_predict_button"><?php echo $predict_button?></span>
<input type="hidden" name="predict_button" value="<?php echo $this->form_encode_input($predict_button); ?>">
</td></tr><tr><td style="vertical-align: top; padding: 0"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_predict_button_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_predict_button_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






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


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





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


   <?php
    if (!isset($this->nm_new_label['maladie_suspectee_by_ia']))
    {
        $this->nm_new_label['maladie_suspectee_by_ia'] = "" . $this->Ini->Nm_lang['lang_public_fiche_prof_sante_fld_maladie_suspectee_by_ia'] . "";
    }
?>
<?php
   $nm_cor_fun_cel  = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = (isset($nm_img_fun_cel) && $nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $maladie_suspectee_by_ia = $this->maladie_suspectee_by_ia;
   if (!isset($this->nmgp_cmp_hidden['maladie_suspectee_by_ia']))
   {
       $this->nmgp_cmp_hidden['maladie_suspectee_by_ia'] = 'off';
   }
   $sStyleHidden_maladie_suspectee_by_ia = '';
   if (isset($this->nmgp_cmp_hidden['maladie_suspectee_by_ia']) && $this->nmgp_cmp_hidden['maladie_suspectee_by_ia'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['maladie_suspectee_by_ia']);
       $sStyleHidden_maladie_suspectee_by_ia = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_maladie_suspectee_by_ia = 'display: none;';
   $sStyleReadInp_maladie_suspectee_by_ia = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['maladie_suspectee_by_ia']) && $this->nmgp_cmp_readonly['maladie_suspectee_by_ia'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['maladie_suspectee_by_ia']);
       $sStyleReadLab_maladie_suspectee_by_ia = '';
       $sStyleReadInp_maladie_suspectee_by_ia = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['maladie_suspectee_by_ia']) && $this->nmgp_cmp_hidden['maladie_suspectee_by_ia'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="maladie_suspectee_by_ia" value="<?php echo $this->form_encode_input($maladie_suspectee_by_ia) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd css_maladie_suspectee_by_ia_line" id="hidden_field_data_maladie_suspectee_by_ia" style="<?php echo $sStyleHidden_maladie_suspectee_by_ia; ?>"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd css_maladie_suspectee_by_ia_line" style="vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat css_maladie_suspectee_by_ia_label" style=""><span id="id_label_maladie_suspectee_by_ia"><?php echo $this->nm_new_label['maladie_suspectee_by_ia']; ?></span></span><br><input type="hidden" name="maladie_suspectee_by_ia" value="<?php echo $this->form_encode_input($maladie_suspectee_by_ia); ?>"><span id="id_ajax_label_maladie_suspectee_by_ia"><?php echo nl2br($maladie_suspectee_by_ia); ?></span>
 <SPAN id="id_lookup_maladie_suspectee_by_ia"><?php echo $look_rpc_maladie_suspectee_by_ia; ?></SPAN></td></tr><tr><td style="vertical-align: top; padding: 0"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_maladie_suspectee_by_ia_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_maladie_suspectee_by_ia_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






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


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





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


   <?php
    if (!isset($this->nm_new_label['autres_symptomes']))
    {
        $this->nm_new_label['autres_symptomes'] = "" . $this->Ini->Nm_lang['lang_public_fiche_prof_sante_fld_autres_symptomes'] . "";
    }
?>
<?php
   $nm_cor_fun_cel  = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = (isset($nm_img_fun_cel) && $nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $autres_symptomes = $this->autres_symptomes;
   $sStyleHidden_autres_symptomes = '';
   if (isset($this->nmgp_cmp_hidden['autres_symptomes']) && $this->nmgp_cmp_hidden['autres_symptomes'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['autres_symptomes']);
       $sStyleHidden_autres_symptomes = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_autres_symptomes = 'display: none;';
   $sStyleReadInp_autres_symptomes = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['autres_symptomes']) && $this->nmgp_cmp_readonly['autres_symptomes'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['autres_symptomes']);
       $sStyleReadLab_autres_symptomes = '';
       $sStyleReadInp_autres_symptomes = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['autres_symptomes']) && $this->nmgp_cmp_hidden['autres_symptomes'] == 'off') { $sc_hidden_yes++;  ?>
<input type="hidden" name="autres_symptomes" value="<?php echo $this->form_encode_input($autres_symptomes) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd css_autres_symptomes_line" id="hidden_field_data_autres_symptomes" style="<?php echo $sStyleHidden_autres_symptomes; ?>"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd css_autres_symptomes_line" style="vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat css_autres_symptomes_label" style=""><span id="id_label_autres_symptomes"><?php echo $this->nm_new_label['autres_symptomes']; ?></span></span><br>
<?php
$autres_symptomes_val = str_replace('<br />', '__SC_BREAK_LINE__', nl2br($autres_symptomes));

?>

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

 ?>
<input type="hidden" name="autres_symptomes" value="<?php echo $this->form_encode_input($autres_symptomes) . "\">" . $autres_symptomes_val . ""; ?>
<?php } else { ?>
<span id="id_read_on_autres_symptomes" class="sc-ui-readonly-autres_symptomes css_autres_symptomes_line" style="<?php echo $sStyleReadLab_autres_symptomes; ?>"><?php echo $this->form_format_readonly("autres_symptomes", $this->form_encode_input($autres_symptomes_val)); ?></span><span id="id_read_off_autres_symptomes" class="css_read_off_autres_symptomes<?php echo $this->classes_100perc_fields['span_input'] ?>" style="white-space: nowrap;<?php echo $sStyleReadInp_autres_symptomes; ?>">
 <textarea class="sc-js-input scFormObjectOdd css_autres_symptomes_obj<?php echo $this->classes_100perc_fields['input'] ?>" style="white-space: pre-wrap;resize: vertical;" name="autres_symptomes" id="id_sc_field_autres_symptomes" rows="2" cols="50"
 alt="{datatype: 'text', maxLength: 255, allowedChars: '<?php echo $this->allowedCharsCharset("") ?>', lettersCase: '', enterTab: false, enterSubmit: false, autoTab: false, selectOnFocus: true, watermark: '', watermarkClass: 'scFormObjectOddWm', maskChars: '(){}[].,;:-+/ '}" >
<?php echo $autres_symptomes; ?>
</textarea>
</span><?php } ?>
</td></tr><tr><td style="vertical-align: top; padding: 0"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_autres_symptomes_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_autres_symptomes_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






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


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





<?php } 
?> 






<?php $sStyleHidden_autres_symptomes_dumb = ('' == $sStyleHidden_autres_symptomes) ? 'display: none' : ''; ?>
    <TD class="scFormDataOdd" id="hidden_field_data_autres_symptomes_dumb" style="<?php echo $sStyleHidden_autres_symptomes_dumb; ?>"></TD>
   </tr>
<?php $sc_hidden_no = 1; ?>
</TABLE></div><!-- bloco_f -->
   </td>
   </tr></table>
   <a name="bloco_4"></a>
   <table width="100%" height="100%" cellpadding="0" cellspacing=0><tr valign="top"><td width="100%" height="">
<div id="div_hidden_bloco_4"><!-- bloco_c -->
<TABLE align="center" id="hidden_bloco_4" class="scFormTable<?php echo $this->classes_100perc_fields['table'] ?>" width="100%" style="height: 100%;"><?php if ($sc_hidden_no > 0) { echo "<tr>"; }; 
      $sc_hidden_yes = 0; $sc_hidden_no = 0; ?>


   <?php
   if (!isset($this->nm_new_label['maladie_suspectee_nm_fk']))
   {
       $this->nm_new_label['maladie_suspectee_nm_fk'] = "" . $this->Ini->Nm_lang['lang_public_fiche_prof_sante_fld_maladie_suspectee_nm_fk'] . "";
   }
   $nm_cor_fun_cel  = (isset($nm_cor_fun_cel) && $nm_cor_fun_cel  == $this->Ini->cor_grid_impar ? $this->Ini->cor_grid_par : $this->Ini->cor_grid_impar);
   $nm_img_fun_cel  = (isset($nm_img_fun_cel) && $nm_img_fun_cel  == $this->Ini->img_fun_imp    ? $this->Ini->img_fun_par  : $this->Ini->img_fun_imp);
   $maladie_suspectee_nm_fk = $this->maladie_suspectee_nm_fk;
   $sStyleHidden_maladie_suspectee_nm_fk = '';
   if (isset($this->nmgp_cmp_hidden['maladie_suspectee_nm_fk']) && $this->nmgp_cmp_hidden['maladie_suspectee_nm_fk'] == 'off')
   {
       unset($this->nmgp_cmp_hidden['maladie_suspectee_nm_fk']);
       $sStyleHidden_maladie_suspectee_nm_fk = 'display: none;';
   }
   $bTestReadOnly = true;
   $sStyleReadLab_maladie_suspectee_nm_fk = 'display: none;';
   $sStyleReadInp_maladie_suspectee_nm_fk = '';
   if (/*$this->nmgp_opcao != "novo" && */isset($this->nmgp_cmp_readonly['maladie_suspectee_nm_fk']) && $this->nmgp_cmp_readonly['maladie_suspectee_nm_fk'] == 'on')
   {
       $bTestReadOnly = false;
       unset($this->nmgp_cmp_readonly['maladie_suspectee_nm_fk']);
       $sStyleReadLab_maladie_suspectee_nm_fk = '';
       $sStyleReadInp_maladie_suspectee_nm_fk = 'display: none;';
   }
?>
<?php if (isset($this->nmgp_cmp_hidden['maladie_suspectee_nm_fk']) && $this->nmgp_cmp_hidden['maladie_suspectee_nm_fk'] == 'off') { $sc_hidden_yes++; ?>
<input type=hidden name="maladie_suspectee_nm_fk" value="<?php echo $this->form_encode_input($this->maladie_suspectee_nm_fk) . "\">"; ?>
<?php } else { $sc_hidden_no++; ?>

    <TD class="scFormDataOdd css_maladie_suspectee_nm_fk_line" id="hidden_field_data_maladie_suspectee_nm_fk" style="<?php echo $sStyleHidden_maladie_suspectee_nm_fk; ?>"> <table style="border-width: 0px; border-collapse: collapse; width: 100%"><tr><td  class="scFormDataFontOdd css_maladie_suspectee_nm_fk_line" style="vertical-align: top;padding: 0px"><span class="scFormLabelOddFormat css_maladie_suspectee_nm_fk_label" style=""><span id="id_label_maladie_suspectee_nm_fk"><?php echo $this->nm_new_label['maladie_suspectee_nm_fk']; ?></span><?php if (!isset($_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['php_cmp_required']['maladie_suspectee_nm_fk']) || $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['php_cmp_required']['maladie_suspectee_nm_fk'] == "on") { ?> <span class="scFormRequiredOdd">*</span> <?php }?></span><br>
<?php if ($bTestReadOnly && $this->nmgp_opcao != "novo" && isset($this->nmgp_cmp_readonly["maladie_suspectee_nm_fk"]) &&  $this->nmgp_cmp_readonly["maladie_suspectee_nm_fk"] == "on") { 
 
$nmgp_def_dados = "" ; 
if (isset($_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_maladie_suspectee_nm_fk']))
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_maladie_suspectee_nm_fk'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_maladie_suspectee_nm_fk']); 
}
else
{
    $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_maladie_suspectee_nm_fk'] = 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]['fiche_pro_sante_insert']['Lookup_maladie_suspectee_nm_fk']))
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_maladie_suspectee_nm_fk'] = array_unique($_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_maladie_suspectee_nm_fk']); 
   }
   else
   {
       $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_maladie_suspectee_nm_fk'] = array(); 
    }

   $old_value_date_declaration = $this->date_declaration;
   $old_value_date_declaration_hora = $this->date_declaration_hora;
   $old_value_age_malade = $this->age_malade;
   $old_value_tel_malade = $this->tel_malade;
   $old_value_date_apparition_symptomes = $this->date_apparition_symptomes;
   $old_value_date_hospitalisation = $this->date_hospitalisation;
   $old_value_date_evacuation = $this->date_evacuation;
   $old_value_date_sortie = $this->date_sortie;
   $old_value_date_deces = $this->date_deces;
   $this->nm_tira_formatacao();
   if ($this->nmgp_opcao != "nada") {
       $this->nm_converte_datas(false);
   }


   $unformatted_value_date_declaration = $this->date_declaration;
   $unformatted_value_date_declaration_hora = $this->date_declaration_hora;
   $unformatted_value_age_malade = $this->age_malade;
   $unformatted_value_tel_malade = $this->tel_malade;
   $unformatted_value_date_apparition_symptomes = $this->date_apparition_symptomes;
   $unformatted_value_date_hospitalisation = $this->date_hospitalisation;
   $unformatted_value_date_evacuation = $this->date_evacuation;
   $unformatted_value_date_sortie = $this->date_sortie;
   $unformatted_value_date_deces = $this->date_deces;

   $nm_comando = "SELECT nomenclature_item_code, nomenclature_item  FROM \"public\".ref_nomenclature_items  WHERE nomenclature_fk = 'MALADIES' ORDER BY nomenclature_item_order";

   $this->date_declaration = $old_value_date_declaration;
   $this->date_declaration_hora = $old_value_date_declaration_hora;
   $this->age_malade = $old_value_age_malade;
   $this->tel_malade = $old_value_tel_malade;
   $this->date_apparition_symptomes = $old_value_date_apparition_symptomes;
   $this->date_hospitalisation = $old_value_date_hospitalisation;
   $this->date_evacuation = $old_value_date_evacuation;
   $this->date_sortie = $old_value_date_sortie;
   $this->date_deces = $old_value_date_deces;

   $_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]['fiche_pro_sante_insert']['Lookup_maladie_suspectee_nm_fk'][] = $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; 
   $maladie_suspectee_nm_fk_look = ""; 
   $todox = str_replace("?#?@?#?", "?#?@ ?#?", trim($nmgp_def_dados)) ; 
   $todo  = explode("?@?", $todox) ; 
   while (!empty($todo[$x])) 
   {
          $cadaselect = explode("?#?", $todo[$x]) ; 
          if ($cadaselect[1] == "@ ") {$cadaselect[1]= trim($cadaselect[1]); } ; 
          if (isset($this->Embutida_ronly) && $this->Embutida_ronly && isset($this->maladie_suspectee_nm_fk_1))
          {
              foreach ($this->maladie_suspectee_nm_fk_1 as $tmp_maladie_suspectee_nm_fk)
              {
                  if (trim($tmp_maladie_suspectee_nm_fk) === trim($cadaselect[1])) {$maladie_suspectee_nm_fk_look .= $cadaselect[0] . '__SC_BREAK_LINE__';}
              }
          }
          elseif (isset($cadaselect[1]) && is_string($this->maladie_suspectee_nm_fk) && trim($this->maladie_suspectee_nm_fk) === trim($cadaselect[1])) {$maladie_suspectee_nm_fk_look .= $cadaselect[0];} 
          $x++; 
   }

?>
<input type="hidden" name="maladie_suspectee_nm_fk" value="<?php echo $this->form_encode_input($maladie_suspectee_nm_fk) . "\">" . $maladie_suspectee_nm_fk_look . ""; ?>
<?php } else { ?>
<?php
   $todo = $this->Form_lookup_maladie_suspectee_nm_fk();
   $x = 0 ; 
   $maladie_suspectee_nm_fk_look = ""; 
   while (!empty($todo[$x])) 
   {
          $cadaselect = explode("?#?", $todo[$x]) ; 
          if ($cadaselect[1] == "@ ") {$cadaselect[1]= trim($cadaselect[1]); } ; 
          if (isset($this->Embutida_ronly) && $this->Embutida_ronly && isset($this->maladie_suspectee_nm_fk_1))
          {
              foreach ($this->maladie_suspectee_nm_fk_1 as $tmp_maladie_suspectee_nm_fk)
              {
                  if (trim($tmp_maladie_suspectee_nm_fk) === trim($cadaselect[1])) {$maladie_suspectee_nm_fk_look .= $cadaselect[0] . '__SC_BREAK_LINE__';}
              }
          }
          elseif (isset($cadaselect[1]) && is_string($this->maladie_suspectee_nm_fk) && trim($this->maladie_suspectee_nm_fk) === trim($cadaselect[1])) { $maladie_suspectee_nm_fk_look .= $cadaselect[0]; } 
          $x++; 
   }
          if (empty($maladie_suspectee_nm_fk_look))
          {
              $maladie_suspectee_nm_fk_look = $this->maladie_suspectee_nm_fk;
          }
   $x = 0; 
   echo "<span id=\"id_read_on_maladie_suspectee_nm_fk\" class=\"css_maladie_suspectee_nm_fk_line\" style=\"" .  $sStyleReadLab_maladie_suspectee_nm_fk . "\">" . $this->form_format_readonly("maladie_suspectee_nm_fk", $this->form_encode_input($maladie_suspectee_nm_fk_look)) . "</span><span id=\"id_read_off_maladie_suspectee_nm_fk\" class=\"css_read_off_maladie_suspectee_nm_fk" . $this->classes_100perc_fields['span_input'] . "\" style=\"white-space: nowrap; " . $sStyleReadInp_maladie_suspectee_nm_fk . "\">";
   echo " <span id=\"idAjaxSelect_maladie_suspectee_nm_fk\" class=\"" . $this->classes_100perc_fields['span_select'] . "\"><select class=\"sc-js-input scFormObjectOdd css_maladie_suspectee_nm_fk_obj" . $this->classes_100perc_fields['input'] . "\" style=\"\" id=\"id_sc_field_maladie_suspectee_nm_fk\" name=\"maladie_suspectee_nm_fk\" size=\"1\" alt=\"{type: 'select', enterTab: false}\">" ; 
   echo "\r" ; 
   $_SESSION['sc_session'][$this->Ini->sc_page]['fiche_pro_sante_insert']['Lookup_maladie_suspectee_nm_fk'][] = ''; 
   echo "  <option value=\"\">" . str_replace("<", "&lt;","...") . "</option>" ; 
   while (!empty($todo[$x]) && !$nm_nao_carga) 
   {
          $cadaselect = explode("?#?", $todo[$x]) ; 
          if ($cadaselect[1] == "@ ") {$cadaselect[1]= trim($cadaselect[1]); } ; 
          echo "  <option value=\"$cadaselect[1]\"" ; 
          if (trim($this->maladie_suspectee_nm_fk) === trim($cadaselect[1])) 
          {
              echo " selected" ; 
          }
          if (strtoupper($cadaselect[2]) == "S") 
          {
              if (empty($this->maladie_suspectee_nm_fk)) 
              {
                  echo " selected" ;
              } 
           } 
          echo ">" . str_replace('<', '&lt;',$cadaselect[0]) . "</option>" ; 
          echo "\r" ; 
          $x++ ; 
   }  ; 
   echo " </select></span>" ; 
   echo "\r" ; 
   echo "</span>";
?> 
<?php  }?>
</td></tr><tr><td style="vertical-align: top; padding: 0"><table class="scFormFieldErrorTable" style="display: none" id="id_error_display_maladie_suspectee_nm_fk_frame"><tr><td class="scFormFieldErrorMessage"><span id="id_error_display_maladie_suspectee_nm_fk_text"></span></td></tr></table></td></tr></table> </TD>
   <?php }?>






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


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





<?php } 
?> 






   </tr>
</TABLE></div><!-- bloco_f -->
   </td></tr></table>
   </div>
