function get_field_group($label, $text_inputs, $class = 'col-md-2 form-group') { $output = ''; $output .= Open('div', array('class' => $class)); $output .= Open('div', array('class' => 'input-group')); $output .= tagcontent('span', $label, array('class' => 'input-group-addon')); foreach ($text_inputs as $attr_input) { $output .= input($attr_input); } $output .= Close('div'); $output .= Close('div'); return $output; }
<?php echo Open('form', array('action' => base_url('/pventa/index/update_mesa'), 'method' => 'post')); echo Open('div', array('class' => 'col-md-12')); echo input(array('type' => 'hidden', 'name' => 'mesa_id', 'value' => $mesa->mesa_id)); echo Open('div', array('class' => 'col-md-3')); $input2 = input(array('type' => 'text', 'name' => 'mesa_nro', 'class' => 'form-control', 'ng-model' => 'mesa.nro', 'ng-required' => 'true', 'value' => $mesa->mesa_nro)); echo get_combo_group('NRO MESA: ', $input2, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-4')); $combo_estado = combobox($estados, array('label' => 'est_msa_nombre', 'value' => 'est_msa_id'), array('class' => 'form-control input-sm', 'name' => 'estado_id'), TRUE, $mesa->mesa_estado); echo get_combo_group('ESTADO', $combo_estado, 'col-md-12 form-group has-warning'); echo Close('div'); echo Open('div', array('class' => 'col-md-3')); $input2 = input(array('type' => 'text', 'name' => 'mesa_capacidad', 'class' => 'form-control', 'ng-model' => 'mesa.capacidad', 'ng-required' => 'true', 'value' => $mesa->mesa_capacidad)); echo get_combo_group('CAPACIDAD: ', $input2, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-2')); echo tagcontent('button', '<span class=""></span>MODIFICAR', array('id' => 'ajaxformbtn', 'class' => 'btn btn-primary', 'data-target' => 'result_out_mesas')); echo Close('div'); echo Close('div'); echo Close('form');
<?php echo info_msg('Lista de Estudiante'); echo Open('form', array('action' => base_url('estudiante/crt_estudiante/get_crud_emp'), 'method' => 'post')); echo tagcontent('button', 'Cargar', array('name' => 'btnreportes', 'class' => 'btn btn-danger col-md-1', 'id' => 'ajaxformbtn', 'type' => 'submit', 'data-target' => 'container-fluid')); echo Close('form'); echo tagcontent('div', '', array('id' => 'container-fluid', 'class' => 'col-md-12'));
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) { echo tagcontent('td', tagcontent('span', 'PLANILLADO', array('class' => 'label label-success', 'style' => 'font-size:16px'))); } echo tagcontent('td', $val->id_cliente); echo tagcontent('td', $val->nombres); echo tagcontent('td', $val->fecha_atencion);
<?php echo info_msg('Listar Departamentos Academicos'); echo Open('form', array('action' => base_url('departamentos/crt_departamento/get_crud_dep'), 'method' => 'post')); echo tagcontent('button', 'Cargar', array('name' => 'btnreportes', 'class' => 'btn btn-info col-md-1', 'id' => 'ajaxformbtn', 'type' => 'submit', 'data-target' => 'container-fluid')); echo Close('form'); echo tagcontent('div', '', array('id' => 'container-fluid', 'class' => 'col-md-12'));
echo Close('tr'); } echo Close('table'); } // echo $id_propuesta; // echo $email; echo Open('form', array('action' => base_url('propuestas/crt_propuestas/save_historial'), 'method' => 'post')); echo input(array('type' => 'hidden', 'name' => 'id_pro', 'id' => 'id_pro', 'value' => $id_propuesta)); echo input(array('type' => 'hidden', 'name' => 'email', 'id' => 'email', 'value' => $email)); echo input(array('type' => 'hidden', 'name' => 'nombre', 'id' => 'nombre', 'value' => $nom)); echo warning_msg('OBSERVACIONES'); echo Open('div', array('class' => 'col-md-12')); echo Open('div', array('class' => 'col-md-4 form-group')); echo Open('div', array('class' => 'input-group')); echo tagcontent('span', ' Fecha Observacion: ', array('class' => 'input-group-addon')); echo input(array('name' => "fechaIn", 'id' => "fechaIn", 'type' => "text", 'class' => "form-control datepicker", 'placeholder' => "Fecha Cambio")); echo Close('div'); echo Close('div'); $estados_combo = combobox($estados, array('label' => 'valor', 'value' => 'valor'), array('name' => 'estado', 'class' => 'form-control'), true); echo Open('div', array('class' => 'col-md-4 form-group')); echo Open('div', array('class' => 'input-group')); echo tagcontent('span', '<b>Estados:</b> ', array('class' => 'input-group-addon')); echo $estados_combo; echo Close('div'); echo Close('div'); $textarea = tagcontent('textarea', '', array('class' => 'form-control', 'rows' => '8', 'placeholder' => 'Observaciones/Cambios en la tesis', 'name' => 'razon', 'id' => 'razon')); echo tagcontent('div', $textarea, array('id' => 'textarea', 'class' => 'col-md-12')); // echo Close('div'); echo Close('form'); echo tagcontent('button', 'Notificar', array('name' => 'btnreportes', 'class' => 'btn btn-info col-md-1', 'id' => 'ajaxformbtn', 'type' => 'submit', 'data-target' => 'container-fluid')); //echo tagcontent('div', '', array('id' => 'container-fluid', 'class' => 'col-md-12'));
<?php echo Open('table', array('class' => 'table table-striped')); echo Open('tr', array('ng-repeat' => 'grupo in grupos')); echo tagcontent('td', '{{grupo}}'); echo Close('tr'); echo Close('table');
position: absolute; top:50%; left:50%; width:400px; margin-left:-200px; height:300px; margin-top:-150px; border:0px solid #808080; padding:5px; } </style> </head> <body> <?php echo Open('div', array('class' => 'centrar')); ?> <div class="container"> <!--<font style=" color: red; size:2px;">INGRESO AL SISTEMA </font>--> <h4 style="color: blue;">INGRESO AL SISTEMA</h4> <div class="row"> <div class="col-lg-4 col-sm-4 well"> <?php $attributes = array("class" => "form-horizontal", "id" => "loginform", "name" => "loginform"); echo form_open(base_url("login/verifylogin"), $attributes); ?> <fieldset> <legend style="text-align: center">Login</legend> <div class="form-group"> <div class="row colbox"> <div class="col-lg-4 col-sm-4">
<?php echo Open('div', array('class' => 'col-md-2')); echo tagcontent('button', '<span class="glyphicon glyphicon-print"></span> Imprimir', array('id' => 'printbtn', 'data-target' => 'print', 'class' => 'btn btn-default pull-left')); echo Close('div'); echo open('div', array('id' => 'print')); echo Open('div', array('class' => 'col-md-12')); $this->load->view('common/hmc_head/encabezado_cuenca'); echo Close('div'); echo Open('div', array('class' => 'col-md-12')); echo '<center><b>CONCENTRACIÓN MENSUAL DE TERAPIA FÍSICA</b></center>'; echo '<center><b>UNIDAD MEDICA </b></center>'; echo '<center>Lcd. ' . $medico . '</center>'; echo '<center>Fecha de Generación: ' . $fecha_actual . '</center>'; echo Close('div'); echo Linebreak(2); echo Open('table', array('border' => '1', 'style' => 'font-size:16px', 'width' => '100%', 'style' => 'text-align:center;')); echo open("thead"); echo open("tr"); echo tagcontent("td", "DIAS MES", array('rowspan' => '4', 'id' => 'txt_vertical')); echo tagcontent("td", "<b>Nº DE</b>"); echo tagcontent("td", "<b>GRADO</b>", array('colspan' => '5')); echo tagcontent("td", "<b>PACIENTES</b>", array('colspan' => '5')); echo tagcontent("td", "<b>TIPOS TERAPIAS</b>", array('colspan' => '12')); echo close("tr"); echo open("tr"); echo tagcontent("td", "TERAPISTAS", array('rowspan' => '3', 'id' => 'txt_vertical')); echo tagcontent("td", "M S A", array('rowspan' => '3', 'id' => 'txt_vertical')); echo tagcontent("td", "M S P", array('rowspan' => '3', 'id' => 'txt_vertical')); echo tagcontent("td", "CPTOS", array('rowspan' => '3', 'id' => 'txt_vertical')); echo tagcontent("td", "F A M", array('rowspan' => '3', 'id' => 'txt_vertical')); echo tagcontent("td", "CIVIL", array('rowspan' => '3', 'id' => 'txt_vertical'));
echo Open('td', array('class' => 'danger')); echo '<font color = brown ><b> FECHA DE PUBLICACION</b></font>'; echo Close('td'); echo Open('td', array('class' => 'info')); echo $fechaIn; echo input(array('type' => 'hidden', 'name' => 'fechaIn', 'id' => 'fechaIn', 'value' => $fechaIn)); echo Close('td'); echo Close('tr'); echo Open('tr'); echo Open('td', array('class' => 'danger')); echo '<font color = brown ><b> DEPARTAMENTO</b></font>'; echo Close('td'); echo Open('td', array('class' => 'info')); echo $departamento; echo input(array('type' => 'hidden', 'name' => 'departamento', 'id' => 'departamento', 'value' => $id_dep)); echo Close('td'); echo Close('tr'); echo Open('tr'); echo Open('td', array('class' => 'danger')); echo '<font color = brown ><b> PERIODO ACADEMICO</b></font>'; echo Close('td'); echo Open('td', array('class' => 'info')); echo $periodo; echo input(array('type' => 'hidden', 'name' => 'periodo', 'id' => 'periodo', 'value' => $id_perio)); echo Close('td'); echo Close('tr'); echo Close('div'); echo Close('form'); echo tagcontent('button', 'Guardar', array('name' => 'btnreportes', 'class' => 'btn btn-info col-md-2', 'id' => 'ajaxformbtn', 'type' => 'submit', 'data-target' => 'opcion')); echo tagcontent('div', '', array('id' => 'opcion', 'class' => 'col-md-12')); echo Close('div');
// echo tagcontent('td','{{ comanda.cantidad * comanda.valor | number:2 }}', array('align'=>'right')); echo Close('tr'); echo Close('table'); echo LineBreak(4); echo Open('div', array('class' => 'col-md-12', 'style' => 'font-family:monospace;font-size:10px')); echo tagcontent('div', '<CENTER>COCINA</CENTER>', array('class' => 'col-md-12')); echo tagcontent('div', '<CENTER>ORDEN DE SERVICIO # {{datos.nro_orden}}</CENTER>', array('class' => 'col-md-12')); echo tagcontent('div', 'Mesa: {{ datos.mesa_nro }}', array('class' => 'col-md-12')); echo tagcontent('div', 'Camarero: {{ datos.empleado }}', array('class' => 'col-md-12')); echo tagcontent('div', 'Nro. Pedido: {{ datos.id_comanda }}', array('class' => 'col-md-12')); echo tagcontent('div', 'Fecha : {{ datos.fecha }}', array('class' => 'col-md-12')); echo tagcontent('div', 'Cliente : {{ datos.cliente }}', array('class' => 'col-md-12')); echo tagcontent('div', 'Identificación : {{ datos.ci }}', array('class' => 'col-md-12')); echo Close('div'); echo Open('table', array('style' => 'font-family:monospace;font-size:10px', 'border' => 0)); echo Open('tr'); echo tagcontent('th', 'CANT', array('class' => 'text-center', 'width' => '30px')); echo tagcontent('th', 'DESCRIPCIÓN', array('class' => 'text-center', 'width' => '200px')); // echo tagcontent('th','V.Unit', array('class'=>'text-left')); // echo tagcontent('th','V.Total', array('class'=>'text-left')); echo Close('tr'); echo Open('tr', array('ng-repeat' => 'comanda in comandas')); echo tagcontent('td', '{{ comanda.cantidad }}', array('align' => 'center')); echo tagcontent('td', '{{ comanda.nombreUnico }}', array('align' => 'left')); // echo tagcontent('td','{{ comanda.valor }}', array('align'=>'center')); // echo tagcontent('td','{{ comanda.cantidad * comanda.valor | number:2 }}', array('align'=>'right')); echo Close('tr'); echo Close('table'); echo LineBreak(4); echo Close('div'); echo tagcontent('div', '', array('class' => 'col-md-2'));
echo Close('table'); echo Open('div', array('class' => 'col-sm-12', 'align' => 'right', 'ng-hide' => 'envio')); echo tagcontent('dir-pagination-controls', '', array('max-size' => '5', 'direction-links' => 'true', 'boundary-links' => 'true', 'on-page-change' => "myMethod(newPageNumber)")); echo Close('div'); echo Close('div'); echo Open('div', array('class' => 'col-md-12', 'ng-show' => 'add_productos==true')); echo tagcontent('div', '<h3>AGREGAR PRODUCTOS AL GENERICO</h3>', array('class' => 'label label-default col-md-12')); echo tagcontent('div', '<h4>{{producto_generico.nombreUnico}}</h4>', array('class' => 'label label-success col-md-12')); $input1 = input(array('type' => 'text', 'placeholder' => 'Codigo', 'class' => 'form-control', 'ng-model' => 'producto_find.codigo', 'ng-required' => 'true', 'style' => 'width:50%')); $input1 .= input(array('type' => 'text', 'placeholder' => 'Cantidad', 'class' => 'form-control', 'ng-model' => 'producto_find.cantidad', 'ng-required' => 'true', 'style' => 'width:50%')); echo get_combo_group('PRODUCTO :', $input1, $class = 'col-md-3 form-group'); echo tagcontent('button', '', array('class' => 'btn btn-primary glyphicon glyphicon-search col-md-1', 'type' => 'submit', 'ng-click' => 'findproduct(producto_find.codigo,producto_find.cantidad);')); echo Open('table', array('class' => 'table table-striped table-condensed', 'border' => '1')); echo Open('tr'); echo tagcontent('th', 'CODIGO', array('class' => 'col-md-1')); echo tagcontent('th', 'DESCRIPCION', array('class' => 'col-md-7')); echo tagcontent('th', 'CANTIDAD', array('class' => 'col-md-1')); echo tagcontent('th', 'ACCION', array('class' => 'col-md-2')); echo Close('tr'); echo Open('tr', array('ng-repeat' => 'producto in productos')); echo tagcontent('td', '{{ producto.codigo }}'); echo tagcontent('td', '{{ producto.nombreUnico }}'); /*$input = input(array('type' => 'text', 'class' => 'form-control','ng-model'=>'producto.cantidad','ng-init'=>'producto.cantidad = 1')); echo tagcontent('td', $input);*/ echo tagcontent('td', '{{ producto.cant }}'); $button = tagcontent('button', '', array('class' => 'btn btn-danger glyphicon glyphicon-remove col-md-2', 'type' => 'submit', 'ng-click' => 'quitproduct(producto.codigo);')); echo tagcontent('td', $button); echo Close('tr'); echo Close('table'); echo tagcontent('button', 'NUEVO', array('class' => 'btn btn-success col-md-2', 'type' => 'submit', 'ng-click' => 'nuevo();')); echo Close('div');
<?php echo Open('body', array('class' => '')); echo Open('div', array('class' => 'container', 'style' => 'margin-top:15px')); $base_path = base_url(); $activemodule = 0; $allcapabilities = $this->user->getAllCapabilities(); foreach ($allcapabilities as $tab) { /* Solo cuando son modulos, ya que tambien pueden ser cargos(permisos)*/ if ($tab->tipo == 'module' and $tab->estaActiva == 1) { $uritab = ''; if ($tab->ubicacion != '') { $uritab = $tab->ubicacion; } if ($tab->interno == 1) { $base_path = base_url(); } else { $base_path = ''; } if ($tab->acceso == 'noregistered' && empty($this->user->userid) || !empty($this->user->userid) && $this->user->essuperusuario == 1) { $activemodule = 1; echo get_item_f1($tab->capacidadview, base_url() . $tab->ubicacion, '<span style="font-size:10px">' . $tab->descripcion . '<span>', 'Abrir Modulo', $tab->icon . ' ', 'small-box bg-primary'); continue; } elseif ($tab->acceso == 'all' || $tab->acceso == 'registered' && !empty($this->user->userid)) { $activemodule = 1; echo get_item_f1($tab->capacidadview, base_url() . $tab->ubicacion, '<span style="font-size:10px">' . $tab->descripcion . '<span>', 'Abrir Modulo', $tab->icon . ' ', 'small-box bg-green'); continue; } elseif (!empty($this->user->userid)) { // enrolled // echo 'Paso x aqui'; $cap = $tab->capacidad;
<?php $css = array(base_url('resources/bootstrap-3.2.0/css/bootstrap.min.css'), base_url('resources/sb_admin/css/plugins/metisMenu/metisMenu.min.css'), base_url('resources/sb_admin/css/sb-admin-2.css'), base_url('resources/sb_admin/font-awesome-4.1.0/css/font-awesome.min.css'), base_url('resources/bootstrap-3.2.0/css/bootstrap-theme.css')); echo csslink($css); foreach ($css_files as $file) { ?> <link type="text/css" rel="stylesheet" href="<?php echo $file; ?> " /> <?php } foreach ($js_files as $file) { ?> <script src="<?php echo $file; ?> "></script> <?php } echo Open('div', array('class' => 'row', 'id' => 'container-fluid')); echo $output; echo Close('div'); //cierra div .row //echo Close('div'); //cierra div .row $js = array(base_url('resources/bootstrap-3.2.0/js/bootstrap.min.js'), base_url('resources/sb_admin/js/plugins/metisMenu/metisMenu.min.js'), base_url('resources/sb_admin/js/sb-admin-2.js')); echo jsload($js);
$detalle_complicacion_field[] = array('name' => 'detallecomplicacion', 'id' => 'detallecomplicacion', 'class' => 'form-control', 'placeholder' => 'Ingrese texto'); echo get_field_group('Nota Evolucion', $detalle_complicacion_field, 'col-md-8 form-group'); echo "<a onclick='complicacion();' class='btn btn-default'><i class='glyphicon glyphicon-ok'></i></a>"; echo close("div"); echo open("div", array('class' => 'row')); echo open("table", array('class' => 'table table-bordered', 'style' => 'width:100%; border:1px; margin:auto')); echo open("thead", array('style' => 'background-color: #FCFFAF; text-align:center')); echo tagcontent("td", "<b>FECHA</b>"); echo tagcontent("td", "<b>DETALLE</b>"); echo tagcontent("td", "<b>CONTROLES</b>"); echo close("thead"); echo "<tbody id='table_complicacion'></tbody>"; echo close("table"); echo close("div"); echo "<br><br>"; echo Open("div", array('class' => 'form-group')); echo tagcontent('button', '<span class="glyphicon glyphicon-search"></span> Guardar', array('name' => 'btnreportes', 'class' => 'btn btn-primary col-md-12', 'id' => 'ajaxformbtn', 'type' => 'submit', 'data-target' => 'print')); echo close("div"); echo close("form"); echo close("div"); echo tagcontent("div", '', array('id' => 'print', 'name' => 'print')); ?> <script> var url = "<?php echo base_url(); ?> "; var load_diagnostico = function (datum) {
function FetchArrayMotorListDB($query, $permit_type, $ownid, $stat) { include "includes/variables.php"; include_once "lib/multidbconnection.php"; $dbLinkFunc = Open($dbtype, $connecttype, $dbhost, $dbuser, $dbpass, $dbname); switch ($dbtype) { case "mssql": $r = mssql_fetch_assoc($query); break; case "mysql": // $r = mysql_fetch_assoc($query); while ($r = mysql_fetch_assoc($query)) { include 'tablecolor-inc.php'; $fullname = $r[owner_last_name] . ', ' . $r[owner_first_name] . ' ' . $r[owner_middle_name]; $fullname = stripslashes($fullname); print "\n <tr bgcolor='{$varcolor}'>\n <td> {$r['motorized_motor_model']} </td>\n <td> {$r['motorized_motor_no']} </td>\n <td> {$r['motorized_chassis_no']} </td>\n <td> {$r['motorized_plate_no']} </td>\n <td> {$r['motorized_body_no']} </td>\n <td> {$r['body_color']} </td>\n <td> {$r['route']} </td>\n <td> {$r['linetype']} </td>\n <td> {$r['lto_number']} </td>\n <td> {$r['cr_number']} </td>\n <td>\n <a class=subnavwhite href='index.php?vekatt=1&part=4&itemID_=1221&addbiz=Select&old_owner_id={$r['motorized_operator_id']}&permit_type={$permit_type}&busItem={$permit_type}&mainfrm=Main&stat={$stat}&owner_id={$ownid}&mid={$r['motorized_motor_id']}'>\n Attach</a></td>\n </tr>\n\t"; } break; case "pg": $r = pg_fetch_assoc($query); break; default: $r = False; break; } return $r; }
<?php echo info_msg('Listar Matriculaciones de Usuarios '); echo Open('form', array('action' => base_url('matriculacion/crt_matricula/get_crud_matricula'), 'method' => 'post')); echo tagcontent('button', 'Cargar', array('name' => 'btnreportes', 'class' => 'btn btn-info col-md-1', 'id' => 'ajaxformbtn', 'type' => 'submit', 'data-target' => 'container-fluid')); echo Close('form'); echo tagcontent('div', '', array('id' => 'container-fluid', 'class' => 'col-md-12'));
<?php echo Open("form", array('method' => 'post', 'action' => base_url('enfermeria/signos_vitales/get_listado_turnos_dia'), 'class' => 'col-md-12')); //Btn buscar paciente echo Open('div', array('class' => 'input-group col-md-3')); $searchbtn = tagcontent('button', 'Listar Turnos de Hoy<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'); echo Close("form");
echo tagcontent('span', '', array('class' => 'glyphicon glyphicon-stats', 'style' => 'font-size:20px')) . tagcontent('span', ' Reportes', array('style' => 'font-size:20px')); echo LineBreak(1, array('style' => 'clear:both')); echo tagcontent('span', '', array('class' => 'glyphicon glyphicon-plus', 'style' => 'font-size:20px')) . tagcontent('span', ' Mucho Más..', array('style' => 'font-size:20px')); echo Close('div'); echo Open('div', array('class' => 'col-md-5')); $message = $this->session->userdata('message'); if (!empty($message)) { echo tagcontent('strong', $message, array('class' => 'text-danger')); $this->session->unset_userdata('message'); } echo tagcontent('strong', validation_errors(), array('class' => 'text-danger')); echo tagcontent('span', 'Ingreso al Sistema', array('class' => 'login_title1')); echo tagcontent('div', 'Ingresa con tu usuario y contraseña', array('class' => '')) . '</br>'; echo Open('form', array('method' => 'post', 'action' => base_url('login/verifylogin'), 'class' => 'form-horizontal col-md-12', 'role' => 'form', 'style' => '')); echo Open('div', array('class' => 'form-group')); echo input(array('id' => "username", 'name' => "username", 'type' => "text", 'class' => "form-control", 'placeholder' => "Username", 'required' => '', 'autofocus' => '')); echo Close('div'); echo Open('div', array('class' => 'form-group')); echo input(array('id' => "passowrd", 'name' => "password", 'type' => "password", 'class' => "form-control", 'placeholder' => "Password", 'required' => '')); echo Close('div'); // echo tagcontent('label', 'Ingrese con su usuario y contraseña', array('class'=>'checkbox')); echo Open('div', array('class' => 'form-group')); echo tagcontent('button', 'Ingresar a Billingsof <span class="fa fa-sign-in fa-f5"></span>', array('class' => 'btn btn-lg btn-success')); echo Close('div'); echo Close('form'); /* container */ echo Close('div'); echo Close('div'); /* container */ echo Close('body'); echo Close('html');
echo "<center><h5><b>INFORME DEL CONTROL DE TERAPIA</b></h5></center>"; echo open("table", array("class" => 'table')); echo open("tr"); echo open("td"); $combo_mes = combobox($mes, array('label' => 'mes', 'value' => 'id'), array('class' => 'form-control', 'name' => 'mes', 'id' => 'mes'), false); echo get_combo_group('Mes', $combo_mes, 'col-md-12 form-group'); echo close("td"); echo open("td"); $combo_dia = combobox($dia, array('label' => 'id', 'value' => 'id'), array('class' => 'form-control', 'name' => 'dia', 'id' => 'dia'), false); echo get_combo_group('Día', $combo_dia, 'col-md-12 form-group'); echo close("td"); echo open("td"); $combo_terapias = combobox($tipos_terapia, array('label' => 'tipo', 'value' => 'id'), array('class' => 'form-control', 'name' => 'tipos_terapias', 'id' => 'tipos_terapias'), false); echo get_combo_group('Tipos Terapias', $combo_terapias, 'col-md-12 form-group'); /*SUBTERAPIAS Combobox dinanico. JLQ 12/04/2016*/ echo Open('div', array('id' => 'div_subterapias', 'style' => 'display:none;')); $combo_subterapias = combobox(array(), array('label' => 'tipo', 'value' => 'id'), array('class' => 'form-control', 'name' => 'tipos_subterapias', 'id' => 'tipos_subterapias'), true); echo get_combo_group('SubTerapias', $combo_subterapias, 'col-md-12 form-group'); echo close("div"); //div_subterapias echo close("td"); echo close("tr"); echo open("tr"); echo open("td"); ?> <select name ='subsecuente' class='form-control' id='subsecuente'> <option value='0'>Seleccione</option> <option value='1'>Subsecuente</option> <option value='2'>Una vez</option> </select>
Fail(); break; case 'Gp': Lord($effect, $durable, $type, $skillid); break; case 'V': Learn($skillid); $durable--; if ($durable == 0) { $result0 = mysql_query("UPDATE roleset SET {$usename} = NULL WHERE Name='{$nam}'"); } else { $result0 = mysql_query("UPDATE itemset SET Durable = {$durable} WHERE id='{$touseid}'"); } break; case 'P': Open($durable); if ($durable == 0) { $result0 = mysql_query("UPDATE roleset SET {$usename} = NULL WHERE Name='{$nam}'"); } else { $result0 = mysql_query("UPDATE itemset SET Durable = {$durable} WHERE id='{$touseid}'"); } break; case 'WK': $t = EquipW($effect, $skillid, $touseid); $result0 = mysql_query("UPDATE roleset SET {$usename} = NULL WHERE Name='{$nam}'"); if ($t) { Put2Bag($t); } break; case 'WC': $t = EquipW($effect, $skillid, $touseid);
function inputGroup($checkbox, $attributes, $attrlabel = array('class' => 'btn btn-primary'), $attrdiv = array('class' => 'btn-group', 'data-toggle' => 'buttons')) { $output = ''; $input = ''; if (isset($attributes) && !empty($attributes)) { $attributes = parse_attr($attributes); } $output .= Open('div', $attrdiv); foreach ($checkbox as $label) { $input .= '<input ' . $attributes . '> ' . $label; $output .= tagcontent('label', $input, $attrlabel); } $output .= closeTag('div'); return $output; }
echo input(array('type' => 'hidden', 'id' => 'main_path', 'value' => base_url())); $css = array(base_url('resources/bootstrap-3.2.0/css/bootstrap.min.css'), base_url('resources/bootstrap-3.2.0/css/bootstrap-theme.css'), base_url('resources/js/libs/combobox/css/bootstrap-combobox.css'), base_url('assets/grocery_crud/css/ui/simple/jquery-ui-1.10.1.custom.min.css'), base_url('assets/grocery_crud/themes/datatables/css/demo_table_jui.css'), base_url('assets/grocery_crud/themes/datatables/css/datatables.css'), base_url('assets/grocery_crud/themes/datatables/css/jquery.dataTables.css'), base_url('resources/css/datepicker.css'), base_url('resources/js/libs/sco.js/css/sco.message.css'), base_url('resources/js/libs/jsPanel-bootstrap/source/jsPanel.css'), base_url('resources/js/libs/autosuggest/css/style.css'), base_url('resources/js/libs/pick-a-color/build/1.2.3/css/pick-a-color-1.2.3.min.css'), base_url('resources/css/style.css')); echo csslink($css); $js = array(base_url('assets/grocery_crud/js/jquery-1.10.2.min.js'), base_url('assets/grocery_crud/js/jquery_plugins/jquery.noty.js'), base_url('assets/grocery_crud/js/jquery_plugins/config/jquery.noty.config.js'), base_url('assets/grocery_crud/js/common/lazyload-min.js'), base_url('assets/grocery_crud/js/common/list.js'), base_url('assets/grocery_crud/themes/datatables/js/jquery.dataTables.min.js'), base_url('assets/grocery_crud/themes/datatables/js/datatables-extras.js'), base_url('assets/grocery_crud/themes/datatables/extras/TableTools/media/js/ZeroClipboard.js'), base_url('assets/grocery_crud/themes/datatables/extras/TableTools/media/js/TableTools.min.js'), base_url('assets/grocery_crud/js/jquery_plugins/ui/jquery-ui-1.10.3.custom.min.js'), base_url('resources/bootstrap-3.2.0/js/bootstrap.min.js'), base_url('resources/js/comunes/printThis.js'), base_url('resources/js/libs/sco.js/js/sco.valid.js'), base_url('resources/js/libs/sco.js/js/sco.modal.js'), base_url('resources/js/libs/sco.js/js/sco.message.js'), base_url('resources/js/libs/sco.js/js/sco.ajax.js'), base_url('resources/js/libs/jform/jquery.form.js'), base_url('resources/js/bootstrap-datepicker.js'), base_url('resources/js/bootstrap-datepicker.es.js'), base_url('resources/js/libs/autosuggest/bootstrap-typeahead.js'), base_url('resources/js/libs/autosuggest/hogan-2.0.0.js'), base_url('resources/js/libs/jsPanel/source/AC_RunActiveContent.js'), base_url('resources/js/libs/jsPanel-bootstrap/source/jquery.jspanel.bs-1.4.0.min.js'), base_url('resources/js/libs/combobox/js/bootstrap-combobox.js'), base_url('resources/js/libs/numeric/jquery.numeric.js'), base_url('resources/js/libs/combobox/js/bootstrap-combobox.js'), base_url('resources/js/libs/pick-a-color/build/dependencies/tinycolor-0.9.15.min.js'), base_url('resources/js/libs/pick-a-color/src/js/pick-a-color.js'), base_url('resources/js/comunes/jquery.blockUI.js'), base_url('resources/js/modules/comunes.js'), base_url('resources/sb_admin/js/plugins/metisMenu/metisMenu.min.js'), base_url('resources/sb_admin/js/sb-admin-2.js')); echo jsload($js); ?> </head> <body class="skin-blue"> <div class="wrapper"> <?php $open_content_div = ''; $close_content_div = ''; echo $this->load->view('dasboard/navigation_lte', '', TRUE); if (!empty($slidebar)) { echo $slidebar; $open_content_div = Open('div', array('class' => 'content-wrapper')); $close_content_div = Close('div'); } /* Content Wrapper. Contains page content */ echo $open_content_div; ?> <!-- Content Header (Page header) --> <section class="content-header col-md-12" style="background: #ddd; margin-bottom: 5px; padding: 2px; border-bottom: solid 1px #ddddee"> <!-- <h1> Dashboard <small>Control panel</small> </h1>--> <?php if (!empty($top_nav_actions)) { echo $top_nav_actions;
<?php echo LineBreak(2); echo warning_msg(' Está 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ó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'));
<?php echo Open('div', array('class' => 'col-md-12', 'style' => 'background:#4187B0')); echo tagcontent('button', '<span class="glyphicon glyphicon-print"></span> Imprimir', array('id' => 'printbtn', 'data-target' => 'print', 'class' => 'btn btn-default pull-left')); echo Close('div'); echo open("div", array('id' => 'print')); $this->load->view('common/hmc_head/encabezado_cuenca'); echo '<center><h1 class="page-header"><small><font class="text-success">PATOLOGÍAS MÁS FRECUENTES EN EL SERVICIO DE REHABILITACIÓN</font></small></h1></center>'; $diagnosticos = "<td>MESES</td>"; foreach ($encabezado as $item) { $diagnosticos .= "<td>" . $item->diag_enfermedad . "</td>"; } $diagnosticos .= "<td>TOTAL</td>"; echo open("table", array('style' => 'font-size:12px;text-align: center', 'border' => '2', 'bordercolor' => '#000000', 'align' => 'center', 'width' => '90%', 'align-text' => 'center')); //IMPRMIMOS EL ENCABEZADO DE LA MATRIZ CON LAS PATOLOGIAS CON LOS DIAGNOSTICOS echo '<thead>'; echo "<tr>"; echo $diagnosticos; echo "</tr>"; echo '</thead>'; //IMPRIMOS los resultados de las columnas echo '<tbody>'; foreach ($cuerpo as $item) { echo open("tr"); echo "<td>" . $item->mes . "</td>" . $item->totales; echo close("tr"); } echo '</tbody>'; //IMPRIME LOS TOTALES LA PARTE FINAL DE LA CONSULTA if ($pie) { echo open("tr");
echo tagcontent('th', 'Imprimir'); echo tagcontent('th', 'Anular'); echo Close('tr'); echo Open('tr', array('ng-repeat' => 'checkin in checkins')); echo tagcontent('td', '{{ checkin.ord_id }}'); echo tagcontent('td', '{{ checkin.id_comanda }}'); echo tagcontent('td', '{{ checkin.cliente }}'); echo tagcontent('td', '{{ checkin.mesero }}'); echo tagcontent('td', '{{ checkin.mesa_nro }}'); echo tagcontent('td', '{{ checkin.fecha }}'); //echo tagcontent('td', '{{ checkin.subtotal }}'); echo Open('td'); //echo tagcontent('button', '', array('class' => 'btn btn-primary fa fa-edit', 'type' => 'button', 'ng-click' => 'edit(checkin.id_checkin)')); echo tagcontent('button', '', array('class' => 'btn btn-warning fa fa-print', 'type' => 'button', 'ng-click' => 'print(checkin.id_comanda)')); echo Close('td'); echo Open('td'); echo tagcontent('button', '', array('class' => 'btn btn-danger fa fa-eraser', 'type' => 'button', 'ng-click' => 'delete(checkin.id_comanda)')); echo Close('td'); echo Close('tr'); echo Close('table'); echo Close('div'); echo Close('div'); ?> <script> $('#form_listar_checkin').submit(function (event) { event.preventDefault(); }); // $('[name="chekin_estado"] option[value="'+1+'"] ').attr('selected','selected');
<?php echo Close('div'); echo Close('div'); $lista_empleado_combo = combobox($lista_empleado, array('label' => 'nom_empleado', 'value' => 'id'), array('name' => 'profesionaldiv', 'id' => 'profesionaldiv', '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-user"></span> Doctor Responsable:', array('class' => 'input-group-addon')); echo $lista_empleado_combo; echo Close('div'); echo Close('div'); echo input(array('type' => 'hidden', 'name' => 'id_paciente', 'id' => 'id_paciente', 'value' => '')); // envio el id delpaciente echo input(array('type' => 'hidden', 'name' => 'tipo_identificacion', 'id' => 'tipo_identificacion', 'value' => '')); // envio el id delpaciente 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-user"></span> Paciente: ', array('class' => 'input-group-addon')); echo input(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 Close('div'); echo Close('div'); echo tagcontent('button', '<span class="glyphicon glyphicon-search"></span> Buscar', array('name' => 'btnreportes', 'class' => 'btn btn-success btn-sm col-md-1', 'id' => 'ajaxformbtn', 'type' => 'submit', 'data-target' => 'opcion_elegida')); echo Close('form'); echo tagcontent('div', '', array('id' => 'opcion_elegida', 'class' => 'col-md-12')); ?> <script> var refresh_cart_load_client = function (datum) { var url = main_path+'emergencia/interconsultas/get_paciente_info/time/'+$.now(); $('#id_paciente').val(datum.ci);
<?php echo info_msg('Listar Periodos Academicos'); echo Open('form', array('action' => base_url('periodosacad/crt_periodo/get_crud_emp'), 'method' => 'post')); echo tagcontent('button', 'Cargar', array('name' => 'btnreportes', 'class' => 'btn btn-info col-md-1', 'id' => 'ajaxformbtn', 'type' => 'submit', 'data-target' => 'container-fluid')); echo Close('form'); echo tagcontent('div', '', array('id' => 'container-fluid', 'class' => 'col-md-12'));
<?php require_once "../lib/ebpls.utils.php"; define('FPDF_FONTPATH', 'font/'); require '../ebpls-php-lib/html2pdf_lib/fpdf.php'; include "../lib/phpFunctions-inc.php"; include "../includes/variables.php"; include "../lib/multidbconnection.php"; $dbLink = Open($dbtype, $connecttype, $dbhost, $dbuser, $dbpass, $dbname); $criteria = $brgy_name . $owner_last . $bus_name . $trans . $bus_nature . $cap_inv . $last_yr; class PDF extends FPDF { var $prov; var $lgu; var $office; var $yearnow; var $yearnext; var $yearnextnext; var $y0; function setLGUinfo($p = '', $l = '', $o = '') { $this->prov = $p; $this->lgu = $l; $this->office = $o; // echo 'setLGUinfo'.$this->prov; } function setYears($x = '', $y = '', $z = '') { $this->yearnow = $x; $this->yearnext = $y; $this->yearnextnext = $z;
echo Close('div'); echo Open('div', array('class' => 'col-md-12')); $input2 = input(array('type' => 'text', 'placeholder' => 'Campo Obligatorio', 'class' => 'form-control', 'ng-model' => 'cliente.nombres', 'ng-required' => 'true')); echo get_combo_group('Nombres', $input2, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12')); $input3 = input(array('type' => 'text', 'placeholder' => 'Campo Obligatorio', 'class' => 'form-control', 'ng-model' => 'cliente.apellidos', 'ng-required' => 'true')); echo get_combo_group('Apellidos', $input3, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12', 'ng-show' => 'tipo_id')); $input4 = input(array('type' => 'text', 'placeholder' => '', 'class' => 'form-control', 'ng-model' => 'cliente.razonsocial')); echo get_combo_group('Razon Social :', $input4, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12')); $input4 = input(array('type' => 'text', 'placeholder' => 'Campo Obligatorio', 'class' => 'form-control', 'ng-model' => 'cliente.direccion', 'ng-required' => 'false')); echo get_combo_group('Direccion :', $input4, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('class' => 'col-md-12')); $input6 = input(array('type' => 'text', 'placeholder' => 'Campo Obligatorio', 'class' => 'form-control', 'ng-model' => 'cliente.celular', 'ng-required' => 'false', 'only-numbers' => '')); echo get_combo_group('Telefono : ', $input6, $class = 'col-md-12 form-group'); echo Close('div'); echo Open('div', array('id' => 'opciones', 'class' => 'col-md-12')); echo tagcontent('button', '{{ btnText }}', array('class' => 'btn btn-primary col-md-6', 'type' => 'submit', 'ng-disabled' => 'cliente_form.$invalid', 'ng-click' => 'new_cli(cliente);')); echo tagcontent('button', 'CANCELAR', array('class' => 'btn btn-warning col-md-6', 'type' => 'submit', 'ng-click' => 'cancel();')); echo Close('div'); echo Close('form'); echo Close('div'); echo Close('div'); echo Open('div', array('class' => 'panel-footer')); echo '<h3>{{ msg }}</h3>'; echo Close('div');