2023-01-06 14:57:25 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Core\Config;
|
|
|
|
use User\Confirmation;
|
|
|
|
|
|
|
|
require_once __DIR__ . DIRECTORY_SEPARATOR . '_incl_data/autoload.php';
|
|
|
|
|
|
|
|
Config::init();
|
|
|
|
|
|
|
|
if (!empty($_GET['id']) && !empty($_GET['code'])) {
|
|
|
|
$status = Confirmation::byCode((int)$_GET['id'], (int)$_GET['code']);
|
|
|
|
}
|
2023-01-06 16:22:13 +00:00
|
|
|
|
|
|
|
header('refresh:5;url=' . Config::get('https'));
|
2022-06-06 21:30:34 +00:00
|
|
|
?>
|
|
|
|
|
2023-01-06 14:57:25 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="ru">
|
|
|
|
<head>
|
2023-01-10 17:26:14 +00:00
|
|
|
|
2023-01-10 16:29:32 +00:00
|
|
|
<TITLE><?= Config::get('https') ?> Подтверждение операции через e-mail.</TITLE>
|
2023-01-06 14:57:25 +00:00
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-top: 20px;
|
|
|
|
background-color: #e2e0e0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-top: 50px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<?= $status ?? '' ?>
|
|
|
|
</body>
|
|
|
|
</html>
|