From d5760603472a1a4f07acdda1ef44f8115a8bc269 Mon Sep 17 00:00:00 2001 From: Saketh1499 Date: Tue, 27 Jul 2021 10:13:41 +0530 Subject: Certificate generation --- 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..bee81cf --- /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');
+}
+}
+