コード例 #1
0
ファイル: pg_ipi.php プロジェクト: elobarbarulo/SHAMAH_NEW
            </tr>';
}
$mensagem .= '</tbody>
</table>';
if (count($dados['talefas_list']) == 0) {
    echo mensagem_alerta("Nenhum alerta para esse processo");
} else {
    echo reprovado($mensagem);
}
//*******************************************
echo SubTitulo('<hr>');
echo SubTitulo('STATUS PARA O RESUMO DO PROCESSO');
echo monta_select($tamanho = 3, $label = 'Status', $nome = 'status', $dados['status_select'], $dados['form']['status'], $id = "status");
echo SubTitulo('');
echo monta_input($tamanho = 12, $label = 'Observação', $tipo_campo = 'txt', $nome = 'obs', $value = "", $maxlength = "100", $classes = "");
echo 'o que for escrito aqui aparecerá no status geral';
echo SubTitulo('');
echo SubTitulo('<div class="form-group"><label>Anexar <label><input type="file" name="arquivo"></div>');
echo bt_form('11', '1', $dados['bt'], '', 'validar_processo');
echo SubTitulo('<hr>');
echo SubTitulo('Anexos');
foreach ($dados['arquivos'] as $key => $value) {
    $caminho = base_url() . 'anexos/' . $value['anexo'];
    echo '<iframe class=" col-md-6" src="' . $caminho . '" width="800px" height="600px" ></iframe>';
}
if ($this->uri->segment(6) == 'tarefas' && $this->uri->segment(7) != "") {
    echo confirma_acao("Deseja realmente confirmar a tarefa", $link . $this->uri->segment(6) . '/' . $this->uri->segment(7) . '/' . $this->uri->segment(7), $link);
}
?>

コード例 #2
0
ファイル: pg_pagamentos.php プロジェクト: elobarbarulo/SHAMAH
            if ($value['status'] == 0) {
                $link_pagar = bt_link("processos/proc/" . $this->uri->segment(3) . "/" . $this->uri->segment(4) . "/pagamentos/pagar/" . $value['id'], '<i class="fa fa-money"></i>');
                $link_editar = bt_link("processos/proc/" . $this->uri->segment(3) . "/" . $this->uri->segment(4) . "/pagamentos/form/" . $value['id'], '<i class="fa fa-pencil"></i>');
                $link_confirmar_pg = bt_link("processos/proc/" . $this->uri->segment(3) . "/" . $this->uri->segment(4) . "/pagamentos/confirmar/" . $value['id'], '<i class="fa fa-thumbs-o-up fa-1x">      ');
                $link_add = bt_link("processos/proc/" . $this->uri->segment(3) . "/" . $this->uri->segment(4) . "/pagamentos/form/", '<i class="fa fa-plus-square"></i> Adicionar Parcela');
            }
        }
        echo '<tr>
                    <td>' . $value['n_parcela'] . '</td>
                    <td>' . data_br($value['data']) . '</td>
                    <td> R$ ' . decimal2str($value['valor']) . '</td>
                    <td>' . $quem . '</td>
                    <td>' . $status . '</td>
                    <td>' . $link_editar . ' | ' . $link_pagar . ' | ' . $link_confirmar_pg . '</td>
                </tr>';
    }
    echo '<tr><td colspan="6">' . $link_add . '</td></tr>';
    ?>

        </tbody>
    </table>
            <?php 
}
if ($this->uri->segment(6) == "pagar" && $this->uri->segment(7) != '' && $this->uri->segment(8) == '') {
    $link = base_url() . $this->uri->segment(1) . '/' . $this->uri->segment(2) . '/' . $this->uri->segment(3) . '/' . $this->uri->segment(4) . '/' . $this->uri->segment(5) . '/' . $this->uri->segment(6) . '/' . $this->uri->segment(7);
    echo confirma_acao("Deseja realmente confirmar o recebimento ? ", $link . '/1', $link . '/0');
}
if ($this->uri->segment(6) == "confirmar" && $this->uri->segment(7) != '' && $this->uri->segment(8) == '') {
    $link = base_url() . $this->uri->segment(1) . '/' . $this->uri->segment(2) . '/' . $this->uri->segment(3) . '/' . $this->uri->segment(4) . '/' . $this->uri->segment(5) . '/' . $this->uri->segment(6) . '/' . $this->uri->segment(7);
    echo confirma_acao("Deseja realmente confirmar o confirmar o recebimento ? ", $link . '/1', $link . '/0');
}
コード例 #3
0
ファイル: t.php プロジェクト: SystemPark/JoaoEnews
    <table class="table table-condensed"> 
        <thead>
            <tr>
                <th>Titulo</th>
                <th>Tipo Noticia</th>
                <th>Ação</th>
            </tr>
        </thead>
        <tbody>
            <?php 
foreach ($dados['resultados'] as $key => $value) {
    if ($value['tipo_noticia'] == 1) {
        $status = 'Anuncio Completo';
    } else {
        $status = 'Anuncio de Referencia';
    }
    echo ' <tr><td>' . $value['titulo'] . '</td><td>' . $status . '</td><td>' . anchor('noticias/formulario/' . $value['id'], '<i class="fa fa-pencil"></i>') . ' ' . anchor('noticias/t/' . $value['id'] . '/excluir/', ' <i class="fa fa-user-times"></i>') . ' ' . anchor('noticias/ver/' . $value['id'], ' <i class="fa fa-eye"></i>') . '</td></tr>';
}
?>
           

        </tbody>
    </table>
</div>

<?php 
$link = base_url() . $this->uri->segment(1) . '/' . $this->uri->segment(2) . '/' . $this->uri->segment(3) . '/' . $this->uri->segment(4);
$link_volta = base_url() . $this->uri->segment(1) . '/' . $this->uri->segment(2);
if ($this->uri->segment(3) != '' && $this->uri->segment(4) == 'excluir') {
    echo confirma_acao("Desejá realmente apagar o Usuarios", $link . '/1', $link_volta);
}
コード例 #4
0
                        </tr>';
    }
    $ajuda .= '
                    </table>
                    </div>';
    echo $ajuda;
}
echo '</div>';
echo bt_form($tamanho_espaco = '11', $tamanho_bt = '1', $texto = $dados['bt'], $id = "", $class = "validar_clientes");
echo form_close();
if ($this->uri->segment(4) == "telefone" && $this->uri->segment(6) == "2") {
    $link_voltar = site_url() . $this->uri->segment(1) . '/' . $this->uri->segment(2) . '/' . $this->uri->segment(3);
    $link_confirmacao = $link_voltar . '/' . $this->uri->segment(4) . '/' . $this->uri->segment(5) . '/' . $this->uri->segment(6) . '/1';
    echo confirma_acao($mensagem = "Deseja realmente excluir o Telefone", $link_confirmacao, $link_voltar);
}
if ($this->uri->segment(4) == "ajuda" && $this->uri->segment(6) == "2") {
    $link_voltar = site_url() . $this->uri->segment(1) . '/' . $this->uri->segment(2) . '/' . $this->uri->segment(3);
    $link_confirmacao = $link_voltar . '/' . $this->uri->segment(4) . '/' . $this->uri->segment(5) . '/' . $this->uri->segment(6) . '/1';
    echo confirma_acao($mensagem = "Deseja realmente excluir a ajuda financeira", $link_confirmacao, $link_voltar);
}
?>

            </div>
        </div>
    </div>
</div>	




コード例 #5
0
ファイル: proc.php プロジェクト: elobarbarulo/SHAMAH_NEW
 }
 if ($this->uri->segment(5) == 'baixa_ipva') {
     $n_processo = 8;
 }
 if ($this->uri->segment(5) == 'baixa_rodizio') {
     $n_processo = 9;
 }
 if ($this->uri->segment(5) == 'lacracao') {
     $n_processo = 10;
 }
 if ($this->uri->segment(5) == 'editar') {
     $n_processo = "";
 }
 if ($arquivo['erro'] != "") {
     $link = base_url() . $this->uri->segment(1) . '/' . $this->uri->segment(2) . '/' . $this->uri->segment(3) . '/' . $this->uri->segment(4) . '/' . $this->uri->segment(5);
     echo confirma_acao($mensagem = $arquivo['erro'], $link_confirmacao = $link, $link_volta = $link);
     exit;
 }
 if ($arquivo['arquivo'] != "") {
     /******CONSULTA E INSERE A PARTE DO DEDO DURO*****
        $cdd = new Query_model();
        $cdd->SetCampos("*");
        $cdd->SetCondicao("processos.id = '".$this->uri->segment(4)."'");
        $cdd->SetTabelas('processos');
        $cdd->SetTipoRetorno(1);
        $cdd_dados = $cdd->get();
        debug($cdd_dados,true);
        */
     $session = $this->session->all_userdata();
     $sis_dedo_duro = new Query_model();
     $inserir = array();