<commit_before><?php
include 'to_do.php';
//logout button function!!
$logout = filter_input(INPUT_POST, 'logout');
if (session_status() == PHP_SESSION_ACTIVE) {
   if (isset($logout)) {
     session_destroy();
     header ("location: login.php?logout=1");
   }
 }
?>
<html>
  <head>
    <meta charset="utf-8">
    <title>TO-DO</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://formden.com/static/cdn/bootstrap-iso.css" />
    <link rel="stylesheet" href="https://formden.com/static/cdn/font-awesome/4.4.0/css/font-awesome.min.css" />
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
   <div class="container-fluid">
     <div class="col-md-3 col-md-offset-7">
       <form action="index.php" method="post">
         <?php echo "<span style=\"font-size:16px;color:#d3d3d3;\">Welcome back," . "   " . $_SESSION['login_user'] . "&nbsp&nbsp&nbsp" . "</span>"; ?>
         <input type="submit" value="Logout" name="logout" class="btn btn-danger"/>
       </form>
     </div>
   <div class="col-sm-6 col-md-4 col-md-offset-4">
     <h3 style="color:#fff;">Type your TO-DO's</h3>
     <br><br><br>
   </div>
   <br><br>
    <div class="form-group col-lg-8 col-lg-offset-2">
           <div class="col-md-3 col-sm-6 col-xs-12 col-md-offset-9">
            <form class="form-horizontal" action="index.php" method="post">
             <div class="form-group ">
              <div class="col-sm-10">
               <div class="input-group">
                <div class="input-group-addon">
                 <i class="fa fa-calendar">
                 </i>
                </div>
                <input class="form-control" id="mydate" name="mydate" type="text"/>
               </div>
              </div>
             </div>
           </div>
        <br><br>
        <div class="col-md-4 col-sm-6 col-xs-5">
        <span style="color:#FFF;font-size:12px;">Background Color</span>
        <select name="color">
            <option value="white">White</option>
            <option value="black">Black</option>
            <option value="red">Red</option>
            <option value="green">Green</option>
            <option value="blue">Blue</option>
            <option value="purple">Purple</option>
            <option value="orange">Orange</option>
        </select>
        &nbsp&nbsp&nbsp
        <span style="color:#FFF;font-size:12px;">Font Color</span>
        <select name="colortext">
            <option value="blacktext">Black</option>
            <option value="whitetext">White</option>
            <option value="redtext">Red</option>
            <option value="greentext">Green</option>
            <option value="bluetext">Blue</option>
            <option value="purpletext">Purple</option>
            <option value="orangetext">Orange</option>
        </select>
      </div>
      <br><br>
     <textarea type="text" name="todotext" rows="8" class="form-control" placeholder="Type your list"></textarea><br><br>
     <input type="submit" value="Submit" class="btn btn-success" /><br><br><br><br>
    </form><commit_msg>Color buttons<commit_after><?php
include 'to_do.php';
//logout button function!!
$logout = filter_input(INPUT_POST, 'logout');
if (session_status() == PHP_SESSION_ACTIVE) {
   if (isset($logout)) {
     session_destroy();
     header ("location: login.php?logout=1");
   }
 }
?>
<html>
  <head>
    <meta charset="utf-8">
    <title>TO-DO</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://formden.com/static/cdn/bootstrap-iso.css" />
    <link rel="stylesheet" href="https://formden.com/static/cdn/font-awesome/4.4.0/css/font-awesome.min.css" />
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
   <div class="container-fluid">
     <div class="col-md-3 col-md-offset-7">
       <form action="index.php" method="post">
         <?php echo "<span style=\"font-size:16px;color:#d3d3d3;\">Welcome back," . "   " . $_SESSION['login_user'] . "&nbsp&nbsp&nbsp" . "</span>"; ?>
         <input type="submit" value="Logout" name="logout" class="btn btn-danger"/>
       </form>
     </div>
   <div class="col-sm-6 col-md-4 col-md-offset-4">
     <h3 style="color:#fff;">Type your TO-DO's</h3>
     <br><br><br>
   </div>
   <br><br>
    <div class="form-group col-lg-8 col-lg-offset-2">
           <div class="col-md-3 col-sm-6 col-xs-12 col-md-offset-9">
            <form class="form-horizontal" action="index.php" method="post">
             <div class="form-group ">
              <div class="col-sm-10">
               <div class="input-group">
                <div class="input-group-addon">
                 <i class="fa fa-calendar">
                 </i>
                </div>
                <input class="form-control" id="mydate" name="mydate" type="text"/>
               </div>
              </div>
             </div>
           </div>
        <br><br>
        <div class="col-md-4 col-sm-6 col-xs-5">
        <select name="color">
            <option value="white">Background Color</option>
            <option value="white">White</option>
            <option value="black">Black</option>
            <option value="red">Red</option>
            <option value="green">Green</option>
            <option value="blue">Blue</option>
            <option value="purple">Purple</option>
            <option value="orange">Orange</option>
        </select>
        &nbsp&nbsp&nbsp
        <select name="colortext">
            <option value="blacktext">Text Color</option>
            <option value="blacktext">Black</option>
            <option value="whitetext">White</option>
            <option value="redtext">Red</option>
            <option value="greentext">Green</option>
            <option value="bluetext">Blue</option>
            <option value="purpletext">Purple</option>
            <option value="orangetext">Orange</option>
        </select>
      </div>
      <br><br>
     <textarea type="text" name="todotext" rows="8" class="form-control" placeholder="Type your list"></textarea><br><br>
     <input type="submit" value="Submit" class="btn btn-success" /><br><br><br><br>
    </form>
{'fraction_non_alphanumeric': 0.19287749287749287, 'fraction_numerical': 0.01282051282051282, 'mean_word_length': 2.5784913353720693, 'pattern_counts': {'":': 0, '<': 209, '<?xml version=': 0, '>': 209, 'https://': 12, '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': '3659406', 'n_tokens_mistral': 2340, 'n_tokens_neox': 2273, 'n_words': 362}