<?php

/**
 * Created by PhpStorm.
 * User: enzo
 * Date: 19/11/15
 * Time: 14:27
 */
verificarSeEstaLogado();
get_mensagem("msgerro");
get_mensagem("msgsucesso");
?>
<h3>Listagem de projetos</h3>
<table id="listagem" class="listagem">
    <thead>
    <tr>
        <th>Conexão Jovem</th>
        <th>Título</th>
        <th>Descrição</th>
        <th>Data</th>
        <th>Miniatura</th>
        <th>Ações</th>
    </tr>
    </thead>
    <tbody>
    <?php 
$query = $this->noticia->GetNoticia()->result();
foreach ($query as $dados) {
    ?>
        <?php 
    $disabled = $dados->status == 0 ? "style='background: grey; color: white'" : "";
Example #2
0
            <li>
                <?php 
if ($this->session->userdata("userLogin") == FALSE) {
    ?>
                    <a href="<?php 
    echo base_url("usuario/login");
    ?>
">Login</a>
                <?php 
} else {
    ?>
                    <a href="<?php 
    echo base_url("painel");
    ?>
">Entrar</a>
                <?php 
}
?>
            </li>
        </ul>
    </div>
</div>
<?php 
get_mensagem("msgwarning");
get_mensagem("msgerro");
?>
<div class="callout medium primary">
    <div class="row column text-center">
        <h1>Combater a Dengue: um dever meu, seu e de todos</h1>
    </div>
</div>