</tbody> </table> <?php if (count($times) != 4) { ?> <hr /> <form class="form" role="form" action="<?php echo base_url(); ?> index.php/dr_control/CreateMonitorRing" method="post"> <div class="form-group"> <label class="mws-form-label">Time</label> <select name="time" class="form-control"> <?php foreach (MonitorRing::Time() as $key => $value) { if (in_array($key, $times)) { continue; } echo ' <option value="' . $key . '">' . $value . '</option>'; } ?> </select> </div> <div class="row"> <div class="col-sm-4"> <div class="form-group"> <label>Temp</label> <div class="input-group"> <input type="text" name="temp" id="Temp" placeholder="Temp" class="form-control"> <div class="input-group-addon">° C</div>
<table class="table table-responsive table-hover table-bordered"> <thead> <tr> <th>Time</th> <th>Temp</th> <th>Pulse</th> <th>B.L P</th> <th>Resp</th> <th>Sign</th> </tr> </thead> <tbody> <?php foreach ($All as $row2) { echo '<tr> <td>' . MonitorRing::Time()[$row2->time] . '</td> <td>' . $row2->temp . '</td> <td>' . $row2->pulse . '</td> <td>' . $row2->b_l_p . '</td> <td>' . $row2->resp . '</td> <td>' . $row2->sign . '</td> </tr>'; } ?> </tbody> </table> <div class="form-group"> <label class="mws-form-label">Observation</label> <div class="mws-form-item clearfix"> <ul class="mws-form-list inline"> <?php