Guest
Public paste!

jrnkntl

By: a guest | Dec 14th, 2009 | Syntax: PHP | Size: 0.26 KB | Hits: 57 | Expires: Never
Copy text to clipboard
  1. foreach ($member as $item) {
  2.         $color = strtolower(str_replace("", "AVAILABILITY_STATUS_", $member->availability_status));
  3.         echo "<div class=\"poolstatusbar\" style="background-color:".$color.">";
  4.         echo "<b>$item->address:$item->port</b><br/>";
  5.         echo "</div>";
  6. }