2022-08-25 11:23:36 +00:00
|
|
|
<?php
|
2022-06-06 21:30:34 +00:00
|
|
|
|
2022-08-25 11:23:36 +00:00
|
|
|
const GAME = true;
|
|
|
|
require_once('_incl_data/__config.php');
|
|
|
|
require_once('_incl_data/class/__db_connect.php');
|
|
|
|
$u = User::start();
|
|
|
|
$d = new Dungeon;
|
|
|
|
$d->start();
|
|
|
|
|
|
|
|
if ($_POST['code'] == $_SESSION['code'] && $_POST['code'] != '') {
|
|
|
|
echo "<body onload=\"myWindow1();\">";
|
|
|
|
}
|
2022-06-06 21:30:34 +00:00
|
|
|
|
|
|
|
?>
|
2023-03-31 18:30:14 +00:00
|
|
|
<link href="//img.new-combats.tech/css/main.css" rel="stylesheet" type="text/css">
|
2022-08-25 11:23:36 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="css/clu0b.css"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/windows.css"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/hack.css"/>
|
2022-06-06 21:30:34 +00:00
|
|
|
<br>
|
2022-08-25 11:23:36 +00:00
|
|
|
<img style="width:164px;margin-top:5px;"
|
|
|
|
src="show_reg_img/security2.php?register_id=<?= str_replace(' ', '0', microtime()) ?>" width="107" height="26">
|
2022-06-06 21:30:34 +00:00
|
|
|
<br>
|
|
|
|
<form action="bonuss.php" method="post">
|
2023-01-10 16:29:32 +00:00
|
|
|
<input style="width:164px;margin-top:5px;" type="text" size="30" name="code" value="Капча!">
|
2022-08-25 11:23:36 +00:00
|
|
|
<br>
|
2023-01-10 16:29:32 +00:00
|
|
|
<input type="submit" style="width:164px;margin-top:5px;" class="btn btn-success" value="Получить">
|
2022-06-06 21:30:34 +00:00
|
|
|
</form>
|
|
|
|
|
2023-01-10 16:29:32 +00:00
|
|
|
<button style="width:164px;margin-top:10px;" onclick="myWindow2();" class="btn btn-danger">Закрыть</button>
|
2022-06-06 21:30:34 +00:00
|
|
|
<script>
|
2022-08-25 11:23:36 +00:00
|
|
|
function myWindow1() {
|
|
|
|
window.parent.open('main.php?takebns=<?echo $u->info['nextAct'];?>&getb1w=3&inv=1', '_self');
|
|
|
|
}
|
|
|
|
|
|
|
|
function myWindow2() {
|
2023-03-31 18:30:14 +00:00
|
|
|
var raz = window.parent.document.querySelector('iframe[src^="/bonuss.php"]'); // удалить созданный в родителе iframe
|
2022-08-25 11:23:36 +00:00
|
|
|
raz.parentNode.removeChild(raz);
|
|
|
|
}
|
2022-06-06 21:30:34 +00:00
|
|
|
|
|
|
|
</script>
|
|
|
|
<style>
|
2022-08-25 11:23:36 +00:00
|
|
|
html {
|
|
|
|
overflow: hidden;
|
2023-01-10 16:29:32 +00:00
|
|
|
/ / убрать полосы прокрутки внутри iframe, т . к . атрибут scrolling = "no" для iframe в HTML5 не поддерживается
|
2022-08-25 11:23:36 +00:00
|
|
|
}
|
2022-06-06 21:30:34 +00:00
|
|
|
</style>
|