| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <h1>Welcome <?= $user->username ?></h1>
- <div class="post">
- <?= $this->form->create(null, array('action' => 'post')); ?>
- <?= $this->form->field('body', array('type' => 'textarea')); ?>
- <?= $this->form->submit('Post!'); ?>
- <?= $this->form->end(); ?>
- </div>
- <h2> Here are some posts:</h2>
- <?php if($feed): ?>
- <?php foreach ($feed as $post): ?>
- <div class="date">
- <span class="month"><a href="#" title="">Nov</a></span>
- <span class="day"><a href="#" title="">8</a></span>
- </div> <!-- .date -->
-
-
- <div class="post post-link">
- <!--<h3><a href="#" title="http://" >My favorite web site</a></h3>-->
-
- <p><?php echo $post->body ?></p>
-
-
-
- <div class="postmeta">
-
- <p class="posttime"><a href="#" title="http://demo.tumblr.com/post/234/my-favorite-web-site">Posted <?=date('m/d/y', $post->datetime->sec) ?></a></p>
-
-
- <p class="notes"><a href="#" title="http://demo.tumblr.com/post/234/my-favorite-web-site#permalink-notes">1,256 notes</a></p>
-
-
-
-
- </div> <!-- .postmeta -->
- </div> <!-- .post -->
- <div class="clear newpost"></div>
- <?php endforeach; ?>
- <?php else: ?>
- <p>Woops! You have no posts, why not post something and get the party started!</p>
- <?php endif; ?>
-
|