<title>GamingZeta - <?php echo ucwords(str_ireplace(array('-', '.php'), array(' ', ''), basename($_SERVER['PHP_SELF']))); ?> </title> </head> <body> <?php if (!isset($_SESSION['usr'])) { ?> <div id='header'> </div> <?php include 'menu.php'; include 'core/functions/global_functions.php'; if (isset($_GET["regerror"])) { get_reg_errors($_GET['regerror']); } ?> </div> <div id='content'> <div id='content-wrapper'> <div class='arm-title'>REGISTER NEW ACCOUNT</div> <div id='user-box'> <div class='reg-alts-part'> <h1 class='user-box-title'>New-Account Informations</h1> <span class='box-divider'></span> <form action="core/do_register.php" method="post" enctype="multipart/form-data"> <input class='reg-input' type='text' value='' name='Username' autocomplete='off' placeholder='Username**' required> <input class='reg-input' type='password' value='' name='Password' autocomplete='off' placeholder='Password**' required> <input class='reg-input' type='password' value='' name='RepeatPassword' autocomplete='off' placeholder='Repeat Password**' required> <input class='reg-input' type='email' value='' name='Email' autocomplete='off' placeholder='Email**' required>
<?php define('DarkCoreCMS', TRUE); include 'header.php'; if (!isset($_SESSION['usr'])) { if (isset($_GET["regerror"])) { get_reg_errors($_GET['errtype']); } $first = rand(1, 10); $second = rand(1, 10); $third = rand(1, 10); $sum_s = $first + $second + $third; if (isset($_POST['regsubmit'])) { register_user($_POST['Username'], $_POST['Password'], $_POST['RepeatPassword'], $_POST['Email'], $_POST['RepeatEmail'], $_POST['Country'], $_POST['Age'], $_POST['foundus'], $_POST['robot1'], $_POST['robot1-root'], $_POST['robot2'], $_POST['robot2-root']); } if (isset($_GET['success'])) { ?> <div id="success">You have succesfully created a new account click <a href="index">HERE</a> and log in</div> <?php } ?> <div id='content'> <div id='content-wrapper'> <div id='user-box'> <div class='reg-alts-part'> <h3 class='user-box-title'>Register new account</h3> <span class='box-divider'></span> <form action="" method="post" enctype="multipart/form-data"> <input class='reg-input' type='text' value='' name='Username' autocomplete='off' placeholder='Username**' required> <input class='reg-input' type='password' value='' name='Password' autocomplete='off' placeholder='Password**' required> <input class='reg-input' type='password' value='' name='RepeatPassword' autocomplete='off' placeholder='Repeat Password**' required>