--- nfo/php/libs/com.newsblob.phphtmllib/test/test3.php 2003/01/30 03:29:41 1.1 +++ nfo/php/libs/com.newsblob.phphtmllib/test/test3.php 2003/09/19 22:49:58 1.2 @@ -3,22 +3,15 @@ include_once("localinc.php"); $page = new HTMLPageclass("test3.php"); -$page->push_css_link("/phphtmllib/widgets/css/InfoTable.css"); +$page->add_css_link("/phphtmllib/css/defaulttheme.php"); -$table = new InfoTable("Some Title Here", "30%", 1); -$td = new TDtag(array("bgcolor"=>"#FF0000") ); +$table = new InfoTable("Some Title Here", "60%"); -$table->push("Some lame crap"); -$table->push(" ", " ", " "); -$td->push("Some more crap"); -$table->push( $td ); -$table->push("multiple", "crap", "here"); -$table->push(" "); -$table->push("Even more", " "); -$table->push(" "); +$table->add_row(_HTML_SPACE, "foo", _HTML_SPACE); +$table->add_row("multiple", "crap", "here"); +$table->add_row("Even more", " ", _HTML_SPACE); - -$page->push( $table ); +$page->add( $table ); print $page->render(); ?>