Skip to content
wiki.fftac.org

Template Research - Source Excerpt 06

Back to Template Research

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

<article class="publication-stat-card statement-card">
                                    <span><?php esc_html_e('Landing Section', 'antichrist-engine'); ?></span>
                                    <strong><?php echo esc_html(ltrim((string) ($active_record['anchor'] ?? 'executive-briefings'), '#')); ?></strong>
                                    <p><?php esc_html_e('The atlas section this briefing currently points readers toward next.', 'antichrist-engine'); ?></p>
                                </article>
                            </div>
                            <div class="hero__actions research-record-focus__actions">
                                <button
                                    type="button"
                                    class="button button--ghost button--small briefing-audio-button"
                                    data-speech-text="<?php echo esc_attr($active_record['audio_text']); ?>"
                                >
                                    <?php esc_html_e('Listen to summary', 'antichrist-engine'); ?>
                                </button>
                            </div>
                        <?php endif; ?>
                    <?php else : ?>
                        <p class="research-empty-state"><?php esc_html_e('That record ID is not currently mapped inside the public atlas. Return to the Research Command deck or open the full claim index to continue.', 'antichrist-engine'); ?></p>
                        <div class="hero__actions research-record-focus__actions">
                            <a class="button" href="<?php echo esc_url($record_clear_url); ?>"><?php esc_html_e('Return to Research Command', 'antichrist-engine'); ?></a>
                            <a class="button button--ghost" href="<?php echo esc_url(antichrist_engine_foundation_build_target_url('research', array(), 'claim-index')); ?>"><?php esc_html_e('Open Claim Index', 'antichrist-engine'); ?></a>
                        </div>
                    <?php endif; ?>
                </section>
            <?php endif; ?>

            <section id="research-command" class="card foundation-panel foundation-panel--official research-command-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php echo esc_html($research_command_copy['eyebrow']); ?></p>
                    <h2><?php echo esc_html($research_command_copy['title']); ?></h2>
                </header>
                <div class="research-command-grid">
                    <div class="research-command-panel__intro">
                        <p><?php echo esc_html($research_command_copy['summary']); ?></p>
                        <p class="foundation-panel__subline"><?php echo esc_html($research_command_copy['share_hint']); ?></p>
                        <form class="membership-form research-command-form" method="get" action="<?php echo esc_url($research_url . '#claim-index'); ?>">
                            <div class="membership-form__grid research-command-form__grid">
                                <label>
                                    <span><?php echo esc_html($research_command_copy['search_label']); ?></span>
                                    <input
                                        type="search"
                                        name="claim_q"
                                        class="research-search__input"
                                        value="<?php echo esc_attr($research_filters['claim_q']); ?>"
                                        placeholder="<?php echo esc_attr($research_command_copy['search_placeholder']); ?>"
                                    >
                                </label>
                                <label>
                                    <span><?php echo esc_html($research_command_copy['claim_category_label']); ?></span>
                                    <select name="claim_category">
                                        <option value="all"><?php esc_html_e('All claim lanes', 'antichrist-engine'); ?></option>
                                        <?php foreach ($claim_filters as $filter) : ?>
                                            <option value="<?php echo esc_attr($filter); ?>" <?php selected($research_filters['claim_category'], $filter); ?>>
                                                <?php echo esc_html($claim_labels[$filter] ?? ucwords(str_replace('-', ' ', $filter))); ?>
                                            </option>
                                        <?php endforeach; ?>
                                    </select>
                                </label>
                                <label>
                                    <span><?php echo esc_html($research_command_copy['claim_verdict_label']); ?></span>
                                    <select name="claim_verdict">
                                        <option value="all"><?php esc_html_e('All verdicts', 'antichrist-engine'); ?></option>
                                        <?php foreach ($claim_verdict_filters as $filter) : ?>
                                            <option value="<?php echo esc_attr($filter); ?>" <?php selected($research_filters['claim_verdict'], $filter); ?>>
                                                <?php echo esc_html($verdicts[$filter]['label'] ?? ucwords(str_replace('-', ' ', $filter))); ?>
                                            </option>
                                        <?php endforeach; ?>
                                    </select>
                                </label>
                                <label>
                                    <span><?php echo esc_html($research_command_copy['timeline_category_label']); ?></span>
                                    <select name="timeline_category">
                                        <option value="all"><?php esc_html_e('All timeline lanes', 'antichrist-engine'); ?></option>
                                        <?php foreach ($timeline_filters as $filter) : ?>
                                            <option value="<?php echo esc_attr($filter); ?>" <?php selected($research_filters['timeline_category'], $filter); ?>>
                                                <?php echo esc_html($timeline_labels[$filter] ?? ucwords(str_replace('-', ' ', $filter))); ?>
                                            </option>
                                        <?php endforeach; ?>
                                    </select>
                                </label>
                            </div>
                            <div class="research-command-form__actions">
                                <button class="button" type="submit"><?php echo esc_html($research_command_copy['submit_label']); ?></button>
                                <a class="button button--ghost" href="<?php echo esc_url($research_url); ?>"><?php echo esc_html($research_command_copy['clear_label']); ?></a>
                            </div>
                        </form>
                    </div>
                    <div class="research-command-presets">
                        <div class="research-command-presets__header">
                            <p class="eyebrow"><?php echo esc_html($research_command_copy['preset_eyebrow']); ?></p>
                            <p><?php echo esc_html($research_command_copy['preset_title']); ?></p>
                        </div>
                        <div class="statement-grid">
                            <?php foreach ($research_command_presets as $preset) : ?>
                                <article class="statement-card research-command-card">
                                    <p class="eyebrow"><?php echo esc_html($preset['eyebrow']); ?></p>
                                    <h3><?php echo esc_html($preset['title']); ?></h3>
                                    <p><?php echo esc_html($preset['summary']); ?></p>
                                    <a class="text-link" href="<?php echo esc_url(antichrist_engine_foundation_build_target_url('research', $preset['args'], $preset['anchor'])); ?>">
                                        <?php echo esc_html($preset['cta']); ?>
                                    </a>
                                </article>
                            <?php endforeach; ?>
                        </div>
                    </div>
                </div>
            </section>

            <section id="executive-briefings" class="card foundation-panel">
                <header class="entry-header">
                    <p class="eyebrow"><?php esc_html_e('Executive Briefings', 'antichrist-engine'); ?></p>