Example #1
0
 */
$this->Header(['assets' => ['dialogs', 'spin', 'jvalidator']]);
?>
<!-- Content Header (Page header) -->
<section class="content-header">
    <?php 
echo page_title(['ob' => $this, 'class' => 'fa fa-sliders', 'text' => 'Parámetros']);
?>
</section>
<!-- Main content -->
<div class="container">
    <?php 
echo form_open('', ['class' => 'form-horizontal col-md-8', 'style' => 'margin-left: 15%']);
?>
    <small style="margin-left: 35%;">Último cambio realizado el <?php 
echo FechaFormal($Info->FECHA_REGISTRO);
?>
</small>
    <hr style="border: 1px solid #3D8EBC;"/>
    <!--Decanatura-->
    <?php 
echo form_dropdown('DECANATURA_TITULO', [0 => 'Ingeniera', 1 => 'Ingeniero'], ['input' => ['col' => 5], 'label' => ['text' => 'Referirse como', 'col' => 4]], ['selected' => $Info->DECANATURA_TITULO]);
?>
    <?php 
echo form_input(['placeholder' => 'Ingrese el nombre de la persona encargada', 'name' => 'DECANATURA', 'class' => 'obligatorio', 'input' => ['col' => 8], 'label' => ['text' => 'Facultad de Ingeniería', 'col' => 4]], $Info->DECANATURA);
?>
    <hr style="border: 1px solid #3D8EBC;"/>
    <!--Admisiones-->
    <?php 
echo form_dropdown('ADMISIONES_TITULO', [0 => 'Doctora', 1 => 'Doctor'], ['input' => ['col' => 5], 'label' => ['text' => 'Referirse como', 'col' => 4]], ['selected' => $Info->ADMISIONES_TITULO]);
?>
Example #2
0
                <?php 
    echo Alert(['title' => '¡Evaluación recibida!', 'text' => 'El estudainte <a target="_blank" data-toggle="tooltip" title="Ver practicante" href="practicantes/verpracticante/' . $note->ID_PRACTICANTE . '"><b>' . $note->NOMBRE_PRACTICANTE . '</b></a> ha realizado la autoevaluación &nbsp;&nbsp;&nbsp;&nbsp; <b>' . Momento($note->FECHA_FINALIZA) . '</b>']);
    ?>
            </div>
        <?php 
}
?>
    </div>

    <div class="row">
        <?php 
foreach ($this->seguimientos_model->TraeEvaluacionEstudianteNotificacion(0) as $i => $note) {
    ?>
            <div class="col-lg-10">
                <?php 
    echo Alert(['title' => '¡En espera!', 'icon' => 'ion-clock', 'type' => 'danger', 'text' => 'El estudiante <a target="_blank" data-toggle="tooltip" title="Ver practicante" href="practicantes/verpracticante/' . $note->ID_PRACTICANTE . '"><b>' . $note->NOMBRE_PRACTICANTE . '</b></a> aún no ha realizado la autoevaluación enviada <b>' . Momento($note->FECHA_REGISTRO) . '</b> y finaliza el <b>' . FechaFormal($note->FECHA_CADUCA, false) . '</b>']);
    ?>
            </div>
        <?php 
}
?>
    </div>
    <!-- Notificaxiones de asesorías -->
    <div class="row">
        <?php 
foreach ($this->seguimientos_model->TraeEvaluacionEstudianteNotificacion(1, 'ap') as $i => $note) {
    ?>
            <div class="col-lg-10">
                <?php 
    echo Alert(['title' => '¡Acta de asesoría recibida!', 'text' => 'El estudainte <a target="_blank" data-toggle="tooltip" title="Ver practicante" href="practicantes/verpracticante/' . $note->ID_PRACTICANTE . '"><b>' . $note->NOMBRE_PRACTICANTE . '</b></a> ha diligenciado la asesoria de práctica #' . $note->CONSECUTIVO . ' &nbsp&nbsp;' . Momento($note->FECHA_FINALIZA) . '</b>']);
    ?>
Example #3
0
            <div class='box'>
                <div class='box-header' style="background: #9e1715">
                    <h3 style="color: whitesmoke"><i class="fa fa-newspaper-o"></i> <?php 
echo $Info->ASUNTO;
?>
</h3>
                </div>
                <!-- /.box-header -->
                <div class='box-body pad' style="padding: 20px;">
                    <?php 
echo $Info->MENSAJE;
?>
                </div>
                <div class="box-footer">
                    <small><?php 
echo (!is_null($Info->FECHA_MODIFICA) ? 'Actualizado' : 'Creada') . ' el ' . FechaFormal($Info->FECHA_ENVIO) . ' por ' . $Info->NOMBRE_USUARIO;
?>
</small>
                </div>
            </div>

        </div>
    </div>


    <?php 
echo form_close();
?>
    <?php 
echo br(1);
?>
Example #4
0
 private function imprimirregistronotas()
 {
     $Notas = $this->seguimientos_model->TraeCalificaciones();
     $this->load->library('fpdf/pdf');
     $pdf = new PDF();
     $pdf->AddPage();
     $pdf->Image(base_url('public/images/logo.jpg'), 10, 15, 60, 15);
     $pdf->SetFont('Arial', 'B', 10);
     #ENCABEZADO
     //$pdf->SetXY(10,35);
     $pdf->Text(180, 35, 'D0-68-F');
     $pdf->Text(85, 40, 'FORMATO REGISTRO DE NOTAS');
     $pdf->Text(80, 50, 'FUNDACIÓN UNIVERSITARIA MARÍA CANO');
     $pdf->Text(83, 55, 'PROGRAMA: ' . Ucspecial(strtoupper($this->input->post('PROGRAMA'))));
     $pdf->Text(10, 66, 'MOMENTO EVALUATIVO: PRIMER Y SEGUNDO MOMENTO');
     $pdf->Text(150, 66, 'FECHA: ' . FechaFormal(date('Y-m-d'), false));
     $pdf->Text(10, 73, 'ASESOR: ' . Ucspecial($this->session->userdata('NOMBRE_USUARIO')));
     $pdf->SetFont('Arial', 'B', 9);
     #Headers
     $pdf->SetXY(5, 82);
     $pdf->Cell(50, 8, 'NOMBRES Y APELLIDOS', 1, 0, 'C');
     $pdf->SetXY(55, 82);
     $pdf->Cell(30, 8, 'CÓDIGO', 1, 0, 'C');
     $pdf->SetXY(85, 82);
     $pdf->Cell(30, 8, 'NIVEL PRÁCTICA', 1, 0, 'C');
     $pdf->SetXY(115, 82);
     $pdf->Cell(45, 8, 'AGENCIA PRÁCTICA', 1, 0, 'C');
     $pdf->SetXY(160, 82);
     $pdf->Cell(15, 8, 'NOTA 1', 1, 0, 'C');
     $pdf->SetXY(175, 82);
     $pdf->Cell(15, 8, 'NOTA 2', 1, 0, 'C');
     $pdf->SetXY(190, 82);
     $pdf->Cell(15, 8, 'DEF', 1, 0, 'C');
     $pdf->SetWidths([50, 30, 30, 45, 15, 15, 15]);
     $pdf->SetAligns(['C', 'C', 'C', 'C', 'C', 'C', 'C']);
     $pdf->SetFont('Arial', '', 9);
     $pdf->SetXY(5, 90);
     foreach ($Notas as $nota) {
         $pdf->SetX(5);
         $pdf->Row([utf8_encode($nota['NOMBRE_PRACTICANTE']), $nota['CODIGO'], utf8_encode($nota['MODALIDAD']), utf8_encode($nota['NOMBRE_AGENCIA']), $nota['NOTA1'], $nota['NOTA2'], number_format(($nota['NOTA1'] + $nota['NOTA2']) / 2, 1)]);
     }
     $pdf->SetFont('Arial', 'B', 9);
     #Footer
     $pdf->Text(12, $pdf->GetY() + 20, 'FIRMA DOCENTE:');
     $pdf->Line(132, $pdf->GetY() + 20, 42, $pdf->GetY() + 20);
     $pdf->Text(135, $pdf->GetY() + 20, 'CENTRO DE PRÁCTICAS');
     $pdf->SetFont('Arial', 'B', 10);
     $pdf->Output();
     $pdf->Cell($pdf->PageNo());
 }