<commit_before><?php if ($this->session->flashdata('success')) : ?>
    <div class="alert alert-success alert-dismissible fade in" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
        <?= $this->session->flashdata('success') ?>
    </div>
<?php endif ?>

<?php if (isset($home_message)) : ?>
    <div class="jumbotron">
        <?= $home_message ?>
    </div>
<?php endif; ?>

<?php if ($quote_text) : ?>
    <div class="quote">
        <blockquote class="blockquote b-l-0">
            <p class="m-a-0"><?= $quote_text ?></p>
            <p class="blockquote-footer m-a-0"><?= $quote_author ?></p>
        </blockquote>
    </div>
<?php endif; ?>

<?php if (!$yesterday_matches && !$today_matches && !$tomorrow_matches) : ?>
    <div><?= $this->lang->line('no_match_3days'); ?></div>

    <?php if ($last_matches) : ?>
        <table class="home-table table-striped table-hover m-t-2 m-r-2">
            <thead>
                <tr>
                    <th colspan="<?php echo (is_connected() && user_can('admin_fixtures')) ? '7' : '6'?>" class="text-xs-center"><?= $this->lang->line('last_matches'); ?></th>
                </tr>
            </thead>
            <tbody>
                <?php foreach ($last_matches as $key => $match) : ?>
                    <?php if (is_connected()) : ?>
                        <tr data-href="<?= site_url('bets/edit/' . $match->fixture_id) ?>">
                    <?php else : ?>
                        <tr data-href="<?= site_url('connection') ?>">
                    <?php endif; ?>
                        <td class="text-xs-right"><?= $match->team1 ?></td>
                        <td class="text-xs-right"><?= $match->team1_score ?></td>
                        <td class="text-xs-center">-</td>
                        <td><?= $match->team2_score ?></td>
                        <td><?= $match->team2 ?></td>
                        <?php if (is_connected()) : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('bets/edit/' . $match->fixture_id) ?>"><?= $this->lang->line('view'); ?></a></td>
                        <?php else : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('connection?url=' . urlencode('bets/edit/' . $match->fixture_id)) ?>"><?= $this->lang->line('view'); ?></a></td>
                        <?php endif; ?>
                        <?php if (is_connected() && user_can('admin_fixtures')) : ?>
                            <td><a class="btn btn-sm btn-primary" href="<?= site_url('admin/fixtures/results/' . $match->fixture_id) ?>"><?= $this->lang->line('enter_fixture_results'); ?></a></td>
                        <?php endif; ?>
                    </tr>
                <?php endforeach; ?>
            </tbody>
        </table>
    <?php endif; ?>

    <?php if ($next_matches) : ?>
        <table class="home-table table-striped table-hover m-t-2 m-r-2">
            <thead>
                <tr>
                    <th colspan="<?php echo (is_connected() && user_can('admin_fixtures')) ? '5' : '4'?>" class="text-xs-center"><?= sprintf($this->lang->line('next_matches'), $next_matches_date) ?></th>
                </tr>
            </thead>
            <tbody>
                <?php foreach ($next_matches as $key => $match) : ?>
                    <?php if (is_connected()) : ?>
                        <tr data-href="<?= site_url('bets/edit/' . $match->fixture_id) ?>">
                    <?php else : ?>
                        <tr data-href="<?= site_url('connection') ?>">
                    <?php endif; ?>
                        <td class="text-xs-right"><?= $match->team1 ?></td>
                        <td class="text-xs-center">-</td>
                        <td><?= $match->team2 ?></td>
                        <?php if (is_connected()) : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('bets/edit/' . $match->fixture_id) ?>"><?= $this->lang->line('place_bet'); ?></a></td>
                        <?php else : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('connection?url=' . urlencode('bets/edit/' . $match->fixture_id)) ?>"><?= $this->lang->line('place_bet'); ?></a></td>
                        <?php endif; ?>
                    </tr>
                <?php endforeach; ?>
            </tbody>
        </table>
    <?php endif; ?>
<?php else : ?>
    <?php if (!$yesterday_matches) : ?>
        <div><?= $this->lang->line('no_match_yesterday'); ?></div>
    <?php endif; ?>
    <?php if (!$today_matches) : ?>
        <div><?= $this->lang->line('no_match_today'); ?></div>
    <?php endif; ?>
    <?php if (!$tomorrow_matches) : ?>
        <div><?= $this->lang->line('no_match_tomorrow'); ?></div>
    <?php endif; ?>

    <?php if ($yesterday_matches) : ?>
        <table class="home-table table-striped table-hover m-t-2 m-r-2">
            <thead>
                <tr>
                    <th colspan="<?php echo (is_connected() && user_can('admin_fixtures')) ? '7' : '6'?>" class="text-xs-center"><?= $this->lang->line('yesterday_matches'); ?></th>
                </tr>
            </thead>
            <tbody>
                <?php foreach ($yesterday_matches as $key => $match) : ?>
                    <?php if (is_connected()) : ?>
                        <tr data-href="<?= site_url('bets/edit/' . $match->fixture_id) ?>">
                    <?php else : ?>
                        <tr data-href="<?= site_url('connection') ?>">
                    <?php endif; ?>
                        <td class="text-xs-right"><?= $match->team1 ?></td>
                        <td class="text-xs-right"><?= $match->team1_score ?></td>
                        <td class="text-xs-center">-</td>
                        <td><?= $match->team2_score ?></td>
                        <td><?= $match->team2 ?></td>
                        <?php if (is_connected()) : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('bets/edit/' . $match->fixture_id) ?>"><?= $this->lang->line('view'); ?></a></td>
                        <?php else : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('connection?url=' . urlencode('bets/edit/' . $match->fixture_id)) ?>"><?= $this->lang->line('view'); ?></a></td>
                        <?php endif; ?>
                        <?php if (is_connected() && user_can('admin_fixtures')) : ?><commit_msg>Changement de taille pour les messages affichés sur la page d'accueil<commit_after><?php if ($this->session->flashdata('success')) : ?>
    <div class="alert alert-success alert-dismissible fade in" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
        <?= $this->session->flashdata('success') ?>
    </div>
<?php endif ?>

<?php if (isset($home_message)) : ?>
    <div class="jumbotron">
        <?= $home_message ?>
    </div>
<?php endif; ?>

<?php if ($quote_text) : ?>
    <div class="quote">
        <blockquote class="blockquote b-l-0">
            <p class="m-a-0"><?= $quote_text ?></p>
            <p class="blockquote-footer m-a-0"><?= $quote_author ?></p>
        </blockquote>
    </div>
<?php endif; ?>

<?php if (!$yesterday_matches && !$today_matches && !$tomorrow_matches) : ?>
    <h5><?= $this->lang->line('no_match_3days'); ?></h5>

    <?php if ($last_matches) : ?>
        <table class="home-table table-striped table-hover m-t-2 m-r-2">
            <thead>
                <tr>
                    <th colspan="<?php echo (is_connected() && user_can('admin_fixtures')) ? '7' : '6'?>" class="text-xs-center"><?= $this->lang->line('last_matches'); ?></th>
                </tr>
            </thead>
            <tbody>
                <?php foreach ($last_matches as $key => $match) : ?>
                    <?php if (is_connected()) : ?>
                        <tr data-href="<?= site_url('bets/edit/' . $match->fixture_id) ?>">
                    <?php else : ?>
                        <tr data-href="<?= site_url('connection') ?>">
                    <?php endif; ?>
                        <td class="text-xs-right"><?= $match->team1 ?></td>
                        <td class="text-xs-right"><?= $match->team1_score ?></td>
                        <td class="text-xs-center">-</td>
                        <td><?= $match->team2_score ?></td>
                        <td><?= $match->team2 ?></td>
                        <?php if (is_connected()) : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('bets/edit/' . $match->fixture_id) ?>"><?= $this->lang->line('view'); ?></a></td>
                        <?php else : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('connection?url=' . urlencode('bets/edit/' . $match->fixture_id)) ?>"><?= $this->lang->line('view'); ?></a></td>
                        <?php endif; ?>
                        <?php if (is_connected() && user_can('admin_fixtures')) : ?>
                            <td><a class="btn btn-sm btn-primary" href="<?= site_url('admin/fixtures/results/' . $match->fixture_id) ?>"><?= $this->lang->line('enter_fixture_results'); ?></a></td>
                        <?php endif; ?>
                    </tr>
                <?php endforeach; ?>
            </tbody>
        </table>
    <?php endif; ?>

    <?php if ($next_matches) : ?>
        <table class="home-table table-striped table-hover m-t-2 m-r-2">
            <thead>
                <tr>
                    <th colspan="<?php echo (is_connected() && user_can('admin_fixtures')) ? '5' : '4'?>" class="text-xs-center"><?= sprintf($this->lang->line('next_matches'), $next_matches_date) ?></th>
                </tr>
            </thead>
            <tbody>
                <?php foreach ($next_matches as $key => $match) : ?>
                    <?php if (is_connected()) : ?>
                        <tr data-href="<?= site_url('bets/edit/' . $match->fixture_id) ?>">
                    <?php else : ?>
                        <tr data-href="<?= site_url('connection') ?>">
                    <?php endif; ?>
                        <td class="text-xs-right"><?= $match->team1 ?></td>
                        <td class="text-xs-center">-</td>
                        <td><?= $match->team2 ?></td>
                        <?php if (is_connected()) : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('bets/edit/' . $match->fixture_id) ?>"><?= $this->lang->line('place_bet'); ?></a></td>
                        <?php else : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('connection?url=' . urlencode('bets/edit/' . $match->fixture_id)) ?>"><?= $this->lang->line('place_bet'); ?></a></td>
                        <?php endif; ?>
                    </tr>
                <?php endforeach; ?>
            </tbody>
        </table>
    <?php endif; ?>
<?php else : ?>
    <?php if (!$yesterday_matches) : ?>
        <h5><?= $this->lang->line('no_match_yesterday'); ?></h5>
    <?php endif; ?>
    <?php if (!$today_matches) : ?>
        <h5><?= $this->lang->line('no_match_today'); ?></h5>
    <?php endif; ?>
    <?php if (!$tomorrow_matches) : ?>
        <h5><?= $this->lang->line('no_match_tomorrow'); ?></h5>
    <?php endif; ?>

    <?php if ($yesterday_matches) : ?>
        <table class="home-table table-striped table-hover m-t-2 m-r-2">
            <thead>
                <tr>
                    <th colspan="<?php echo (is_connected() && user_can('admin_fixtures')) ? '7' : '6'?>" class="text-xs-center"><?= $this->lang->line('yesterday_matches'); ?></th>
                </tr>
            </thead>
            <tbody>
                <?php foreach ($yesterday_matches as $key => $match) : ?>
                    <?php if (is_connected()) : ?>
                        <tr data-href="<?= site_url('bets/edit/' . $match->fixture_id) ?>">
                    <?php else : ?>
                        <tr data-href="<?= site_url('connection') ?>">
                    <?php endif; ?>
                        <td class="text-xs-right"><?= $match->team1 ?></td>
                        <td class="text-xs-right"><?= $match->team1_score ?></td>
                        <td class="text-xs-center">-</td>
                        <td><?= $match->team2_score ?></td>
                        <td><?= $match->team2 ?></td>
                        <?php if (is_connected()) : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('bets/edit/' . $match->fixture_id) ?>"><?= $this->lang->line('view'); ?></a></td>
                        <?php else : ?>
                            <td><a class="btn btn-sm btn-outline-primary" href="<?= site_url('connection?url=' . urlencode('bets/edit/' . $match->fixture_id)) ?>"><?= $this->lang->line('view'); ?></a></td>
                        <?php endif; ?>
                        <?php if (is_connected() && user_can('admin_fixtures')) : ?>
{'fraction_non_alphanumeric': 0.21680684890357466, 'fraction_numerical': 0.0045058576148993695, 'mean_word_length': 1.6930232558139535, 'pattern_counts': {'":': 0, '<': 409, '<?xml version=': 0, '>': 519, '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': '6583135', 'n_tokens_mistral': 4082, 'n_tokens_neox': 4047, 'n_words': 752}