setSourceFile($this->template); $tplidx = $this->importPage(1, '/MediaBox'); $this->addPage(); $this->useTemplate($tplidx); $this->AddUniGBhwFont('ugb','AdobeSongStd-Light-Acro'); $this->SetFont('ugb','',$this->fontsize); $this->setXY(45,62); $this->Write($this->fontsize,$this->data['realname']); $this->SetXY(34,72); $this->MultiCell (0, 4, str_replace(";","\n",$this->data['datalist'])); $this->setXY(30,110); $this->MultiCell(0,4,trim($this->data['project'])); $this->setXY(34,239); $this->Write($this->fontsize,$this->data['realname']); $this->setXY(34,245); $this->Write($this->fontsize,$this->data['unit']); $this->setXY(100,245); $this->Write($this->fontsize,$this->data['address']); $this->setXY(164,245); $this->Write($this->fontsize,$this->data['postcode']); $this->setXY(34,251); $this->Write($this->fontsize,$this->data['email']); $this->setXY(100,251); $this->Write($this->fontsize,$this->data['phone']); $t=getdate(); $this->setXY(163,251); $this->Write($this->fontsize,$t['year']); $this->setXY(175,251); $this->Write($this->fontsize,$t['mon']); $this->setXY(184,251); $this->Write($this->fontsize,$t['mday']); } } ?>