Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 11266 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11266 Rev 11267
Línea 8... Línea 8...
8
 
8
 
9
    /**
9
    /**
10
     * Header PDF
10
     * Header PDF
11
     */
11
     */
-
 
12
    function Header() {
12
    function Header() {
13
 
13
        $this->Image($_SERVER['DOCUMENT_ROOT'] . '/pdf/header_background.png', 10, 8, 190);
14
        if ($this->header != '') {
-
 
15
            $this->Image($this->header, -120, 1, 450);
-
 
16
            $this->SetY(55);
14
        $this->Image($_SERVER['DOCUMENT_ROOT'] . '/pdf/header_logo.png', 130, 20, 60);
17
        }
Línea 15... Línea 18...
15
    }
18
    }
16
 
19
 
17
     /**
20
    /**
18
     * Footer PDF
21
     * Footer PDF
-
 
22
     */
19
     */
23
    function Footer() {
20
    function Footer() {
24
        if ($this->footer != '') {
-
 
25
            $this->SetY(-40);
21
        $this->SetY(-30);
26
            $this->Image($this->footer, -70,$this->getY() , 350);
Línea 22... Línea 27...
22
        $this->Image($_SERVER['DOCUMENT_ROOT'] . '/pdf/footer_background.jpg', 10, $this->getY(), 190);
27
        }
23
    }
28
    }
24
 
29