<commit_before><?php if ( ! defined( 'WPINC' ) )  die;
/**
 * FlowFlowAds.
 *
 * @package   FlowFlowAds
 * @author    Looks Awesome <<EMAIL>>
 *
 * @link      http://looks-awesome.com
 * @copyright 2014-2016 Looks Awesome
 */

$ads = $context['ads'];
?>
<script>
    var ads = JSON.parse('<?php echo json_encode($ads) ?>');
</script>
<div class="section-content" id="campaigns-cont" data-tab="ads-tab">
	<!-- tab content -->
    <div class="section-campaign section-stream" id="campaigns-list" data-view-mode="streams-list">

        <div class="section">
            <h1 class="desc-following"><span>Ad/Branding Campaigns</span> <span class="admin-button green-button button-add">Add campaign</span></h1>
            <p class="desc">Manage here your Campaigns to add advertising and branding/personalization to your streams.</p>
            <table>
                <thead>
                    <tr>
                        <th></th>
                        <th></th>
                        <th>Campaign</th>
                        <th>Starts</th>
                        <th>Ends</th>
                        <th>Views</th>
                        <th>Clicks *</th>
                        <th>Conversion *</th>
                      </tr>
                </thead>
                <tbody>
                <?php
                    $index = 0;
                    foreach ( $ads as $ad ) {
	                    $name = empty($ad->name) ? 'Unnamed' : $ad->name;<commit_msg>- Campaigns section is showing blank<commit_after><?php if ( ! defined( 'WPINC' ) )  die;
/**
 * FlowFlowAds.
 *
 * @package   FlowFlowAds
 * @author    <NAME> <<EMAIL>>
 *
 * @link      http://looks-awesome.com
 * @copyright 2014-2016 Looks Awesome
 */

$ads = $context['ads'];
?>
<script>
    var ads = JSON.parse('<?php echo json_encode($ads, JSON_HEX_APOS) ?>');
</script>
<div class="section-content" id="campaigns-cont" data-tab="ads-tab">
	<!-- tab content -->
    <div class="section-campaign section-stream" id="campaigns-list" data-view-mode="streams-list">

        <div class="section">
            <h1 class="desc-following"><span>Ad/Branding Campaigns</span> <span class="admin-button green-button button-add">Add campaign</span></h1>
            <p class="desc">Manage here your Campaigns to add advertising and branding/personalization to your streams.</p>
            <table>
                <thead>
                    <tr>
                        <th></th>
                        <th></th>
                        <th>Campaign</th>
                        <th>Starts</th>
                        <th>Ends</th>
                        <th>Views</th>
                        <th>Clicks *</th>
                        <th>Conversion *</th>
                      </tr>
                </thead>
                <tbody>
                <?php
                    $index = 0;
                    foreach ( $ads as $ad ) {
	                    $name = empty($ad->name) ? 'Unnamed' : $ad->name;
{'fraction_non_alphanumeric': 0.15586160564326504, 'fraction_numerical': 0.007389989922741014, 'mean_word_length': 1.4962279966471081, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 88, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4035838', 'n_tokens_mistral': 915, 'n_tokens_neox': 841, 'n_words': 180}