<commit_before><?php
include("config.php")
/* to debug uncomment: ini_set('display_errors', 1); */
?>

<!doctype html>

<html>

<head>
  <title>johnDo - Planner</title>
  <meta charset = "UTF-8">
  <link rel="icon" href="logo.png" type="image/png">
  <meta name="viewport" content="width = device-width, initial-scale = 1.0">
  <link rel="stylesheet" type="text/css" href="style.css">
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
<script src="https://cdn.jsdelivr.net/npm/moment@2.19.1/moment.min.js"></script>
</head>

<body>

<header>
  <a href = "index.php" class = "headerTitle">
    <img class = "logo" src = "logo.png"></img>
    johnDo
   </a>

   <nav>

   <?php
    if (isset($_SESSION["user"])) {
      echo "<div id = 'navBig'><a href = 'settings.php' class = 'navLink'>Settings</a><a href = 'logsign.php?logout=true' class = 'navLink'>Logout</a></div>";
      echo "<div id = 'navSmall'><a title = 'settings' alt = 'settings' href = 'settings.php' class = 'navLink'><img class = 'headIcon' src = 'settings.png'></a><a title = 'logout' alt = 'logout' href = 'logsign.php?logout=true' class = 'navLink'><img class = 'headIcon' src = 'logout.png'></a></div>";

    }
    else {
      echo "<a href = 'login.php' class = 'navLink'>Login</a><a href = 'signup.php' class = 'navLink'>Signup</a>";
    }
    ?>

   </nav>

</header><commit_msg>Changed cdn for momentjs again to allow non-breaking updates<commit_after><?php
include("config.php")
/* to debug uncomment: ini_set('display_errors', 1); */
?>

<!doctype html>

<html>

<head>
  <title>johnDo - Planner</title>
  <meta charset = "UTF-8">
  <link rel="icon" href="logo.png" type="image/png">
  <meta name="viewport" content="width = device-width, initial-scale = 1.0">
  <link rel="stylesheet" type="text/css" href="style.css">
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
  <script src="https://cdn.jsdelivr.net/npm/moment@2/moment.min.js"></script>
</head>

<body>

<header>
  <a href = "index.php" class = "headerTitle">
    <img class = "logo" src = "logo.png"></img>
    johnDo
   </a>

   <nav>

   <?php
    if (isset($_SESSION["user"])) {
      echo "<div id = 'navBig'><a href = 'settings.php' class = 'navLink'>Settings</a><a href = 'logsign.php?logout=true' class = 'navLink'>Logout</a></div>";
      echo "<div id = 'navSmall'><a title = 'settings' alt = 'settings' href = 'settings.php' class = 'navLink'><img class = 'headIcon' src = 'settings.png'></a><a title = 'logout' alt = 'logout' href = 'logsign.php?logout=true' class = 'navLink'><img class = 'headIcon' src = 'logout.png'></a></div>";

    }
    else {
      echo "<a href = 'login.php' class = 'navLink'>Login</a><a href = 'signup.php' class = 'navLink'>Signup</a>";
    }
    ?>

   </nav>

</header>
{'fraction_non_alphanumeric': 0.21822625698324022, 'fraction_numerical': 0.008729050279329608, 'mean_word_length': 4.008741258741258, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, 'https://': 4, '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': '5338906', 'n_tokens_mistral': 1092, 'n_tokens_neox': 1052, 'n_words': 223}