Template Research - Source Excerpt 08
Summary
This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/themes/antichrist-engine/template-research.php so readers can inspect the evidence without opening the full source file.
**Source path:** Anti-Christ.org/wp-content/themes/antichrist-engine/template-research.php
<p class="research-empty-state" data-timeline-empty <?php echo 0 === $timeline_visible_count ? '' : 'hidden'; ?>><?php esc_html_e('No timeline entry matched that lane yet. Clear the filter to restore the full chronology.', 'antichrist-engine'); ?></p>
</section>
<section id="projection-ledger" class="card foundation-panel">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Projection Ledger', 'antichrist-engine'); ?></p>
<h2><?php esc_html_e('Where panic claims mutate instead of disappearing', 'antichrist-engine'); ?></h2>
<p><?php esc_html_e('This flattened ledger turns claim chronology into a public browse surface, so readers can track failed forecasts, reassigned villains, and recurring fear scripts without opening every dossier one by one.', 'antichrist-engine'); ?></p>
</header>
<div class="research-toolbar">
<div class="research-toolbar__stack">
<div class="filter-chip-group" aria-label="<?php esc_attr_e('Projection ledger filters', 'antichrist-engine'); ?>">
<button type="button" class="filter-chip <?php echo 'all' === $research_filters['projection_category'] ? 'is-active' : ''; ?>" data-filter-target="projections" data-filter="all"><?php esc_html_e('All lanes', 'antichrist-engine'); ?></button>
<?php foreach ($claim_filters as $filter) : ?>
<button type="button" class="filter-chip <?php echo $research_filters['projection_category'] === $filter ? 'is-active' : ''; ?>" data-filter-target="projections" data-filter="<?php echo esc_attr($filter); ?>">
<?php echo esc_html($claim_labels[$filter] ?? ucwords(str_replace('-', ' ', $filter))); ?>
</button>
<?php endforeach; ?>
</div>
<label class="research-search" for="projection-ledger-search">
<span class="screen-reader-text"><?php esc_html_e('Search the projection ledger', 'antichrist-engine'); ?></span>
<input
id="projection-ledger-search"
class="research-search__input"
type="search"
value="<?php echo esc_attr($research_filters['projection_q']); ?>"
placeholder="<?php esc_attr_e('Search by record ID, claim, period, source, or outcome', 'antichrist-engine'); ?>"
data-projection-search
>
</label>
</div>
<div class="research-results-meta">
<p class="research-results-summary" data-projection-summary><?php echo esc_html($projection_summary); ?></p>
<a class="text-link research-results-clear" href="<?php echo esc_url(antichrist_engine_foundation_build_target_url('research', array(), 'projection-ledger')); ?>" data-projection-clear <?php echo $research_filters['has_projection_filters'] ? '' : 'hidden'; ?>>
<?php esc_html_e('Clear ledger filters', 'antichrist-engine'); ?>
</a>
</div>
</div>
<div class="projection-ledger-list">
<?php foreach ($projection_ledger as $projection_index => $projection_entry) : ?>
<article
id="<?php echo esc_attr($projection_entry['anchor']); ?>"
class="projection-entry<?php echo $active_record_id === (string) ($projection_entry['record_id'] ?? '') ? ' is-focused' : ''; ?>"
data-research-item="projection"
data-category="<?php echo esc_attr($projection_entry['claim_category']); ?>"
data-search="<?php echo esc_attr($projection_entry['searchable']); ?>"
<?php echo !empty($projection_visibility[$projection_index]) ? '' : 'hidden'; ?>
>
<div class="projection-entry__header">
<div class="projection-entry__record">
<p class="research-record-pill"><?php echo esc_html($projection_entry['record_id']); ?></p>
<span class="tag-pill"><?php echo esc_html($projection_entry['claim_record_id']); ?></span>
</div>
<p class="projection-entry__period"><?php echo esc_html($projection_entry['period']); ?></p>
</div>
<h3><?php echo esc_html($projection_entry['title']); ?></h3>
<p><?php echo esc_html($projection_entry['summary']); ?></p>
<div class="projection-entry__meta">
<p>
<span><?php esc_html_e('Lane', 'antichrist-engine'); ?></span>
<?php echo esc_html($projection_entry['claim_category_label']); ?>
</p>
<p>
<span><?php esc_html_e('Raised By', 'antichrist-engine'); ?></span>
<?php echo esc_html($projection_entry['source']); ?>
</p>
<p>
<span><?php esc_html_e('Outcome', 'antichrist-engine'); ?></span>
<?php echo esc_html($projection_entry['status']); ?>
</p>
</div>
<?php if (!empty($projection_entry['source_references'])) : ?>
<div class="tag-list projection-entry__sources">
<?php foreach (array_slice($projection_entry['source_references'], 0, 4) as $source_reference) : ?>
<a class="tag-pill tag-pill--link" href="<?php echo esc_url($source_reference['record_url']); ?>">
<?php echo esc_html($source_reference['record_id']); ?>
</a>
<?php endforeach; ?>
</div>
<?php endif; ?>
<div class="projection-entry__actions">
<a class="text-link" href="<?php echo esc_url($projection_entry['record_url']); ?>"><?php esc_html_e('Open record', 'antichrist-engine'); ?></a>
<a class="text-link" href="<?php echo esc_url($projection_entry['claim_record_url']); ?>"><?php esc_html_e('Open claim dossier', 'antichrist-engine'); ?></a>
</div>
</article>
<?php endforeach; ?>
</div>
<p class="research-empty-state" data-projection-empty <?php echo 0 === $projection_visible_count ? '' : 'hidden'; ?>><?php esc_html_e('No projection ledger entry matched that lane or query yet. Clear the current filters to reopen the full chronology.', 'antichrist-engine'); ?></p>
</section>
<section id="fact-check-board" class="card foundation-panel">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Fact-Check Board', 'antichrist-engine'); ?></p>
<h2><?php esc_html_e('A more explicit posture toward evidence, repetition, and uncertainty', 'antichrist-engine'); ?></h2>
</header>
<div class="publication-stat-grid">
<article class="publication-stat-card statement-card">
<span><?php esc_html_e('Claim dossiers', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html(number_format_i18n($fact_check['claims_total'])); ?></strong>
<p><?php esc_html_e('Current recurring prophecy narratives tracked in the atlas.', 'antichrist-engine'); ?></p>
</article>
<article class="publication-stat-card statement-card">
<span><?php esc_html_e('Projection ledger entries', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html(number_format_i18n($fact_check['projection_total'] ?? $fact_check['chronology_total'])); ?></strong>