bootstrap version of site
[Bans.Verniy.xyz-Modern.git] / Logs / log.php
blob729b333d5ceee05dc63163ac8eab64fd82b436f1
1 <html>
2 <head>
3 <base href="/Logs/" target="_blank">
4 <title>Simple 4Chan Ban Log - Raw Logs</title>
5 <link rel="stylesheet" type="text/css" href="../Scripts/IndexStyle.css">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 </head>
8 <body itemscope="" itemtype="http://schema.org/DataCatalog">
9 <meta itemprop="description" content="">
10 <a href="../listings">Back to Listings</a> <a href="../index">Back to Index</a>
11 <?php
12 $files = scandir(__DIR__ . "/");
13 $sorted_files = Array();
14 foreach($files as $file){
15 if(strpos($file, "4Chan") !== false){
16 $sorted_files[
17 substr(
18 $file,
19 strrpos($file, "-") + 1,
20 strrpos($file, ".") - strrpos($file, "-") - 1)
21 ] = $file;
24 echo "<h1 itemprop='name'>Raw Logs</h1>";
26 echo "<div id='json_container'><h2>JSON Logs</h2>
27 <p>The following logs are displayed in reverse chronological. Log 0 is therefore the oldest on record and at the bottom is the newest</p>
28 <ol>";
29 for ($i = 0 ; $i < sizeof($sorted_files); $i++){
30 echo "<li><strong><a href ='4Chan_Bans_Log-Reverse_Chrono-" . "$i" . ".json'>" . $sorted_files[$i] . "</a></strong></li>";
32 echo "</ol></div>";
34 <div itemprop="about" class='p-4'>
35 <p>
36 <span itemprop="accountablePerson">Verniy 2017-2018</span><br/>
37 <meta itemprop="author" content="ECHibiki">
38 Inquiries to be sent to the gmail account of ECVerniy
39 </p>
40 </div>
41 </body>
42 </html>