From e8fbfdeb6e7967029a54904daaabfa086251d704 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Tue, 18 Jul 2017 11:10:30 +0530 Subject: Created Certificate Interface --- pdf/fpdf/doc/footer.htm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 pdf/fpdf/doc/footer.htm (limited to 'pdf/fpdf/doc/footer.htm') diff --git a/pdf/fpdf/doc/footer.htm b/pdf/fpdf/doc/footer.htm new file mode 100755 index 0000000..1e4b3ad --- /dev/null +++ b/pdf/fpdf/doc/footer.htm @@ -0,0 +1,35 @@ + + +
+ +Footer()
+class PDF extends FPDF
+{
+function Footer()
+{
+ // Go to 1.5 cm from bottom
+ $this->SetY(-15);
+ // Select Arial italic 8
+ $this->SetFont('Arial','I',8);
+ // Print centered page number
+ $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');
+}
+}
+