<?php defined('EXT') or exit('Error 404'); session_start(); $con = new CONTROLLER_reg(); if (!empty($_SESSION['id']) and !empty($_SESSION['pass'])) { $res = $con->c_check_sessions($_SESSION['id'], $_SESSION['pass']); if ($res == TRUE) { header("Location:" . URL); } } if (empty($_SESSION['success_mail']) or empty($_SESSION['success_code'])) { header("Location: " . URL); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title><?php echo CONFIG_LANG::RU_REG('success_title'); ?> </title> <link rel="shortcut icon" href="img/favicon/favicon.ico" type="image/x-icon"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="stylesheet" href="/views/css/reg.css"> </head> <body> <div class="top_line"> <ul>
<?php defined('EXT') or exit('Error 404'); session_start(); $con = new CONTROLLER_reg(); if (!empty($_SESSION['id']) and !empty($_SESSION['pass'])) { $res = $con->c_check_sessions($_SESSION['id'], $_SESSION['pass']); if ($res == TRUE) { header("Location:" . URL); } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title><?php echo CONFIG_LANG::RU_REG('title'); ?> </title> <link rel="shortcut icon" href="img/favicon/favicon.ico" type="image/x-icon"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <link rel="stylesheet" href="/views/css/reg.css"> </head> <body> <div class="alert">ERROR</div> <div class="top_line"> <ul> <li><a href="<?php