$text

"; break; case "warning": $NTFY_NoticesQueue[] = "

$text

"; break; case "success": $NTFY_NoticesQueue[] = "

$text

"; break; default: die("invalid notification type: $type"); } } // Echo all notifications function NTFY_EchoAllNotices () { global $NTFY_NoticesQueue; foreach ($NTFY_NoticesQueue as $notice) { echo "$notice\n"; } } ?>