Changeset 118 for trunk/client/modules/Elezioni/crea_pagina.php
- Timestamp:
- Jun 6, 2011, 11:29:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/crea_pagina.php
r115 r118 20 20 21 21 22 global $prefix,$dbi,$pdf,$csv,$xls,$lang,$descr_cons,$prefix,$dbi,$id_comune,$descrizione,$siteistat,$min,$offset,$minsez,$offsetsez,$datipdf ;22 global $prefix,$dbi,$pdf,$csv,$xls,$lang,$descr_cons,$prefix,$dbi,$id_comune,$descrizione,$siteistat,$min,$offset,$minsez,$offsetsez,$datipdf,$orienta,$formato; 23 23 $res = mysql_query("SELECT descrizione,simbolo,stemma FROM ".$prefix."_ele_comuni where id_comune='$id_comune' ", $dbi); 24 24 list($descr_com,$simbolo,$stemma) = mysql_fetch_row($res); 25 26 27 28 25 29 26 … … 256 253 // conversion HTML => PDF 257 254 //$nomefile="elezioni_tabelle.pdf"; 255 //$orienta="P"; 258 256 require_once('inc/hpdf403/html2pdf.class.php'); 259 $html2pdf = new HTML2PDF( 'L','A4', 'it');257 $html2pdf = new HTML2PDF($orienta,$formato, 'it'); 260 258 $html2pdf->WriteHTML($style, isset($_GET['vuehtml'])); 261 259 $html2pdf->Output($nomefile);
Note:
See TracChangeset
for help on using the changeset viewer.