Skip to content
wiki.fftac.org

Template Research - Source Excerpt 10

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

<p class="source-library-item__publisher"><?php echo esc_html($source['publisher']); ?></p>
                            <p><?php echo esc_html(sprintf(
                                __('Cited by %1$s dossiers across %2$s lanes.', 'antichrist-engine'),
                                number_format_i18n((int) ($source['citation_count'] ?? 0)),
                                number_format_i18n((int) ($source['lane_total'] ?? 0))
                            )); ?></p>
                            <?php if (!empty($source['lane_breakdown'])) : ?>
                                <div class="tag-list">
                                    <?php foreach (array_slice((array) $source['lane_breakdown'], 0, 4) as $lane) : ?>
                                        <a class="tag-pill tag-pill--link" href="<?php echo esc_url($lane['url']); ?>">
                                            <?php echo esc_html(($lane['label'] ?? '') . ' ยท ' . number_format_i18n((int) ($lane['count'] ?? 0))); ?>
                                        </a>
                                    <?php endforeach; ?>
                                </div>
                            <?php endif; ?>
                            <?php if (!empty($source['claim_references'])) : ?>
                                <div class="research-network-mini-list">
                                    <p class="research-network-card__label"><?php esc_html_e('Connected dossiers', 'antichrist-engine'); ?></p>
                                    <div class="tag-list">
                                        <?php foreach (array_slice((array) $source['claim_references'], 0, 4) as $claim_reference) : ?>
                                            <a class="tag-pill tag-pill--link" href="<?php echo esc_url($claim_reference['record_url']); ?>">
                                                <?php echo esc_html($claim_reference['record_id']); ?>
                                            </a>
                                        <?php endforeach; ?>
                                    </div>
                                </div>
                            <?php endif; ?>
                            <div class="claim-card__actions">
                                <a class="text-link" href="<?php echo esc_url($source['record_url']); ?>"><?php esc_html_e('Open source record', 'antichrist-engine'); ?></a>
                            </div>
                        </article>
                    <?php endforeach; ?>

                    <?php foreach (($network_map['claim_bridges'] ?? array()) as $bridge_index => $bridge) : ?>
                        <?php $bridge_lane_slugs = array_values(array_filter(array_map('strval', (array) ($bridge['lane_slugs'] ?? array())))); ?>
                        <article
                            class="statement-card research-network-explorer-card research-network-explorer-card--bridge"
                            data-network-item="bridge"
                            data-kind="bridge"
                            data-category="<?php echo esc_attr(implode(' ', $bridge_lane_slugs)); ?>"
                            data-search="<?php echo esc_attr($network_bridge_search_indices[$bridge_index] ?? ''); ?>"
                            <?php echo !empty($network_bridge_visibility[$bridge_index]) ? '' : 'hidden'; ?>
                        >
                            <p class="eyebrow"><?php esc_html_e('Dossier Bridge', 'antichrist-engine'); ?></p>
                            <div class="research-network-bridge">
                                <div class="research-network-bridge__claim">
                                    <p class="research-record-pill"><?php echo esc_html($bridge['primary_record_id']); ?></p>
                                    <h3><?php echo esc_html($bridge['primary_title']); ?></h3>
                                </div>
                                <div class="research-network-bridge__link" aria-hidden="true">+</div>
                                <div class="research-network-bridge__claim">
                                    <p class="research-record-pill"><?php echo esc_html($bridge['secondary_record_id']); ?></p>
                                    <h3><?php echo esc_html($bridge['secondary_title']); ?></h3>
                                </div>
                            </div>
                            <p><?php echo esc_html(sprintf(
                                __('%1$s shared sources anchor this bridge. Relationship score: %2$s.', 'antichrist-engine'),
                                number_format_i18n((int) ($bridge['shared_source_count'] ?? 0)),
                                number_format_i18n((int) ($bridge['score'] ?? 0))
                            )); ?></p>
                            <?php if (!empty($bridge['shared_terms'])) : ?>
                                <p class="research-network-card__meta"><?php echo esc_html(sprintf(
                                    __('Shared terms: %s', 'antichrist-engine'),
                                    implode(', ', (array) $bridge['shared_terms'])
                                )); ?></p>
                            <?php endif; ?>
                            <div class="tag-list">
                                <?php foreach ((array) ($bridge['lane_labels'] ?? array()) as $lane_label) : ?>
                                    <span class="tag-pill"><?php echo esc_html($lane_label); ?></span>
                                <?php endforeach; ?>
                                <?php if (!empty($bridge['same_category'])) : ?>
                                    <span class="tag-pill"><?php esc_html_e('Shared lane', 'antichrist-engine'); ?></span>
                                <?php endif; ?>
                                <?php if (!empty($bridge['same_verdict'])) : ?>
                                    <span class="tag-pill"><?php esc_html_e('Shared verdict', 'antichrist-engine'); ?></span>
                                <?php endif; ?>
                                <?php if (!empty($bridge['same_evidence'])) : ?>
                                    <span class="tag-pill"><?php esc_html_e('Shared evidence posture', 'antichrist-engine'); ?></span>
                                <?php endif; ?>
                            </div>
                            <?php if (!empty($bridge['shared_source_records'])) : ?>
                                <div class="research-network-mini-list">
                                    <p class="research-network-card__label"><?php esc_html_e('Shared source trail', 'antichrist-engine'); ?></p>
                                    <div class="tag-list">
                                        <?php foreach ((array) $bridge['shared_source_records'] as $shared_source) : ?>
                                            <a class="tag-pill tag-pill--link" href="<?php echo esc_url($shared_source['record_url']); ?>">
                                                <?php echo esc_html($shared_source['record_id']); ?>
                                            </a>
                                        <?php endforeach; ?>
                                    </div>
                                </div>
                            <?php endif; ?>
                            <div class="claim-card__actions">
                                <a class="text-link" href="<?php echo esc_url($bridge['primary_url']); ?>"><?php esc_html_e('Open first dossier', 'antichrist-engine'); ?></a>
                                <a class="text-link" href="<?php echo esc_url($bridge['secondary_url']); ?>"><?php esc_html_e('Open second dossier', 'antichrist-engine'); ?></a>
                            </div>
                        </article>
                    <?php endforeach; ?>

                    <?php foreach (($network_map['claim_lanes'] ?? array()) as $lane_index => $lane) : ?>
                        <article
                            class="statement-card research-network-explorer-card research-network-explorer-card--lane"
                            data-network-item="lane"
                            data-kind="lane"
                            data-category="<?php echo esc_attr((string) ($lane['slug'] ?? '')); ?>"
                            data-search="<?php echo esc_attr($network_lane_search_indices[$lane_index] ?? ''); ?>"
                            <?php echo !empty($network_lane_visibility[$lane_index]) ? '' : 'hidden'; ?>
                        >
                            <p class="eyebrow"><?php esc_html_e('Claim Lane', 'antichrist-engine'); ?></p>
                            <h3><?php echo esc_html($lane['label']); ?></h3>
                            <p><?php echo esc_html(sprintf(