blob: 142fe7a8a48eafec81b21f2e6941fc69bb95c7ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<!-- 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" />
|