Exemplo n.º 1
0
<?php 
require_once "../funcoes/funcoesVerifica.php";
require_once "../funcoes/funcoesSiscontrat.php";
if (isset($_GET['idEvento'])) {
    $evento = verificaCampos($_GET['idEvento']);
    $ocorrencia = verificaOcorrencias($_GET['idEvento']);
}
if (isset($_GET['p'])) {
    $p = $_GET['p'];
} else {
    $p = "inicio";
}
?>
<script type="application/javascript">
$(function(){
	$('#instituicao').change(function(){
		if( $(this).val() ) {
			$('#local').hide();
			$('.carregando').show();
			$.getJSON('local.ajax.php?instituicao=',{instituicao: $(this).val(), ajax: 'true'}, function(j){
				var options = '<option value=""></option>';	
				for (var i = 0; i < j.length; i++) {
					options += '<option value="' + j[i].idEspaco + '">' + j[i].espaco + '</option>';
				}	
				$('#local').html(options).show();
				$('.carregando').hide();
			});
		} else {
			$('#local').html('<option value="">-- Escolha uma instituição --</option>');
		}
	});
Exemplo n.º 2
0
                ?>
<br /><br />

			<h5>Serviços Internos</h5>
			<?php 
                listaServicosInternos($_SESSION['idEvento']);
                ?>

            </div>
			<?php 
                break;
            case "pendencias":
                require_once "../funcoes/funcoesVerifica.php";
                require_once "../funcoes/funcoesSiscontrat.php";
                $evento = recuperaDados("ig_evento", $_SESSION['idEvento'], "idEvento");
                $campos = verificaCampos($_SESSION['idEvento']);
                $ocorrencia = verificaOcorrencias($_SESSION['idEvento']);
                ?>
   
			  <h5> <a href="?perfil=evento&p=enviar&action=evento">Dados do evento </a>| <a href="?perfil=evento&p=enviar&action=servicos">Solicitação de serviços</a> | <a href="?perfil=evento&p=enviar&action=pedidos">Pedidos de contratação</a>  |  Pendências</h5>
			<div class="table-responsive list_info" >
            <h4><?php 
                echo $evento['nomeEvento'];
                ?>
</h4>
            <div class="left">
            
<?php 
                //print_r($evento);
                if ($campos['total'] > 0) {
                    echo "<h4>Há campos obrigatórios não preenchidos.</h4>";
Exemplo n.º 3
0
        ?>
<br /><br />

			<h5>Serviços Internos</h5>
			<?php 
        listaServicosInternos($_GET['id_ped']);
        ?>

            </div>
			<?php 
        break;
    case "pendencias":
        require_once "../funcoes/funcoesVerifica.php";
        require_once "../funcoes/funcoesSiscontrat.php";
        $evento = recuperaDados("ig_evento", $_GET['id_ped'], "idEvento");
        $campos = verificaCampos($_GET['id_ped']);
        $ocorrencia = verificaOcorrencias($_GET['id_ped']);
        ?>
   
			  <h5> <a href="?perfil=contratos&p=evento&action=pedidos">Dados do evento </a>| Solicitação de serviços | <a href="?perfil=contratos&p=evento&action=pedidos">Pedidos de contratação</a></h5>
			<div class="table-responsive list_info" >
            <h4><?php 
        echo $evento['nomeEvento'];
        ?>
</h4>
            <div class="left">
            
<?php 
        //print_r($evento);
        if ($campos['total'] > 0) {
            echo "Há campos obrigatórios não preenchidos.";
Exemplo n.º 4
0
	</div>
</section>
<?php 
        /* =========== FIM SEVIÇOS ===========*/
        break;
        ?>


<?php 
        /* =========== INÍCIO PENDENCIAS ===========*/
    /* =========== INÍCIO PENDENCIAS ===========*/
    case "pendencias":
        require_once "../funcoes/funcoesVerifica.php";
        require_once "../funcoes/funcoesSiscontrat.php";
        $evento = recuperaDados("ig_evento", $_SESSION['idEvento'], "idEvento");
        $campos = verificaCampos($idEvento);
        $ocorrencia = verificaOcorrencias($idEvento);
        ?>
<section id="list_items" class="home-section bg-white">
	<div class="container">
	<h5><a href="?perfil=gestao_prazos&p=detalhe_evento&pag=inicial&id_eve=<?php 
        echo $idEvento;
        ?>
">Dados do evento</a> | 
		<a href="?perfil=gestao_prazos&p=detalhe_evento&pag=servicos&id_eve=<?php 
        echo $idEvento;
        ?>
">Solicitação de serviços</a> |  
		<a href="?perfil=gestao_prazos&p=detalhe_evento&pag=pedidos&id_eve=<?php 
        echo $idEvento;
        ?>