<?php echo Open('div', array('class' => 'col-md-12')); $caja_texto = '<input type="text" id="search" placeholder="Buscar" class="form-control input-sm">'; echo "<div class='panel panel-success'>"; echo '<div class="panel-heading"> <div class="row"> <div class="col-md-4">NUMEROS DE REGISTROS ENCONTRADOS : N° ' . $num_registros . '</div> <div class="col-md-4 col-md-offset-4">' . $caja_texto . '</div> </div> </div>'; echo '<div id="div1">'; echo Open('table', array('id' => 'table', 'class' => "table table-fixed-header")); echo '<thead>'; $thead = array('Nro', 'Estado Pago', 'CI', 'Paciente', 'Fecha Solcitud', 'Servicio', 'Motivo'); echo tablethead($thead); echo '</thead>'; echo '<tbody>'; if (!empty($solicitud)) { foreach ($solicitud as $val) { echo Open('tr'); echo tagcontent('td', $val->id); if ($val->estado_pago == 0) { echo tagcontent('td', tagcontent('span', 'POR FACTURAR', array('class' => 'label label-default', 'style' => 'font-size:16px'))); } elseif ($val->estado_pago == 1) { echo tagcontent('td', tagcontent('span', 'SIN PAGAR', array('class' => 'label label-warning', 'style' => 'font-size:16px'))); } elseif ($val->estado_pago == 2) { echo tagcontent('td', tagcontent('span', 'PAGADA', array('class' => 'label label-success', 'style' => 'font-size:16px'))); } elseif ($val->estado_pago == 3) { echo tagcontent('td', tagcontent('span', 'POR PLANILLAR', array('class' => 'label label-warning', 'style' => 'font-size:16px'))); } elseif ($val->estado_pago == 4) {
$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')); echo input(array('type' => 'hidden', 'name' => 'id_usu', 'id' => 'id_usu', 'value' => $id_usu)); echo input(array('type' => 'hidden', 'name' => 'email', 'id' => 'email', 'value' => $email)); echo Open('div', array('class' => 'col-md-4')); echo Open('table', array('class' => "table table-condensed")); $thead = array('Nombre Modulos'); tablethead($thead); echo '<br>'; echo Open('tr'); echo Open('td', array('class' => 'danger')); echo '<font color = brown ><b> TITULO</b></font>'; echo Close('td'); echo Open('td', array('class' => 'info')); echo $titulo; echo input(array('type' => 'hidden', 'name' => 'titulo', 'id' => 'titulo', 'value' => $titulo)); echo Close('td'); echo Close('tr'); echo Open('tr'); echo Open('td', array('class' => 'danger')); echo '<font color = brown ><b> CONTENIDO</b></font>'; echo Close('td'); echo Open('td', array('class' => 'info'));