mirror of https://github.com/interlegis/sapl.git
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							333 lines
						
					
					
						
							15 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							333 lines
						
					
					
						
							15 KiB
						
					
					
				| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| 
 | |
| 
 | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt"> | |
| <head> | |
|   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" /> | |
|   <title>Sistema de Apoio ao Processo Legislativo</title> | |
|   <meta name="generator" content="SAPL - Sistema de Apoio ao Processo Legislativo - http://www.interlegis.leg.br/sapl" /> | |
| 
 | |
|   <style type="text/css"><!-- @import url(http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/manage_page_style); --></style> | |
|   <style type="text/css"><!-- @import url(http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/estilos.css); --></style> | |
|   <link rel="shortcut icon" type="image/x-icon" href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/imagens/favicon.ico" /> | |
| 
 | |
|   <script type='text/javascript' src='http://devsapl25.interlegis.leg.br:8080/curso/sapl01/javascript/geral.js'></script> | |
| 
 | |
|   </head> | |
| <body> | |
|       <div id="pagina"> | |
|       <div id="topo"> | |
| 
 | |
| 
 | |
|     <h1 id="logo"> | |
|           <img src="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/imagens/brasao.gif" alt="Logotipo da Casa Legislativa" /> | |
|       </h1> | |
|   <div id="identidade"> | |
|     <h2>Câmara Municipal de Demonstração</h2> | |
|     <h3>Sistema de Apoio ao Processo Legislativo</h3> | |
|   </div> | |
|   <div id="busca"> | |
|     <form name="top_bar_form" action="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/palavra_chave_buscar_proc"> | |
|     <fieldset> | |
|       <legend>Busca por palavra-chave</legend> | |
|       <input id="campoBusca" type="text" name="txt_palavra_chave" size="20" /> | |
|       <input class="botaoBusca" type="submit" value="buscar" /> | |
|     </fieldset> | |
|     </form> | |
|   </div> | |
|   <br clear="all" /> | |
| </div> | |
| 
 | |
| <div id="funcoes"> | |
|       <span>usuário: <strong>saploper</strong></span> | |
|     <ul> | |
|     <li> <a class="inicio" href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01">início</a></li> | |
| 
 | |
|     <li> <a class="voltar" href="javascript:history.back();">voltar</a></li> | |
| 
 | |
| 
 | |
|     <li><a class="impressao" href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/documento_administrativo/documento_acessorio/documento_acessorio_form?impressao=1&cod_documento=1&btn_incluir=Incluir+Documento+Acess%F3rio">impressão</a></li> | |
|     <li><a class="manual" href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/ajuda">manual</a></li> | |
|           <li><a class="sair" href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/log_out_proc">sair</a></li> | |
|       </ul> | |
|   <br clear="all" /> | |
| </div> | |
| 
 | |
|       <div id="corpo"> | |
|         <div id="menu"> | |
|   <h5>Menu</h5> | |
| 
 | |
|             <ul> | |
| 
 | |
| 
 | |
|               <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/mesa_diretora">Mesa Diretora</a></li> | |
| 
 | |
|               <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/comissao">Comissões</a></li> | |
| 
 | |
|               <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/parlamentar">Parlamentares</a></li> | |
| 
 | |
|               <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/consultas/protocolo/protocolo_pesquisar_form?incluir=1">Protocolo Geral</a></li> | |
| 
 | |
|               <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/consultas/documento_administrativo/documento_administrativo_pesquisar_form?incluir=1">Documentos Administrativos</a></li> | |
| 
 | |
|               <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/recebimento_proposicao">Recebimento de Proposições</a></li> | |
|         <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/consultas/pauta_sessao">Pauta da Sessão</a></li> | |
|         <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/materia_pesquisar_form?incluir=1">Matérias Legislativas</a></li> | |
|         <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/materia/tramitacao/tramitacao_lote_form">Tramitação em Lote</a></li> | |
|         <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/materia/documento_acessorio/documento_acessorio_lote_form">Acessório em Lote</a></li> | |
| 
 | |
|               <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/sessao_plenaria">Sessão Plenária</a></li> | |
| 
 | |
|               <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/norma_juridica_pesquisar_form?incluir=1">Normas Jurídicas</a></li> | |
| 
 | |
|       	<li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/impressos/materia_impresso_form">Impressos</a></li> | |
| 
 | |
|              <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/relatorios_administrativos">Relatórios</a></li> | |
| 
 | |
|               <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/auxiliares">Tabelas Auxiliares</a></li> | |
| 
 | |
| 
 | |
|               <li><a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/senha_trocar_form">Troca de Senha</a></li> | |
| 
 | |
| 
 | |
|            </ul> | |
|   <br /> | |
|   <fieldset> | |
|     <legend>Pesquisar no <a href="http://www.lexml.gov.br/" title="Rede de Informação Legislativa e Jurídica">LexML</a></legend> | |
|     <form method="get" action="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/lexml_pesquisar"> | |
|       <input class="buscaLexml" type="text" name="keyword" title="Busca por palavra-chave" value="" /> | |
|       <input type="image" value="Buscar" alt="Buscar" src="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/imagens/lexml.gif" /> | |
|     </form> | |
|   </fieldset> | |
| <br /> | |
| </div> | |
| 
 | |
|         <div id="conteudo"> | |
| 
 | |
| 
 | |
| 
 | |
| <script type = "text/javascript" src="javascript/data_validar_jvsc"></script> | |
| <script type="text/javascript" src="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/javascript/prototype.min.js"></script> | |
| <style  type="text/css"><!-- @import url(http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/datepicker.css); --></style> | |
| <script type="text/javascript"> | |
| <!-- | |
|   function submeter(endereco){ | |
| 
 | |
|       var form = document.documento_acessorio_form; | |
| 
 | |
|       endereco += '?cod_documento=' + form.hdn_cod_documento.value; | |
| 
 | |
|       if (form.hdn_alterou.value=="1"){ | |
|          if (confirm("Deseja salvar os dados?")){ | |
|             form.hdn_url.value = endereco; | |
|             campos_criticar(form); | |
|          }else {location.href = endereco} | |
|       } | |
|       location.href = endereco; | |
|   } | |
| 
 | |
| 
 | |
|   function campos_criticar(form){ | |
| 
 | |
|       if (form.lst_tip_documento.value=="0"){ | |
|           alert("O tipo do documento acessório deve ser selecionado!"); | |
|           form.lst_tip_documento.focus(); | |
|           return false; | |
|       } | |
|       if (form.txt_nom_documento.value==""){ | |
|           alert("O nome do documento acessório deve ser preenchido"); | |
|           form.txt_nom_documento.focus(); | |
|           return false; | |
|       } | |
|       if (form.txt_nom_autor_documento.value==""){ | |
|          alert("A nome do autor do documento acessório deve ser preenchido!"); | |
|          form.txt_nom_autor_documento.focus(); | |
|          return false; | |
|       } | |
|       if (form.txt_dat_documento.value!="" && !IsValidDate(form.txt_dat_documento.value)){ | |
|          alert("Digite uma data válida!"); | |
|          form.txt_dat_documento.focus(); | |
|          form.txt_dat_documento.select(); | |
|          return false; | |
|       } | |
|       if (form.file_nom_arquivo.value==""){ | |
|          alert("Um arquivo deve ser selecionado!"); | |
|          form.file_nom_arquivo.focus(); | |
|          return false; | |
|       } | |
| 
 | |
|       form.hdn_tip_documento.value = form.lst_tip_documento.value; | |
| 
 | |
|       /*----------------------------- | |
|       if (form.file_nom_arquivo.value==""){ | |
|         alert("O nome do arquivo deve ser preenchido!"); | |
|         form.file_nom_arquivo.focus(); | |
|         return false; | |
|       } | |
|       ------------------------------*/ | |
| 
 | |
|       form.submit(); | |
|   } | |
| 
 | |
| 
 | |
|   function documento_acessorio_excluir(){ | |
|       /*----------------------------- | |
|          Função: Chama o Método DTML de exclusão do despacho | |
|          Argumentos: (). | |
|          Retorno: Retorna uma mensagem de exclusão bem sucessida e | |
|                 redireciona à página 'index_html'. | |
|          Rommel Carvalho e Danilo Custódio em 04/04/2001. | |
|       ------------------------------*/ | |
| 
 | |
|        if (confirm("Deseja realmente excluir?")) { | |
|           location.href="documento_acessorio_excluir_proc?cod_documento_acessorio=&cod_documento=1&nom_documento="; | |
|        } | |
|   } | |
| 
 | |
| 
 | |
|   function texto_documento_excluir(){ | |
|       /*----------------------------- | |
|          Função: Chama o Método DTML de exclusão do texto do documento | |
|          Argumentos: (). | |
|          Retorno: Retorna uma mensagem de exclusão bem sucedida e | |
|                   redireciona à página 'documento_acessorio_form'. | |
|          Man Qi em 16/01/2004. | |
|       ------------------------------*/ | |
| 
 | |
|        if (confirm("Deseja realmente excluir o texto?")) { | |
|           location.href="texto_documento_acessorio_excluir_proc?cod_documento_acessorio=&cod_documento=1"; | |
|        } | |
|   } | |
| 
 | |
| //--> | |
| </script> | |
| 
 | |
| <div class="helpsapl"> <a id="ajuda" href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/ajuda/doc_acessorio">Ajuda</a> </div> | |
| <h1 class="firstHeading"> Documento Administrativo </h1> | |
| 
 | |
| <form name="documento_acessorio_form" method="post" action="documento_acessorio_salvar_proc" enctype="multipart/form-data"> | |
| <input type="hidden" name="hdn_cod_documento_acessorio" value="" onChange="javascript:form.hdn_alterou.value=1" /> | |
| <fieldset><legend>Documento Administrativo</legend> | |
|  <ul> | |
|     <li> | |
|       <a | |
|              class="selecionado" | |
|             href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/documento_administrativo/documento_acessorio/index_html?cod_documento=1">Documento Acessório</a> | |
|     </li> | |
|     <li> | |
|       <a | |
| 
 | |
|       href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/documento_administrativo/tramitacao/index_html?cod_documento=1">Tramitação</a> | |
|     </li> | |
|     <li> | |
|         <a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/cadastros/documento_administrativo/documento_administrativo_mostrar_proc?cod_documento=1">Início</a> | |
|     </li> | |
| </ul> | |
| 
 | |
|  <table> | |
|   <tr> | |
|         <td class="texto"> | |
|         Tipo: <b>CNV</b> | |
|       </td> | |
|       <td class="texto"> | |
|         Número: <b>1</b> | |
|       </td> | |
|       <td class="texto"> | |
|         Ano: <b>2015</b> | |
|       </td> | |
|     </tr> | |
|   <tr> | |
|       <td colspan="3" class="texto"> | |
|                    Assunto: <b> AAAAA</b> | |
|                   </td> | |
|   </tr> | |
| </table> | |
| 
 | |
| 
 | |
|  <fieldset><legend>Documento Acessório</legend> | |
|  <input type="hidden" name="hdn_tip_documento" value="" /> | |
|       <table> | |
|          <tr> | |
|             <td><label for="lst_tip_documento">Tipo <span class="campoObrigatorio"> </span></label><br /> | |
|                 <select id="lst_tip_documento" name="lst_tip_documento" onChange="javascript:form.hdn_alterou.value=1"> | |
|                   <option value="0">Selecione</option> | |
|                                        <option                         value="1"> | |
|                         Convite | |
|                                        <option                         value="2"> | |
|                         Oficio | |
|                                        <option                         value="3"> | |
|                         Requerimento | |
|                                       </option> </select> | |
|             </td> | |
|             <td><label for="txt_nom_documento">Nome <span class="campoObrigatorio"> </span></label><br /> | |
|              <input type="text" name="txt_nom_documento" value="" size="30" maxlength="30" onChange="javascript:form.hdn_alterou.value=1" /> | |
|             </td> | |
| 
 | |
|                         <td><label for="txt_dat_documento">Data <span class="campoObrigatorio"> </span></label><br /> | |
|              <input type="text" name="txt_dat_documento" id ="txt_dat_documento" value="26/06/2015" size="10" maxlength="10" onBlur="formata_data(form.txt_dat_documento)" /> | |
|              <script type="text/javascript"> | |
|                 /*<[CDATA[*/ | |
|                     var dpck = new DatePicker({ | |
|                         relative : 'txt_dat_documento', | |
|                         language : 'pt' | |
|                         }); | |
|                 /*]]>*/ | |
|             </script> | |
|              </td> | |
|           </tr> | |
|           <tr> | |
|             <td colspan="3"><label for="txt_nom_autor_documento">Autor <span class="campoObrigatorio"> </span></label><br /> | |
|               <input type="text" name="txt_nom_autor_documento" value="" size="55" maxlength="50"onChange="javascript:form.hdn_alterou.value=1" /> | |
|             </td> | |
|           </tr> | |
|           <tr> | |
|             <td colspan="3"><label for="txt_nom_arquivo">Arquivo <span class="campoObrigatorio"> </span></label><br /> | |
|                                 <input type="file" name="file_nom_arquivo" size="32" maxlength="100" /> | |
|                  </td> | |
|                  <td colspan="3"> | |
|                           </td> | |
|                </tr> | |
|           <tr> | |
|             <td colspan="3"><label for="txa_txt_assunto">Assunto </label><br/> | |
|              <textarea name="txa_txt_assunto" cols="65" onChange="javascript:form.hdn_alterou.value=1"></textarea> | |
|             </td> | |
|           </tr> | |
|    </table> | |
|    <input type="hidden" name="txa_txt_indexacao" value="" /> | |
|    <input type="hidden" name="hdn_alterou" value="0" /> | |
|  </fieldset> | |
| 
 | |
|   <p align="center"> | |
|     <input type="button" class="botao" name="btn_documento_acessorio_salvar" value="Salvar" onClick="campos_criticar(document.documento_acessorio_form)" /> | |
|        | |
|     </p> | |
|   <input type="hidden" name="hdn_cod_documento" value="1" /> | |
|   <input type="hidden" name="hdn_url" value="index_html?cod_documento=1" /> | |
| </form> | |
| </fieldset> | |
|       </div> | |
|       <br clear="all" /> | |
|     </div> | |
|     <div id="rodape"> | |
|       <address> | |
|                   Av. George Washington, 3580 | |
|                       - São José da Lagoa Tapada - PB | |
|                                 - CEP: 12345-678 - | |
|                                                         Telefone: (12)3456-7890 | |
|                       - Fax: (09)8765-4321 | |
|                           <br /> | |
| 
 | |
|               Portal: <a href="http://www.camaramunicipal.gov.br" target="_blank">http://www.camaramunicipal.gov.br</a> | |
|  <!--         Portal: <a href="http://www.camaramunicipal.gov.br">http://www.camaramunicipal.gov.br</a> -   --> | |
|                                               E-mail: <a href="mailto:faleconosco@camaramunicipal.gov.br">faleconosco@camaramunicipal.gov.br</a> | |
|               </address> | |
|       <div> | |
|         <a href="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/generico/licenca"><img src="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/imagens/interlegis.gif" width="80" height="15" alt="Desenvolvido pelo Interlegis" /></a> | |
|         <a href="http://www.zope.org/Credits"><img src="http://devsapl25.interlegis.leg.br:8080/curso/sapl01/imagens/zope.png" width="80" height="15" alt="Desenvolvido em Zope" /></a> | |
|       </div> | |
|     </div> | |
|   </div> | |
| </body> | |
| </html> | |
| 
 | |
| 
 | |
| 
 |