Library

19 items
19 shown
(.*?)/is", $data, $m)) { $title = trim($m[1]); } $pieces[] = array( "file" => $file, "title" => $title, "size" => round(filesize($dir . "/" . $file) / 1024, 1) . " KB", "date" => date("Y-m-d", filemtime($dir . "/" . $file)), "image" => $img ); } ?> The Plan No poster found
(.*?)/is", $data, $m)) { $title = trim($m[1]); } $pieces[] = array( "file" => $file, "title" => $title, "size" => round(filesize($dir . "/" . $file) / 1024, 1) . " KB", "date" => date("Y-m-d", filemtime($dir . "/" . $file)), "image" => $img ); } ?> The Plan
2048 poster
2048
2048 No poster found
2048
Asteroids poster
Asteroids
Blackjack poster
Blackjack
Breakout No poster found
Breakout
Breakout No poster found
Breakout
Dino Runner poster
Dino Runner
doom No poster found
doom
Flappy Bird No poster found
Flappy Bird
Fruit Catcher No poster found
Fruit Catcher
Memory Match No poster found
Memory Match
mine-sweeper poster
mine-sweeper
Pong poster
Pong
Snake poster
Snake
Space Invaders No poster found
Space Invaders
Space Invaders No poster found
Space Invaders
tag for the display name * - Looks for a poster image with the same base name: * example: wart.html -> wart.png|jpg|jpeg|webp|svg|gif|avif */ declare(strict_types=1); function h(string $s): string { return htmlspecialchars($s, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); } function getTitleFromHtml(string $path): string { // Read a chunk (enough for head/title in most cases) $maxBytes = 262144; // 256KB $fh = @fopen($path, 'rb'); if (!$fh) return ''; $chunk = @fread($fh, $maxBytes); @fclose($fh); if ($chunk === false || $chunk === '') return ''; // Try to find ... No poster found
tag for the display name * - Looks for a poster image with the same base name: * example: wart.html -> wart.png|jpg|jpeg|webp|svg|gif|avif */ declare(strict_types=1); function h(string $s): string { return htmlspecialchars($s, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'); } function getTitleFromHtml(string $path): string { // Read a chunk (enough for head/title in most cases) $maxBytes = 262144; // 256KB $fh = @fopen($path, 'rb'); if (!$fh) return ''; $chunk = @fread($fh, $maxBytes); @fclose($fh); if ($chunk === false || $chunk === '') return ''; // Try to find ...
Tetris No poster found
Tetris
``