<commit_before><?php

    //
    // What kind of request is this?
    //
    $is_specific_brigade = ($_GET['source'] == 'brigade' && $_GET['brigade_url']) ? true : false;
    $is_organizer = (!$is_specific_brigade && $_GET['source'] == 'organizer') ? true : false;
    $is_generic = (!$is_specific_brigade && !$is_organizer) ? true : false;

    //
    // Get information about the selected brigade, if there is one.
    //
    if($is_specific_brigade) {
        $brigade_info = json_decode(file_get_contents($_GET['brigade_url']), true);
    
    } else {
        $brigade_info = null;
    }

    include('top.php');
    $base_url = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/');

?>

<div class="layout-semibreve">

<? if($is_specific_brigade) { ?>

  <div id="brigade_text">
    <p><b>Thanks for signing up for <?= $brigade_info['name'] ?>.</b></p>
    <p><a href="<?= $brigade_info['events_url'] ?>"><?= $brigade_info['website'] ?></a></p>
    <p>You should join <?= $brigade_info['name'] ?>’s Meetup and check out their upcoming events:</p>
    <p><a href="<?= $brigade_info['events_url'] ?>"><?= $brigade_info['events_url'] ?></a></p>
    <p>Thanks again and see you soon.</p>
    <br>
    <p><i><NAME> - Communities Coordinator</i></p>
    <p><a href='mailto:<EMAIL>'><EMAIL></a></p>
  </div>

<? } elseif($is_organizer) { ?>

  <div id="organizer_text">
    <p><b>Thanks for signing up to organize in your community.</b></p>
    <p>The next step for you and your team is to watch 
    <a href='
https://www.youtube.com/watch?v=f1oBpGQbdmg'this recorded Hangout, which walks you through the initial process.</a></p>

    <p>Next, you will want to browse through our support materials located at.</p>
    <p><a href='http://codeforamerica.org/brigade/tools'>http://codeforamerica.org/brigade/tools</a></p>
    <p>Please reach out to us if you have any questions, and have fun as you start building you civic-tech community! 
    Thanks again and talk to you soon.</p>
    <br>
    <p><i><NAME> - Communities Coordinator</i></p>
    <p><a href='mailto:<EMAIL>'><EMAIL></a></p>
  </div>

<? } else { ?>

  <div id="no_brigade_text">
    <p><b>Thanks for your interest in the Code for America Brigade community.</b></p>
    <p>We will add you to our mailing list so you can keep stay up to date with both local opportunities and national events.</p>
    <p>If you want to reconsider leading a Brigade in your city, you can watch 
    <a href='
https://www.youtube.com/watch?v=f1oBpGQbdmg'this recorded Hangout which walks you through the process.</a></p>.</p>
    <p>Good luck and we'll be in touch.</p>
    <br>
    <p><i><NAME> - Communities Coordinator</i></p>
    <p><a href='mailto:<EMAIL>'><EMAIL></a></p>
  </div>

<? } ?>

</div>

<? include('bottom.php') ?><commit_msg>updated how to links<commit_after><?php

    //
    // What kind of request is this?
    //
    $is_specific_brigade = ($_GET['source'] == 'brigade' && $_GET['brigade_url']) ? true : false;
    $is_organizer = (!$is_specific_brigade && $_GET['source'] == 'organizer') ? true : false;
    $is_generic = (!$is_specific_brigade && !$is_organizer) ? true : false;

    //
    // Get information about the selected brigade, if there is one.
    //
    if($is_specific_brigade) {
        $brigade_info = json_decode(file_get_contents($_GET['brigade_url']), true);
    
    } else {
        $brigade_info = null;
    }

    include('top.php');
    $base_url = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/');

?>

<div class="layout-semibreve">

<? if($is_specific_brigade) { ?>

  <div id="brigade_text">
    <p><b>Thanks for signing up for <?= $brigade_info['name'] ?>.</b></p>
    <p><a href="<?= $brigade_info['events_url'] ?>"><?= $brigade_info['website'] ?></a></p>
    <p>You should join <?= $brigade_info['name'] ?>’s Meetup and check out their upcoming events:</p>
    <p><a href="<?= $brigade_info['events_url'] ?>"><?= $brigade_info['events_url'] ?></a></p>
    <p>Thanks again and see you soon.</p>
    <br>
    <p><i><NAME> - Communities Coordinator</i></p>
    <p><a href='mailto:<EMAIL>'><EMAIL></a></p>
  </div>

<? } elseif($is_organizer) { ?>

  <div id="organizer_text">
    <p><b>Thanks for signing up to organize in your community.</b></p>
    <p>The next step for you and your team is to watch the recorded Hangout, which walks you through the initial process of starting a Brigade.
    <p><a href='https://www.youtube.com/watch?v=f1oBpGQbdmg'>Click here to view the video.</a></p>
    <p>Then, you will want to browse through our support materials located at.</p>
    <p><a href='http://codeforamerica.org/brigade/tools'>http://codeforamerica.org/brigade/tools</a></p>
    <p>Please reach out to us if you have any questions, and have fun as you start building you civic-tech community! 
    Thanks again and talk to you soon.</p>
    <br>
    <p><i><NAME> - Communities Coordinator</i></p>
    <p><a href='mailto:<EMAIL>'><EMAIL></a></p>
  </div>

<? } else { ?>

  <div id="no_brigade_text">
    <p><b>Thanks for your interest in the Code for America Brigade community.</b></p>
    <p>We will add you to our mailing list so you can keep stay up to date with both local opportunities and national events.</p>
    <p>If you want to reconsider leading a Brigade in your city,  
    <p><a href='https://www.youtube.com/watch?v=f1oBpGQbdmg'>Click here to view the "How to start a Brigade" video.</a></p>
    <p>Good luck and we'll be in touch.</p>
    <br>
    <p><i><NAME> - Communities Coordinator</i></p>
    <p><a href='mailto:<EMAIL>'><EMAIL></a></p>
  </div>

<? } ?>

</div>

<? include('bottom.php') ?>
{'fraction_non_alphanumeric': 0.18875, 'fraction_numerical': 0.0007142857142857143, 'mean_word_length': 3.594749794913864, 'pattern_counts': {'":': 0, '<': 206, '<?xml version=': 0, '>': 204, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1721561', 'n_tokens_mistral': 2009, 'n_tokens_neox': 1992, 'n_words': 514}