?
Current Path : /home1/savoy/www/savoyglobal.net/sec/draft/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/www/savoyglobal.net/sec/draft/application/views/student/student_performance_marks.php |
<?php $this->load->view('documentreadyfunctions'); ?> <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"> <tr> <td style="text-align: center;width: 6%;height: 30px;">Sl no</td> <td style="text-align: center;width: 20%;">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 $i = 1; foreach ($subject as $list) { ?> <input type="hidden" name="subject_<?= $i ?>" value="<?= $list['id'] ?>"/> <td style="text-align: center" colspan="2"><?= $this->mastermodel->get_single_field_value('subject', 'subject_name', 'subject_id', $list['subject_id']); ?></td> <?php $i++; } ?> </tr> <tr> <td colspan="5"> </td> <?php for ($i = 1; $i <= sizeof($subject); $i++) { ?> <td style="text-align: center">Marks/ Grade</td> <td style="text-align: center">Remarks</td> <?php } ?> </tr> </thead> <tbody id="stud_sub_body"> <tr> <?php $j = 1; foreach ($std as $list) { $deactivate = $this->studentmodel->check_deactivate($batch, $list['student_id'], $date); $studnt_name = $this->mastermodel->get_data_srow('student', $list['student_id'], 'student_id'); ?> <input type="hidden" name="student_id_<?= $j ?>" value="<?= $list['student_id'] ?>"/> <td style="text-align: center;width: 120px;height: 30px;"><?= $j ?></td> <td><?= $studnt_name->first_name . " " . $studnt_name->last_name ?></td> <td><?= $studnt_name->reg_no ?></td> <td><?= $studnt_name->gender ?></td> <td><?= $studnt_name->nationality ?></td> <?php if ($deactivate > 0) { for ($i = 1; $i <= sizeof($subject); $i++) { ?> <td style="text-align: center;width: 120px;height: 30px;"><input readonly type="text" name="marks_<?= $list['student_id'] . $i ?>" style="width: 120px;height: 30px;" value="deactivate" /></td> <td style="text-align: center;width: 120px;height: 30px;"><input readonly style="width: 120px;height: 30px;" name="remarks_<?= $list['student_id'] . $i ?>" id="remark_<?= $i ?>" type="text" value="deactivate"> <?php } } else { for ($i = 1; $i <= sizeof($subject); $i++) { ?> <td style="text-align: center;width: 120px;height: 30px;"><input type="text" name="marks_<?= $list['student_id'] . $i ?>" style="width: 120px;height: 30px;" /></td> <td style="text-align: center;width: 120px;height: 30px;"><textarea style="width: 120px;height: 30px;" name="remarks_<?= $list['student_id'] . $i ?>" id="remark_<?= $i ?>" type="text"></textarea> <?php } } ?> </tr> <?php $j++; } ?> </tbody> </table> </div> </div> </div> </div>