示例#1
0
function init_back($view = NULL, $vars = NULL)
{
    verificarSeEstaLogado();
    $ci =& get_instance();
    $ci->load->view("back/header");
    $ci->load->view($view, $vars);
    $ci->load->view("back/footer");
}
示例#2
0
<?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'" : "";