diff --git a/application/default/views/scripts/water/pdf.phtml b/application/default/views/scripts/water/pdf.phtml index 591e8894..f36eb93d 100644 --- a/application/default/views/scripts/water/pdf.phtml +++ b/application/default/views/scripts/water/pdf.phtml @@ -20,7 +20,7 @@

为促进中国西部资源与生态环境科学研究,更好的为西部大开发服务,充分利用数据中心多年来的数据积累及国家自然科学基金委员会“中国西部环境与生态科学研究计划”、数字流域等的数据产出, -根据我国科学数据共享和基金项目数据管理的有关规定, 中科院寒区旱区环境与工程研究所(简称甲方)同意接收__________(以下简称乙方)的数据申请,并签订数据使用协议(其中用途部分,请填写您的项目名称、项目编号、项目类型以及使用目的,如自然科学基金、863、973等,以便能更快通过申请。): +根据我国科学数据共享和基金项目数据管理的有关规定, 中科院寒区旱区环境与工程研究所(简称甲方)同意接收__________(以下简称乙方)的数据申请,并签订数据使用协议(其中用途部分,请仔细填写您的项目名称、编号、类型、负责人以及使用目的信息,否则无法通过申请!):

您必须点击 “提交申请到数据中心” 后西部数据中心才能开始受理您的数据申请!

数据清单

diff --git a/application/models/ApplicantWaterPDF.php b/application/models/ApplicantWaterPDF.php new file mode 100644 index 00000000..0007446b --- /dev/null +++ b/application/models/ApplicantWaterPDF.php @@ -0,0 +1,44 @@ +setSourceFile($this->template); + $tplidx = $this->importPage(1, '/MediaBox'); + $this->addPage(); + $this->useTemplate($tplidx); + $tplidx = $this->importPage(2, '/MediaBox'); + $this->addPage(); + $this->useTemplate($tplidx); + $this->AddUniGBhwFont('ugb','AdobeSongStd-Light-Acro'); + $this->SetFont('ugb','',$this->fontsize); + $this->SetXY(34,30); + $this->MultiCell (152, 5, str_replace(";","\n",$this->data['datalist'])); + $this->setXY(34,100); + $this->MultiCell(152,4,trim($this->data['project'])); + $this->setXY(36,252); + $this->Write($this->fontsize,$this->data['unit']); + $this->setXY(106,252); + $this->Write($this->fontsize,$this->data['address']); + $this->setXY(38,260); + $this->Write($this->fontsize,$this->data['email']); + $this->setXY(106,260); + $this->Write($this->fontsize,$this->data['phone']); + $this->setXY(159,260); + $this->Write($this->fontsize,$this->data['postcode']); + $t=getdate(); + $this->setXY(152,190); + $this->Write($this->fontsize,$t['year']); + $this->setXY(165,190); + $this->Write($this->fontsize,$t['mon']); + $this->setXY(176,190); + $this->Write($this->fontsize,$t['mday']); + } +} +?> \ No newline at end of file