<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Stats</title>
    <link href="../style.css" rel="stylesheet" type="text/css" media="all">
    <style type="text/css">
      #statstable { 
        width: 100%;
        border-collapse: collapse;
      }
      #statstable td {
        width: 50%;
        padding: 0.3rem;
      }
      #statstable tr:nth-child(2n+1) {
        background-color: #ffffff11;
      }
    </style>
    <?php include($_SERVER['DOCUMENT_ROOT'] . '/seasonal.php'); ?>
  </head>
  <body>
      <?php include($_SERVER['DOCUMENT_ROOT'] . '/nav.php'); ?>
      <h1>stat tracker</h1>
      <h2 id="caption">100% RealTrue&#8482; statistics</h2>
      <table id="statstable">
        <tbody><tr>
          <td>Height</td>
          <td>194cm</td>
        </tr>
        <tr>
          <td>Storage space</td>
          <td>4.9TiB</td>
        </tr>
        <tr>
          <td>Packages</td>
          <td><?php echo file_get_contents("packages.txt"); ?></td>
        </tr>
        <tr>
          <td>Desktop environment</td>
          <td>KDE Plasma</td>
        </tr>
        <tr>
          <td>CDs owned</td>
          <td>14</td>
        </tr>
        <tr>
          <td>Consoles modded</td>
          <td>1</td>
        </tr>
        <tr>
          <td>Computers upgraded</td>
          <td>2</td>
        </tr>
        <tr>
          <td>Computers downgraded</td>
          <td>1</td>
        </tr>
        <tr>
          <td>Websites</td>
          <td>2</td>
        </tr>
        <tr>
          <td>Talent</td>
          <td style="font-family: mono; color: red;">[Integer overflow error]</td>
        </tr>
        <tr>
          <td>Bitches</td>
          <td>0</td>
        </tr>
        <tr>
          <td>Species</td>
          <td><i>Bathynomus Giganteus</i></td>
        </tr>
        <tr>
          <td>Pronouns</td>
          <td>any</td>
        </tr>
        <tr>
          <td>Gender</td>
          <td><?php 
            $boogeraids = array(
              'Unclear',
              '404 Not Found',
              '502 Bad Gateway',
              'I dropped it behind the sofa, sorry',
              'invalid null pointer',
              'what does that mean',
              'You fuckin\' figure it out',
              'Not my problem lol',
              '[]',
              'I lost it in the accident',
              'Listed <a href="https://genders.wtf">here</a>',
              'AMD Ryzen 7 5700G, 32GB DDR4-3600 RAM, AMD Radeon RX 6600XT GPU, 500GB NVMe SSD, 1TB SATA SSD, 4TB HDD',
              'I forgor 💀',
              '<i>Bathynomus Giganteus</i>'
            );
            echo $boogeraids[array_rand($boogeraids)];
          ?></td>
        </tr>
        <tr>
          <td>3.5mm headphone jack</td>
          <td>yes</td>
        </tr>
        <tr>
          <td>Audio channels</td>
          <td>mono</td>
        </tr>
        <tr>
          <td>Font family</td>
          <td style="font-family: mono, monospace;">mono</td>
        </tr>
        <tr>
          <td>Sodium glutamate</td>
          <td>7.1 surround</td>
        </tr>
        <tr>
          <td>Drop rates</td>
          <td nowrap="">1-3 bags of Doritos - 80%<br/>Wired earbuds - 10%<br/>Random Linux install media - 1%</td>
        </tr>
        <tr>
          <td>Efficiency rating</td>
          <td>80+ Gold</td>
        </tr>
        <tr>
          <td>Home address</td>
          <td>12h 28m 24.97s, +31° 28′ 37.7″</td>
        </tr>
        <tr>
          <td>Time playing Space Engineers</td>
          <td>587 hours</td>
        </tr>
        <tr>
          <td title="Since this bit was added, anyway">Page views</td>
          <td>
            <?php
              $num = (int) filter_var(file_get_contents("views.txt"), FILTER_SANITIZE_NUMBER_INT);
              $num++;
              file_put_contents("views.txt", $num);
              echo $num;
            ?>
          </td>
        </tr>
        <tr>
          <?php
            $booger = array(
              "arch",
              "bogos",
              "Hotel",
              "blood"
            );
            $aids = array(
              "btw",
              "binted",
              "Trivago",
              "inside (we think)"
            );
            $poopaids_copy = array_rand($booger);
            $boogeraids = $booger[$poopaids_copy];
            $aidsbooger = $aids[$poopaids_copy];
            echo "<td>$boogeraids</td><td>$aidsbooger</td>";
          ?>
        </tr>
        <tr>
          <td>Number I'm thinking of</td>
          <td><?php echo rand(0, 69420); ?></td>
        </tr>
    </tbody></table>
    <div id="leftsidebg" style="background-image: url(bg.png); --distancefromcenter: -10%;" title="Pictured: A graph. I don't know what it's measuring. I hope the top line's the housing market."></div>
    <?php include($_SERVER['DOCUMENT_ROOT'] . '/chromealert.php'); ?>
  </body>
</html>
