<commit_before><?php echo $this->doctype(); ?>

<html lang="en">
    <head>
        <meta charset="utf-8">
        <?php echo $this->headTitle('BBC e.V.')->setSeparator(' - ')->setAutoEscape(false) ?>

        <?php echo $this->headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0') ?>

        <!-- Le styles -->
        <?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/images/favicon.ico'))
                        ->prependStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css')
                        ->prependStylesheet($this->basePath() . '/css/style.css')
                        ->prependStylesheet($this->basePath() . '/css/bootstrap.min.css') ?>

        <!-- Scripts -->
        <?php echo $this->headScript()
                        ->prependFile($this->basePath() . '/js/html5.js', 'text/javascript',
                            array('conditional' => 'lt IE 9',))
                        ->prependFile('/js/bootstrap-collapse.js')
                        ->prependFile('/js/bootstrap.min.js')
                        ->prependFile('/js/jquery-2.0.3.min.js')
        ?>

    </head>
    <body>
        <div class="navbar navbar-fixed-top">

            <div class="navbar-inner">
                <div class="container">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>
                    <a class="brand" href="<?php echo $this->url('home') ?>"><?php echo $this->translate('Berliner Baduk Club e.V.') ?></a>
                    <div class="nav-collapse">
                        <ul class="nav">
                            <li class="active"><a href="<?php echo $this->url('home') ?>"><?php echo $this->translate('Home', 'Application') ?></a></li>
                            <li><a href="<?php echo $this->url('training') ?>"><?php echo $this->translate("Location", 'Application'); ?></a></li>



<?php
     if ($user = $this->identity()) {

         echo sprintf('<li><a href="%s">%s</a></li>',
             $this->url('dashboard'),
             $this->translate('Dashboard', 'Application')
         );


        if ($user->getRole()=='admin') {

            $admin = array(

            $this->translate('User overview', 'Application')   =>
                $this->url('user'),

            $this->translate('add user', 'Application')  =>
                $this->url('user', array('action' => 'add')),

            $this->translate('open results', 'Application')    =>
                $this->url('result'),

            $this->translate('edit match day', 'Application')    =>
                $this->url('timeTable'),

            $this->translate('season overview', 'Application')    =>
                $this->url('season'),

            $this->translate('rejected appointments', 'Application')    =>
                $this->url('appointmentShow', array('action' => 'reject')),

            );

            echo $this->Submenu('Admin', $admin);


        }

        echo sprintf('<li><a href="%s">%s</a></li>',
            $this->url('profile'),
            $this->translate('Profile', 'Application')
        );

        $messages = array(

            $this->translate('Inbox', 'Application')  =>
                $this->url('message'),

            $this->translate('New Message', 'Application')  =>
                $this->url('message', array('action' => 'new')),

             $this->translate('Sent', 'Application')  =>
                 $this->url('message', array('action' => 'sent')),


        );

         echo $this->Submenu(
             $this->translate('Messages', 'Application'),
             $messages
         );

        $league = array(

            $this->translate('Schedule', 'Application')   =>
                $this->url('timeTable', array('action' => 'schedule')),

            $this->translate('Standings', 'Application')  =>
                $this->url('actual', array('action' => 'table')),

            $this->translate('results', 'Application')    =>
                $this->url('result', array('action' => 'myResult')),

        );

        echo $this->Submenu(
            $this->translate('League', 'Application'),
            $league
        );

         echo $this->Submenu(
             $this->translate('Appointments', 'Application'),
             array (
                 $this->translate('Shift Date', 'Application')   =>
                     $this->url('appointmentShow', array('action' => 'available')),
                 $this->translate('Confirm', 'Application')   =>
                     $this->url('appointmentShow'),
             )
         );

        echo sprintf('<li style="color:lightblue;line-height:19px;
                padding:10px; padding-left:20px;">%s %s</li>',
            $this->translate('Logged in as ', 'Application'),
            $this->escapeHtml($user->getUsername())
        );

        echo sprintf('<li><a href="%s">%s</a></li>',
            $this->url('login', array('action'=>'logout')),
            $this->translate('Logout', 'Application')
        );

     } else {

        echo sprintf('<li><a href="%s">%s</a></li>',
            $this->url('login'),
            $this->translate('LogIn', 'Application')
        );

     }
?>
                        </ul>
                    </div><!--/.nav-collapse -->
                </div>
            </div>
        </div>
        <div class="container">
            <?php echo $this->content; ?>
            <hr>
            <footer>
                <div class="copyright">
                    <ul>
                        <li><a href="<?php echo $this->url('imprint') ?>"><?php echo $this->translate("Imprint", 'Application'); ?></a></li>
                        <li><a href="<?php echo $this->url('contact') ?>"><?php echo $this->translate("Contact", 'Application'); ?></a></li>
                        <li class="version">v0.2.6</li>
                        <li><?php echo $this->translate('All rights reserved.', 'Application') ?></li><commit_msg>[~TASK] Version bumped to v0.3.1<commit_after><?php echo $this->doctype(); ?>

<html lang="en">
    <head>
        <meta charset="utf-8">
        <?php echo $this->headTitle('BBC e.V.')->setSeparator(' - ')->setAutoEscape(false) ?>

        <?php echo $this->headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0') ?>

        <!-- Le styles -->
        <?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/images/favicon.ico'))
                        ->prependStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css')
                        ->prependStylesheet($this->basePath() . '/css/style.css')
                        ->prependStylesheet($this->basePath() . '/css/bootstrap.min.css') ?>

        <!-- Scripts -->
        <?php echo $this->headScript()
                        ->prependFile($this->basePath() . '/js/html5.js', 'text/javascript',
                            array('conditional' => 'lt IE 9',))
                        ->prependFile('/js/bootstrap-collapse.js')
                        ->prependFile('/js/bootstrap.min.js')
                        ->prependFile('/js/jquery-2.0.3.min.js')
        ?>

    </head>
    <body>
        <div class="navbar navbar-fixed-top">

            <div class="navbar-inner">
                <div class="container">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>
                    <a class="brand" href="<?php echo $this->url('home') ?>"><?php echo $this->translate('Berliner Baduk Club e.V.') ?></a>
                    <div class="nav-collapse">
                        <ul class="nav">
                            <li class="active"><a href="<?php echo $this->url('home') ?>"><?php echo $this->translate('Home', 'Application') ?></a></li>
                            <li><a href="<?php echo $this->url('training') ?>"><?php echo $this->translate("Location", 'Application'); ?></a></li>



<?php
     if ($user = $this->identity()) {

         echo sprintf('<li><a href="%s">%s</a></li>',
             $this->url('dashboard'),
             $this->translate('Dashboard', 'Application')
         );


        if ($user->getRole()=='admin') {

            $admin = array(

            $this->translate('User overview', 'Application')   =>
                $this->url('user'),

            $this->translate('add user', 'Application')  =>
                $this->url('user', array('action' => 'add')),

            $this->translate('open results', 'Application')    =>
                $this->url('result'),

            $this->translate('edit match day', 'Application')    =>
                $this->url('timeTable'),

            $this->translate('season overview', 'Application')    =>
                $this->url('season'),

            $this->translate('rejected appointments', 'Application')    =>
                $this->url('appointmentShow', array('action' => 'reject')),

            );

            echo $this->Submenu('Admin', $admin);


        }

        echo sprintf('<li><a href="%s">%s</a></li>',
            $this->url('profile'),
            $this->translate('Profile', 'Application')
        );

        $messages = array(

            $this->translate('Inbox', 'Application')  =>
                $this->url('message'),

            $this->translate('New Message', 'Application')  =>
                $this->url('message', array('action' => 'new')),

             $this->translate('Sent', 'Application')  =>
                 $this->url('message', array('action' => 'sent')),


        );

         echo $this->Submenu(
             $this->translate('Messages', 'Application'),
             $messages
         );

        $league = array(

            $this->translate('Schedule', 'Application')   =>
                $this->url('timeTable', array('action' => 'schedule')),

            $this->translate('Standings', 'Application')  =>
                $this->url('actual', array('action' => 'table')),

            $this->translate('results', 'Application')    =>
                $this->url('result', array('action' => 'myResult')),

        );

        echo $this->Submenu(
            $this->translate('League', 'Application'),
            $league
        );

         echo $this->Submenu(
             $this->translate('Appointments', 'Application'),
             array (
                 $this->translate('Shift Date', 'Application')   =>
                     $this->url('appointmentShow', array('action' => 'available')),
                 $this->translate('Confirm', 'Application')   =>
                     $this->url('appointmentShow'),
             )
         );

        echo sprintf('<li style="color:lightblue;line-height:19px;
                padding:10px; padding-left:20px;">%s %s</li>',
            $this->translate('Logged in as ', 'Application'),
            $this->escapeHtml($user->getUsername())
        );

        echo sprintf('<li><a href="%s">%s</a></li>',
            $this->url('login', array('action'=>'logout')),
            $this->translate('Logout', 'Application')
        );

     } else {

        echo sprintf('<li><a href="%s">%s</a></li>',
            $this->url('login'),
            $this->translate('LogIn', 'Application')
        );

     }
?>
                        </ul>
                    </div><!--/.nav-collapse -->
                </div>
            </div>
        </div>
        <div class="container">
            <?php echo $this->content; ?>
            <hr>
            <footer>
                <div class="copyright">
                    <ul>
                        <li><a href="<?php echo $this->url('imprint') ?>"><?php echo $this->translate("Imprint", 'Application'); ?></a></li>
                        <li><a href="<?php echo $this->url('contact') ?>"><?php echo $this->translate("Contact", 'Application'); ?></a></li>
                        <li class="version">v0.3.1</li>
                        <li><?php echo $this->translate('All rights reserved.', 'Application') ?></li>
{'fraction_non_alphanumeric': 0.2049042391217245, 'fraction_numerical': 0.0029649811683628495, 'mean_word_length': 1.7290618849770392, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 395, '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': '7649013', 'n_tokens_mistral': 3466, 'n_tokens_neox': 3328, 'n_words': 567}