<!-- page container -->
<!-- page title -->
<h2 class="ribbon blue full" ><?= $user->username ?>'s Feed <span>Here's what's poppin'</span> </h2>
<div class="triangle-ribbon blue" ></div>
<br class="cl" >
	<!-- sidebar -->
	<aside> 
		<ul class="sidebar-nav" >
			<li class="first current" ><a href="#" >Feed</a></li>
			<li class="" ><a href="#" >Direct Message</a></li>
		</ul>
	</aside>
	<!-- Page Content -->

<div id="page-content" class="two-col container_12" >
<?= $this->form->create(null, array('action' => 'post')); ?>
    <?= $this->form->field('body', array('type' => 'textarea')); ?>
   <?= $this->form->submit('Post!', array('class' => 'button', 'style' => 'float:right')); ?>
<?= $this->form->end(); ?>
<br class ="cl">

		<?php if(isset($feed)): ?>
		<?php foreach($feed as $post): ?>
		<div class="grid_4"><img class="inlinepic" src="/img/about.jpg" alt="" /></div>
		<div class="grid_8">
			<h4><?= $post->username ?></h4>
			<p><?php echo $post->body; ?> </p>
			<h5 class="inline">Skills:</h5>
			<ul class="tags">
			<li>HTML</li>
			<li>CSS</li>
			<li>JS/jQuery</li>
			</ul>
			<h5 class="inline">Social:</h5>
			<ul class="social">
			<li><a href="#"><img class="tooltip" src="/img/social/16/twitter.png" title="Follow me on Twitter" alt="twitter" /></a></li>
			<li><a href="#"><img class="tooltip" src="/img/social/16/facebook.png" title="My Facebook profile" alt="facebook" /></a></li>
			<li><a href="#"><img class="tooltip" src="/img/social/16/linkedin.png" title="My LinkedIn profile" alt="linkedin" /></a></li>
			<li><a href="#"><img class="tooltip" src="/img/social/16/skype.png" title="Call me on Skype" alt="skype" /></a></li>
			</ul>
		</div>
		<br class="cl">
		<?php endforeach;  ?>
	<?php else: ?>
		<p>Woops! There's no posts yet. Make some friends and get the party started!</p> 
	<?php endif; ?>
	</div>
 <br class="cl" />
 <br class="cl" />