$marks = $m->getMarksLoad(Session::get('sn'), $course, '*');
        if ($marks == '') {
            $ct1 = '-';
            $ct2 = '-';
            $ia = '-';
            $ms = '-';
            $es = '-';
            $g = '-';
        } else {
            $marks = $marks->fetch_object();
            $ct1 = $marks->ct1;
            $ct2 = $marks->ct2;
            $ia = $marks->ct3;
            $ms = $marks->midsem;
            $es = $marks->endsem;
            $g = $marks->pointer != NULL ? $m->getGradeFromPointer($marks->pointer) : '-';
            unset($marks);
            unset($m);
        }
        ?>
                                        	</td>
                                        	<td><?php 
        echo $ct1 != NULL ? $ct1 == -200 ? 'AB' : $ct1 : '-';
        ?>
</td>
                                        	<td><?php 
        echo $ct2 != NULL ? $ct2 == -200 ? 'AB' : $ct2 : '-';
        ?>
</td>
                                        	<td><?php 
        echo $ia != NULL ? $ia == -200 ? 'AB' : $ia : '-';
    ?>
</td>
								<td><?php 
    echo $row->midsem == -200 ? 'AB' : $row->midsem;
    ?>
</td>
								<td><?php 
    echo $row->endsem == -200 ? 'AB' : $row->endsem;
    ?>
</td>
								<td><?php 
    echo $row->sessional + ($row->midsem == -200 ? 0 : $row->midsem) + ($row->endsem == -200 ? 0 : $row->endsem);
    ?>
</td>
								<td><?php 
    echo $m->getGradeFromPointer($row->pointer);
    ?>
</td>
							</tr>
							<?php 
}
?>
						</tbody>
						<tfoot>
							<tr>
								<th>#</th>
								<th>Scholar No.</th>
								<th>Sessional</th>
								<th>Mid Sem</th>
								<th>End Sem</th>
								<th>Total</th>