Template Join - Source Excerpt 01
Summary
This source excerpt preserves a bounded section of Anti-Christ.org/wp-content/themes/antichrist-engine/template-join.php so readers can inspect the evidence without opening the full source file.
**Source path:** Anti-Christ.org/wp-content/themes/antichrist-engine/template-join.php
<?php
/**
* Template Name: Join
* Template Post Type: page
*
* @package Antichrist_Engine
*/
get_header();
the_post();
$identity = antichrist_engine_foundation_identity();
$paths = antichrist_engine_foundation_participation_paths();
$document_profile = antichrist_engine_foundation_document_profile('join');
$assurances = antichrist_engine_foundation_public_assurances();
$join_copy = antichrist_engine_foundation_join_interface_copy();
$program_copy = antichrist_engine_foundation_program_interest_copy();
$program_blueprints = antichrist_engine_foundation_program_blueprints();
$program_readiness_packets = antichrist_engine_foundation_program_readiness_packets();
$program_options = antichrist_engine_foundation_program_interest_options();
$participation_commitments = antichrist_engine_foundation_participation_commitments();
$participation_stages = antichrist_engine_foundation_participation_operating_stages();
$publication_cadence = antichrist_engine_foundation_publication_cadence();
$requested_program = isset($_GET['program']) ? sanitize_key(wp_unslash($_GET['program'])) : '';
$requested_program = isset($program_options[$requested_program]) ? $requested_program : '';
$requested_program_details = $requested_program ? ($program_blueprints[$requested_program] ?? array()) : array();
$program_notice = antichrist_engine_foundation_program_interest_get_notice();
$program_count = antichrist_engine_foundation_program_interest_count();
$show_program_metric = antichrist_engine_foundation_should_show_public_metric($program_count);
$request_uri = isset($_SERVER['REQUEST_URI']) ? wp_unslash($_SERVER['REQUEST_URI']) : '/';
$program_redirect = is_singular()
? get_permalink()
: home_url($request_uri);
$program_redirect = remove_query_arg('program_status', (string) $program_redirect);
$membership_url = function_exists('antichrist_engine_membership_get_page_url')
? antichrist_engine_membership_get_page_url('portal')
: home_url('/');
?>
<section class="hero hero--foundation">
<div class="container hero__grid hero__grid--foundation">
<div class="hero__content">
<p class="eyebrow"><?php esc_html_e('Participation', 'antichrist-engine'); ?></p>
<h1><?php the_title(); ?></h1>
<p class="hero__lead"><?php echo esc_html($join_copy['hero_lead']); ?></p>
<ul class="hero__meta" aria-label="<?php esc_attr_e('Participation profile', 'antichrist-engine'); ?>">
<li>
<span><?php esc_html_e('Classification', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($document_profile['classification']); ?></strong>
</li>
<li>
<span><?php esc_html_e('Access', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($document_profile['access']); ?></strong>
</li>
<li>
<span><?php esc_html_e('Status', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($identity['status']); ?></strong>
</li>
</ul>
<div class="hero__actions">
<a class="button" href="<?php echo esc_url($membership_url); ?>"><?php esc_html_e('Enter the Portal', 'antichrist-engine'); ?></a>
<a class="button button--ghost" href="<?php echo esc_url(antichrist_engine_foundation_get_page_url('journal')); ?>"><?php esc_html_e('Read the Journal', 'antichrist-engine'); ?></a>
</div>
</div>
<div class="hero__visual card foundation-panel foundation-panel--official">
<p class="eyebrow"><?php esc_html_e('Participation File', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($document_profile['record_id']); ?></h2>
<div class="foundation-kv">
<div class="foundation-kv__item">
<span><?php esc_html_e('Authority', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($document_profile['authority']); ?></strong>
</div>
<div class="foundation-kv__item">
<span><?php esc_html_e('Review Cycle', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($document_profile['review_cycle']); ?></strong>
</div>
</div>
<p class="foundation-panel__subline"><?php echo esc_html($join_copy['panel_subline']); ?></p>
</div>
</div>
</section>
<section class="section section--narrow">
<div class="container foundation-layout">
<div class="foundation-layout__main">
<article <?php post_class('page-article card foundation-panel foundation-prose'); ?>>
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Join', 'antichrist-engine'); ?></p>
<h2 class="entry-title"><?php the_title(); ?></h2>
</header>
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
<section class="participation-grid">
<?php foreach ($paths as $path) : ?>
<article class="card foundation-panel participation-card">
<p class="eyebrow"><?php esc_html_e('Pathway', 'antichrist-engine'); ?></p>
<h2><?php echo esc_html($path['title']); ?></h2>
<p><?php echo esc_html($path['description']); ?></p>
<a class="text-link" href="<?php echo esc_url(antichrist_engine_foundation_build_target_url(
$path['target'] ?? 'membership_portal',
$path['args'] ?? array(),
$path['anchor'] ?? ''
)); ?>"><?php echo esc_html($path['cta']); ?></a>
</article>
<?php endforeach; ?>
</section>
<section class="card foundation-panel">
<header class="entry-header">
<p class="eyebrow"><?php esc_html_e('Program Board', 'antichrist-engine'); ?></p>
<h2><?php esc_html_e('Operating lanes for recovery, live exchange, and serious contribution', 'antichrist-engine'); ?></h2>
</header>
<div class="program-blueprint-grid">
<?php foreach ($program_blueprints as $slug => $program) : ?>
<article class="participation-card statement-card program-blueprint-card">
<p class="eyebrow"><?php echo esc_html($program['eyebrow']); ?></p>
<h2><?php echo esc_html($program['title']); ?></h2>
<p><?php echo esc_html($program['summary']); ?></p>
<div class="foundation-kv foundation-kv--compact">
<div class="foundation-kv__item">
<span><?php esc_html_e('Format', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($program['format']); ?></strong>
</div>
<div class="foundation-kv__item">
<span><?php esc_html_e('Cadence', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($program['cadence']); ?></strong>
</div>
<div class="foundation-kv__item">
<span><?php esc_html_e('First Output', 'antichrist-engine'); ?></span>
<strong><?php echo esc_html($program['deliverable']); ?></strong>
</div>
</div>
<p class="membership-form__hint"><?php echo esc_html($program['audience']); ?></p>
<ul class="foundation-list foundation-list--tight">
<?php foreach (array_slice($program['outcomes'], 0, 3) as $outcome) : ?>
<li><?php echo esc_html($outcome); ?></li>
<?php endforeach; ?>
</ul>
<p class="foundation-panel__subline"><?php echo esc_html($program['current_cycle']); ?></p>
<div class="hero__actions">
<a class="text-link" href="<?php echo esc_url(antichrist_engine_foundation_build_target_url('join', array('program' => $slug), 'program-intake')); ?>"><?php esc_html_e('Open intake lane', 'antichrist-engine'); ?></a>