mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-01-16 18:04:34 -05:00
20 lines
410 B
PHP
20 lines
410 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Gazelle;
|
|
|
|
$collageMan = new Manager\Collage();
|
|
$collage = $collageMan->findById((int)($_GET['id'] ?? 0));
|
|
if (is_null($collage)) {
|
|
Error404::error();
|
|
}
|
|
if ($collage->isDeleted()) {
|
|
header("Location: log.php?search=Collage+" . $collage->id);
|
|
exit;
|
|
}
|
|
|
|
require_once $collage->isArtist() ? 'collage_artists.php' : 'collage_torrent.php';
|
|
|
|
View::show_footer();
|