Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="col-text">
- <div class="full-rslides">
- <ul class="rslides transparent-btns transparent-btns1">
- <?php
- $result = CMS::$MySql->Query("SELECT * FROM articles ORDER BY id DESC LIMIT 5");
- $i = 0;
- while ($Row = $result->fetch_assoc()) {
- $i++;
- echo '<li>
- <a href="/community/'.$Row['id'].'"><img height="350" width="960" src="'.$Row['image'].'" alt=""></a>
- <p class="caption"><i class="fa fa-newspaper-o"></i> '.$Row['title'].'<span class="muted small"> - Posted on '.date('F, jS Y', $row['date']).'</span></p>
- </li>
- <ul class="transparent-btns_tabs transparent-btns'.$Row['id'].'_tabs"><a href="#" class="transparent-btns'.$Row['id'].'_s'.$Row['id'].'"></a></ul>';
- }
- ?>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement