<!DOCTYPE html>
<html lang="th">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>toastr alert | boychawin.com</title>
<!-- Toastr -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.0.1/css/toastr.css" rel="stylesheet" />
</head>
<body background="https://boychawin.com/B_images/logoboychawins.com.png">
<script src=" https://code.jquery.com/jquery-3.5.1.js"></script>
<!-- Toastr -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.0.1/js/toastr.js"></script>
<script>
toastr.options = {
"closeButton": false,
"debug": false,
"newestOnTop": false,
"progressBar": false,
"positionClass": "toast-top-right",
"preventDuplicates": false,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "500000",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
}
</script>
<?php
if (isset($_GET['msg'])) {
echo "<script type='text/javascript'>toastr.success('" . $_GET['msg'] . "', { timeOut: 100000 })</script>";
echo "<script type='text/javascript'>toastr.error('" . $_GET['msg'] . "')</script>";
echo "<script type='text/javascript'>toastr.info('" . $_GET['msg'] . "')</script>";
echo "<script type='text/javascript'>toastr.warning('" . $_GET['msg'] . "')</script>";
}
?>
</body>
</html>