更新数据协议,并优化pdf处理

This commit is contained in:
wlx 2013-06-26 07:32:33 +00:00
parent b08c9ce4ba
commit 51dcd4f6b1
5 changed files with 13 additions and 13 deletions

View File

@ -23,18 +23,18 @@ class ApplicantPDF extends FPDI
$this->MultiCell(166,4,trim($this->data['project']));
//$this->setXY(34,239);
//$this->Write($this->fontsize,$this->data['realname']);
$this->setXY(32,225);
$this->setXY(32,221);
$this->Write($this->fontsize,$this->data['unit']);
$this->setXY(112,225);
$this->setXY(112,221);
$this->Write($this->fontsize,$this->data['email']);
$this->setXY(174,225);
$this->setXY(174,221);
$this->Write($this->fontsize,$this->data['postcode']);
$this->setXY(32,231);
$this->setXY(32,227);
$this->Write($this->fontsize,$this->data['address']);
$this->setXY(112,231);
$this->setXY(112,227);
$this->Write($this->fontsize,$this->data['phone']);
$t=date("Y-m-d");
$this->setXY(174,231);
$this->setXY(174,227);
$this->Write($this->fontsize,$t);
}
function addRef($mds)
@ -70,21 +70,21 @@ class ApplicantPDF extends FPDI
$this->addPage();
$this->useTemplate($tplidx);
$this->SetFont('ugb','B',14);
$this->setXY(46,43);
$this->setXY(46,40);
$this->Write(10,$this->data['realname']);
$this->SetFont('ugb','',12);
$this->setXY(122,194);
$this->setXY(122,172);
$this->Write(10,$this->data['realname']);
$this->setXY(122,201);
$this->setXY(122,178);
$this->Write($this->fontsize,$this->data['address']);
$this->setXY(122,209);
$this->setXY(122,186);
$this->Write($this->fontsize,$this->data['phone']);
$this->setXY(122,216);
$this->setXY(122,192);
$this->Write($this->fontsize,$this->data['email']);
$t=date("Y-m-d");
$this->setXY(32,246);
$this->setXY(32,219);
$this->Write($this->fontsize,$t);
$this->setXY(122,246);
$this->setXY(122,219);
$this->Write($this->fontsize,$t);
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.