include_once('class\html.class.php');
echo Html::beginHtml();
echo Html::beginHead("iso-8859-4");
echo Html::addTitle("Labas pasauli.");
echo Html::endHead();
echo Html::beginBody();
echo Html::endLine(2);
$table = new Table();
$table->beginTable(2, "50%", "center", 1);
$table->newRow("center", "middle");
$table->addCell("a", "25%", "40");
$table->addCell(Html::Bold("b"), "25%", "");
$table->addRow(HTML::SubmitButton("submit","Spustelk :P"), null, 40, "center", "middle");
$table->endTable();
$form = new Form();
$form->beginForm("forma", "table.php");
$form->__formData.= $table->drawTable();
$form->endForm();
echo $form->drawForm();
echo Html::endLine(2);
echo Html::alignCenter(Html::textColor(Html::Bold("Tipo čia valid HTML :P"), "red"));
echo Html::endBody();
echo Html::endHtml();
?>