?
Current Path : /home1/savoy/www/oscarerp.com/application/views/examination/ |
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/oscarerp.com/application/views/examination/pdf_semester_report_card.php |
<?php $logo = ""; $company_name = ""; if (!empty($company)) { $logo = base_url() . 'assets/logo/' . $company->logo; $company_name = $company->nursery_name; } $exam_master=$this->mastermodel->get_data_srow_joined('exam_master', 'academic_year', 'exam_academic_year_id', 'academic_year_id', $postdata['exam_master_id'], 'exam_master_id'); ?> <html> <head> </head> <body> <div style="width: 80%;margin: 0 auto"> <table width="100%" > <tr> <td align="left"> <img src="<?= $logo ?>" style="float:left"/> </td> </tr> <tr> <td align="center"> <b style="font-size:26px;"><u><?= $company_name ?></u></b> </td> </tr> <tr> <td align="center"> <b style="font-size:22px;"> <?= $exam_master->exam_master_name . ' Report Card';?> </b> </td> </tr> <tr> <td align="center"> <?= $exam_master->display_name;?> </td> </tr> </table> <br><br> <table style="width: 100%;margin: 0 auto;font-size: 20px;"> <tr> <td> <?php $student = $this->mastermodel->get_data_srow('student', $postdata['student_id'], 'student_id'); ?> <b>Name : </b><?= $student->first_name . ' ' . $student->last_name ?> </td> </tr> <tr> <td> <b>Grade : </b><?= $student->grade_name ?> </td> </tr> </table> <br/> <table style="width: 100%;text-align: center" border="1" cellspacing="0" cellpadding="0"> <tr > <th style="background: #e7e7e7">SUBJECTS</th> <th style="background: #e7e7e7">MONTHLY MARKS</th> <th style="background: #e7e7e7">SEMESTER MARKS</th> <th style="background: #e7e7e7">TOTAL</th> <th style="background: #e7e7e7">GRADE</th> </tr> <?php foreach ($result as $list) { $total_mark=$list['evaluation_semester_marks'] + $list['evaluation_monthly_marks']; $max_mark=$list['month_max_mark']+$list['sem_max_mark']; ?> <tr> <td><?= $list['subject_name'] ?></td> <td><?= $list['evaluation_monthly_marks'] ?></td> <td><?= $list['evaluation_semester_marks'] ?></td> <td><?= $total_mark ?></td> <td><?= $list['grade'] ?></td> </tr> <?php } ?> </table> <br/> <?php $grading_list = $this->mastermodel->getdatas('exam_grade_level', 'max_marks', 'desc'); //echo count($grading_list); ?> <table border="1" cellspacing="0" cellpadding="3"> <tr> <th colspan="2">ACADEMIC GRADING</th> </tr> <?php foreach ($grading_list as $list) { ?> <tr> <td><?= $list['gradelevel_name'] ?></td> <td><?= $list['min_marks'] . ' % ' . '- ' . $list['max_marks'] . ' %' ?></td> </tr> <?php } ?> <tr> <td>NA</td> <td>Not Assessed</td> </tr> </table> <br/> <br/> <br/> <table style="width: 100%;"> <tr> <td style="text-align: center"><hr><br/>Homeroom Teacher</td> <td style="width:20%"></td> <td style="text-align: right"><hr><br/>Principal</td> <td style="width:20%"></td> </tr> </table> </div> </body> </html> <?php ?>