<!-- view_modal.php -->

<div class="modal fade" id="viewModal" tabindex="-1" role="dialog" aria-labelledby="viewModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="viewModalLabel">View Exam Routine</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <!-- Replace the content below with your dynamic data fetching and rendering logic -->
                <p>Class: <span id="viewClass"></span></p>
                <p>Exam Type: <span id="viewExamType"></span></p>
                <p>Exam Year: <span id="viewExamYear"></span></p>
                <p>Subject: <span id="viewSubject"></span></p>
                <p>Exam Date: <span id="viewExamDate"></span></p>
                <!-- End of dynamic content -->
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>
