summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/code/index.html24
-rwxr-xr-xlibs/pictures/.header.html23
-rwxr-xr-xlibs/pictures/.htaccess4
-rw-r--r--libs/pictures/osunix-logo_sq_thicken.pngbin692232 -> 0 bytes
-rwxr-xr-xlibs/pictures/pliba.php63
-rwxr-xr-xlibs/pictures/plibb.php63
6 files changed, 0 insertions, 177 deletions
diff --git a/libs/code/index.html b/libs/code/index.html
deleted file mode 100755
index a023fd1..0000000
--- a/libs/code/index.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<html>
-<head>
-<title>Litter Rubbish Garbage Trash</title>
-<link rel=stylesheet href='../../common.css' type='text/css'>
-<style type="text/css">
-body
-{
- background: #acf;
- margin: 33px
-}
-pre, address
-{
- font-family: Courier, monospace;
-}
-</style>
-</head>
-<body>
-<font size="6"><div class="TText"><a href="../../">Chrisoft</a>::Code Library</div></font>
-<p class="TText">Why are you here?<br/>
-<a href="https://github.com/chirs241097">My github</a><br>
-<a href="http://chrisoft.org/codeforces-rating-cmp/">CodeForces Rating Comparator</a>
-</p>
-</body>
-</html>
diff --git a/libs/pictures/.header.html b/libs/pictures/.header.html
deleted file mode 100755
index 5d19c06..0000000
--- a/libs/pictures/.header.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<html>
-<head>
-<title>Litter Rubbish Garbage Trash</title>
-<link rel=stylesheet href='../../common.css' type='text/css'>
-<style type="text/css">
-body
-{
- background: #acf;
- margin: 33px
-}
-pre, address
-{
- font-family: 'FreeMono', 'Courier New', Courier, monospace;
-}
-</style>
-</head>
-<body>
-<font size="6"><div class="TText"><a href="../../">Chrisoft</a>::Picture Library</div></font>
-<p class="TText">All pictures here are fetched from the Internet and most of them are Touhou-related...<br />
-Not all of these pictures are checked for "safety"! Protect your eyes yourself!</p>
-<!--<p class="TText">Try the new picture browser by clicking the following links:<br>
-<a href="pliba.php">a</a> <a href="plibb.php">b</a>
-</p>-->
diff --git a/libs/pictures/.htaccess b/libs/pictures/.htaccess
deleted file mode 100755
index 410ec07..0000000
--- a/libs/pictures/.htaccess
+++ /dev/null
@@ -1,4 +0,0 @@
-IndexOptions FancyIndexing SuppressHTMLPreamble
-HeaderName .header.html
-IndexIgnore .. *.php
-
diff --git a/libs/pictures/osunix-logo_sq_thicken.png b/libs/pictures/osunix-logo_sq_thicken.png
deleted file mode 100644
index 510bba2..0000000
--- a/libs/pictures/osunix-logo_sq_thicken.png
+++ /dev/null
Binary files differ
diff --git a/libs/pictures/pliba.php b/libs/pictures/pliba.php
deleted file mode 100755
index a0a4834..0000000
--- a/libs/pictures/pliba.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta http-equiv="expires" content="Friday 24 October 1997 09:30 GMT">
- <title>Picture browser</title>
- <link rel=stylesheet href='../../common.css' type='text/css'>
- <script type="text/javascript">
- function changeImage(img){
- document.getElementById('aqt').src=img;
- }
- </script>
- <style>
- .inlinediv
- {
- display:inline-block;
- word-wrap:break-word;
- max-height:24em;
- max-width:24em;
- margin:1em;
- border:1px solid black;
- text-align:center;
- }
- .limimg{max-height:20em;max-width:20em;}
- </style>
-</head>
-<body style="background-color:#acf;">
- <div class="TText" style="font-size:2em"><a href="../../../">Chrisoft</a>::Picture Library</div>
- <div>
- <?php
- $startpage=0;
- if(!empty($_GET['p']))
- $startpage=intval($_GET['p']);
- $files=scandir("/var/www/html/libs/pictures/a/");
- for($i=$startpage*20,$c=count($files);$i<$c&&$i-$startpage*20<20;$i++)
- {
- if(!(strstr($files[$i],"jpg"))&&!(strstr($files[$i],"gif"))&&!(strstr($files[$i],"png")))continue;
- $ret=sprintf("
- <div class=\"inlinediv\"><a href=\"./a/%s\">
- <img class=\"limimg\" src=\"./a/%s\">
- <br>%s</a>
- </div>",$files[$i],$files[$i],$files[$i]);
- echo $ret;
- }
- $totalsp=count($files)/20+(count($files)%20==0?0:1)-1;
- $minsp=$startpage-5;if($minsp<0)$minsp=0;
- $maxsp=$startpage+6;if($maxsp>$totalsp)$maxsp=$totalsp;
- echo "<div style=\"text-align:center;\">";
- for($i=$minsp;$i<$maxsp;$i++)
- {
- if($i===$startpage)
- echo $i+1 . ' ';
- else
- {
- $t=sprintf("<a href=\"./pliba.php?p=%d\">%d</a> ",$i,$i+1);
- echo $t;
- }
- }
- echo "</div>";
- ?>
- </div>
-</body>
-</html>
diff --git a/libs/pictures/plibb.php b/libs/pictures/plibb.php
deleted file mode 100755
index 351f1ab..0000000
--- a/libs/pictures/plibb.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta http-equiv="expires" content="Friday 24 October 1997 09:30 GMT">
- <title>Picture browser</title>
- <link rel=stylesheet href='../../common.css' type='text/css'>
- <script type="text/javascript">
- function changeImage(img){
- document.getElementById('aqt').src=img;
- }
- </script>
- <style>
- .inlinediv
- {
- display:inline-block;
- word-wrap:break-word;
- max-height:24em;
- max-width:24em;
- margin:1em;
- border:1px solid black;
- text-align:center;
- }
- .limimg{max-height:20em;max-width:20em;}
- </style>
-</head>
-<body style="background-color:#acf;">
- <div class="TText" style="font-size:2em"><a href="../../../">Chrisoft</a>::Picture Library</div>
- <div>
- <?php
- $startpage=0;
- if(!empty($_GET['p']))
- $startpage=intval($_GET['p']);
- $files=scandir("/var/www/html/libs/pictures/b/");
- for($i=$startpage*20,$c=count($files);$i<$c&&$i-$startpage*20<20;$i++)
- {
- if(!(strstr($files[$i],"jpg"))&&!(strstr($files[$i],"gif"))&&!(strstr($files[$i],"png")))continue;
- $ret=sprintf("
- <div class=\"inlinediv\"><a href=\"./b/%s\">
- <img class=\"limimg\" src=\"./b/%s\">
- <br>%s</a>
- </div>",$files[$i],$files[$i],$files[$i]);
- echo $ret;
- }
- $totalsp=count($files)/20+(count($files)%20==0?0:1)-1;
- $minsp=$startpage-5;if($minsp<0)$minsp=0;
- $maxsp=$startpage+6;if($maxsp>$totalsp)$maxsp=$totalsp;
- echo "<div style=\"text-align:center;\">";
- for($i=$minsp;$i<$maxsp;$i++)
- {
- if($i===$startpage)
- echo $i+1 . ' ';
- else
- {
- $t=sprintf("<a href=\"./plibb.php?p=%d\">%d</a> ",$i,$i+1);
- echo $t;
- }
- }
- echo "</div>";
- ?>
- </div>
-</body>
-</html>