Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <?php
  2. echo '<div class="row">';
  3. foreach($xml->monitor as $monitor) {
  4.  
  5. echo '<div class="col span_4 box">';
  6. echo $monitor['friendlyname'];
  7. if ($monitor['status'] == 2) {
  8. echo '<i class="fa fa-check tick"></i></div>';
  9. }
  10. /*
  11. elseif ($monitor['status'] == 9) {
  12. echo '<i class="fa fa-times cross"></i></div>';
  13. }
  14. */
  15. else {
  16. echo '<i class="fa fa-times cross"></i></div>';
  17. }
  18. }
  19. echo '<div class="col span_4 box">Hinzufügen <i class="fa fa-plus add"></i></div>';
  20. echo "</div>";
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement