Starter Content (?pack=). * Its items that are here and nothing uses (starterContentUnused()), every one * ticked; Archive them (clear_starter_unused, admin/post/starter_content.php) * archives the ones ticked. js/starter_content.js keeps the count in step. */ require_once '../../includes/modal_header.php'; defined('FROM_STARTER_CONTENT') || define('FROM_STARTER_CONTENT', true); require_once __DIR__ . '/../../post/starter_content_model.php'; require_once __DIR__ . '/../../includes/starter_content_pick.php'; $pack = (string) ($_GET['pack'] ?? ''); $packs = starterContentPacks(); if (!isset($packs[$pack]) || !starterPackRecords($pack)) { exit(''); } $pack_details = $packs[$pack]; $unused = starterContentUnused($mysqli, $pack); $items = $unused['items']; ob_start(); ?>