?
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 |
Current File : /home1/savoy/public_html/savoyglobal.net/sec_old/application/views/student/single_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> Performance evaluation/Exam Details</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('student/addinstudent/insert_performance/view_performance/1', $attributes); $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>Batch 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 class="single_page"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->test_date) ?> </div> </div> <div class="section _100"> <label>Remarks </label> <div class="single_page"> <?= $viewinfo->remarks ?> </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;">Student No</td> <td style="text-align: center;">Gender</td> <td style="text-align: center;">Nationality</td> <?php $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']); ?> <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; foreach ($student as $row) { $sub_marks = $this->studentmodel->get_marks($row['student_id'], $viewinfo->performance_id); // $studnt_name = $this->mastermodel->get_data_srow('student', $row['student'], 'student_id'); ?> <tr> <td style="text-align: center;width: 120px;height: 30px;"><?= $j ?></td> <td><?= $row['first_name'] . " " . $row['last_name'] ?></td> <td style="text-align: center"><?= $row['reg_no'] ?></td> <td style="text-align: center"><?= $row['gender'] ?></td> <td style="text-align: center"><?= $row['nationality'] ?></td> <?php $k = 1; foreach ($sub_marks as $list) { ?> <td style="text-align: center;width: 120px;height: 30px;"><?= $list['marks'] ?></td> <td style="text-align: center;width: 120px;height: 30px;"><?= $list['remarks'] ?> <?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;width: 120px;height: 30px;"></td> <td style="text-align: center;width: 120px;height: 30px;"></textarea> <?php } } ?> </tr> <?php $j++; } ?> </tbody> </table> </div> </div> </div> </div> <?php echo form_close(); ?>