$pdf->SetX(10); } } else { $pdf->Cell(10,4,$numrig,'LR',0,'R'); $pdf->Cell(78,4,'',0,0,'L'); $pdf->Cell(16,4,$mov['codcon'],'L',0,'C'); $pdf->Cell(46,4,$clfoco['descri'],'L',0,'L',0,'',1); $pdf->Cell(20,4,$dare,'L',0,'R'); $pdf->Cell(20,4,$avere,'LR',1,'R'); } $topCarry[1]['name']= gaz_format_number($tot_dare); $botCarry[1]['name']= gaz_format_number($tot_dare); $topCarry[2]['name']= gaz_format_number($tot_avere); $botCarry[2]['name']= gaz_format_number($tot_avere); $pdf->setTopCarryBar($topCarry); $pdf->setBotCarryBar($botCarry); $ctrlmopre = $mov["id_tes"]; $numrig ++; } $pdf->setBotCarryBar(''); $pdf->Cell(150,4,'TOTALI : ',1,0,'L'); $pdf->Cell(20,4,gaz_format_number($tot_dare),1,0,'R',1); $pdf->Cell(20,4,gaz_format_number($tot_avere),1,0,'R',1); if (isset($_GET['stadef'])) { gaz_dbi_put_row($gTables['aziend'],"codice",$admin_aziend['codice'],'upggio', $pdf->getGroupPageNo()+$n_page-1); } $pdf->Output($title.'.pdf'); ?>