| 1 |
jonen |
1.1 |
<?php |
| 2 |
|
|
|
| 3 |
|
|
include_once("localinc.php"); |
| 4 |
|
|
|
| 5 |
|
|
$page = new HTMLPageclass("test3.php"); |
| 6 |
|
|
$page->push_css_link("/phphtmllib/widgets/css/InfoTable.css"); |
| 7 |
|
|
|
| 8 |
|
|
$table = new InfoTable("Some Title Here", "30%", 1); |
| 9 |
|
|
$td = new TDtag(array("bgcolor"=>"#FF0000") ); |
| 10 |
|
|
|
| 11 |
|
|
$table->push("Some lame crap"); |
| 12 |
|
|
$table->push(" ", " ", " "); |
| 13 |
|
|
$td->push("Some more crap"); |
| 14 |
|
|
$table->push( $td ); |
| 15 |
|
|
$table->push("multiple", "crap", "here"); |
| 16 |
|
|
$table->push(" "); |
| 17 |
|
|
$table->push("Even more", " "); |
| 18 |
|
|
$table->push(" "); |
| 19 |
|
|
|
| 20 |
|
|
|
| 21 |
|
|
$page->push( $table ); |
| 22 |
|
|
|
| 23 |
|
|
print $page->render(); |
| 24 |
|
|
?> |