...
$this->load->view("camaras/ascamaras");
<br/><div id="container_principal">
<div class="row">
<h3>As Câmaras </h3><hr class="hr_titulos"/>
<div class="col-md-12">
<script type='text/javascript'>
$(document).ready(function(){
// Executa o evento CLICK em todos os links do menu
$('#ascamaras a').live('click',function(){
// Faz o carregamento da pgina de acordo com o COD da pgina, que vai pegar os valores da pgina page.php.
$('#camara').load($(this).attr('href'));
return false;
});
});
</script>
<div class="row font">
<div class="col-md-4">
<!--<ul class="list-group" >-->
<?php
$table= array(
'table_open'=> '<table class="table table-hover name="ascamaras" id="ascamaras">',
'table_close'=>'</table>'
);
$this->table->set_template($table);
foreach($resultadoCamaras as $resultadoCamaras){
$this->table->add_row(anchor("camarashome/visualizarCamara/$resultadoCamaras->idcategoria",ucwords($resultadoCamaras->nome),"class='links' style='font-size:14px;' id=''"));
}
echo $this->table->generate();
echo"<div class='paginacao'>";
//echo "<br/> $paginacao";
echo "</div>";
?>
<!--</ul>-->
</td>
</table>
</div>
<div class="col-md-7" id="camara">
</div>
</div>
</div>
</div>
</div>
<div id="container_principal">
<div class="row font">
<?php
foreach($dadosCategoria as $dadosCategoria){
echo "<div class='col-md-12 '>";
echo "<h4 class='font'>Câmara Setorial de "; echo ucwords($dadosCategoria->nome); echo"</h4><hr class='as_camaras'/>";
echo "</div>";
echo "<div class='col-md-6'>";
echo "<h4 class='font'>Presidente</h4><p>"; echo ucwords($dadosCategoria->presidente);"</p>";
echo "<h4 class='font'>Endereço</h4>
<p> Entidade: "; echo mb_strtoupper($dadosCategoria->entidade);
echo "<br/>Email: $dadosCategoria->email<a href='mailto:";echo $dadosCategoria->email;echo"?subject=Contato Câmara Setorial'><img src='";echo base_url('assets/img/camaras/mail.jpg'); echo "'border='0' title='contato' alt='Contato' /></a><br/>
"; echo ucwords($dadosCategoria->endereco);echo"<br/>
CEP: $dadosCategoria->cep<br/>
Telefone:$dadosCategoria->telefonea|
$dadosCategoria->telefoneb<br/>
</p>
";
}
?>
</div>
<div class="col-md-5">
<h5 class="font"><b>Atas</b></h5>
<?php
$options = array ('' => 'Selecione uma ata');
foreach($dadosArquivos as $dadosArquivos){
$ata= base_url("$dadosArquivos->arquivo");
$options[$ata] = $dadosArquivos->nome;
}
//echo form_dropdown('atas', $options,'','class="atas" id="atas" onchange="document.location.href=this.value" target="_blank"');
echo form_dropdown('atas', $options,'','class="atas" id="atas" onchange="window.open(this.value)" target="_blank"');
?>
</div>
<div class="col-md-10"><br/>
<h5 class="font"><b>Propostas e Projetos em andamento</b></h5><hr class="as_camaras"/><br/>
<ul class="paginacao">
<?php
foreach($dadosProposta as $dadosProposta){
echo "<li style='text-align:justify'>";echo ucfirst($dadosProposta->proposta); echo ".</li>";
}
if($dadosCategoria->idcategoria==12){
echo "
<br/><br/>
<li><a href='"; echo base_url('arquivos/camaras/custo_de_producao_seringueira_cam_tec_12_08.pdf'); echo"' target='_blank'>Custo de Produção e Rentabilidade da Cultura da Seringueira.(Clique e faça download)</a></li>";
}
?>
</ul>
</div>
</div><br/><br/>
<!--<a href="<?php echo base_url('camarashome/camaras');?> "><img src="<?php echo base_url('assets/img/camaras/voltar.png');?>"></a>--><br/><br/>
</div>
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE