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