if ($roleNum < 9) { echo "<script > parent.location.href='admin_login.php' </script>"; die(); } onclick="parent.location.href='index.php' "