Changeset 347 for trunk/client/modules/Elezioni/votanti.php
- Timestamp:
- May 14, 2021, 2:00:23 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/votanti.php
r344 r347 10 10 die ("Non puoi accedere al file direttamente..."); 11 11 } 12 13 require_once('inc/hpdf5/autoload.php'); 14 use Spipu\Html2Pdf\Html2Pdf; 15 use Spipu\Html2Pdf\Exception\Html2PdfException; 16 use Spipu\Html2Pdf\Exception\ExceptionFormatter; 17 12 18 $param=strtolower($_SERVER['REQUEST_METHOD']) == 'get' ? 13 19 $_GET : $_POST; 14 15 16 20 17 21 $id_comune= (isset($param['id_comune'])) ? $param['id_comune']:$siteistat; … … 521 525 $stampa ="<div style=\"margin:0 auto;text-align:center;\">$datipdf $html</div>"; 522 526 523 require_once('inc/hpdf403/html2pdf.class.php'); 524 $html2pdf = new HTML2PDF('L','A4', 'it'); 527 $html2pdf = new Html2Pdf('P','A4', 'it'); 525 528 $html2pdf->WriteHTML($stampa, isset($_GET['vuehtml'])); 526 529 $html2pdf->Output($nomefile);
Note:
See TracChangeset
for help on using the changeset viewer.