0) { $h = $horizontal; $v = $vertical; } else { $h = $is[0]; $v = $is[1]; }; echo "
\n"; if (strlen($hr)>0) { if (substr($hr,0,4) =="http") $aux = "_blank"; else $aux = "_self"; }; if (strlen($hr) > 0) echo ""; echo "\"\"\n"; if (strlen($hr) > 0) echo ""; echo "
\n"; }; function poe_div($x, $y , $a, $l, $alinha='left', $fundo=0) { $nome = $x.$y; echo "
\n"; }; function fecha_div() { echo "
\n"; }; function tx($frase, $hr='', $tip='') { if (strlen($hr)>0) {if (substr($hr,0,4) =="http") $aux = "_blank"; else $aux = "_self"; } if (strlen($hr)>0) echo ""; echo $frase; if (strlen($hr)>0) echo ""; }; function fr($formato='', $tooltip='', $inicio=0) { if ($inicio==0) echo "\n"; if ($formato!='') if ($tooltip!='') echo ""; else echo ""; else if ($tooltip!='') echo ""; }; function poe_bloco( $bloco, $x, $y , $a, $l, $lingua='PT', $alinha='left', $fundo=0, $param='') { poe_div($x, $y , $a, $l, $alinha, $fundo=0); poe_texto($bloco, $lingua, $param ); fecha_div(); }; function poe_frase( $frase, $formato, $x, $y , $a, $l, $hr='', $lingua='PT', $alinha='left', $fundo=0,$tooltip='') { poe_div($x, $y , $a, $l, $alinha, $fundo=0); fr($formato,$tooltip, 1); frase($frase , $lingua, $hr); fr(); fecha_div(); }; function poe_form() { echo "
"; }; function campo_form($texto, $formato_texto, $xlabel, $ylabel, $nome_campo, $tipo, $tamanho, $xcampo, $ycampo, $lingua='PT',$valor='',$onClick='') { poe_frase($texto,$formato_texto,$xlabel,$ylabel,15,strlen($texto)*9,'',$lingua); switch ($tipo){ case "text": poe_div($xcampo, $ycampo , 15, $tamanho *5); if (strlen($valor)>0) echo ""; else echo ""; fecha_div(); break; case "checkbox": poe_div($xcampo, $ycampo , 15, 20); if (strlen($onClick)>0) echo ""; else echo ""; fecha_div(); break; case "select": poe_div($xcampo, $ycampo , 15, $tamanho *5); if (strlen($valor)>0){ echo ""; }; fecha_div(); break; case "submit": poe_div($xcampo, $ycampo , 15, $tamanho *5); if (strlen($valor)>0) echo ""; fecha_div(); break; }; }; ?>