示例#1
0
    foreach ($id_periodo as $row) {
        echo Open('tr');
        $periodo = $row->siglas;
        $id_perio = $row->id_perido;
        echo Close('tr');
    }
}
if ($propuesta) {
    foreach ($propuesta as $row) {
        if ($row->valor == 'pendiente') {
            $estado = $row->id_estado;
            $estado_view = $row->valor;
        }
    }
}
echo lineBreak2(2);
echo info_msg('Visualizacion de la Propuesta publicada');
echo Open('table', array('class' => "table table-striped table-condensed"));
if ($datos_emp) {
    foreach ($datos_emp as $row) {
        echo Open('tr');
        $nom = $row->nombres;
        $ape = $row->apellidos;
        $id_usu = $row->id;
        $email = $row->email;
        echo Close('tr');
    }
}
echo Close('table');
echo '<h4><font class="text-danger">' . $tipo_usu . ': </font><font class="text-info">' . $nom . ' ' . $ape . '</font></h4>';
echo Open('form', array('action' => base_url('propuestas/crt_propuestas/save_tesis_usu'), 'method' => 'post'));
示例#2
0
<?php

echo LineBreak(2);
echo warning_msg(' Est&aacute; a punto de anular');
echo Open('form', array('action' => base_url('fisiatria/' . $formulario), 'method' => 'post'));
echo input(array('type' => 'hidden', 'value' => $id_formulario, 'name' => 'id_postegreso'));
//echo $planilla_id;
echo tagcontent('textarea', '', array('name' => 'observaciones', 'class' => 'form-control', 'maxlength' => '500', 'placeholder' => 'Detalle de la Anulaci&oacute;n'));
echo LineBreak(2);
echo tagcontent('button', '<span class="glyphicon glyphicon-trash"></span> Confirmar Anulacion', array('title' => 'Anular Planilla', 'name' => 'btnreportes', 'class' => 'btn btn-danger pull-left  btn-sm', 'id' => 'ajaxformbtn', 'type' => 'submit', 'data-target' => 'anulacion_planilla_det'));
echo lineBreak2(1, array('style' => 'clear:both'));
echo Close('form');
echo tagcontent('div', '', array('id' => 'anulacion_planilla_det'));
<form id="form_signos" method="post" class="col-md-12" action="<?php 
echo base_url('enfermeria/signos_vitales/save_signos_vitales');
?>
">
    <?php 
//print_r($signos_vitales);
//print_r($res['signos_vitales']);
//                                              SIGNOS VITALES
echo tagcontent('label', '<n2>SIGNOS VITALES</h2>', array('class' => 'col-md-12 titulo_seccion_consulta'));
echo lineBreak2(1, array('class' => 'clr'));
if (empty($signos_vitales)) {
    $signos_vitales[] = (object) array('id' => '', 'temperatura' => '', 'presion_arterial' => '', 'frecuencia_respiratoria' => '', 'imc' => '', 'pulso' => '', 'peso' => '', 'talla' => '', 'perimetro_encefalico' => '', 'cintura_abdominal' => '');
    //    echo "entro <br>";
    //    print_r($signos_vitales);
} else {
}
// ID DEL REGISTRO DE SIGNOS VITALES
echo input(array('type' => 'hidden', 'name' => 'id_registro_signo', 'value' => $signos_vitales[0]->id, 'form' => 'form_consulta'));
// TEMPERATURA:
echo Open('div', array('class' => 'form-group col-md-6 '));
echo tagcontent('label', 'TEMPERATURA/°C:', array('class' => 'control-label col-xs-3', 'for' => 'signos_temperatura'));
echo Open('div', array('class' => 'col-xs-8', 'attr' => 'content_txta_signos_temperatura'));
echo input(array('name' => 'signos_temperatura', 'id' => 'signos_temperatura', 'class' => 'form-control', 'value' => $signos_vitales[0]->temperatura));
//            echo input(array('type'=>'hidden','name'=>'id_temperatura','value'=>'','form'=>'form_consulta'));
echo Close('div');
echo Close('div');
// PRESION ARTERIAL:
echo Open('div', array('class' => 'form-group col-md-6 '));
echo tagcontent('label', 'PRESION ARTERIAL:', array('class' => 'control-label col-xs-3', 'for' => 'signos_presionarterial'));
echo Open('div', array('class' => 'col-xs-8', 'attr' => 'content_txta_signos_presionarterial'));
echo input(array('name' => 'signos_presionarterial', 'id' => 'signos_presionarterial', 'class' => 'form-control', 'value' => $signos_vitales[0]->presion_arterial));