tolto dalla pagina tutto che non serve per snellire ..
la echo incriminata:
echo "provenienza
";
style che non risponde:
style="padding
Codice PHP:
<?php
$esito_elab = '';
$id_doc_new = '';
echo "provenienza
";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \n";
echo "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> \n";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"it\"> \n";
echo "<head> \n";
echo "</head> \n";
if (($esito_elab == 'KO' or $esito_elab == 'WO' ) && isset($_COOKIE['pos_cursore']))
{
$pos_cursore = $_COOKIE['pos_cursore'];
echo "<body onload=\"document.getElementById('" . $pos_cursore ."').focus();\" > \n"; //--> cursore nella casella con errore
}
else
{echo "<body onload=\"document.getElementById('fa1').focus();\" > \n";} //--> cursore nella prima casella
?>
<div id="container_alfa">
<div id="container_corpo">
<div id="finestra_222" style="text-align: left;" >
<fieldset style="padding: 20 20 20 40px; background: #FDFFDD;">
<legend style="padding: 0 10 0 10px;">Nuovo documento </legend>
<table width="100%" border="0" align="left" >
<tr>
<td width="13%">
<label>Id Ana. </label>
</td>
<td width="1%">
<label>:</label>
</td>
<td>
<?php
echo "<input id=\"fa5\" title= 'Es. 00023' style=\"text-align: right;\" type=text size=\"5\" maxlength=\"5\" name=id_doc_new value=" . "'" .$id_doc_new. "'". ">";
?>
</td>
</tr>
</table>
</fieldset>
</div>
</div>
</div>
<?php
echo "</body> ";
echo "</html> ";
?>