<commit_before><?php
define('BASEPATH', 'Install');
define('Install', '');
require_once('../../applications/wrapper.php');
require_once('../../applications/functions.php');
?>
<div class="panel-heading">
    Administrator settings.
</div>
<div class="panel-body">
    <?php
    if (isset($_POST['submit'])) {
        try {

            foreach ($_POST as $parent => $child) {
                $_POST[$parent] = htmlentities($child);
            }

            $username = $_POST['username'];
            $password = <PASSWORD>($_POST['password']);
            $email = $_POST['email'];
            $date = time();

            if (!$username or !$email or !$password) {
                throw new Exception('All fields are required!');
            } else {

                $MYSQL->query("INSERT INTO `{prefix}users` (`id`, `username`, `user_password`, `user_email`, `date_joined`, `user_group`) VALUES (NULL, '$username', '$password', '$email', '$date', '" . ADMIN_ID . "');");
                echo '<div class="alert alert-success">TangoBB has been successfully installed! Please delete the installation folder.</div>';

            }
        } catch (Exception $e) {
            echo '<div class="alert alert-danger">' . $e->getMessage() . '</div>';
        }
    }
    ?>
    <form action="javascript:return false;" onsubmit="javascript:ajaxForm('pages/user.php')" class="ajaxForm"
          method="POST">
        <input type="text" name="username" class="form-control input-lg" placeholder="Username"/>
        <input type="password" name="password" class="form-control input-lg" placeholder="Password"/>
        <input type="text" name="email" class="form-control input-lg" placeholder="Email"/>
        <br/>
        <input type="hidden" name="submit" value=""/>
        <input type="submit" name="submit" class="btn btn-primary btn-lg btn-block" value="Finish"/>
    </form>
</div><commit_msg>Changed the user.php a little bit. Linux installation still there<commit_after><?php
define('BASEPATH', 'Install');
define('Install', '');
require_once('../../applications/wrapper.php');
require_once('../../applications/functions.php');
?>
<div class="panel-heading">
    Administrator settings.
</div>
<div class="panel-body">
    <?php
    if (isset($_POST['submit'])) {
        try {

            foreach ($_POST as $parent => $child) {
                $_POST[$parent] = htmlentities($child);
            }

            $username = $_POST['username'];
            $password = <PASSWORD>($_POST['password']);
            $email = $_POST['email'];
            $date = time();

            if (!$username or !$email or !$password) {
                throw new Exception('All fields are required!');
            } else {
                $MYSQL->bindMore(array(
                    'username' => $username,
                    'user_password' => $password,
                    'user_email' => $email,
                    'date_joined' => $date,
                    'user_group' => ADMIN_ID
                ));

                $MYSQL->query("INSERT INTO `{prefix}users` (`username`, `user_password`, `user_email`, `date_joined`, `user_group`) VALUES (':username', ':user_password', ':user_email', ':date_joined', ':user_group');");
                echo '<div class="alert alert-success">TangoBB has been successfully installed! Please delete the installation folder.</div>';

            }
        } catch (Exception $e) {
            echo '<div class="alert alert-danger">' . $e->getMessage() . '</div>';
        }
    }
    ?>
    <form onsubmit="javascript:ajaxForm('pages/user.php')" action="javascript:return false;" class="ajaxForm"
          method="POST">
        <input type="text" name="username" class="form-control input-lg" placeholder="Username"/>
        <input type="password" name="password" class="form-control input-lg" placeholder="Password"/>
        <input type="text" name="email" class="form-control input-lg" placeholder="Email"/>
        <br/>
        <input type="hidden" name="submit" value=""/>
        <input type="submit" name="submit" class="btn btn-primary btn-lg btn-block" value="Finish"/>
    </form>
</div>
{'fraction_non_alphanumeric': 0.18188405797101448, 'fraction_numerical': 0.0, 'mean_word_length': 2.607142857142857, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 53, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4496465', 'n_tokens_mistral': 1149, 'n_tokens_neox': 1119, 'n_words': 261}