Example #1
0
//if(!IMPORTAXLS){
//	echo "Sem permissao";
//	exit();
//}
$id = '';
if (isset($_REQUEST['id'])) {
    $id = $_REQUEST['id'];
}
$porte = $em->find("Entities\\Porte", $id);
if (empty($porte)) {
    $porte = new Porte();
}
?>
	
	<?php 
includeUi("templates/menuLateralImportacao.php");
?>
	<div class="inner-content" style="display: table; width: 85%;float:right; min-widh: 900px;margin-top: 75px;	">
		
			<div class="title">
				<div class="contentBlock center">
					<?php 
$msg = empty($_REQUEST['msg']) ? '' : get_request("msg");
if (!empty($msg)) {
    echo "<h2>{$msg}</h2>";
} else {
    echo "<h2>Importacao de dados</h2>";
}
?>
					
					
Example #2
0
							}
						});
						
					}
					

					carregaSelPlanosPorte();
					$('#selPlanosPorte').change(function(e){carregaTblPortes();});
					
				</script>
			</div>
			<script type="text/javascript">
				
			</script>
			
			<div class='footer'>
				<button id='btnSalvar'>Salvar</button>
				<button id='btnCancelar'>Cancelar</button>
				<script type="text/javascript">
					
					
					
				</script>
				
			</div>
	</div>

<?php 
includeJs('convenio');
includeUi('endereco/popupEndereco.php');
include_once '../templates/footer.php';