$Report11->ResetCSS();
    $Report11->RowType = EWRPT_ROWTYPE_TOTAL;
    $Report11->RowTotalType = EWRPT_ROWTOTAL_GRAND;
    $Report11->RowTotalSubType = EWRPT_ROWTOTAL_FOOTER;
    $Report11->RowAttrs["class"] = "ewRptGrandSummary";
    $Report11_summary->RenderRow();
    ?>
	<!-- tr><td colspan="5"><span class="phpreportmaker">&nbsp;<br /></span></td></tr -->
	<tr<?php 
    echo $Report11->RowAttributes();
    ?>
><td colspan="5"><?php 
    echo $ReportLanguage->Phrase("RptGrandTotal");
    ?>
 (<?php 
    echo ewrpt_FormatNumber($Report11_summary->TotCount, 0, -2, -2, -2);
    ?>
 <?php 
    echo $ReportLanguage->Phrase("RptDtlRec");
    ?>
)</td></tr>
<?php 
}
?>
	</tfoot>
</table>
</div>
<?php 
if ($Report11_summary->TotalGrps > 0) {
    if ($Report11->Export == "") {
        ?>
    $Studentwise->ResetCSS();
    $Studentwise->RowType = EWRPT_ROWTYPE_TOTAL;
    $Studentwise->RowTotalType = EWRPT_ROWTOTAL_GRAND;
    $Studentwise->RowTotalSubType = EWRPT_ROWTOTAL_FOOTER;
    $Studentwise->RowAttrs["class"] = "ewRptGrandSummary";
    $Studentwise_summary->RenderRow();
    ?>
	<!-- tr><td colspan="7"><span class="phpreportmaker">&nbsp;<br /></span></td></tr -->
	<tr<?php 
    echo $Studentwise->RowAttributes();
    ?>
><td colspan="7"><?php 
    echo $ReportLanguage->Phrase("RptGrandTotal");
    ?>
 (<?php 
    echo ewrpt_FormatNumber($Studentwise_summary->TotCount, 0, -2, -2, -2);
    ?>
 <?php 
    echo $ReportLanguage->Phrase("RptDtlRec");
    ?>
)</td></tr>
<?php 
}
?>
	</tfoot>
</table>
</div>
</td></tr></table>
</div>
<!-- Summary Report Ends -->
<?php