alert('Invalid credentials'); window.location.href='admin.html';"; exit(); } } else { header("Location: admin.html"); exit(); } ?>