Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php foreach ($pager>getResults() as $News): ?>
- <div>
- <h2><a href="<?php echo url_for('news/show?slug='.$News['SLUG']); ?>"><?php echo $News['TITLE']; ?></a></h2>
- <?php echo $News['TEXT']; ?>
- <?php if($News['FTEXT']==1): ?>
- <p>
- <a href="<?php echo url_for('news/show?slug='.$News['SLUG']); ?>">Read more...</a>
- </p>
- <?php endif; ?>
- </div>
- <?php endforeach; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement