<?php 
    if ($alert != "A0" && $alert != "A0-D" && $alert != "ND-D") {
        ?>
        <p class="tab"><b>Details:</b> <?php 
        echo dependentInfoProcessor($siteAlertPublic[0]["internal_alert_level"], $siteAlertPublic[0]["supp_info"], $siteAlertPublicExtra["comments"], 0);
        ?>
</p>
      <?php 
    }
    ?>
  <?php 
}
?>

  <?php 
$comment = dependentInfoProcessor($siteAlertPublic[0]["internal_alert_level"], $siteAlertPublic[0]["supp_info"], $siteAlertPublicExtra["comments"], 1);
?>
  <?php 
if ($comment != null) {
    ?>
      <p class="tab"><b>Comment(s):</b> <?php 
    echo $comment;
    ?>
</p>
  <?php 
}
?>

      <p><b>Response to LLMC and LGU:</b> <?php 
echo $siteAlertPublic[0]["response_llmc_lgu"];
?>
    ?>
'><?php 
    echo $publicAlert["barangay"];
    ?>
</a></td>
                <td><?php 
    echo $publicAlert["timestamp"];
    ?>
</td>
                <td><?php 
    echo $publicAlert["public_alert"];
    ?>
</td>
                <td><?php 
    if ($publicAlert["internal_alert"] == "A0-D" || "ND-D") {
        echo dependentInfoProcessor($publicAlert["internal_alert"], $publicAlert["public_alert_desc"], getComments($publicAlert["alert_id"]));
    } else {
        echo $publicAlert["public_alert_desc"];
    }
    ?>
</td>
              </tr>
              <?php 
}
?>
            </tbody>
          </table>
        </div>
      </div><Br>
    </div>