<commit_before><?php
/*
 * The main thing to note in the view is that we are utilizing
 * the getter methods from the $user object to access the data and
 * render data in the view.
 */
?>
<div class="row-fluid">
    <div class="span12">
        <div class="row-fluid">
            <!-- Profile section -->
            <div class="span3 well" id="profile">
                <section>
                    <a href="<?php echo $this->url('wall', array('username' => $profileData->getUsername())) ?>" title="<?php printf('%s %s', $profileData->getName(), $profileData->getSurname())  ?>" class="thumbnail">
                        <img src="/images/avatar.png" alt="<?php printf('%s %s', $profileData->getName(), $profileData->getSurname())  ?>" />
                    </a>
                    <ul>
                        <li>
                            <h3><i class="icon-user"></i> <?php echo $this->translate('Bio') ?></h3>
                            <p><?php echo $profileData->getBio() ?></p>
                        </li>
                        <li>
                            <h3><i class="icon-globe"></i> <?php echo $this->translate('Location') ?></h3>
                            <p><?php echo $profileData->getLocation() ?></p>
                        </li>
                        <li>
                            <h3><i class="icon-heart"></i> <?php echo $this->translate('Gender') ?></h3>
                            <p><?php echo $profileData->getGenderString() ?></p>
                        </li>
                    </ul>
                </section>
            </div>

            <!-- Wall profile -->
            <div class="span9" id="wall">
                <section>
                    <!-- Main Stream wall profile -->
                    <div id="wall-stream">
                        <h2><?php printf('%s %s', $profileData->getName(), $profileData->getSurname())  ?></h2>
                    </div>
                <section>
                <section>
                    <div class="tabbable"> <!-- Only required for left/right tabs -->
                        <ul class="nav nav-tabs">
                            <li class="active"><a href="#wall-status" data-toggle="tab"><i class="icon-pencil"></i></a></li>
                        </ul>
                        <div class="tab-content">
                            <?php //echo $imageContentForm->hasValidated() == false || $imageContentForm->isValid() == true? '' : 'active' ?>
                            <div class="tab-pane active" id="wall-status">
<?php
// the next line adds the form partial for text-content-form and passes
// it itself as a parameter.
                                <?php echo $this->partial('forms/text-content-form.phtml', array('form' => $textContentForm)); ?>
                            </div>
                        </div>
                    </div>
                </section>
                <section>
                    <ul class="post-list">
                        <?php
                            // iterate over the getFeed() results.
                            foreach ($profileData->getFeed() as $entry) : ?>
                            <li class="post">
                                <section>
                                    <a href="<?php echo $this->url('wall', array('username' => $profileData->getUsername())) ?>" title="<?php printf('%s %s', $profileData->getName(), $profileData->getSurname())  ?>" class="pull-left thumbnail">
                                        <img src="/images/avatar.png" alt="<?php printf('%s %s', $profileData->getName(), $profileData->getSurname())  ?>" /><commit_msg>End of Chapter 5 Code<commit_after><?php
/*
 * The main thing to note in the view is that we are utilizing
 * the getter methods from the $user object to access the data and
 * render data in the view.
 */
?>
<div class="row-fluid">
    <div class="span12">
        <div class="row-fluid">
            <!-- Profile section -->
            <div class="span3 well" id="profile">
                <section>
                    <a href="<?php echo $this->url('wall', array('username' => $profileData->getUsername())) ?>" title="<?php printf('%s %s', $profileData->getName(), $profileData->getSurname())  ?>" class="thumbnail">
                        <img src="/images/avatar.png" alt="<?php printf('%s %s', $profileData->getName(), $profileData->getSurname())  ?>" />
                    </a>
                    <ul>
                        <li>
                            <h3><i class="icon-user"></i> <?php echo $this->translate('Bio') ?></h3>
                            <p><?php echo $profileData->getBio() ?></p>
                        </li>
                        <li>
                            <h3><i class="icon-globe"></i> <?php echo $this->translate('Location') ?></h3>
                            <p><?php echo $profileData->getLocation() ?></p>
                        </li>
                        <li>
                            <h3><i class="icon-heart"></i> <?php echo $this->translate('Gender') ?></h3>
                            <p><?php echo $profileData->getGenderString() ?></p>
                        </li>
                    </ul>
                </section>
            </div>

            <!-- Wall profile -->
            <div class="span9" id="wall">
                <section>
                    <!-- Main Stream wall profile -->
                    <div id="wall-stream">
                        <h2><?php printf('%s %s', $profileData->getName(), $profileData->getSurname())  ?></h2>
                    </div>
                <section>
                <section>
                    <div class="tabbable"> <!-- Only required for left/right tabs -->
                        <ul class="nav nav-tabs">
                            <li class="active"><a href="#wall-status" data-toggle="tab"><i class="icon-pencil"></i></a></li>
                        </ul>
                        <div class="tab-content">
                            <?php //echo $imageContentForm->hasValidated() == false || $imageContentForm->isValid() == true? '' : 'active' ?>
                            <div class="tab-pane active" id="wall-status">
                                <?php echo $this->partial('forms/text-content-form.phtml', array('form' => $textContentForm)); ?>
                            </div>
                        </div>
                    </div>
                </section>
                <section>
                    <ul class="post-list">
                        <?php foreach ($profileData->getFeed() as $entry) : ?>
                            <li class="post">
                                <section>
                                    <a href="<?php echo $this->url('wall', array('username' => $profileData->getUsername())) ?>" title="<?php printf('%s %s', $profileData->getName(), $profileData->getSurname())  ?>" class="pull-left thumbnail">
                                        <img src="/images/avatar.png" alt="<?php printf('%s %s', $profileData->getName(), $profileData->getSurname())  ?>" />
{'fraction_non_alphanumeric': 0.17203389830508475, 'fraction_numerical': 0.0035310734463276836, 'mean_word_length': 1.3170811518324608, 'pattern_counts': {'":': 0, '<': 176, '<?xml version=': 0, '>': 229, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7472979', 'n_tokens_mistral': 1828, 'n_tokens_neox': 1768, 'n_words': 414}