<commit_before><?
$categories = \Entity\Station::getStationsInCategories();
$video_channels = \Entity\VideoChannel::fetchArray();
$podcasts = \Entity\Podcast::fetchArray();
?>

<ul class="nav primary_menu">

    <!-- About PVL -->
    <li class="dropdown">
        <a href="<?=$this->url->get('about') ?>"><i class="icon-info-sign"></i> About</a>
        <ul class="dropdown-menu">
            <li><a href="<?=$this->url->get('about') ?>"><i class="icon-info-sign"></i> About Us</a></li>
            <li><a href="<?=$this->url->get('contact') ?>"><i class="icon-envelope"></i> Contact Us</a></li>
            <li><a href="<?=$this->url->get('donate') ?>"><i class="icon-money"></i> Support Us</a></li>
            <li class="divider"></li>
            <li><a href="http://m.pvlive.me/"><i class="icon-mobile-phone"></i> PVL! Mobile</a></li>
            <li><a href="<?=$this->url->get('apps') ?>"><i class="icon-cloud-download"></i> Apps &amp; Players</a></li>
            <li><a href="http://docs.ponyvillelive.apiary.io/" target="_blank"><i class="icon-cog"></i> PVL! Data API</a></li>
        </ul>
    </li>
    
    <!-- Stations -->
    <li class="dropdown">
        <a href="#" data-toggle="dropdown"><i class="icon-music"></i> Radio</a>
        <ul class="dropdown-menu">
            <li><a href="<?=$this->url->get('schedule') ?>"><i class="icon-calendar"></i> Station Schedules</a></li>
            <li><a href="<?=$this->url->get('submit/station') ?>"><i class="icon-cloud-upload"></i> Submit a Station</a></li>
            <li class="divider"></li>

        <? foreach($categories['audio']['stations'] as $station): ?>
            <li><a href="<?=$station['web_url'] ?>" title="<?=$station['genre'] ?>" target="_blank"><?=$station['name'] ?></a></li>
        <? endforeach; ?>
        </ul>
    </li>
    <li class="dropdown">
        <a href="#" data-toggle="dropdown"><i class="icon-facetime-video"></i> Video</a>
        <ul class="dropdown-menu">
        <? foreach($video_channels as $station): ?>
            <li><a href="<?=$station['web_url'] ?>" title="<?=$station['genre'] ?>" target="_blank"><?=$station['name'] ?></a></li>
        <? endforeach; ?>
        </ul>
    </li>
    <li class="dropdown">
        <a href="#" data-toggle="dropdown"><i class="icon-rss"></i> Shows</a>
        <ul class="dropdown-menu">
            <li><a href="<?=$this->url->get('shows') ?>"><i class="icon-list"></i> Show Directory</a></li>
            <li class="divider"></li>
        <? foreach($podcasts as $podcast): ?>
            <li><a href="<?=$podcast['web_url'] ?>" title="<?=$podcast['description'] ?>" target="_blank"><?=$podcast['name'] ?></a></li>
        <? endforeach; ?>
        </ul>
    </li>
    <li class="dropdown">
        <a href="#" data-toggle="dropdown"><i class="icon-user"></i> Community</a>
        <ul class="dropdown-menu">
            <li><a href="<?=$this->url->get('conventions') ?>"><i class="icon-building"></i> Pony Conventions</a></li>
            <li><a href="<?=$this->url->get('artists') ?>"><i class="icon-group"></i> Artists Directory</a></li>
            <li class="divider"></li>
            <li><a href="http://pvlive.me/forums" target="_blank">PVL Forums</a></li>
            <li><a href="<?=$this->url->get('index/chat') ?>">Chat + Player</a></li><commit_msg>Fix nav menu reference to Videos.<commit_after><?
$categories = \Entity\Station::getStationsInCategories();
$podcasts = \Entity\Podcast::fetchArray();
?>

<ul class="nav primary_menu">

    <!-- About PVL -->
    <li class="dropdown">
        <a href="<?=$this->url->get('about') ?>"><i class="icon-info-sign"></i> About</a>
        <ul class="dropdown-menu">
            <li><a href="<?=$this->url->get('about') ?>"><i class="icon-info-sign"></i> About Us</a></li>
            <li><a href="<?=$this->url->get('contact') ?>"><i class="icon-envelope"></i> Contact Us</a></li>
            <li><a href="<?=$this->url->get('donate') ?>"><i class="icon-money"></i> Support Us</a></li>
            <li class="divider"></li>
            <li><a href="http://m.pvlive.me/"><i class="icon-mobile-phone"></i> PVL! Mobile</a></li>
            <li><a href="<?=$this->url->get('apps') ?>"><i class="icon-cloud-download"></i> Apps &amp; Players</a></li>
            <li><a href="http://docs.ponyvillelive.apiary.io/" target="_blank"><i class="icon-cog"></i> PVL! Data API</a></li>
        </ul>
    </li>
    
    <!-- Stations -->
    <li class="dropdown">
        <a href="#" data-toggle="dropdown"><i class="icon-music"></i> Radio</a>
        <ul class="dropdown-menu">
            <li><a href="<?=$this->url->get('schedule') ?>"><i class="icon-calendar"></i> Station Schedules</a></li>
            <li><a href="<?=$this->url->get('submit/station') ?>"><i class="icon-cloud-upload"></i> Submit a Station</a></li>
            <li class="divider"></li>

        <? foreach($categories['audio']['stations'] as $station): ?>
            <li><a href="<?=$station['web_url'] ?>" title="<?=$station['genre'] ?>" target="_blank"><?=$station['name'] ?></a></li>
        <? endforeach; ?>
        </ul>
    </li>
    <li class="dropdown">
        <a href="#" data-toggle="dropdown"><i class="icon-facetime-video"></i> Video</a>
        <ul class="dropdown-menu">
        <? foreach($categories['video']['stations'] as $station): ?>
            <li><a href="<?=$station['web_url'] ?>" title="<?=$station['genre'] ?>" target="_blank"><?=$station['name'] ?></a></li>
        <? endforeach; ?>
        </ul>
    </li>
    <li class="dropdown">
        <a href="#" data-toggle="dropdown"><i class="icon-rss"></i> Shows</a>
        <ul class="dropdown-menu">
            <li><a href="<?=$this->url->get('shows') ?>"><i class="icon-list"></i> Show Directory</a></li>
            <li class="divider"></li>
        <? foreach($podcasts as $podcast): ?>
            <li><a href="<?=$podcast['web_url'] ?>" title="<?=$podcast['description'] ?>" target="_blank"><?=$podcast['name'] ?></a></li>
        <? endforeach; ?>
        </ul>
    </li>
    <li class="dropdown">
        <a href="#" data-toggle="dropdown"><i class="icon-user"></i> Community</a>
        <ul class="dropdown-menu">
            <li><a href="<?=$this->url->get('conventions') ?>"><i class="icon-building"></i> Pony Conventions</a></li>
            <li><a href="<?=$this->url->get('artists') ?>"><i class="icon-group"></i> Artists Directory</a></li>
            <li class="divider"></li>
            <li><a href="http://pvlive.me/forums" target="_blank">PVL Forums</a></li>
            <li><a href="<?=$this->url->get('index/chat') ?>">Chat + Player</a></li>
{'fraction_non_alphanumeric': 0.2800908402725208, 'fraction_numerical': 0.0, 'mean_word_length': 3.103105590062112, 'pattern_counts': {'":': 0, '<': 327, '<?xml version=': 0, '>': 371, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4307358', 'n_tokens_mistral': 2150, 'n_tokens_neox': 2167, 'n_words': 356}