| 12345678910111213141516171819202122 |
- <?php
- class NTKLabel
- {
- function NTKLabel($id, $text, $style="")
- {
- $this->id = $id;
- $this->text = $text;
- $this->style = $style;
- }
-
- function getHtml()
- {
- $html = "";
-
- $html .= "<div id=\"".$this->id."\" width=\"100%\" height=\"100%\" style=\"".$this->style."\">".$this->text."</div>\n";
-
- return $html;
- }
- }
- ?>
|