SetY(25); $this->SetTextColor(0,0, 0); $this->SetFont($this->font,'B',($this->fontsize)+2); $this->Cell(0,0, $this->title, array('B'=>array('width' => 1,'color'=>array(157,18,22))),1,'L'); $this->SetY(22); if($this->title=='') $this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo-lang.png',0,15,64,15,'','','','',300,'R'); else $this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo.png',0,10,20,20,'','','','',300,'R'); $this->SetMargins(25,25,20,25); $this->SetHeaderMargin(25); $this->SetFooterMargin(20); } function Footer(){ $this->SetY(-20); $this->SetTextColor(0, 0, 0); $this->SetFont($this->font,'',$this->fontsize); $this->Cell(0,8, $this->mail,array('T'=>array('width' => 1,'color'=>array(0,115,184))),1,'L'); $this->SetY(-20); $this->Cell(0,8,'www.dream-job.eu','',1,'R'); } } ?>