?
Current Path : /home1/savoy/public_html/savoyglobal.net/eldertree/application/views/student/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/eldertree/application/views/student/single_extra.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Daily Report</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_extra','view_extra','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <div class="form-horizontal form-view form-bordered"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('student/addinstudent/update_extra/view_extra/1', $attributes); $teacher = $this->mastermodel->get_data('employee', '1', 'employee_teacher'); $physical=$this->mastermodel->get_data_srow('physical',$viewinfo->nutrition_id,'physical_id'); $medical = $this->mastermodel->get_data_srow('medical', $viewinfo->nutrition_id, 'medical_id'); ?> <h4 class="form-section"><span class="text bold">NUTRITION REPORTS </span></h4> <div class="row-fluid"> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Child Details</div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Student Name </label> <div class="controls"> <?= $this->mastermodel->get_single_field_value('student', 'first_name', 'student_id', $viewinfo->nutrition_student_id) ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Looked After By</label> <div class="controls"> <?= $this->mastermodel->get_single_field_value('employee', 'employee_name', 'employee_id', $viewinfo->nutrition_teacher_id); ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Date</label> <div class="controls"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->nutrition_date) ?> </div> </div> </div> </div> </div> </div> </div> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Arr/Dep Details</div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Child Arrived At</label> <div class="controls"> <label style="width: 150px;"> <?= substr($viewinfo->nutrition_arrived,0,5) ?> </label> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Child Departed At </label> <div class="controls"> <label style="width: 150px;"> <?= substr($viewinfo->nutrition_departed,0,5) ?> </label> </div> </div> </div> </div> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Sleep</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="table"> <tr> <th>From</th> <th>To</th> </tr> <?php $i = 1; $nutrition_sleep = $this->mastermodel->get_data('nutrition_sleep', $viewinfo->nutrition_id, 'nutrition_id'); foreach ($nutrition_sleep as $list) { ?> <tr> <td><?= substr($list['nutrition_sleep_from'], 0, 5); ?></td> <td><?= substr($list['nutrition_sleep_to'], 0, 5); ?></td> </tr> <?php } ?> </table> </div> </div> </div> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Food</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="student_tb"> <tr> <th>Time</th> <th>Consumption</th> </tr> <?php $i = 1; $nutrition_food = $this->mastermodel->get_data('nutrition_food', $viewinfo->nutrition_id, 'nutrition_id'); foreach ($nutrition_food as $list) { ?> <tr> <td><?= substr($list['nutrition_food_time'], 0, 5); ?></td> <td><?= $list['nutrition_food_status']; ?></td> </tr> <?php } ?> <tr> <td> <label> Any dislikes?</label> </td> <td> <?= $viewinfo->nutrition_food_dislike ?> </td> </tr> </table> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Bottles</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="table"> <tr> <th>Time</th> <th>Amount</th> </tr> <?php $i = 1; $nutrition_bottle = $this->mastermodel->get_data('nutrition_bottle', $viewinfo->nutrition_id, 'nutrition_id'); foreach ($nutrition_bottle as $list) { ?> <tr> <td><?= substr($list['nutrition_bottle_time'], 0, 5); ?></td> <td><?= $list['nutrition_bottle_amount']; ?></td> </tr> <?php } ?> </table> </div> </div> </div> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Nappies</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="table"> <tr> <th> Time</th> <th> Status</th> <th> Cream Applied? </th> </tr> <?php $i = 1; $nutrition_nappies = $this->mastermodel->get_data('nutrition_nappies', $viewinfo->nutrition_id, 'nutrition_id'); foreach ($nutrition_nappies as $list) { ?> <tr> <td><?= substr($list['nutrition_nappies_time'], 0, 5); ?></td> <td><?= $list['nutrition_nappies_status']; ?></td> <td><?= $list['nutrition_nappies_cream']; ?></td> </tr> <?php } ?> </table> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Other</div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Outside Play/Indoor Activities</label> <div class="controls"> <?= $viewinfo->nutrition_play ?> </div> </div> </div> </div> </div> </div> </div> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Other</div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Requirements</label> <div class="controls"> <?= $viewinfo->nutrition_requirement ?> </div> </div> </div> </div> </div> </div> </div> </div> <h4 class="form-section"><span class="text bold">PHYSICAL REPORTS</span></h4> <div class="row-fluid"> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Physical Details </div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Child appeared to be</label> <div class="controls"> <label style="width: 225px;"> <?= $physical->physical_status ?></label> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Essentials Required</label> <div class="controls"><label style="width: 265px;"> <?= $physical->physical_essentials ?></label> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Essentials Other</label> <div class="controls"> <?= $physical->physical_essentials_other ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Nappies or Toileting</label> <div class="controls"> <?= $physical->physical_nappies ?> </div> </div> </div> </div> </div> </div> </div> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Physical Details </div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Play and Learning</label> <div class="controls"> <?= $physical->physical_learning ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Any Comments</label> <div class="controls"> <?= $physical->physical_meal_comments ?> </div> </div> </div> </div> </div> </div> </div> </div> <h4 class="form-section"><span class="text bold">MEDICAL REPORTS</span></h4> <div class="row-fluid"> <div class="span6"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption">Medical Details</div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Medical Health Status</label> <div class="controls"> <?= $medical->medical_health_status; ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Medical Medication</label> <div class="controls"> <?= $medical->medical_medication; ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Medical Special Requirements</label> <div class="controls"> <?= $medical->medical_special_requirements; ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Medical Notes</label> <div class="controls"> <?= $medical->medical_notes; ?> </div> </div> </div> </div> </div> </div> </div> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div> </div>