Example #1
0
$this->load->view('respostas_opcoes');
echo $this->input->get('msg') && $this->input->get('msg_type') ? msg(urldecode(html_entity_decode($this->input->get('msg', TRUE))), urldecode(html_entity_decode($this->input->get('msg_type', TRUE)))) : '';
?>
<h2><?php 
echo $title;
?>
</h2>
<h3>Referente a: <strong><?php 
echo $c->user->nome;
?>
</strong></h3>
<table id="viewRes">
<tr>
	<td class="leftRes">Mês de referência:</td>
	<td><?php 
echo traduz_mes($c->ref_mes) . '/' . obter_ano($c->ref_mes);
?>
</td>
</tr>
<tr>
	<td colspan="2" class="titRes">PRODUÇÃO</td>
</tr>
<tr>
	<td class="leftRes">Carga horária prevista:</td>
	<td><?php 
echo $c->producao->ch_prevista;
?>
 horas</td>
</tr>
<tr>
	<td class="leftRes">Carga horária cumprida:</td>
Example #2
0
            }
        }
    }
}
?>
	
});
</script>

<div class='aval_dados'>
<p><strong>Referente a: </strong><?php 
echo $ref_user->nome;
?>
</p>
<p><strong>Mês: </strong><?php 
echo traduz_mes($controle->ref_mes) . '/' . obter_ano($controle->ref_mes);
?>
</p>
<p><strong>Questões que se aplicam: </strong><?php 
echo traduz_open_as($open_as);
?>
</p>
<p><strong>Responsável pelo preenchimento: </strong><?php 
echo $author->nome;
?>
</p>
<p><strong>Status desta avaliação: </strong><?php 
echo traduz_status_resposta($r->status_id);
?>
</p>
</div>
Example #3
0
echo base_url('producoes/show');
?>
/" + $(this).val();
	});
});
</script>


<div id="container_seletor_producoes">
<select name='seletor_producoes' id='seletor_producoes'>
<option value=''>Meses anteriores...</option>
<?php 
for ($i = 1; $i < 11; $i++) {
    $mes = date("Y-m", strtotime("-" . $i . " month")) . '-01';
    // YYYY-MM-DD (dd sempre 01)';
    $opcao = traduz_mes($mes) . '/' . obter_ano($mes);
    echo "<option value='{$i}'>{$opcao}</value>";
}
?>
</select>
</div>
<?php 
if ($p) {
    echo "<table id='view_users' class='tabela1 tabela_estilo1'>";
    echo "<thead>";
    echo "<tr>";
    echo "<th>ID</th>";
    echo "<th>Nome</th>";
    echo "<th>Username</th>";
    echo "<th>Última edição</th>";
    echo "<th>Status</th>";