<?php
session_start();
session_destroy();
echo '<script>
alert("Anda berhasil login sebagai");
window.location = "index.php";
</script>';
?>