Advertisement
Guest User

Untitled

a guest
Aug 5th, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. <?php
  2. $subsite = $query->subsite();
  3. if ($subsite){
  4. foreach ($subsite as $sub) {
  5. echo '<div class="school-container">';
  6. echo '<div class="col-md-3 school-content-fontello"><i class="'.$sub->fontello.'"></i> </div>';
  7. echo '<div class="col-md-3 school-content">';
  8. echo '<a href="#'.$sub->ID.'">'.$sub->title.'</a>';
  9. echo '<p>'.$sub->description.'</p>';
  10. echo '</div>';
  11. echo '</div>';
  12. }
  13. }
  14.  
  15. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement