function comments($comments, $object_id, $object, $usernames, $format, $return = 'agilan/index') { $string = ""; $string .= "<ol class='comments'>"; if (isset($comments[$object_id]) && count($comments[$object_id]) > 0) { foreach ($comments[$object_id] as $kk => $ll) { $CID = $ll->user_id; $CU = $usernames[$ll->user_id]; $stamp = mysql_to_unix($ll->created); $string .= "<li><b>" . $CU . ":</b> <small>" . $ll->comment . "<br/>" . mdate($format, $stamp) . "</small></li>"; } } else { $string .= nbs(); } $string .= "<li class='last'>"; $string .= form_open('comments/index'); $input = array('name' => 'comment', 'id' => 'comment', 'size' => 35); $string .= form_input($input); $string .= form_hidden('object', $object); $string .= form_hidden('object_id', $object_id); $string .= form_hidden('return_url', $return); $string .= form_submit('add comment', 'comment'); $string .= form_close(); $string .= "</li>"; $string .= "</ol>"; echo $string; }
function option_recursive($data = [], $value = NULL, $label = NULL, $default_option = NULL, $arr_option = [], $depth = 0) { $separator = NULL; for ($i = 0; $i < $depth; $i++) { $separator .= nbs(4); } if (!empty($default_option)) { if (is_array($default_option)) { foreach ($default_option as $key => $val) { $arr_option[$key] = $val; } } else { $arr_option[0] = $default_option; } } if (!empty($data)) { foreach ($data as $val) { $d = $val['data']; $arr_option[$d[$value]] = $separator . $d[$label]; if (!empty($val['sub'])) { $newdepth = $depth + 1; $arr_option = option_recursive($val['sub'], $value, $label, NULL, $arr_option, $newdepth); } } } return $arr_option; }
public function get_sorted_cats_select($exclude = array()) { $cats = $this->get_sorted_cats($exclude); $ret['0'] = lang('none'); foreach ($cats as $cat) { $ret[$cat['cat_id']] = nbs(5 * $cat['level']) . $cat['cat_name']; } return $ret; }
/** * rights_get function. * * @access public * @return void */ public function rights_get() { if (!$this->auth->loggedin()) { redirect('user/login'); } $uid = intval($this->auth->userid()); $role_id = $this->get('role'); if (!$role_id) { show_error('Invalid request.', 500); } else { $role_rights = $this->rights_model->get_for_role($role_id); $rights_html = ul(array(form_label(form_checkbox(array('name' => 'use_system', 'id' => 'use_system', 'value' => $role_id, 'checked' => $role_rights['use_system'] ? true : false)) . nbs() . ucfirst(lang('use_system')), 'use_system'), form_label(form_checkbox(array('name' => 'add_members', 'id' => 'add_members', 'value' => $role_id, 'checked' => $role_rights['add_members'] ? true : false)) . nbs() . ucfirst(lang('add_members')), 'add_members'), form_label(form_checkbox(array('name' => 'add_users', 'id' => 'add_users', 'value' => $role_id, 'checked' => $role_rights['add_users'] ? true : false)) . nbs() . ucfirst(lang('add_users')), 'add_users')), array('class' => 'no-bullet')); $this->output->set_output($rights_html); } }
function imc($talla, $peso) { $cadena = ''; if ($talla > 0 && $peso > 0) { $talla = $talla / 100; $imc = $peso / ($talla * $talla); if ($imc < 16) { $res = "Delgadez severa"; } else { if ($imc >= 16 && $imc <= 16.99) { $res = "Delgadez moderada"; } else { if ($imc >= 17 && $imc <= 18.49) { $res = "Delgadez no muy pronunciada"; } else { if ($imc >= 18.5 && $imc <= 24.99) { $res = "Normal"; } else { if ($imc >= 25 && $imc <= 29.99) { $res = "Preobeso"; } else { if ($imc >= 30 && $imc <= 34.99) { $res = "Obeso tipo I"; } else { if ($imc >= 35 && $imc <= 39.99) { $res = "Obeso tipo II"; } else { if ($imc >= 40) { $res = "Obeso tipo III"; } } } } } } } } $cadena = "<strong>IMC</strong>:" . nbs() . number_format($imc, 2) . nbs() . " - <strong>" . $res . "</strong>"; } return $cadena; }
</div> <div class="col-md-9"> <?php foreach ($single as $s) { ?> <div class="col-md-12 box-artikel"> <div class="col-md-12"> <h3><?php echo $s->judul; ?> </h3> <small><span class="glyphicon glyphicon-user"></span> <?php echo $s->username; ?> <?php echo nbs(4); ?> <span class="glyphicon glyphicon-calendar"></span> <?php echo $s->tanggal; ?> </small> <br/> <br/> <a class="col-md-12"> <img class="col-md-12" src="<?php echo base_url() . 'images/' . $s->foto; ?> " alt="<?php echo $s->judul; ?> ">
</div> <div style="padding: 10px;"> Action : <input type="radio" id="Action4_1_medi" /> Prevent <input type="radio" id="Action4_2_medi" /> Correct </div> <div style="padding: 10px;"> <?php echo nbs(10); ?> <label> Patient </label> <?php echo nbs(70); ?> <label> Doctor </label> </div> <div style="padding: 10px;"> <label> <input type="checkbox" id="InterventionPT3_1_medi" /> Adjust for appropriate therapy due to health system <input type="checkbox" id="InterventionDoctor3_1_medi" /> Add new medication </label> </div> <div style="padding: 10px;"> <label>
<h2><?php echo $headline; ?> </h2> <?php if (isset($flash)) { echo $flash; } if ($new_category_allowed == true) { echo anchor('store_categories/create/x/' . $parent_category, 'Create New Category (on this level)'); } if ($parent_category > 0) { echo nbs(3); echo anchor('store_categories/create/' . $parent_category, 'Update Parent Category'); } ?> <br> <?php echo Modules::run('store_categories/_display_categories_table', $parent_category); ?>
/** * Vue permettant à un responsable de voir la liste des vacataires, de se connecter en leur nom ou de créer un vacataire * Cette vue nécessite les varaibles suivantes : (optionnel) $temporaryWorkers => tableau contenant des tableau associatifs décrivant un 'teacher'. Les clés sont : * 'initials' , 'firstnale' , 'lastname' * $fieldNames => tableau contenant les différents champs (texte) à remplir pour la création d'un vacataire */ $fieldNames = array('Initiales', 'Nom', 'Prénom'); echo div(array('class' => 'text-center center-block')); if (isset($temporaryWorkers) && !empty($temporaryWorkers)) { $data = array(); foreach ($temporaryWorkers as $t) { $data[$t['initials']] = $t['firstname'] . ' ' . $t['lastname']; } echo form_open('main/selectTemporaryWorkers', array('class' => 'form-group')); echo form_dropdown('id', $data, '', 'id="login" class="form-control"'); echo br(1); echo form_submit(array('value' => 'Connexion', 'class' => 'btn btn-success')); echo br(2); echo form_close(); } echo nbs(2); echo '<table id="myTable" class="table table-bordered">'; echo "<tr><th></th><th>Créer un nouveau vacataire</th><th></th><th></th></tr>"; echo '<tr id="new">'; foreach ($fieldNames as $field) { echo '<td><input type="text" class="form-control" placeholder="' . $field . '"/></td>'; } echo '<td><span style="cursor: pointer;" class="glyphicon glyphicon-floppy-disk" data-original-title="Enregistrer" data-placement="top" data-toogle="tooltip" onclick="saveNewRow()"></span></td>'; echo '</tr>'; echo '</table>'; echo div_close();
} if (count($dx_evo) > 0) { foreach ($dx_evo as $dat) { echo $dat['diagnostico'], nbs(), '|', nbs(); } } ?> </td> </tr> <tr> <td width="50%" class='texto'><strong>Pendiente:</strong><?php echo nbs() . $dato['pendiente']; ?> </td> <td width="50%" class='texto'><strong>Observaciones:</strong><?php echo nbs() . $dato['observaciones']; ?> </td> </table> <?php //echo br(); } echo br(3); ?> <center> <table width="80%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="40%" style="text-align:center; font-size:12; font-weight:bold; border-top-width:1px; border-top-style:solid; border-top-color:#000">Firma médico entrega </td> <td width="20%"> </td> <td width="40%" style="text-align:center; font-size:12; font-weight:bold; border-top-width:1px; border-top-style:solid; border-top-color:#000">Firma médico recibe </td> </tr>
</tr> <?php $i = 1; foreach ($atencion as $d) { ?> <tr> <td align="center"><strong><?php echo $i; ?> </strong></td> <td><?php echo $d['numero_documento']; ?> </td> <td><?php echo $d['primer_apellido'], nbs(), $d['segundo_apellido'], nbs(), $d['primer_nombre'], nbs(), $d['segundo_nombre']; ?> </td> <td><?php echo $d['fecha_ingreso']; ?> </td> <td><?php echo $d['nombre_servicio']; ?> </td> <td class="opcion"><strong> <?php echo anchor('hosp/hosp_gestion_atencion/main/' . $d['id_atencion'], 'Gestión de la atención'); ?> </strong>
<h2>Items</h2> <div class="_100"> <div class="search-box" style="float:left; width:257px;"> <!--<div style="float: left; width: 70px; padding-top: 4px; font-weight: bold;">Search </div>--> <div class="text-field-box"> <label for='searchlabel'><?php echo $this->lang->line('msg_Search'); ?> </label> <input name="searchlabel" type="text" id="search" /> </div> <!--<div class="text-field-cancel-button"> <a href="javascript:void(0);" id="search_clear" ><img src="images/search-box-cancel.png" border="0" id="search_clear" /></a> </div>--> </div> </div> <div class="_100"> <ul id="sortableitems"> <?php foreach ($item as $row) { $idItems = $row->idItems; echo '<li id="itemli-' . $idItems . '" class="ui-state-default"><div style="float:left;height:100%;padding:5px;">' . $row->label . nbs(4) . '</div><div style="display:none;float:left;" id="price-' . $idItems . '">' . $row->price . '</div>' . '<button id="itemadd-' . $idItems . '">' . $this->lang->line('msg_AddToMenu') . '</button></li>'; } ?> </ul> </div> </div> <div id="dialogaddcat" title="Select a category"></div> </div>
<?php $num_rows = $query->num_rows(); if ($num_rows > 0) { echo "<h3>Available Sizes</h3>"; foreach ($query->result() as $row) { echo $row->item_size . " " . anchor('store_item_sizes/ditch/' . $row->id . '/' . $item_id, '<span style="color:red">Delete</span>') . nbs(4); } echo "<br><br>"; }
echo nbs() . $evo['subjetivo']; ?> </td></tr> <tr><td class="texto" colspan="4"><strong>Objetivo:</strong> <?php echo nbs() . $evo['objetivo']; ?> </td></tr> <tr><td class="texto" colspan="4"><strong>Análisis:</strong> <?php echo nbs() . $evo['analisis']; ?> </td></tr> <tr><td class="texto" colspan="4"><strong>Conducta:</strong> <?php echo nbs() . $evo['conducta']; ?> </td></tr> </table> <h5>DIAGNÓSTICOS</h5> <table id="interna"> <?php $i = 1; if (count($dxEvo) > 0) { foreach ($dxEvo as $d) { ?> <tr> <td class="negrita" style="width:130px">Diagnóstico <?php echo $i; ?>
$menu_name .= '<div class="quick-form" id="qf-' . $row->mid . '">'; $menu_name .= form_open('sso/menus/act', 'class="form-horizontal"', array('mid' => $row->mid, 'quick' => TRUE)); $menu_name .= '<div class="form-group">'; $menu_name .= form_label('Name', 'mnme', array('class' => 'col-xs-4 col-md-2 control-label')); $menu_name .= '<div class="col-xs-4 col-md-10">'; $menu_name .= form_input('mnme', str_replace('_', NULL, $row->mnme), 'class="input-sm form-control" id="mnme" placeholder="Menu name"'); $menu_name .= '</div>'; $menu_name .= '</div>'; $menu_name .= '<div class="form-group">'; $menu_name .= '<div class="col-sm-offset-2 col-sm-10">'; $menu_name .= '<button type="submit" class="btn btn-sm btn-primary">Update menu</button>'; $menu_name .= '<button type="button" class="btn btn-sm btn-default" id="cqe-' . $row->mid . '">Cancel</button>'; $menu_name .= '</div>'; $menu_name .= '</div>'; $menu_name .= form_close(); $menu_name .= '</div>'; $menu_icon = '<span class="fa' . $row->mico . '"></span>'; $menu_link = base_url($row->mlnk); $menu_update = mdate('%F %j, %Y on %H:%i', strtotime($row->ud)) . br() . '<span class="small text-muted">' . time_elapsed($row->ud) . nbs() . '<em>by</em>' . nbs() . $row->ufnme . '</span>'; $menu_status = $row->mstat; $menu_id = $row->mid; $results['aaData'][$i] = array($menu_name, $menu_icon, $menu_link, $menu_update, $menu_status, $menu_id); ++$i; } } else { //jika data kosong, sistem iddle for ($i = 0; $i < 6; ++$i) { $results['aaData'][0][$i] = ''; } } print $callback . '(' . json_encode($results) . ')';
<td><?php echo form_input(array('name' => 'frecuencia_cardiaca', 'id' => 'frecuencia_cardiaca', 'maxlength' => '3', 'size' => '3', 'onChange' => "vNum('frecuencia_cardiaca','0','400')")); ?> X min</td> <td><?php echo form_input(array('name' => 'frecuencia_respiratoria', 'id' => 'frecuencia_respiratoria', 'onChange' => "vNum('frecuencia_respiratoria','0','100')", 'maxlength' => '3', 'size' => '3')); ?> X min</td> <td><b>S</b><?php echo nbs() . form_input(array('name' => 'ten_arterial_s', 'id' => 'ten_arterial_s', 'maxlength' => '3', 'size' => '3', 'onChange' => "vNum('ten_arterial_s','0','350')")); ?> <?php echo br(); ?> <b>D</b><?php echo nbs() . form_input(array('name' => 'ten_arterial_d', 'id' => 'ten_arterial_d', 'maxlength' => '3', 'size' => '3', 'onChange' => "vNum('ten_arterial_d','0','250')")); ?> </td> <td><?php echo form_input(array('name' => 'temperatura', 'id' => 'temperatura', 'maxlength' => '4', 'size' => '4', 'onChange' => "vNum('temperatura','20','45')")); ?> °C</td> </table> </td></tr> <tr> <td class='campo_izquierda'>Paraclínicos Realizados:</td> <td><?php echo form_textarea(array('name' => 'paraclinicos_realizados', 'id' => 'paraclinicos_realizados', 'rows' => '2', 'cols' => '50')); ?> </td></tr> <tr>
<h2>Admin Panel - Activated Users At A Glance</h2> <div> <?php // Show reset password message if exist if (isset($reset_message)) { echo $reset_message; } // Show error echo validation_errors(); echo form_open($this->uri->uri_string()); echo form_submit('ban', 'Ban User') . nbs(1); echo form_submit('unban', 'Unban User') . nbs(1); echo form_submit('reset_pass', 'Reset Password'); echo "<hr/>"; ?> <table class="contAlign" border="0" width="100%" cellpadding="7" cellspacing="1"> <tr style="font-weight:bold; background-color:#999999;"> <td><input type="checkbox" name="select-all" id="select-all"/></td><td>Username</td><td>Email</td><td>Role Name</td><td>Banned</td><td>Last IP</td><td>Last Login</td><td>Created</td> </tr> <?php foreach ($users as $user) { $banned = $user->banned == 1 ? 'Yes' : 'No'; ?> <tr style="background-color:#CCCCCC;"> <td><?php echo form_checkbox('checkbox_' . $user->id, $user->id); ?> </td> <td><?php echo $user->username; ?>
</div> </div> <?php if (count($data_payments) > 0) { ?> <div class="col-md-12 col-lg-12"> <div class="col-md-6"> <div class="panel panel-primary"> <div class="panel-heading"> <h3 class="panel-title cus-h3 cus-h3">Principle Owner Information</h3> <span class="pull-right clickable"><i class="glyphicon glyphicon-chevron-up"></i></span> </div> <div class="panel-body"> <table class="table"> <tr> <td>CID</td> <td><?php echo $CID = $loan_info->CID != "" ? $loan_info->CID : nbs(2); ?></td> </tr> <tr> <td>Customer Name</td> <td><?php echo $loan_info->first_name_english.' '.$loan_info->last_name_english; ?></td> </tr> <tr> <td>Date Of Birth</td> <td><?php echo date('Y-m-d', strtotime($loan_info->date_of_birth)); ?></td> </tr> <tr> <td>Gender/Married</td> <td><?php echo $loan_info->gender.'/'.$loan_info->marrital_status; ?></td> </tr> <tr> <?php
foreach ($plans as $plan) { $options[strtoupper(str_replace(' ', '', $plan))] = $plan; } ?> <?php echo form_dropdown('type', $options, null, 'id="type"'); ?> </li> <li class="charge-credit"> <?php $data = array('type' => 'radio', 'name' => 'dc', 'id' => 'dcD', 'value' => 'D', 'checked' => 'checked'); echo form_checkbox($data); ?> <label for="dcD">Charge</label> <?php echo nbs(5); $data = array('type' => 'radio', 'name' => 'dc', 'id' => 'dcC', 'value' => 'C'); echo form_checkbox($data); ?> <label for="dcC">Credit</label> </li> <li> <label for="comments">Comments</label> <?php echo form_textarea(array("id" => "comments", "name" => "comments", "cols" => "30", "rows" => "2")); ?> </li> <li> <input id="Charge_user_id" name="Charge_user_id" type="hidden" /> <input id="Charge_action" name="Charge_action" type="hidden" /> <input id="popupChargeSubmit" class="btn" name="popupChargeSubmit" type="submit" value="Charge" />
<div id="modal-list-icon" class="modal modal-info fade"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h3 class="modal-title"><?php echo nbs(); ?> </h3> </div> <div class="modal-body"> <div class="tab-pane active" id="fa-icons" > <section id="new"> <h4>11 New Icons in 4.0</h4> <div class="row fontawesome-icon-list"> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-rub"></i> fa-rub</div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-ruble"></i> fa-ruble <span class="text-muted">(alias)</span></div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-rouble"></i> fa-rouble <span class="text-muted">(alias)</span></div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-pagelines"></i> fa-pagelines</div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-stack-exchange"></i> fa-stack-exchange</div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-arrow-circle-o-right"></i> fa-arrow-circle-o-right</div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-arrow-circle-o-left"></i> fa-arrow-circle-o-left</div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-caret-square-o-left"></i> fa-caret-square-o-left</div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-toggle-left"></i> fa-toggle-left <span class="text-muted">(alias)</span></div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-dot-circle-o"></i> fa-dot-circle-o</div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-wheelchair"></i> fa-wheelchair</div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-vimeo-square"></i> fa-vimeo-square</div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-try"></i> fa-try</div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-turkish-lira"></i> fa-turkish-lira <span class="text-muted">(alias)</span></div> <div class="col-md-3 col-sm-4"><i class="fa fa-fw fa-plus-square-o"></i> fa-plus-square-o</div> </div>
<h2><?php echo $headline; ?> </h2> <?php if (isset($flash_data)) { echo $flash_data; } echo anchor('store_categories/create/x/' . $parent_category, 'Create New Category(on this level)'); echo nbs(7); if ($parent_category > 0) { # code... echo anchor('store_categories/create/' . $parent_category, 'Update Parent Category'); } ?> <?php echo Modules::run('store_categories/_display_categories_table', $parent_category);
</div> <?php } ?> <div class="relativeWrap"> <div class="widget widget-gray"> <div class="widget-head"> <h4 class="heading">Post</h4> </div> <div class="widget-body"> <?php echo $post_textbox; echo br(2); if ($post_id == 0 || $attachment_file_name == '') { echo 'Attach a file: ' . $attachment_textbox; } else { echo 'Current attachment: <a href="' . base_url() . 'docs/forum_uploads/' . $attachment_file_name . '" target="_blank">' . $attachment_file_name . '</a>' . nbs(4) . $delete_attachment_checkbox . br(2); echo 'Replace attachment: ' . $attachment_textbox; } ?> </div> </div> </div> <?php echo $submit_btn; echo form_close(); ?>
relatorios/pdfAlunos' target='_blank'> <?php echo img('asset/img/relatorios/printer.png'); ?> </a> <?php echo br(3); ?> <table cellpadding='5'> <?php $i = 0; echo "Total de alunos: " . count($alunos); echo nbs(60); echo escreve_data() . br(2); foreach ($alunos as $aluno) { $i++; echo "<tr>"; echo "<td width='600'>"; echo $i . " - " . $aluno->nome . br(); echo "</td>"; echo "</tr>"; } ?> </table> <?php echo br(2); ?>
<?php echo br(4); ?> <div id="firma"> <?php echo $medico['primer_nombre'] . " " . $medico['segundo_nombre'] . " " . $medico['primer_apellido'] . " " . $medico['segundo_apellido']; ?> <br /> R.M:<?php echo nbs() . $medico['tarjeta_profesional']; ?> </div> </td> </tr> </table> </td> </tr> <tr> <td id="pie"><?php echo $empresa['direccion']; ?> <?php echo $empresa['municipio']; ?> <?php echo $empresa['departamento']; ?> Teléfono <?php echo $empresa['telefono1']; ?>
protected function menu_tree($data = []) { $str = NULL; if (!empty($data)) { foreach ($data as $v) { $lv1 = $v['data']; if (!empty($v['sub'])) { $attr1 = !empty($v['sub']) ? '<i class="fa fa-angle-left pull-right"></i>' : NULL; $c1 = !empty($v['sub']) ? 'class="treeview"' : NULL; $str .= '<li ' . $c1 . '>' . anchor($lv1['mlnk'], '<i class="fa ' . $lv1['mico'] . '"></i> <span>' . $lv1['mnme'] . '</span>' . $attr1); $str .= '<ul class="treeview-menu">'; foreach ($v['sub'] as $vv) { $lv2 = $vv['data']; if (!empty($vv['sub'])) { $attr2 = !empty($vv['sub']) ? '<i class="fa fa-angle-left pull-right"></i>' : NULL; $str .= '<li>' . anchor($lv2['mlnk'], '<i class="fa ' . $lv2['mico'] . '"></i>' . $lv2['mnme'] . $attr2); $str .= '<ul class="treeview-menu">'; foreach ($vv['sub'] as $vvv) { $lv3 = $vvv['data']; $str .= '<li>' . anchor($lv3['mlnk'], '<i class="fa ' . $lv3['mico'] . '"></i>' . nbs() . $lv3['mnme']) . '</li>'; } $str .= '</ul>'; } else { $str .= '<li>' . anchor($lv2['mlnk'], '<i class="fa ' . $lv2['mico'] . '"></i> <span>' . $lv2['mnme'] . '</span>'); } $str .= '</li>'; } $str .= '</ul>'; } else { $str .= '<li>' . anchor($lv1['mlnk'], '<i class="fa ' . $lv1['mico'] . '"></i> <span>' . $lv1['mnme'] . '</span>'); } $str .= '</li>'; } } return $str; }
<div style="padding: 10px;"> <label> <input type="checkbox" id="InterventionPT2-6_adr" /> Monitor efficacy and toxicity <?php echo nbs(10); ?> <input type="checkbox" id="InterventionDoctor2-6_adr" /> Suggest changing medication </label> </div> <div style="padding: 10px;"> <label> <input type="checkbox" id="InterventionPT2-7_adr" /> Prevention of Adverse drug reaction <?php echo nbs(10); ?> <input type="checkbox" id="InterventionDoctor2-7_adr" /> Suggest laboratory </label> </div> <div style="padding: 10px"> <label> Response : </label> </div> <div style="padding: 10px"> <label>
</td> </tr> <tr> <td> <center> <select id="id_dieta_" name="id_dieta_"> <option value="0" selected="selected">-Seleccione uno-</option> <?php foreach ($dietas as $d) { echo '<option value="' . $d['id_dieta'] . '">' . $d['dieta'] . '</option>'; } ?> </select> <?php $data = array('name' => 'bv', 'onclick' => "agregarDieta()", 'value' => 'Agregar', 'type' => 'button'); echo nbs(), form_input($data); ?> </center> </td></tr> <tr><td class="campo">Posición de la cama:</td> <td> Cabecera: <?php echo form_input(array('name' => 'cama_cabeza', 'id' => 'cama_cabeza', 'maxlength' => '3', 'size' => '3', 'value' => '0', 'onChange' => "vNum('cama_cabeza','0','90')", 'class' => "fValidate['integer']")); ?> Grados Pie de cama: <?php echo form_input(array('name' => 'cama_pie', 'id' => 'cama_pie', 'maxlength' => '3', 'value' => '0', 'size' => '3', 'onChange' => "vNum('cama_pie','0','45')", 'class' => "fValidate['integer']")); ?> Grados </td></tr> <tr><td class="campo">Suministro de Oxigeno:</td>
</script> </tr> <tr> <td class="campo">Servicio:</td> <td> <select name="id_servicio" id="id_servicio"> <option value="0">Todos</option> <option value="16">Observación adultos</option> <option value="17">Observación pediatría</option> <option value="18">Observación psiquiatría</option> <option value="19">Observación ginecobstetricia</option> </select> </td> </tr> </table> </td></tr> <tr><td align="center"> <?php $data = array('name' => 'bv', 'onclick' => 'regresar()', 'value' => 'Volver', 'type' => 'button'); echo form_input($data) . nbs(); $data = array('name' => 'bb', 'onclick' => 'buscar()', 'value' => 'Buscar', 'type' => 'button'); echo form_input($data); ?> </td></tr> </table> <?php echo form_close(); ?> <div id="div_lista"> </div>
</tr> <tr> <td class="negrita">Estado de salida:</td> <td class="centrado"> <?php echo $epicrisis['estado_salida']; if ($epicrisis['estado_salida'] == 'Muerto') { echo ' ', $epicrisis['tiempo_muerto']; } ?> </td> <td class="negrita">Incapacidad funcional:</td> <td class="centrado"><?php echo $epicrisis['incapacidad']; if ($epicrisis['incapacidad'] == 'SI') { echo nbs(), $epicrisis['incapacidad'], nbs(), 'Días'; } ?> </td> </tr> </table> <?php echo br(); ?> <table id="interna"> <tr><td colspan="2" class="negrita centrado">DIAGNÓSTICOS</td></tr> <tr> <td class="negrita centrado">De ingreso:</td> <td class="negrita centrado">De egreso:</td> </tr> <tr>
public function test_NBS() { $this->assertEquals(' ', nbs(3)); }