Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $article = $this->find('/articles/'); ?>
- <div id="articles">
- <?php for ($i=0, $i<=9; $i+=3) { ?>
- <div class="entry">
- <span class="date"><?php echo $article->date('%A'); ?><em><?php echo $article->date('%d'); ?></em></span>
- <h3 class="title"><?php echo $article->link($article->title); ?></h3>
- <span class="tags"><strong>tags:</strong> <?php echo join(', ', $article->tags()); ?></span>
- <?php echo $article->content(); ?>
- <span class="read-more"><?php if ($article->hasContent('extended')) echo $article->link('Continue Reading…'); ?></span>
- </div>
- <?php if ($i < 3) { echo '<span class="clear-left"></span>'; } } ?>
- </div>
Add Comment
Please, Sign In to add comment