Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
51 righe
1.6 KiB
51 righe
1.6 KiB
<?php |
|
|
|
include_once (ROOT . "lib/api.php"); |
|
require_once (ROOT . "lib/modules/tcpdf/tcpdf.php"); |
|
class ModuloPdf extends TCPDF { |
|
//Page header |
|
public function Header() { |
|
// Logo + titolone |
|
// $htmlHeader = ' |
|
// <table cellpadding="1" cellspacing="1" border="0" > |
|
// <tr> |
|
// <td align="center" >REPUBBLICA ITALIANA<br/>SERVIZIO FITOSANITARIO ITALIANO</td> |
|
// </tr> |
|
// <tr> |
|
// <td align="center" ><img src="'.ROOT.'/app-assets/images/gallery/LogoRegioneSicilia.png" width="27" alt=""/></td> |
|
// </tr> |
|
// <tr> |
|
// <td align="center" >Regione Sicilia</td> |
|
// </tr> |
|
// <tr> |
|
// <td align="center" > |
|
// ASSESSORATO REGIONALE DELL\'AGRICOLTURA DELLO SVILUPPO RURALE E DELLA PESCA MEDITERRANEA<br/> |
|
// Dipartimento Regionale Dell\'Agricoltura<br/> |
|
// 4. Servizio Fitosanitario Regionale e Lotta alla Contraffazione<br/> |
|
// </td> |
|
// </tr> |
|
// </table>'; |
|
// |
|
// $this->writeHTML($htmlHeader, true, false, true, false, ''); |
|
} |
|
|
|
// Page footer |
|
public function Footer() { |
|
|
|
} |
|
|
|
} |
|
|
|
class PDF_DOMANDA extends TCPDF{ |
|
//Page header |
|
public function Header() { |
|
|
|
|
|
} |
|
// Page footer |
|
public function Footer() { |
|
|
|
} |
|
|
|
} |
|
|
|
|