1. When the current result is not out.
<i class="fa fa-envelope-open-text"></i>
<h5>Oops.. No Result Yet</h5>
<p class="text-muted">Your results for the <b>First Term 20205 Session</b> is not out yet.<br>
  Come back here, you will result once it has been published.
</p>
<a href="index.php" class="notifications">Okay Got it <i class="fa fa-check-circle"></i></a>

<!-- Correct one -->
<i class="fa fa-clock"></i>
<h5>Results Not Yet Released</h5>
<p class="text-muted">
  Your results for <b>First Term 2025 Session</b> have not been published yet. <br>
  Please check back later once they are available.
</p>
<a href="index.php" class="notifications">
  Okay, Got it <i class="fa fa-check-circle"></i>
</a>
<!-- from page:search-result.php -->


2. When The Subject teacher has not computed any result
<!-- table title -->
<h3>Classes Pending Approval</h3>
<!-- Message for when the result is false(no pending from db) -->
<div class="negative" style="<?=$negat?>">
    <i class="fa fa-envelope-open-text"></i>
    <h5>No Results Yet.</h5>
    <p class="text-muted text-center">This happens when the subject teacher has not graded this class or they haven't done with the uploading.<br>  
    </p>
    <!-- from page:peding_results.php -->
</div>


3. In the search result table
table title: <span>Select to search for result</span>
<!-- correct -->
<h3><span>Search Results</span></h3>
<p class="text-muted">Select an option to search for student results.</p>

4. When the result is not found
alert: Oops, no result is found
<!-- correct one -->
<div class="alert alert-warning">
  <i class="fa fa-exclamation-triangle"></i> 
  Oops... No results were found for your search.
</div>


<!-- The above is for the student -->

5. For class teacher
// Confirm Result before sending
if (isset($_POST['confirm-btn'])) {
  
  $msgTitle = "<b>Confirm Request</b>";
  $msgBody = " <center>
              Are you sure you want to submit the results 
              to the Vice Principal for final approval? 
              <br>This means you have crossed checked the scores, performance, comment and attendance to be very okay.</center>
              ";
  $msgCloseBtn = "No, Cancel";
  $msgActionBtn = "Yes, Submit";
  include'includes/confirm-alert.php'; 
}
// from page: my_class_result.php

ii.
// Send Results to VP for approval
if (isset($_POST['send-result-btn'])) {

  $msgTitle = "<b>Results Submitted</b>";
  $msgBody = " <center>
              The Vice principal or Principal will go through the results and add their comment for each student, you will be also notified if your results is approved or rejected or need adjustment.   
              <br>Kindly wait for their responce..</center>
              ";
  $msgCloseBtn = "Okay, Got it.";
  
  include'includes/checkmark-alert.php';

}

iii.
// Re-submit the result again for approval after rejection for re-adjustment
if (isset($_POST['re_submit_btn'])) {
    
    $msgTitle = "<b>Results Re-submitted Successfully</b>";
    $msgBody = " <center>
                The Vice principal or Principal will go through the results and add their comment for each student, you will be also notified if your results is approved or rejected or need adjustment.   
                <br>Kindly wait for their responce..</center>
                ";
    $msgCloseBtn = "Okay, Got it.";
    
    include'includes/checkmark-alert.php';
}

iv.
// Display this error if admin has not updated the school opening time,
// for current session and term and the class teacher input and click on save button
if (isset($_POST['error-save-record'])) {
  
  $msgTitle = "<b>Oops.. Unable to save record</b>";
  $msgBody = " <center>
              There is no record for this term, session of school opening time. 
              <br>You can contact the web admin for updating.</center>
              ";
  $msgCloseBtn = "No, Cancel";
  $msgActionBtn = "Yes, Submit";
  include'includes/error_alert.php';


6(packages inside)
// Below are for the Vice/Principal
// Confirm Approving Result
if (isset($_POST['confirm-approve-btn'])) {
    $msgTitle = "<b>Confirm Approval</b>";
    $msgBody = " <center>
                Are you sure you want to approve the result of 
                <b>$class, $term term $session </b>
                <br>This means each student results have been painstankely cheched, and result will be available for student to check once approved?.</center>
                ";
    $msgCloseBtn = "No, Cancel";
    $msgActionBtn = "Yes, Approve";
    include'includes/confirm-approve.php'; 
}
// Confirm Rejecting Result
if (isset($_POST['confirm-reject-btn'])) {
    $msgTitle = "<b>Confirm Rejection</b>";
    $msgBody = " <center>
                Are you sure you want to approve the result of 
                <b>$class, $term term $session </b> 
                <br>This means each student results have been painstankely cheched, and result will be available for student to check once approved?.</center>
                ";
    $msgCloseBtn = "No, Cancel";
    $msgActionBtn = "Yes, Reject";
    include'includes/confirm-reject.php'; 
}

// When the approve button is clicked show this
if (isset($_POST['approve-btn'])) {
    $msgTitle = "<b>Result is Out!!</b>";
    $msgBody = " <center>
                Result for $class, $term Term, $session IS OUT,
                Student will be able to check their result and print.
                <br>Note:
                <br>Any adjustment can also be made, which means no need to approve this class again.</center>
                ";
    $msgCloseBtn = "Okay, Got it.";
    include'includes/checkmark-alert.php';
}

// When the reject button is pressed show this warning:
if (isset($_POST['reject-btn'])) {
    $msgTitle = "<b>Result is Rejected!!</b>";
    $msgBody = " <center>
                Result for $class, $term Term, $session has been rejected,
                Class teacher involved will see the notification and adjust the result then re-submit.
                Also, the result will not be out for student to check.
                <br>Note:
                <br>Please you can contact the class teacher involved incase they fail to see the notification.</center>
                ";
    $msgCloseBtn = "Okay, Got it.";
    include'includes/error_alert.php';
}
<!-- page:view_results.php -->

8.
<!-- A placeholder comment message for VP,  -->
No Comment yet from V/Principal to the Dan. 


