<commit_before><script>
    // @deprecated
    var loggedInUser = "deprecated: Use 'OpenSprites.user.name'";
    var loggedInUserId = "deprecated: Use 'OpenSprites.user.id'";

    // let's try to merge to using proper JS technique. Remember, we want this code to be maintainable.
    var OpenSprites = OpenSprites || {};
    OpenSprites.user = <?php echo json_encode(array("name"=>$logged_in_user, "id"=>$logged_in_userid, "group"=>$user_group, "banned"=>$user_banned)); ?>;
</script>
<div class="header">
    <div class="container">
        <a class="scratch" href="/"></a>

        <ul class="left">
            <li>
                <a href="/sprites">Sprites</a>
            </li>
            <li>
                <a href="/scripts">Scripts</a>
            </li>
            <li>
                <a href="/media">Media</a>
            </li>
            <li class="last">
                <a href="http://opensprites.gwiddle.co.uk/forums/">Forums</a>
            </li>
        </ul>

        <ul class="right">
            <?php if( $logged_in_user !=='not logged in' ) { ?>
            <li class='navbar-upload'>
                <a href="/upload/"><img class='upload-icon' src='/assets/images/upload.png' /> Upload</a>
            </li>
            <?php } if($logged_in_user == 'not logged in') { ?>
            <li><a href="/register/">Sign Up</a>
            </li>
            <li class="last" id='login' onclick="window.location = '/login/';"><span>Log In</span>
            </li>
            <?php } else { ?>
            <!-- display login info/username/etc -->
            <li>
                <a style="padding: 0; padding-left: 10px; padding-right: 10px;" href="/users/<?php echo $logged_in_userid . '/'; ?>">
                    <?php echo $logged_in_user; ?>
                </a>
            </li>
            <li class="last" onclick="window.location = 'http://dev.opensprites.gwiddle.co.uk/logout.php?return=/';"><span>Log Out</span>
            </li>
            <?php } ?>
        </ul>
    </div>
</div>
<commit_msg>Added blog to navigation bar<commit_after><script>
    // @deprecated
    var loggedInUser = "deprecated: Use 'OpenSprites.user.name'";
    var loggedInUserId = "deprecated: Use 'OpenSprites.user.id'";

    // let's try to merge to using proper JS technique. Remember, we want this code to be maintainable.
    var OpenSprites = OpenSprites || {};
    OpenSprites.user = <?php echo json_encode(array("name"=>$logged_in_user, "id"=>$logged_in_userid, "group"=>$user_group, "banned"=>$user_banned)); ?>;
</script>
<div class="header">
    <div class="container">
        <a class="scratch" href="/"></a>

        <ul class="left">
            <li>
                <a href="/sprites">Sprites</a>
            </li>
            <li>
                <a href="/scripts">Scripts</a>
            </li>
            <li>
                <a href="/media">Media</a>
            </li>
            <li>
                <a href="http://blog.opensprites.gwiddle.co.uk">Blog</a>
            </li>
            <li class="last">
                <a href="http://opensprites.gwiddle.co.uk/forums/">Forums</a>
            </li>
        </ul>

        <ul class="right">
            <?php if( $logged_in_user !=='not logged in' ) { ?>
            <li class='navbar-upload'>
                <a href="/upload/"><img class='upload-icon' src='/assets/images/upload.png' /> Upload</a>
            </li>
            <?php } if($logged_in_user == 'not logged in') { ?>
            <li><a href="/register/">Sign Up</a>
            </li>
            <li class="last" id='login' onclick="window.location = '/login/';"><span>Log In</span>
            </li>
            <?php } else { ?>
            <!-- display login info/username/etc -->
            <li>
                <a style="padding: 0; padding-left: 10px; padding-right: 10px;" href="/users/<?php echo $logged_in_userid . '/'; ?>">
                    <?php echo $logged_in_user; ?>
                </a>
            </li>
            <li class="last" onclick="window.location = 'http://dev.opensprites.gwiddle.co.uk/logout.php?return=/';"><span>Log Out</span>
            </li>
            <?php } ?>
        </ul>
    </div>
</div>

{'fraction_non_alphanumeric': 0.18659031257456454, 'fraction_numerical': 0.0023860653781913625, 'mean_word_length': 1.7816854678168548, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 129, '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': '296488', 'n_tokens_mistral': 1361, 'n_tokens_neox': 1312, 'n_words': 268}