?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/application/views/student/single_performance.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i> Performance evaluation/Exam Details</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_performance','view_performance','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <div class="form-horizontal form-view form-bordered"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal 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'); ?> <h3 class="form-section">Performance evaluation/Exam Details </h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Batch</label> <div class="controls"> <span class="text bold"> <?= $batch_details->batch_no; ?> </span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label"> Course Name </label> <div class="controls" id="course_name"> <span class="text bold"> <?= $this->mastermodel->get_single_field_value('course', 'course_name', 'course_id', $batch_details->course_id); ?></span> </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" id="teacher_name"> <span class="text bold"> <?= $this->mastermodel->get_single_field_value('employee', 'employee_name', 'employee_id', $batch_details->teacher_id); ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Exam Name </label> <div class="controls"> <span class="text bold"> <?= $this->mastermodel->get_single_field_value('exammaster', 'exammaster_name', 'exammaster_id', $viewinfo->exam_id); ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Date Of Test</label> <div class="controls"> <span class="text bold"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->test_date) ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Remarks </label> <div class="controls"> <span class="text bold"> <?= $viewinfo->remarks ?></span> </div> </div> </div> </div> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i>Performance evaluation /Exam Marks Details</div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="control-group"> <table class="table table-striped table-hover table-bordered" id="stud_sub" style="background-color: white;"> <thead id="stud_sub_head"> <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(); ?> <!-- END FORM--> </div> </div> </div> </div> </div>