$style = $head->style(<<<EOF body { font-family: verdana; font-size: 10pt; } EOF , Node::UNSTRIPPED); $style = 'text/css'; $body = $html->body(); if (sizeof($_POST) == 0) { # select orm name $form = $body->form('Please select an Orm schema for which to generate database tables: '); $form->method = 'post'; $select = $form->select(); $select->name = 'orm_name'; foreach (Orm::getNames() as $name) { $option = $select->option($name); $option->value = $name; } $submit = $form->input(); $submit->type = 'submit'; $submit->value = 'Refine'; } elseif (sizeof($_POST) == 1 && !empty($_POST['orm_name'])) { $orm_name = $_POST['orm_name'] == '-' ? NULL : $_POST['orm_name']; $id_datatype = getIdDatatype(); $form = $body->form(); $form->method = 'post'; $on = $form->input(); $on->type = 'hidden'; $on->name = 'orm_name'; $on->value = $_POST['orm_name'];