rendered paste body<?include_once('class\html.class.php');$data = new Collector();$data->write(html_begin());$data->write(html_begin_head("iso-8859-13"));$data->write(html_title("Advanced table."));$data->write(html_end_head());$data->write(html_begin_body());$data->write(html_endLine(2));$data->writeTag("table1");$data->write(html_end_body());$data->write(html_end());//kuriame lentelę$table = new Table();$table->beginTable(2, "100%", "center");$table->newRow();$table->addBCell("Išorinė lentelė", "20%", null, "center", "middle"); $tableIn = new Table(); $tableIn->beginTable(5, "80%", "left", 1); $tableIn->addBRow("Vidinė lentelė", null, null, "center", "middle"); $tableIn->newRow("center", "middle"); $tableIn->addBCell("KAMPAS", "25%", null, null, null, 2, 2); $tableIn->addBCell("H1", "75%", null, null, null, 3); $tableIn->newRow("center", "middle"); $tableIn->addBCell("H2", "50%", null, null, null, null, 2); $tableIn->addBCell("H3", null, null, null, null, 2); $tableIn->newRow("center", "middle"); $tableIn->addBCell("H4", "12%"); $tableIn->addBCell("H5"); $tableIn->addBCell("H6"); $tableIn->addBCell("", "12%"); $tableIn->newRow(); $tableIn->addCell("A", null, 100); $tableIn->addCell("VJung", null, null, "center", "middle", null, 2, "Yellow"); $tableIn->addCell(html_textbox("text", "Labas pasauli", 20, 3), null, null, "center", "middle",null,null, "Green"); $tableIn->addCell("HJung", null, null, "center", "middle", 2); $tableIn->newRow(); $tableIn->addCell(html_image("http://www.december.com/html/images/icon.gif", "html"), null, 150, "center", "middle"); $form = new Collector(); $form->write(html_form_begin("test", "table.php")); $ledai = array('šokoladiniai', 'vaniliniai'); $form->write(html_bold("Jūsų mėgstami ledai").html_endLine().html_combobox("ledai", $ledai)); $form->write(html_endLine(2).html_submit("spustelk", "Labas pasauli :)")); $form->write(html_form_end()); $tableIn->addCell($form->output(), null, null, "center", "middle"); $tableIn->addCell("Paprastas ".html_bold("bold")." tekstas.", null, null, "center", "middle"); $tableIn->addCell("ha :)", null, null, "center", "middle", null, null, "Red"); $tableIn->newRow(); $tableIn->addCell("", null, null, null, null, 4); $tableIn->addCell(html_hyperLink("http://validator.w3.org/check?uri=referer").html_image("http://www.w3.org/Icons/valid-html401", "Valid HTML 4.01 Transitional"), "left"); $tableIn->endTable(); $table->addCell($tableIn->drawTable());$table->endTable();$data->write($table->drawTable(), "table1");echo $data->output();?>