echo $pc01_descrmater; ?> <br>Resumo: <?php echo $pc11_resum; ?> </td> <td><input name="obs<?php echo $i; ?> " type='text' size='25' value="<?php echo $pc23_obs; ?> " > </td> <td width='135px' align='center'> <?php db_inputdata("o{$i}", $dia[$i], $mes[$i], $ano[$i], true, "text", 1); ?> </td> <td> <input name="valor<?php echo $i; ?> " type='text' style="text-align:right" size='10' value="<?php echo $pc23_vlrun; ?> " onBlur="js_calcula(<?php echo $i; ?> ,1)" onKeyUp="js_ValidaCampos(this,4,'Valor Unitário',false,false,event);"> </td> <td>
} db_inputdata('e60_emiss', @$e60_emiss_dia, @$e60_emiss_mes, @$e60_emiss_ano, true, 'text', 3, ""); ?> </td> <td align="left" nowrap title="<?php echo $Te60_vencim; ?> "> <?php echo $Le60_vencim; ?> <?php if (isset($e60_vencim) and $e60_vencim != "") { list($e60_vencim_dia, $e60_vencim_mes, $e60_vencim_ano) = split('[/.-]', $e60_vencim); } db_inputdata('e60_vencim', @$e60_vencim_dia, @$e60_vencim_mes, @$e60_vencim_ano, true, 'text', 3, ""); ?> </td> </tr> <tr> <td align="right" nowrap title="<?php echo $Te60_numcgm; ?> "><b><?php echo $Le60_numcgm; ?> </b></td> <td colspan="2" align="left" nowrap title="<?php echo $Te60_numcgm; ?> ">
onblur = "js_ValidaMaiusculo(this,'f',event);" style = "background-color:#E6E4F1" maxlength = "6" size = "10" value = "" title = "Área"> </td> </tr> <tr> <td> <strong>Data Início</strong> </td> <td> <?php db_inputdata('data_inicio', @$data_inicio_dia, @$data_inicio_mes, @$data_inicio_ano, true, 'text', 1); ?> </td> </tr> </table> </fieldset> <fieldset> <legend><strong>Atividades:</strong></legend> <table> <tr> <td title="Atividades"> <?php db_ancora('<strong>Atividade:</strong>', 'js_pesquisaAtividade()', 1); ?> </td>
function db_selorcbalanco($balanco = true, $orcamento = true, $empliqpag = false) { if ($balanco == true) { echo "<tr>\n"; echo " <td align=\"center\" colspan=\"2\">\n"; echo " <fieldset id=\"tabelabalanco\" align=\"center\">\n"; echo " <legend align=\"center\"><strong>Balanço</strong></legend>\n"; echo "\t <table>\n"; if ($empliqpag == true) { echo " \t <tr>\n"; // a variavel que identifica o empenhado, liquidado, pago deve ser tratada na funcao javascript que // roda no programas, funcap js_emite cfe exemplo orc2_despsecretaria001.php. echo " \t <td align='center' colspan='2'>\n"; echo " <input type='radio' name='qual_tipo_balanco' value='2' checked>\n"; echo " \t <strong>Empenhado</strong>   \n"; echo " <input type='radio' name='qual_tipo_balanco' value='3' >\n"; echo " \t <strong>Liquidado</strong>   \n"; echo " <input type='radio' name='qual_tipo_balanco' value='4' >\n"; echo " \t <strong>Pago</strong>\n"; echo " \t </td>\n"; echo " \t </tr>\n"; } echo " \t <tr>\n"; /* echo " <td>\n"; echo " <table border=\"0\" width=\"220\" height=\"100\" style=\"border: 1px solid black\" cellpadding=\"0\" cellspacing=\"1\" >\n"; echo " <tr>\n"; echo " <td align=\"center\" colspan=\"2\" title=\"Gera o saldo em um intervalo de meses\"><strong>Saldo Por Mês</strong></td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"right\" ><strong>Mês Início :</strong> </td>\n"; echo " <td>\n"; echo " <script>\n"; echo " function js_criames(obj){\n"; echo " for(i=1;i<document.form1.mesfin.length;i){\n"; echo " document.form1.mesfin.options[i] = null;\n"; echo " }\n"; echo " var dth = new Date(".db_getsession("DB_anousu").",document.form1.mesini.value,'1');\n"; echo " var nummes = dth.getMonth();\n"; echo " if(nummes == 0){\n"; echo " nummes = 12;\n"; echo " }\n"; echo " var teste = 0;\n"; echo " for(j=nummes;j<13;j++){\n"; echo " if(teste > 12){\n"; echo " teste = 1;\n"; echo " }\n"; echo " var dt = new Date(".db_getsession("DB_anousu").",j,'1');\n"; echo " document.form1.mesfin.options[teste] = new Option(db_mes(j),dt.getMonth());\n"; echo " teste += 1;\n"; echo " }\n"; echo " document.form1.mesfin.options[0].selected = true;\n"; echo " }\n"; echo " </script>\n"; $result1=array("1"=>"Janeiro","2"=>"Fevereiro","3"=>"Março","4"=>"Abril","5"=>"Maio","6"=>"Junho","7"=>"Julho","8"=>"Agosto","9"=>"Setembro","10"=>"Outubro","11"=>"Novembro","12"=>"Dezembro"); db_select("mesini",$result1,true,2,'onchange="js_criames(this)"',"","","",""); echo " </td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td align=\"right\" ><strong>Mês Fim :</strong></td>\n"; echo " <td>\n"; echo " <select name=\"mesfin\" id=\"mes\" >\n"; echo " <option value=\"mes\">Mês Final</option>\n"; echo " <script>\n"; echo " js_criames(document.form1.mesini);\n"; echo " </script>\n"; echo " </select>\n"; echo " </td>\n"; echo " </tr>\n"; echo " <tr>\n"; echo " <td colspan=\"2\" align = \"center\">\n"; echo " <input name=\"emite2\" id=\"emite2\" type=\"button\" value=\"Processar\" onclick=\"js_emite(2,'B');\" >\n"; echo " </td>\n"; echo " </tr>\n"; echo " </table>\n"; echo " </td>\n";*/ echo "\t <td>\n"; echo "\t <table border=\"0\" width=\"240\" height=\"100\" style=\"border: 1px solid black\" cellpadding=\"0\" cellspacing=\"1\" >\n"; echo "\t <tr>\n"; echo " <td align=\"center\" colspan=\"2\" title=\"Gera o saldo em um intervalo de datas\"><strong>Saldo Por Datas</strong></td>\n"; echo "\t </tr>\n"; echo " <tr>\n"; echo " <td nowrap align=\"right\" title=\"" . $GLOBALS["TDBtxt21"] . "\">\n"; echo $GLOBALS["LDBtxt21"]; echo "\t </td>\n"; echo "\t <td>\n"; $DBtxt21_ano = db_getsession("DB_anousu"); $DBtxt21_mes = '01'; $DBtxt21_dia = '01'; db_inputdata('DBtxt21', $DBtxt21_dia, $DBtxt21_mes, $DBtxt21_ano, true, 'text', 4); echo "\t </td>"; echo "\t </tr>"; echo "\t <tr>"; echo "\t <td nowrap align=\"right\" title=\"" . $GLOBALS["TDBtxt22"] . "\">"; echo $GLOBALS["LDBtxt22"]; echo "\t </td>"; echo "\t <td>"; $DBtxt22_ano = db_getsession("DB_anousu"); $DBtxt22_mes = date("m", db_getsession("DB_datausu")); $DBtxt22_dia = date("d", db_getsession("DB_datausu")); db_inputdata('DBtxt22', $DBtxt22_dia, $DBtxt22_mes, $DBtxt22_ano, true, 'text', 4); echo "\t </td>"; echo " </tr>"; echo " <tr>"; echo " <td colspan=\"2\" align = \"center\">"; echo " <input name=\"emite2\" id=\"emite2\" type=\"button\" value=\"Processar\" onclick=\"js_emite(3,'B');\" >"; echo " </td>"; echo " </tr>"; echo " </table>"; echo "\t </td>"; echo "\t </tr>"; echo "\t </table>"; echo " </fieldset>"; echo " </td>"; } if ($orcamento == true) { echo " <td align=\"center\" colspan=\"2\">"; echo "\t <fieldset id=\"tabelabalanco\" align=\"center\">"; echo " <legend align=\"center\"><strong>Orçamento</strong></legend>"; echo "\t <table border=\"0\" width=\"220\" height=\"100\" style=\"border: 1px solid black\" cellpadding=\"0\" cellspacing=\"1\" >"; echo " <tr>"; echo " <td align = \"center\">"; echo " <input name=\"emite2\" id=\"emite2\" type=\"button\" value=\"Processar\" onclick=\"js_emite(1,'O');\" >"; echo " </td>"; echo " </tr>"; echo " </table>"; echo "\t </fieldset>"; echo " </td>"; } echo "</tr>"; }
</small> </b> </label> </span> <b> <small> Data da nota: </small> </b> <?php //if(@$q21_datanota!=""){ // $q21_datanota_dia = substr($q21_datanota,8,2); // $q21_datanota_mes = substr($q21_datanota,5,2); // $q21_datanota_ano = substr($q21_datanota,0,4); //} db_inputdata("q21_datanota", @$q21_datanota_dia, @$q21_datanota_mes, @$q21_datanota_ano, true, 'text', 1); //db_inputdata("q21_datanota",@$q21_datanota_dia,@$q21_datanota_mes,@$q21_datanota_ano ,true, 'text', 1,"onChange='js_datanota()';","","","parent.js_datanota()"); ?> </td> </tr> <tr> <td align="left"> <b> <small> CPF ou CNPJ: </small> </b> </td> <td align="left"> <input name="cnpj1" type="text" value="<?php echo @$cnpj1;
<td> <?php db_input('w11_nomecomple', 50, $Iw11_nomecomple, true, 'text', $db_opcao, ""); ?> </td> </tr> <tr> <td nowrap title="<?php echo @$Tw11_dtvencimento; ?> "> Vencimento CNH: </td> <td> <?php db_inputdata('w11_dtvencimento', @$w11_dtvencimento_dia, @$w11_dtvencimento_mes, @$w11_dtvencimento_ano, true, 'text', $db_opcao, ""); ?> </td> </tr> </table> </center> <input name="w11_revisado" type="hidden" id="w11_revisado" value="f"> <input name="w11_cgmnovo" type="hidden" id="w11_cgmnovo" value="<?php echo $novocgm; ?> "> <input name="incluir" type="submit" id="db_opcao" value="Enviar Dados"> </form> </td> </tr> <tr>
onKeyPress='FormataCPF(this,event); return js_teclas(event);'> </td> <th><div id="msgcpf" align="left"></div></th> </tr> <tr> <tr> <td width="15%">Data Nascimento:</td> <td width="1%"><span><font color='#E9000'> * </font></span></td> <td width="10%" colspan="9"> <?php if (@$z01_nasc != "") { $z01_nasc_dia = substr($z01_nasc, 8, 2); $z01_nasc_mes = substr($z01_nasc, 5, 2); $z01_nasc_ano = substr($z01_nasc, 0, 4); } db_inputdata("z01_nasc", @$z01_nasc_dia, @$z01_nasc_mes, @$z01_nasc_ano, true, 'text', 1, "onKeyPress='return js_teclas(event);'"); ?> <span id="msgdatansc" align="left"></span> </td> </tr> <tr> <td width="15%">Nome da Mãe:</td> <td width="1%"><span><font color='#E9000'> * </font></span></td> <td width="32%"> <input type="text" id="nomemae" name="nomemae" size="41" maxlength="255" onKeyUp="js_Maiusculo(this,'t',event);"> </td> <th><div id="msgnomemae" align="left"></div></th> </tr> <tr> <td width="15%">E-mail:</td>