? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/eduplus2/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
Upload File :
Current File : /home1/savoy/public_html/savoyglobal.net/eduplus2/application/views/student/add_extra.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<script src="<?= base_url() ?>assets/scripts/jquery.autocomplete.js"></script>
<script type="text/javascript">
    $(document).ready(function()
    {                      
        
        suggestStudentInfo('#student');
        suggestStudentPhysicalInfo('#physical_student');
      
    });
    $(".addRow_nutrition").btnAddRow({inputBoxAutoNumber: true}, function(row) {
        
        $(row).find('.radio-button').remove();
        $(row).find('input[type=radio]').removeClass();
        $(row).find('input:radio').checkbox({
            cls : 'radio-button',
            empty :'<?= base_url(); ?>/assets/img/sprites/forms/checkboxes/empty.png'
        });
           
    });   
    $(".addRow_nappies").btnAddRow({inputBoxAutoNumber: true}, function(row) {
           
        $(row).find('.radio-button').remove();
        $(row).find('input[type=radio]').removeClass();
        $(row).find('input:radio').checkbox({
            cls : 'radio-button',
            empty :'<?= base_url(); ?>/assets/img/sprites/forms/checkboxes/empty.png'
        });
           
    }); 
    $(".addRow_food").btnAddRow({inputBoxAutoNumber: true}, function(row) {
        
        $(row).find('.radio-button').remove();
        $(row).find('input[type=radio]').removeClass();
        $(row).find('input:radio').checkbox({
            cls : 'radio-button',
            empty :'<?= base_url(); ?>/assets/img/sprites/forms/checkboxes/empty.png'
        });
    }); 
    $(".addRow_bottle").btnAddRow({inputBoxAutoNumber: true}, function(row) {
           
    });
    
    $(".addRow_sleep").btnAddRow({inputBoxAutoNumber: true}, function(row) {
           
    });
    
    $(".delRow_sleep").btnDelRow();
    $(".delRow_sleep").on('click',function(e){
        e.preventDefault();
        if($(this).parents('tr').index() > 2)
            $(this).parents('tr').remove();
        //        else
        //            alert('2 Row Mandate');
    })
    
    $(".delRow_food").btnDelRow();
    $(".delRow_food").on('click',function(e){
        e.preventDefault();
        if($(this).parents('tr').index() > 4)
            $(this).parents('tr').remove();
        //        else
        //            alert('4 Row Mandate');
    })
    
    
    $(".delRow_bottle").on('click',function(e){
        e.preventDefault();
        if($(this).parents('tr').index() > 4)
            $(this).parents('tr').remove();
        //        else
        //            alert('4 Row Mandate');
    });
    $(".delRow_bottle").btnDelRow();

    function suggestStudentInfo(div)
    {
        $(div).autocomplete("<?= site_url() ?>/master/autosuggeststudent/", {
            width: 250,
            selectFirst: false
        });
    }
    function suggestStudentPhysicalInfo(div)
    {
        $(div).autocomplete("<?= site_url() ?>/master/autosuggeststudent/", {
            width: 250,
            selectFirst: false
        });
    }
</script>

<div class="row-fluid">
    <div class="tab-pane " id="tab_2">
        <div class="portlet box blue">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>Creating 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">
                <!-- BEGIN FORM-->
                <?php
                $attributes = array('id'                      => 'validateform', 'class'                   => 'form-horizontal validate');
                echo form_open('student/addinstudent/insert_extra/view_extra/1', $attributes);
                $teacher                  = $this->mastermodel->get_data('employee', '1', 'employee_teacher');
                //$nutrition_sleep_type = $this->mastermodel->getenumvalues('nutrition_sleep', 'nutrition_sleep_type');
                //$nutrition_food_type = $this->mastermodel->getenumvalues('nutrition_food', 'nutrition_food_type');
                $nutrition_food_status    = $this->mastermodel->getenumvalues('nutrition_food', 'nutrition_food_status');
                $nutrition_nappies_status = $this->mastermodel->getenumvalues('nutrition_nappies', 'nutrition_nappies_status');
                $nutrition_nappies_cream  = $this->mastermodel->getenumvalues('nutrition_nappies', 'nutrition_nappies_cream');
                $physical_status          = $this->mastermodel->getenumvalues('physical', 'physical_status');
                ?>
                <h4 class="form-section"><span class="text bold">NUTRITION REPORTS </span></h4>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="portlet box blue">
                            <div class="portlet-title">
                                <div class="caption">Child Details</div>
                            </div>
                            <div class="portlet-body">
                                <div class="row-fluid">
                                    <div class="span12 ">
                                        <div class="control-group">
                                            <label class="control-label">Student Name </label>
                                            <div class="controls">
                                                <input type="text" name="student" id="student"  value=''placeholder="Select Student" class="required reset" />
                                                <input type="hidden" name="student_id" id="student_id" class="reset" />  
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row-fluid">
                                    <div class="span12 ">
                                        <div class="control-group">
                                            <label class="control-label">Looked After By</label>
                                            <div class="controls">
                                                <select name="nutrition_teacher_id" id="nutrition_teacher_id" class="chosen span12" style="min-width:160px;"  >
                                                    <option value=''>Select</option>
                                                    <?php
                                                    foreach ($teacher as $list)
                                                    {
                                                        ?>
                                                        <option value="<?= $list['employee_id'] ?>"><?= $list['employee_name'] ?></option>
                                                        <?php
                                                    }
                                                    ?>
                                                </select>  
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row-fluid">
                                    <div class="span12 ">
                                        <div class="control-group">
                                            <label class="control-label">Date</label>
                                            <div class="controls">
                                                <input name="nutrition_date" id="nutrition_date" type="text" value="<?= date("d-m-Y"); ?>" class="calfocus required" /> 
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <div class="portlet box blue">
                            <div class="portlet-title">
                                <div class="caption">Arr/Dep Details</div>
                            </div>
                            <div class="portlet-body">
                                <div class="row-fluid">
                                    <div class="span12 ">
                                        <div class="control-group">
                                            <label class="control-label">Child Arrived At</label>
                                            <div class="controls">
                                                <label style="width: 150px;">
                                                    <?php echo createHours('nutrition_arrived_hour', '09'); ?>
                                                    <?php echo createMinutes('nutrition_arrived_minute', '00'); ?> 
                                                </label>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row-fluid">
                                    <div class="span12 ">
                                        <div class="control-group">
                                            <label class="control-label">Child Departed At </label>
                                            <div class="controls">
                                                <label style="width: 150px;">
                                                    <?php echo createHours('nutrition_departed_hour', '09'); ?>
                                                    <?php echo createMinutes('nutrition_departed_minute', '00'); ?>  
                                                </label>
                                                    
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="portlet box blue">
                            <div class="portlet-title">
                                <div class="caption">Sleep</div>
                            </div>
                            <div class="portlet-body">
                                <table class="table table-striped table-hover table-bordered" id="student_tb">
                                    <tr>                      
                                        <th> From</th>
                                        <th> To</th>
                                            
                                        <th><input type="button" id="button2" value="Add More" class="addRow_sleep" title="Add Row" style="width:75px;"/></th>
                                    </tr>
                                    <tr>                        
                                        <td>
                                            <?php echo createHours('nutrition_sleep_from_hour1', '24'); ?>
                                            <?php echo createMinutes('nutrition_sleep_from_minute1', '61'); ?>
                                                
                                                
                                        </td>
                                        <td>
                                            <?php echo createHours('nutrition_sleep_to_hour1', '24'); ?>
                                            <?php echo createMinutes('nutrition_sleep_to_minute1', '61'); ?>
                                                
                                                
                                        </td>
                                            
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow_food clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                    <tr>                        
                                        <td>
                                            <?php echo createHours('nutrition_sleep_from_hour2', '24'); ?>
                                            <?php echo createMinutes('nutrition_sleep_from_minute2', '61'); ?>
                                                
                                                
                                        </td>
                                        <td>
                                            <?php echo createHours('nutrition_sleep_to_hour2', '24'); ?>
                                            <?php echo createMinutes('nutrition_sleep_to_minute2', '61'); ?>
                                                
                                                
                                        </td>
                                            
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow_sleep clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                        
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <div class="portlet box blue">
                            <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>
                                        <th><input type="button" id="button2" value="Add More" class="addRow_food" title="Add Row" style="width:75px;"/></th>
                                    </tr>                   
                                    <tr>   
                                        <td>
                                            <?php echo createHours('nutrition_food_time_hour1', '24'); ?>
                                            <?php echo createMinutes('nutrition_food_time_minute1', '61'); ?>
                                                
                                        </td>
                                            
                                        <td>
                                            <table>
                                                <tr>
                                                    <?php
                                                    if (count($nutrition_food_status['val']) > 0)
                                                    {
                                                        foreach ($nutrition_food_status['val'] as $method)
                                                        {
                                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_food_status1' name='nutrition_food_status1' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                                            ?>
                                                                        
                                                            <?php
                                                        }
                                                    }
                                                    ?>
                                                </tr>
                                            </table>
                                                
                                        </td>
                                            
                                            
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow_food clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>               
                                    <tr>   
                                        <td>
                                            <?php echo createHours('nutrition_food_time_hour2', '24'); ?>
                                            <?php echo createMinutes('nutrition_food_time_minute2', '61'); ?>
                                                
                                        </td>
                                            
                                        <td>
                                            <table>
                                                <tr>
                                                    <?php
                                                    if (count($nutrition_food_status['val']) > 0)
                                                    {
                                                        foreach ($nutrition_food_status['val'] as $method)
                                                        {
                                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_food_status2' name='nutrition_food_status2' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                                        }
                                                    }
                                                    ?>
                                                </tr>
                                            </table>
                                                
                                                
                                                
                                                
                                        </td>
                                            
                                            
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow_food clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>               
                                    <tr>   
                                        <td>
                                            <?php echo createHours('nutrition_food_time_hour3', '24'); ?>
                                            <?php echo createMinutes('nutrition_food_time_minute3', '61'); ?>
                                                
                                        </td>
                                            
                                        <td>
                                            
                                            <table>
                                                <tr>
                                                    <?php
                                                    if (count($nutrition_food_status['val']) > 0)
                                                    {
                                                        foreach ($nutrition_food_status['val'] as $method)
                                                        {
                                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio'  id='nutrition_food_status3' name='nutrition_food_status3' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                                        }
                                                    }
                                                    ?>
                                                </tr>
                                            </table>
                                                
                                        </td>
                                            
                                            
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow_food clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>                  
                                    <tr>   
                                        <td>
                                            <?php echo createHours('nutrition_food_time_hour4', '24'); ?>
                                            <?php echo createMinutes('nutrition_food_time_minute4', '61'); ?>
                                                
                                        </td>
                                            
                                        <td>
                                            
                                            <table>
                                                <tr>
                                                    <?php
                                                    if (count($nutrition_food_status['val']) > 0)
                                                    {
                                                        foreach ($nutrition_food_status['val'] as $method)
                                                        {
                                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_food_status4' name='nutrition_food_status4' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                                        }
                                                    }
                                                    ?>
                                                </tr>
                                            </table>
                                                
                                        </td>
                                            
                                            
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow_food clickimage" title="Delete Row"/>
                                        </td>
                                    </tr> 
                                    <tr>   
                                        <td>
                                            <?php echo createHours('nutrition_food_time_hour5', '24'); ?>
                                            <?php echo createMinutes('nutrition_food_time_minute5', '61'); ?>
                                                        
                                        </td>
                                            
                                        <td>
                                            
                                            <table>
                                                <tr>
                                                    <?php
                                                    if (count($nutrition_food_status['val']) > 0)
                                                    {
                                                        foreach ($nutrition_food_status['val'] as $method)
                                                        {
                                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_food_status5' name='nutrition_food_status5' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                                        }
                                                    }
                                                    ?>
                                                </tr>
                                            </table>
                                                
                                        </td>
                                            
                                            
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow_food clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                        
                                        
                                </table>
                                <div class="row-fluid">
                                    <div class="span6 ">
                                        <div class="control-group">
                                            <label class="control-label">Any Dislikes?</label>
                                            <div class="controls">
                                                <input name="nutrition_food_dislike" id="nutrition_food_dislike" type="text"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="portlet box blue">
                            <div class="portlet-title">
                                <div class="caption">Bottles</div>
                            </div>
                            <div class="portlet-body">
                                <table class="table table-striped table-hover table-bordered" id="student_tb">
                                    
                                    <tr>                      
                                        <th> Time</th>
                                        <th> Amount</th>
                                        <th><input type="button" id="button2" value="Add More" class="addRow_bottle" title="Add Row" style="width:75px;"/></th>
                                    </tr>                   
                                    <tr>                        
                                        <td>
                                            <?php echo createHours('nutrition_bottle_time_hour1', '24'); ?>
                                            <?php echo createMinutes('nutrition_bottle_time_minute1', '61'); ?>
                                
                                        </td>
                                        <td>
                                            <input type="text" name="nutrition_bottle_amount1" id="nutrition_bottle_amount1" />
                                                
                                        </td>
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow_bottle clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                        
                                    <tr>                        
                                        <td>
                                            <?php echo createHours('nutrition_bottle_time_hour2', '24'); ?>
                                            <?php echo createMinutes('nutrition_bottle_time_minute2', '61'); ?>
                                
                                        </td>
                                        <td>
                                            <input type="text" name="nutrition_bottle_amount2" id="nutrition_bottle_amount2" />
                                                
                                        </td>
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow_bottle clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                        
                                        
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <div class="portlet box blue">
                            <div class="portlet-title">
                                <div class="caption">Nappies</div>
                            </div>
                            <div class="portlet-body">
                                <table class="table table-striped table-hover table-bordered" id="student_tb">
                                    
                                    <tr>                      
                                        <th width="50%">Time</th>
                                        <th width="30%">Status</th>
                                        <th width="20%">Cream Applied?</th>
                                            
                                        <th><input type="button" id="button2" value="Add More" class="addRow_nappies" title="Add Row" style="width:55px;"/></th>
                                    </tr>                   
                                    <tr>   
                                        <td>
                                            <?php echo createHours('nutrition_nappies_time_hour1', '24'); ?>
                                            <?php echo createMinutes('nutrition_nappies_time_minute1', '61'); ?>
                            
                                        </td>
                                        <td>
                                            <table>
                                                <tr>
                                                    <?php
                                                    if (count($nutrition_nappies_status['val']) > 0)
                                                    {
                                                        foreach ($nutrition_nappies_status['val'] as $method)
                                                        {
                                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_nappies_status1' name='nutrition_nappies_status1' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                                        }
                                                    }
                                                    ?>
                                                </tr>
                                            </table>
                                        </td>
                                        <td>
                                            <table>
                                                <tr>
                                                    <?php
                                                    if (count($nutrition_nappies_cream['val']) > 0)
                                                    {
                                                        foreach ($nutrition_nappies_cream['val'] as $method)
                                                        {
                                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_nappies_cream1' name='nutrition_nappies_cream1' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                                        }
                                                    }
                                                    ?>
                                                </tr>
                                            </table>
                                        </td>
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                    <tr>   
                                        <td>
<?php echo createHours('nutrition_nappies_time_hour2', '24'); ?>
<?php echo createMinutes('nutrition_nappies_time_minute2', '61'); ?>
                            
                                        </td>
                                        <td>
                                            <table>
                                                <tr>
                                                    <?php
                                                    if (count($nutrition_nappies_status['val']) > 0)
                                                    {
                                                        foreach ($nutrition_nappies_status['val'] as $method)
                                                        {
                                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_nappies_status2' name='nutrition_nappies_status2' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                                        }
                                                    }
                                                    ?>
                                                </tr>
                                            </table>
                                        </td>
                                        <td>
                                            <table>
                                                <tr>
                                                    <?php
                                                    if (count($nutrition_nappies_cream['val']) > 0)
                                                    {
                                                        foreach ($nutrition_nappies_cream['val'] as $method)
                                                        {
                                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_nappies_cream2' name='nutrition_nappies_cream2' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                                        }
                                                    }
                                                    ?>
                                                </tr>
                                            </table>
                                        </td>
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                    <tr>   
                                        <td>
                                                    <?php echo createHours('nutrition_nappies_time_hour3', '24'); ?>
                                                    <?php echo createMinutes('nutrition_nappies_time_minute3', '61'); ?>
                            
                                        </td>
                                        <td>
                                            <table>
                                                <tr>
<?php
if (count($nutrition_nappies_status['val']) > 0)
{
    foreach ($nutrition_nappies_status['val'] as $method)
    {
        echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_nappies_status3' name='nutrition_nappies_status3' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
    }
}
?>
                                                </tr>
                                            </table>
                                        </td>
                                        <td>
                                            <table>
                                                <tr>
<?php
if (count($nutrition_nappies_cream['val']) > 0)
{
    foreach ($nutrition_nappies_cream['val'] as $method)
    {
        echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_nappies_cream3' name='nutrition_nappies_cream3' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
    }
}
?>
                                                </tr>
                                            </table>
                                        </td>
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                    <tr>   
                                        <td>
                                                    <?php echo createHours('nutrition_nappies_time_hour4', '24'); ?>
                                                    <?php echo createMinutes('nutrition_nappies_time_minute4', '61'); ?>
                            
                                        </td>
                                        <td>
                                            <table>
                                                <tr>
                                                    <?php
                                                    if (count($nutrition_nappies_status['val']) > 0)
                                                    {
                                                        foreach ($nutrition_nappies_status['val'] as $method)
                                                        {
                                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_nappies_status4' name='nutrition_nappies_status4' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                                        }
                                                    }
                                                    ?>
                                                </tr>
                                            </table>
                                        </td>
                                        <td>
                                            <table>
                                                <tr>
<?php
if (count($nutrition_nappies_cream['val']) > 0)
{
    foreach ($nutrition_nappies_cream['val'] as $method)
    {
        echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_nappies_cream4' name='nutrition_nappies_cream4' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
    }
}
?>
                                                </tr>
                                            </table>
                                        </td>
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                        
                                        
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6">
                        <div class="portlet box blue">
                            <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">
                                                <textarea name="nutrition_play" id="nutrition_play"></textarea>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <div class="portlet box blue">
                            <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">
                                                <textarea name="nutrition_requirement" id="nutrition_requirement"></textarea>
                                            </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 blue">
                            <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;">
<?php
if (count($physical_status['val']) > 0)
{

    foreach ($physical_status['val'] as $method)
    {
        echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='physical_status' name='physical_status' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
    }
}
?>  </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;">
                                                    <input type="checkbox" name="physical_essentials[]" value="Spare Clothes"/>Spare Clothes
                                                    <input type="checkbox" name="physical_essentials[]" value="Underwear"/>Underwear
                                                    <input type="checkbox" name="physical_essentials[]" value="Nappies"/>Nappies
                                                </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">
                                                <textarea name="physical_essentials_other" id="physical_essentials_other"></textarea>
                                            </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">
                                                <textarea name="physical_nappies" id="physical_nappies"></textarea>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="span6">
                        <div class="portlet box blue">
                            <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">
                                                <textarea name="physical_learning" id="physical_learning"></textarea>
                                            </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">
                                                <textarea name="physical_meal_comments" id="physical_meal_comments"></textarea>
                                            </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 blue">
                            <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">
                                                
                                                <textarea name="medical_health_status" id="Medical"></textarea>
                                            </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">
                                                <textarea name="medical_medication" id="Medical"></textarea> 
                                            </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">
                                                <textarea name="medical_special_requirements" id="Medical"></textarea>
                                            </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">
                                                <textarea name="medical_notes" id="Medical" ></textarea>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                        
                </div>
                <div class="form-actions">
                   <input type="hidden" name="tab_name" value="nutrition"/>
                <input type="hidden" name="resfunction" value="search_extra"/>
                    <button type="submit"  class="btn blue"  onclick="addformdata('validateform')"> Save</button>
                    <button type="button" onclick="viewdata('student','viewinstudentsearch','search_extra','view_extra','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button>
                </div>
<?php
echo form_close();
?>
                <!-- END FORM-->                
            </div>
        </div>
    </div>
</div>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net