Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(§xml->monitor[$j] != NULL){
- echo '<div class="col span_4 box">';
- echo $xml->monitor[$j]['friendlyname'];
- if ($xml->monitor[$j]['status'] == 2) {
- echo '<i class="fa fa-check tick"></i></div>';
- }
- elseif ($xml->monitor[$j]['status'] == 9) {
- echo '<i class="fa fa-times cross"></i></div>';
- }
- else {
- echo '<i class="fa fa-times cross"></i></div>';
- }
- echo '</div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement