'empty_box','class'=>$empty_box), ""); $output .= html::imgFromArray(array('src'=>'http://www.deturno.com/site/templates/jarutile/images/green/logo.jpg','alt'=>'Some logo')); $some = html::pFromArray(array('id'=>'some_p','value'=>$some_text,'style'=>'padding: 10px 0;color: blue;')); $output .= html::divFromArray($empty, $some); $some = ""; for ($i = 0; $i <10; $i++){ $puit = $line_text.' '.$i; $some .= html::liFromArray($empty, $puit); } $some = html::ulFromArray($empty, $some); $output .= html::divFromArray($empty, $some); $output .= html::divFromArray(array('id'=>'empty_box','class'=>$empty_box), ""); $output .= html::hFromArray(1, $empty, "What about inputs and buttons?");; $some = html::inputFromArray(array('type'=>'text', 'label'=>'Input 1:','placeholder'=>'Some input')); $output .= html::divFromArray(array('id'=>'inputs'), $some); $output .= html::hFromArray(3, $empty, 'A select perhaps'); $sapo[] = '---- Select One ----'; for($i =0; $i < 7; $i++){ $sapo['value'.$i] = "Select ".$i; } //var_dump($sapo); $some = html::selectFromArrays(array( 'label'=>'Select some'), $sapo); $buton = html::buttonFromArray(array('value'=>'Hit me','onclick'=>'alert(\'You just saved some Tags, isnt that great? \n If you take a look at the code you will see only one line \nThat means faster loads\')')); $output .= html::divFromArray(array('id'=>'inputs'), $some.$buton); $output = html::bodyFromArray($empty, $output); $output = html::createHtml($output); echo $output; ?>