/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/test/test3.php
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/test/test3.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jonen, Thu Jan 30 03:29:41 2003 UTC revision 1.2 by jonen, Fri Sep 19 22:49:58 2003 UTC
# Line 3  Line 3 
3  include_once("localinc.php");  include_once("localinc.php");
4    
5  $page = new HTMLPageclass("test3.php");  $page = new HTMLPageclass("test3.php");
6  $page->push_css_link("/phphtmllib/widgets/css/InfoTable.css");  $page->add_css_link("/phphtmllib/css/defaulttheme.php");
7    
8  $table = new InfoTable("Some Title Here", "30%", 1);  $table = new InfoTable("Some Title Here", "60%");
 $td = new TDtag(array("bgcolor"=>"#FF0000") );  
9    
10  $table->push("Some lame crap");  $table->add_row(_HTML_SPACE, "foo", _HTML_SPACE);
11  $table->push(" ", " ", " ");  $table->add_row("multiple", "crap", "here");
12  $td->push("Some more crap");  $table->add_row("Even more", " ", _HTML_SPACE);
 $table->push( $td );  
 $table->push("multiple", "crap", "here");  
 $table->push(" ");  
 $table->push("Even more", " ");  
 $table->push(" ");  
13    
14    $page->add( $table );
 $page->push( $table );  
15    
16  print $page->render();  print $page->render();
17  ?>  ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed