<?php

echo Open('div', array('align' => 'center', 'class' => 'col-md-12'));
echo '<h1 class="page-header"><small><font class="text-success">BUSCAR E IMPRIMIR SOLICITUDES DE FISIATRIA PENDIENTES</font></small></h1>';
echo Close('div');
echo lineBreak(1);
echo Open('form', array('action' => base_url('fisiatria/fisiatria/list_sol_pendiente'), 'method' => 'post'));
echo Open('div', array('class' => 'col-md-4 form-group'));
echo Open('div', array('class' => 'input-group has-success'));
echo tagcontent('span', '<span class="glyphicon glyphicon-calendar"></span> Fecha Creacion: ', array('class' => 'input-group-addon'));
echo input(array('name' => "fechaIn", 'id' => "fechaIn", 'data-provide' => "datepicker", 'class' => "form-control input-sm", 'placeholder' => "Desde", 'style' => "width: 50%"));
echo input(array('name' => "fechaFin", 'id' => "fechaFin", 'data-provide' => "datepicker", 'class' => "form-control input-sm", 'placeholder' => "Hasta", 'style' => "width: 50%"));
echo Close('div');
echo Close('div');
$tiposerv_combo = combobox($listtiposerv, array('label' => 'tipo', 'value' => 'id'), array('name' => 'servicio_consultado', 'id' => 'servicio_consultado', 'class' => 'combobox form-control input-sm'), true);
echo Open('div', array('class' => 'col-md-4 form-group'));
echo Open('div', array('class' => 'input-group has-success'));
echo tagcontent('span', '<span class="glyphicon glyphicon-random"></span> Servicio Consultado:', array('class' => 'input-group-addon'));
echo $tiposerv_combo;
echo Close('div');
echo Close('div');
echo Open('div', array('class' => 'col-md-3 form-group'));
echo Open('div', array('class' => 'input-group has-success'));
echo tagcontent('span', '<span class="glyphicon glyphicon-check"></span> Estado: ', array('class' => 'input-group-addon'));
?>
                <select name ="op_estado" class="combobox form-control input-sm">
                    <option value="1">Archivada</option>
                    <option value="0">Anulada</option>
                </select>
                <?php 
echo Close('div');
 $educationlist = $dom->createElement('educationlist');
 $languagelist = $dom->createElement('languagelist');
 $skilllist = $dom->createElement('skilllist');
 // 1)identification
 $fname = $dom->createElement('firstname');
 $fname->appendChild($cv['name']);
 $lname = $dom->createElement('lastname');
 $lname->appendChild($cv['surname']);
 $contactInfo = $dom->createElement('contactinfo');
 $address = $dom->createElement('address');
 $address->appendChild($cv['street']);
 $address->appendChild(lineBreak());
 $address->appendChild($cv['post_code']);
 $address->appendChild(lineBreak());
 $address->appendChild($cv['city']);
 $address->appendChild(lineBreak());
 $address->appendChild($cv['country']);
 $telephone = $dom->createElement('telephone');
 $telephone->appendChild($cv['phone']);
 $fax = $dom->createElement('fax');
 $fax->appendChild($cv['fax']);
 $cell = $dom->createElement('mobile');
 $cell->appendChild($cv['mobile']);
 $email = $dom->createElement('email');
 $email->appendChild($cv['email']);
 $contactInfo->appendChild($address);
 $contactInfo->appendChild($telephone);
 $contactInfo->appendChild($fax);
 $contactInfo->appendChild($cell);
 $contactInfo->appendChild($email);
 //demographics
Exemplo n.º 3
0
    <link href="../../dist/css/timeline.css" rel="stylesheet">
    <link href="../../dist/css/sb-admin-2.css" rel="stylesheet">
    <link href="../../bower_components/morrisjs/morris.css" rel="stylesheet">
    <link href="../../bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
</head>

<body>
    <?php 
//    $res ['user']= $name;
//$this->load->view('dasboard/navigation_lte',$res);
//print_r($name);
//print_r($pass);
?>

        <?php 
echo lineBreak(4);
if (!empty($dat)) {
    foreach ($dat as $value) {
        if ($value->activo == 1) {
            $val = $value->icon;
            $url_base = $value->url;
            $id = $value->id;
            echo '<div class="col-lg-3 col-md-6">';
            echo '<div class="panel panel-primary">';
            echo '<div class="panel-heading">';
            echo '<div class="row">';
            echo '<div class="col-xs-3">';
            echo '<i class="fa ' . $val . ' fa-5x"></i>';
            echo '</div>';
            echo '<div class="col-xs-9 text-right">';
            echo '<div class="huge">' . $value->datalle . '</div>';
$var_tipo_id = tagcontent('span', 'Cedula/RUC', array('id' => 'tipo_doc'));
$text_inputs[] = array('id' => 'ci', 'name' => 'ci', 'class' => 'form-control input-sm typeahead', 'placeholder' => 'Num. identificacion', 'callback' => 'refresh_cart_load_client', 'data-url' => base_url('common/autosuggest/get_client_by_name/%QUERY'), 'style' => 'position: absolute;');
echo get_field_group($var_tipo_id . ':', $text_inputs, 'form-group col-md-4 input_id');
//check para pasaporte
echo Open('div', array('class' => 'input-group col-md-3'));
$checkbox_data = array('0' => array('type' => 'checkbox', 'name' => 'pasaporte', 'value' => '1', 'id' => 'pasaporte'));
$label_array = array('Pasaporte');
$label_attr = array('0' => array('class' => 'btn btn-warning btn-sm', 'id' => 'chk_pasaporte'));
echo get_check_group($label_array, $checkbox_data, $label_attr);
// check para ver si es con num de archivo cuando son sin cedula
$checkbox_data1 = array('0' => array('type' => 'checkbox', 'name' => 'sin_cedula', 'value' => '3', 'id' => 'sin_cedula'));
$label_array1 = array('SIN CEDULA');
$label_attr1 = array('0' => array('class' => 'btn btn-success btn-sm', 'id' => 'chk_sin_cedula'));
echo get_check_group($label_array1, $checkbox_data1, $label_attr1);
echo Close('div');
echo lineBreak();
//ESTE FORMULARIO SOLO SE USARA DESDE LOS REPORTES
if ($mostrar_listado == 2) {
    $this->load->view('form_formularios');
}
//Btn buscar paciente
echo Open('div', array('class' => 'input-group col-md-3'));
$searchbtn = tagcontent('button', 'Buscar Paciente  <span class="glyphicon glyphicon-search"></span>', array('type' => 'submit', 'id' => 'ajaxformbtn2', 'data-target' => 'clientslistout', 'class' => 'btn btn-primary btn-sm'));
echo tagcontent('span', $searchbtn, array('class' => 'input-group-btn'));
echo Close('div');
// bander para validar en controlador a que vista llamar
echo input(array('type' => 'hidden', 'name' => 'variable_bandera', 'id' => 'variable_bandera', 'value' => '0'));
echo Close('form');
echo Close('div');
// cierro Datos-form-paciente
echo lineBreak2(2);