<commit_before><?php spl_autoload_register(function ($classname) { require ( $classname . ".php");});?>
            <div class="content">
                <div class="container">
                    <div class="row">
                        <div class="col-md-4 col-sm-6 col-md-offset-3 col-sm-offset-4">
                            <?php 
                                if (isset($_POST['submitlogin']))
                                {
                                    $post_array = array(
                                    	'Username' => $_POST['username'],
                                    	'Password' => $_POST['password'],
                                        'Rememberme' => (!empty($_POST['remember'])?$_POST['remember']:'')
                                    );
                                    Core::login(Core::$api.'/user/login',$post_array);
                                }
                            ?>
                            <form method="post" action="<?php $_SERVER['PHP_SELF']?>">
                                <div class="card" data-background="color" data-color="blue">
                                    <div class="header">
                                        <h3 class="title">Form Login</h3>
                                        <hr>
                                    </div>
                                    <div class="content">
                                        <div class="form-group">
                                            <label>Username</label>
                                            <input name="username" type="username" placeholder="Your Username" class="form-control border-input" required>
                                        </div>
                                        <div class="form-group">
                                            <label>Password</label>
                                            <input name="password" type="password" placeholder="<PASSWORD>" class="form-control border-input" required>
                                        </div>
                                        <label class="checkbox" for="checkbox1">
	                                	<input name="remember" type="checkbox" id="checkbox1" data-toggle="checkbox">
	                                	Remember Me
	                            	</label>
                                        <hr>
                                        <div class="form-group text-center">
                                            <button name="submitlogin" type="submit" class="btn btn-fill btn-wd ">Login</button>
                                            <br><br><label><a href="modul-forgot-password.php">Forgot password?</a></label>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div><commit_msg>Refactor code<commit_after><?php spl_autoload_register(function ($classname) { require ( $classname . ".php");});?>
            <div class="content">
                <div class="container">
                    <div class="row">
                        <div class="col-md-4 col-sm-6 col-md-offset-3 col-sm-offset-4">
                            <?php 
                                if (isset($_POST['submitlogin']))
                                {
                                    $post_array = array(
                                    	'Username' => $_POST['username'],
                                    	'Password' => $_POST['password'],
                                        'Rememberme' => (!empty($_POST['remember'])?$_POST['remember']:'')
                                    );
                                    Core::login(Core::$api.'/user/login',$post_array);
                                }
                            ?>
                            <form method="post" action="<?php $_SERVER['PHP_SELF']?>">
                                <div class="card" data-background="color" data-color="blue">
                                    <div class="header">
                                        <h3 class="title">Form Login</h3>
                                        <hr>
                                    </div>
                                    <div class="content">
                                        <div class="form-group">
                                            <label>Username</label>
                                            <input name="username" type="username" placeholder="Your Username" class="form-control border-input" required>
                                        </div>
                                        <div class="form-group">
                                            <label>Password</label>
                                            <input name="password" type="password" placeholder="<PASSWORD>" class="form-control border-input" required>
                                        </div>
                                        <label class="checkbox" for="checkbox1">
	                                	    <input name="remember" type="checkbox" id="checkbox1" data-toggle="checkbox">Remember Me
	                                	</label>
                                        <hr>
                                        <div class="form-group text-center">
                                            <button name="submitlogin" type="submit" class="btn btn-fill btn-wd ">Login</button>
                                            <br><br><label><a href="modul-forgot-password.php">Forgot password?</a></label>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
{'fraction_non_alphanumeric': 0.11493866577045875, 'fraction_numerical': 0.0026886237607124854, 'mean_word_length': 0.7573073516386183, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 79, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '744285', 'n_tokens_mistral': 1154, 'n_tokens_neox': 1100, 'n_words': 203}