Location: PHPKode > scripts > Prioritexter > Announcement.php
<?php
class Announcement extends HtmlFragment {

  var $str, $id;

  function Announcement($str, $id) {
    $this->str = $str;
    $this->id = $id;
  }

  function toStr() {
    $s .= "<table class=message cellspacing=0 cellpadding=2 "
       . "width=". PAGE_WIDTH .">"
       . "<td class=message align=center width=". PAGE_WIDTH .">"
       . "<span id=blinker_" . $this->id . ">"
       . $this->str ."</span>"
       . "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>"
       . "</tr></table>";
    return $s;
  }

}
?>
Return current item: Prioritexter