mirror of
https://github.com/elripalda/psgfx.git
synced 2026-10-17 18:00:36 +02:00
- Redesigned interface: larger, glass style with a chromatic rim, animated view/tab switches, search in the app list, Icon/Background/Music/Name tabs. - Connecting moved into a centred pop-up with step-by-step instructions; the header shows a connection button instead of the IP field. - Home layout preview: the selected tile keeps its white outline on every side, the row slides when the selection moves, Games/Media fade, and the background crossfades. - Hiding or moving a tile off the current tab selects the next one, with Undo. - Community icons: browse, use, share and report icons per game. The server (community-server/, PHP) checks uploads, saves them to a public GitHub repo with thumbnails and a site mirror, and has a moderation page. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B3zQD8DZVn9N7NJ6NHPLGg
14 lines
453 B
PHP
14 lines
453 B
PHP
<?php
|
|
// GET list.php?title=PPSA12345 -> the community icons for that game, newest first.
|
|
require __DIR__ . '/lib.php';
|
|
cors();
|
|
$title = strtoupper((string)($_GET['title'] ?? ''));
|
|
if (!valid_title($title)) fail('Unknown title ID.');
|
|
$reports = data_read('reports');
|
|
$list = [];
|
|
foreach (all_icons() as $i) {
|
|
if ($i['title'] !== $title || is_hidden($reports, $i['id'])) continue;
|
|
$list[] = icon_out($i);
|
|
}
|
|
out(['ok' => true, 'icons' => $list]);
|