<commit_before><?php
require_once 'functions.php';
$section = 7;
$page = 2;
$today = date("Y-m-d");
$list = $db->query("SELECT * FROM datavisualizations WHERE 
date <= '$today'
ORDER BY date DESC");
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <?php echo $header ?>
    <title>Data Visualization Examples | <?php echo SITENAME ?></title>
    <style type="text/css">
    .datavizlist {
      list-style:none;
      margin:0;
      padding:0;
    }
    .datavizlist li {
      display:inline-block;
      width:270px;
      vertical-align:top;
    }
    </style>

  </head>

  <body>

<?php require_once 'include.header.php'; ?>

    <h1>Data Visualization Examples</h1>

    <div class="alert alert-info">
    On this page we are listing interesting data visualization examples. We aim 
    to publish a new example every day, and we welcome your contributions! 
    Mail us at <EMAIL> with your contributions!
    </div>

  <ul class="datavizlist">
  <?php foreach ($list as $row) { ?>
    <li>

    <div class="panel panel-default">
      <div class="panel-heading"><?php echo $row['title'] ?></div>
      <div class="panel-body">
        <a href="datavisualizations/<?php echo $row['id'] ?>-<?php echo flatten($row['title']) ?>">
          <img src="media/dataviz/<?php echo $row['id'] ?>.thumb.jpg" alt="" />
        </a>
        <br />
        <?php echo format_date("M d, Y", $row['date']) ?>
      </div>
    </div>

     </li>
  <?php } ?>
  </ul>

  <p><a href="datavisualization" class="btn btn-primary">Back to the Data Visualization portal</a></p>


<?php require_once 'include.footer.php'; ?>

  </body>
</html><commit_msg>Clip the images 8<commit_after><?php
require_once 'functions.php';
$section = 7;
$page = 2;
$today = date("Y-m-d");
$list = $db->query("SELECT * FROM datavisualizations WHERE 
date <= '$today'
ORDER BY date DESC");
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <?php echo $header ?>
    <title>Data Visualization Examples | <?php echo SITENAME ?></title>
    <style type="text/css">
    .datavizlist {
      list-style:none;
      margin:0;
      padding:0;
    }
    .datavizlist li {
      display:inline-block;
      width:270px;
      vertical-align:top;
    }
    .datavizlist li a {
      max-height:180px;
      overflow:hidden;
      display:block;
      border:1px solid #ccc;
      padding:2px;
    }
    </style>

  </head>

  <body>

<?php require_once 'include.header.php'; ?>

    <h1>Data Visualization Examples</h1>

    <div class="alert alert-info">
    On this page we are listing interesting data visualization examples. We aim 
    to publish a new example every day, and we welcome your contributions! 
    Mail us at <EMAIL> with your contributions!
    </div>

  <ul class="datavizlist">
  <?php foreach ($list as $row) { ?>
    <li>

    <div class="panel panel-default">
      <div class="panel-heading"><?php echo $row['title'] ?></div>
      <div class="panel-body">
        <span>
          <a href="datavisualizations/<?php echo $row['id'] ?>-<?php echo flatten($row['title']) ?>">
            <img src="media/dataviz/<?php echo $row['id'] ?>.thumb.jpg" alt="" />
          </a>
        </span>
        <br />
        <?php echo format_date("M d, Y", $row['date']) ?>
      </div>
    </div>

     </li>
  <?php } ?>
  </ul>

  <p><a href="datavisualization" class="btn btn-primary">Back to the Data Visualization portal</a></p>


<?php require_once 'include.footer.php'; ?>

  </body>
</html>
{'fraction_non_alphanumeric': 0.17662337662337663, 'fraction_numerical': 0.006926406926406926, 'mean_word_length': 2.8046103183315036, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '768242', 'n_tokens_mistral': 1200, 'n_tokens_neox': 1157, 'n_words': 310}