<?php  defined('C5_EXECUTE') or die(_("Access Denied.")); $parentPage = Page::getByID($c->getCollectionParentID()); ?>

	<?php if ($c->getCollectionTypeHandle() == 'home') { ?>    
    <div id="feature">
    	<?php 
		$a = new Area('Feature');
		$a->display($c);
		?>
    </div><!-- #feature ends -->
    <?php } else {?>
    <div id="feature"<?php if ($c->getAttribute('header_image')) { ?> style="background-image:url(<?php echo $c->getAttribute('header_image')->getVersion()->getRelativePath();?>);"<?php } ?>>
    	<div class="row">
        	<div class="large-12 columns">
            	<?php if ($c->getCollectionTypeHandle() == 'blog_entry' || $c->getCollectionTypeHandle() == 'pb_post') { ?>
                    <h1 class="fade-in one"><?php echo $parentPage->getCollectionName();?></h1>
                    <?php if ($parentPage->getCollectionDescription()) { ?>
                    <p class="lead fade-in two"><?php echo $parentPage->getCollectionDescription() ?></p>
                	<?php } ?>
				<?php } else {?>
                    <h1 class="fade-in one"><?php echo $c->getCollectionName() ?></h1>
                    <?php if ($c->getCollectionDescription()) { ?>
                    <p class="lead fade-in two"><?php echo $c->getCollectionDescription() ?></p>
                	<?php } ?>
                <?php } ?>
            </div>
        </div>
    </div><!-- #feature ends -->
    <?php } ?>