<html>
<head>
<meta charset = 'utf-8'>
<title>
Ня
</title>
</head>
<body>
<script>
var name = prompt('Введите ваше имя', '');
if (name == 'Админ'){
var pass = prompt('Введите пароль', '');
if (pass == 'ня') {
alert('Welcome');
}
else if (pass == null) {
alert('Вход отменен');
} else {
alert('Password isnt correct');
}
} else if (name == null) {
alert('Вход отменен');
} else {
alert('Я вас не знаю');
}
</script>
</body>
</html>
PGh0bWw+Cgk8aGVhZD4KCQk8bWV0YSBjaGFyc2V0ID0gJ3V0Zi04Jz4KCQk8dGl0bGU+CgkJ0J3RjwoJCTwvdGl0bGU+Cgk8L2hlYWQ+Cgk8Ym9keT4KCQk8c2NyaXB0PgoJCXZhciBuYW1lID0gcHJvbXB0KCfQktCy0LXQtNC40YLQtSDQstCw0YjQtSDQuNC80Y8nLCAnJyk7CgkJaWYgKG5hbWUgPT0gJ9CQ0LTQvNC40L0nKXsKCQkJdmFyIHBhc3MgPSBwcm9tcHQoJ9CS0LLQtdC00LjRgtC1INC/0LDRgNC+0LvRjCcsICcnKTsKCQkJaWYgKHBhc3MgPT0gJ9C90Y8nKSB7CgkJCQlhbGVydCgnV2VsY29tZScpOwoJCQl9CgkJCWVsc2UgaWYgKHBhc3MgPT0gbnVsbCkgewoJCQkJYWxlcnQoJ9CS0YXQvtC0INC+0YLQvNC10L3QtdC9Jyk7CgkJCX0gZWxzZSB7CgkJCQlhbGVydCgnUGFzc3dvcmQgaXNudCBjb3JyZWN0Jyk7CgkJCX0KCQl9IGVsc2UgaWYgKG5hbWUgPT0gbnVsbCkgewoJCQlhbGVydCgn0JLRhdC+0LQg0L7RgtC80LXQvdC10L0nKTsKCQl9IGVsc2UgewoJCQlhbGVydCgn0K8g0LLQsNGBINC90LUg0LfQvdCw0Y4nKTsKCQl9CgkJPC9zY3JpcHQ+Cgk8L2JvZHk+CQo8L2h0bWw+