Advertisement
Guest User

Untitled

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