<?php
session_start();
if (isset($_SESSION['uploads_checkpoint']) || $_GET['checkpoint'] == true) {
  $_SESSION['uploads_checkpoint'] = true;
  header("location: .");
}

?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Webpage title</title>
    <meta charset="UTF-8">
<style>
  .indented-text {
    margin-left: 50px; /* Adds 50 pixels of space to the left */
  }
  .centered-text {
    text-align: center; /* Adds 50 pixels of space to the left */
  }
</style>
  </head>
  <body>
    <div class='centered-text'>
      <h1>WARNING</h1>
      <h2>The uploads page is not moderated and may contain sensative images, are sure you want to continue?</h2> 
      <h3><a href="https://pizza2d1.duckdns.org/">Back to Homepage</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://pizza2d1.duckdns.org/project_page/file_uploading/uploads/checkpoint.php?checkpoint=true">Fuck it, we ball</a></h3>
    </div> 
<center><img src="https://media.istockphoto.com/id/1447349632/vector/nervous-emoticon.jpg?s=612x612&w=0&k=20&c=XJJ6--OPPe9T9MgJB0A-eL_AH31ABNM6wGk5WZ5DJ28=" width="100" height="100"></center>
  </body>
</html>   
