更新pdf格式
This commit is contained in:
parent
66ea7dddf1
commit
a35629ed92
|
@ -25,7 +25,7 @@ class ApplicantPDF extends FPDI
|
||||||
$this->addPage();
|
$this->addPage();
|
||||||
$this->useTemplate($tplidx);
|
$this->useTemplate($tplidx);
|
||||||
$this->SetFont('ugb','',$this->fontsize);
|
$this->SetFont('ugb','',$this->fontsize);
|
||||||
$this->setXY(74,43);
|
$this->setXY(86,41.5);
|
||||||
$this->Write($this->fontsize,$this->data['realname']);
|
$this->Write($this->fontsize,$this->data['realname']);
|
||||||
$this->SetXY(34,55);
|
$this->SetXY(34,55);
|
||||||
$this->MultiCell (166, 4, str_replace(";","\n",$this->data['westdclist']));
|
$this->MultiCell (166, 4, str_replace(";","\n",$this->data['westdclist']));
|
||||||
|
@ -33,18 +33,18 @@ class ApplicantPDF extends FPDI
|
||||||
$this->MultiCell(166,4,trim($this->data['project']));
|
$this->MultiCell(166,4,trim($this->data['project']));
|
||||||
//$this->setXY(34,239);
|
//$this->setXY(34,239);
|
||||||
//$this->Write($this->fontsize,$this->data['realname']);
|
//$this->Write($this->fontsize,$this->data['realname']);
|
||||||
$this->setXY(32,223);
|
$this->setXY(32,222);
|
||||||
$this->Write($this->fontsize,$this->data['unit']);
|
$this->Write($this->fontsize,$this->data['unit']);
|
||||||
$this->setXY(112,223);
|
$this->setXY(112,222);
|
||||||
$this->Write($this->fontsize,$this->data['email']);
|
$this->Write($this->fontsize,$this->data['email']);
|
||||||
$this->setXY(174,223);
|
$this->setXY(174,222);
|
||||||
$this->Write($this->fontsize,$this->data['postcode']);
|
$this->Write($this->fontsize,$this->data['postcode']);
|
||||||
$this->setXY(32,230);
|
$this->setXY(32,228);
|
||||||
$this->Write($this->fontsize,$this->data['address']);
|
$this->Write($this->fontsize,$this->data['address']);
|
||||||
$this->setXY(112,230);
|
$this->setXY(112,228);
|
||||||
$this->Write($this->fontsize,$this->data['phone']);
|
$this->Write($this->fontsize,$this->data['phone']);
|
||||||
$t=date("Y-m-d");
|
$t=date("Y-m-d");
|
||||||
$this->setXY(174,230);
|
$this->setXY(174,228);
|
||||||
$this->Write($this->fontsize,$t);
|
$this->Write($this->fontsize,$t);
|
||||||
}
|
}
|
||||||
function drawHeihe()
|
function drawHeihe()
|
||||||
|
|
BIN
data/offline.pdf
BIN
data/offline.pdf
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue