?
Current Path : /home1/savoy/www/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/www/savoyglobal.net/sec_old/application/views/student/student_performance_marks.php |
<div class="grid_12" id="exam_sub"> <div class="box"> <div class="content no-padding"> <div class="header main"> Performance evaluation /Exam Marks Details</div> <div style="width: 100%;overflow-x: scroll; "> <table class="table" id="stud_sub"> <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> <div class="grid_12" > <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div>