17 |
18 |
19 |
--------------------------------------------------------------------------------
/adm/fpdf/install.txt:
--------------------------------------------------------------------------------
1 | The FPDF library is made up of the following elements:
2 |
3 | - the main file, fpdf.php, which contains the class
4 | - the font definition files located in the font directory
5 |
6 | The font definition files are necessary as soon as you want to output some text in a document.
7 | If they are not accessible, the SetFont() method will produce the following error:
8 |
9 | FPDF error: Could not include font definition file
10 |
11 |
12 | Remarks:
13 |
14 | - Only the files corresponding to the fonts actually used are necessary
15 | - The tutorials provided in this package are ready to be executed
16 |
--------------------------------------------------------------------------------
/adm/fpdf/doc/getpagewidth.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | GetPageWidth
6 |
7 |
8 |
9 |
12 | Terminates the PDF document. It is not necessary to call this method explicitly because Output()
13 | does it automatically.
14 |
15 | If the document contains no page, AddPage() is called to prevent from getting an invalid document.
16 |
12 | This method is automatically called in case of a fatal error; it simply throws an exception
13 | with the provided message.
14 | An inherited class may override it to customize the error handling but the method should
15 | never return, otherwise the resulting document would probably be invalid.
16 |
12 | Creates a new internal link and returns its identifier. An internal link is a clickable area
13 | which directs to another place within the document.
14 |
15 | The identifier can then be passed to Cell(), Write(), Image() or Link(). The destination is
16 | defined with SetLink().
17 |
12 | Defines the line width. By default, the value equals 0.2 mm. The method can be called before
13 | the first page is created and the value is retained from page to page.
14 |
12 | Defines the abscissa and ordinate of the current position. If the passed values are negative,
13 | they are relative respectively to the right and bottom of the page.
14 |
12 | Defines the left margin. The method can be called before creating the first page.
13 |
14 | If the current abscissa gets out of page, it is brought back to the margin.
15 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/adm/get_items.php:
--------------------------------------------------------------------------------
1 | connect_error) {
7 | die("Falha na conexão com o banco de dados: " . $conn->connect_error);
8 | }
9 |
10 | // Consultar os itens no estoque
11 | $sql = "SELECT id, nome, valorcompra,valorvenda, quantidade FROM estoque";
12 | $result = $conn->query($sql);
13 |
14 | $items = array();
15 |
16 | // Verificar se há itens no estoque
17 | if ($result->num_rows > 0) {
18 | while ($row = $result->fetch_assoc()) {
19 | $items[] = array(
20 | 'id' => $row['id'],
21 | 'nome' => $row['nome'],
22 | 'prevalorcompraco' => $row['valorcompra'],
23 | 'valorvenda' => $row['valorvenda'],
24 | 'quantidade' => $row['quantidade']
25 | );
26 | }
27 | }
28 |
29 | // Fechar a conexão com o banco de dados
30 | $conn->close();
31 |
32 | // Retornar os itens como JSON
33 | header('Content-Type: application/json');
34 | echo json_encode($items);
35 | ?>
36 |
--------------------------------------------------------------------------------
/adm/fpdf/doc/sety.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetY
6 |
7 |
8 |
9 |
SetY
10 | SetY(float y [, boolean resetX])
11 |
Description
12 | Sets the ordinate and optionally moves the current abscissa back to the left margin. If the value
13 | is negative, it is relative to the bottom of the page.
14 |
Parameters
15 |
16 |
y
17 |
18 | The value of the ordinate.
19 |
20 |
resetX
21 |
22 | Whether to reset the abscissa. Default value: true.
23 |
12 | Activates or deactivates page compression. When activated, the internal representation of
13 | each page is compressed, which leads to a compression ratio of about 2 for the resulting
14 | document.
15 |
16 | Compression is on by default.
17 |
18 |
19 | Note: the Zlib extension is required for this feature. If not present, compression
20 | will be turned off.
21 |
Parameters
22 |
23 |
compress
24 |
25 | Boolean indicating if compression must be enabled.
26 |
10 | SetAutoPageBreak(boolean auto [, float margin])
11 |
Description
12 | Enables or disables the automatic page breaking mode. When enabling, the second parameter is
13 | the distance from the bottom of the page that defines the triggering limit. By default, the
14 | mode is on and the margin is 2 cm.
15 |
Parameters
16 |
17 |
auto
18 |
19 | Boolean indicating if mode should be on or off.
20 |
12 | This method is used to render the page footer. It is automatically called by AddPage() and
13 | Close() and should not be called directly by the application. The implementation in FPDF is
14 | empty, so you have to subclass it and override the method if you want a specific processing.
15 |
Example
16 |
17 |
class PDF extends FPDF
18 | {
19 | function Footer()
20 | {
21 | // Go to 1.5 cm from bottom
22 | $this->SetY(-15);
23 | // Select Arial italic 8
24 | $this->SetFont('Arial', 'I', 8);
25 | // Print centered page number
26 | $this->Cell(0, 10, 'Page '.$this->PageNo(), 0, 0, 'C');
27 | }
28 | }
12 | This method is used to render the page header. It is automatically called by AddPage() and
13 | should not be called directly by the application. The implementation in FPDF is empty, so
14 | you have to subclass it and override the method if you want a specific processing.
15 |
Example
16 |
17 |
class PDF extends FPDF
18 | {
19 | function Header()
20 | {
21 | // Select Arial bold 15
22 | $this->SetFont('Arial', 'B', 15);
23 | // Move to the right
24 | $this->Cell(80);
25 | // Framed title
26 | $this->Cell(30, 10, 'Title', 1, 0, 'C');
27 | // Line break
28 | $this->Ln(20);
29 | }
30 | }
12 | Prints a character string. The origin is on the left of the first character, on the baseline.
13 | This method allows to place a string precisely on the page, but it is usually easier to use
14 | Cell(), MultiCell() or Write() which are the standard methods to print text.
15 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/adm/js/app.js:
--------------------------------------------------------------------------------
1 |
2 |
3 | $(document).ready(function () {
4 | //Owl
5 | $('.hero-slider').owlCarousel({
6 | loop: true,
7 | margin: 0,
8 | items: 1,
9 | dots: false,
10 | navText: ['PREV', 'NEXT'],
11 | smartSpeed: 1000,
12 | autoplay: true,
13 | autoplayTimeout: 7000,
14 | responsive: {
15 | 0: {
16 | nav: false,
17 | },
18 | 768: {
19 | nav: true,
20 | }
21 | }
22 | })
23 |
24 | $('#projects-slider').owlCarousel({
25 | loop: true,
26 | nav: false,
27 | items: 2,
28 | dots: true,
29 | smartSpeed: 600,
30 | center: true,
31 | autoplay: true,
32 | autoplayTimeout: 4000,
33 | responsive: {
34 | 0: {
35 | items: 1
36 | },
37 | 768: {
38 | items: 2,
39 | margin: 8,
40 | }
41 | }
42 | })
43 |
44 | $('.reviews-slider').owlCarousel({
45 | loop: true,
46 | nav: false,
47 | dots: true,
48 | smartSpeed: 900,
49 | items: 1,
50 | margin: 24,
51 | autoplay: true,
52 | autoplayTimeout: 4000,
53 | })
54 | });
55 |
--------------------------------------------------------------------------------
/adm/session_check.php:
--------------------------------------------------------------------------------
1 | alert('" . $_SESSION['welcome_message'] . "');";
12 | // Limpa a mensagem para não exibir novamente nas próximas visitas
13 | unset($_SESSION['welcome_message']);
14 | }
15 |
16 | // Verifica se o usuário está logado
17 | if (!isset($_SESSION['logged_in']) || $_SESSION['logged_in'] !== true) {
18 | // Se não estiver logado, redireciona para a página de login
19 | header('Location: ../index.php');
20 | exit();
21 | }
22 |
23 | // Define as variáveis com base no cargo do usuário
24 | $cargo = $_SESSION['user_cargo'] ?? '';
25 |
26 | $isCliente = ($cargo === 'cliente');
27 | $isOperador = ($cargo === 'operador');
28 | $isAdm = ($cargo === 'adm');
29 |
30 | // Exemplo de uso: restrição de acesso com base no cargo
31 | if (!$isAdm && !$isOperador) {
32 | echo "";
33 | header('Location: ../index.php'); // Redireciona se não for admin
34 | exit();
35 | }
36 | ?>
37 |
--------------------------------------------------------------------------------
/js/deletar.js:
--------------------------------------------------------------------------------
1 | // DELETAR
2 | function deletar(id) {
3 | Swal.fire({
4 | title: 'Are you sure?',
5 | text: "You won't be able to revert this!",
6 | icon: 'warning',
7 | showCancelButton: true,
8 | confirmButtonColor: '#3085d6',
9 | cancelButtonColor: '#d33',
10 | confirmButtonText: 'Yes, delete it!'
11 |
12 | }).then((result) => {
13 | if (result.isConfirmed) {
14 | Swal.fire(
15 | 'Deleted!',
16 | 'Your file has been deleted.',
17 | 'success'
18 | )
19 | if (result.isConfirmed) {
20 | // Cria um formulário dinamicamente
21 | var form = document.createElement('form');
22 | form.method = 'POST';
23 | form.action = '';
24 |
25 | // Cria um campo oculto para o ID do usuário
26 | var inputId = document.createElement('input');
27 | inputId.type = 'hidden';
28 | inputId.name = 'deletarId';
29 | inputId.value = id;
30 |
31 | // Adiciona o campo oculto ao formulário
32 | form.appendChild(inputId);
33 |
34 | // Adiciona o formulário ao corpo do documento e o submete
35 | document.body.appendChild(form);
36 | form.submit();
37 | }
38 | }
39 | })
40 | }
--------------------------------------------------------------------------------
/adm/js/deletar.js:
--------------------------------------------------------------------------------
1 | // DELETAR
2 | function deletar(id) {
3 | Swal.fire({
4 | title: 'Are you sure?',
5 | text: "You won't be able to revert this!",
6 | icon: 'warning',
7 | showCancelButton: true,
8 | confirmButtonColor: '#3085d6',
9 | cancelButtonColor: '#d33',
10 | confirmButtonText: 'Yes, delete it!'
11 |
12 | }).then((result) => {
13 | if (result.isConfirmed) {
14 | Swal.fire(
15 | 'Deleted!',
16 | 'Your file has been deleted.',
17 | 'success'
18 | )
19 | if (result.isConfirmed) {
20 | // Cria um formulário dinamicamente
21 | var form = document.createElement('form');
22 | form.method = 'POST';
23 | form.action = '';
24 |
25 | // Cria um campo oculto para o ID do usuário
26 | var inputId = document.createElement('input');
27 | inputId.type = 'hidden';
28 | inputId.name = 'deletarId';
29 | inputId.value = id;
30 |
31 | // Adiciona o campo oculto ao formulário
32 | form.appendChild(inputId);
33 |
34 | // Adiciona o formulário ao corpo do documento e o submete
35 | document.body.appendChild(form);
36 | form.submit();
37 | }
38 | }
39 | })
40 | }
--------------------------------------------------------------------------------
/adm/fpdf/doc/settextcolor.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SetTextColor
6 |
7 |
8 |
9 |
SetTextColor
10 | SetTextColor(int r [, int g, int b])
11 |
Description
12 | Defines the color used for text. It can be expressed in RGB components or gray scale. The
13 | method can be called before the first page is created and the value is retained from page to
14 | page.
15 |
Parameters
16 |
17 |
r
18 |
19 | If g et b are given, red component; if not, indicates the gray level.
20 | Value between 0 and 255.
21 |
12 | Defines the color used for all filling operations (filled rectangles and cell backgrounds).
13 | It can be expressed in RGB components or gray scale. The method can be called before the first
14 | page is created and the value is retained from page to page.
15 |
Parameters
16 |
17 |
r
18 |
19 | If g and b are given, red component; if not, indicates the gray level.
20 | Value between 0 and 255.
21 |
12 | Puts a link on a rectangular area of the page. Text or image links are generally put via Cell(),
13 | Write() or Image(), but this method can be useful for instance to define a clickable area inside
14 | an image.
15 |
Parameters
16 |
17 |
x
18 |
19 | Abscissa of the upper-left corner of the rectangle.
20 |
21 |
y
22 |
23 | Ordinate of the upper-left corner of the rectangle.
24 |
25 |
w
26 |
27 | Width of the rectangle.
28 |
29 |
h
30 |
31 | Height of the rectangle.
32 |
33 |
link
34 |
35 | URL or identifier returned by AddLink().
36 |
12 | Defines the color used for all drawing operations (lines, rectangles and cell borders). It
13 | can be expressed in RGB components or gray scale. The method can be called before the first
14 | page is created and the value is retained from page to page.
15 |
Parameters
16 |
17 |
r
18 |
19 | If g et b are given, red component; if not, indicates the gray level.
20 | Value between 0 and 255.
21 |
12 | This method prints text from the current position. When the right margin is reached (or the \n
13 | character is met) a line break occurs and text continues from the left margin. Upon method exit,
14 | the current position is left just at the end of the text.
15 |
16 | It is possible to put a link on the text.
17 |
Parameters
18 |
19 |
h
20 |
21 | Line height.
22 |
23 |
txt
24 |
25 | String to print.
26 |
27 |
link
28 |
29 | URL or identifier returned by AddLink().
30 |
31 |
32 |
Example
33 |
34 |
// Begin with regular font
35 | $pdf->SetFont('Arial', '', 14);
36 | $pdf->Write(5, 'Visit ');
37 | // Then put a blue underlined link
38 | $pdf->SetTextColor(0, 0, 255);
39 | $pdf->SetFont('', 'U');
40 | $pdf->Write(5, 'www.fpdf.org', 'http://www.fpdf.org');
12 | Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be
13 | displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a
14 | specific zooming factor or use viewer default (configured in the Preferences menu of Adobe Reader).
15 | The page layout can be specified too: single at once, continuous display, two columns or viewer
16 | default.
17 |
Parameters
18 |
19 |
zoom
20 |
21 | The zoom to use. It can be one of the following string values:
22 |
23 |
fullpage: displays the entire page on screen
24 |
fullwidth: uses maximum width of window
25 |
real: uses real size (equivalent to 100% zoom)
26 |
default: uses viewer default mode
27 |
28 | or a number indicating the zooming factor to use.
29 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/adm/cadastrar_usuario.php:
--------------------------------------------------------------------------------
1 | connect_error) {
15 | die("Falha na conexão: " . $mysqli->connect_error);
16 | }
17 |
18 | if ($_SERVER['REQUEST_METHOD'] == 'POST') {
19 | // Recebe os dados do formulário
20 | $login = $_POST['login'];
21 | $senha = $_POST['senha'];
22 | $cargo = $_POST['cargo']; // Captura o valor do checkbox
23 |
24 | // Validar se os campos não estão vazios
25 | if (empty($login) || empty($senha) || empty($cargo)) {
26 | echo "Preencha todos os campos.";
27 | exit();
28 | }
29 |
30 | // Criptografar a senha antes de armazená-la
31 | $senha_hash = password_hash($senha, PASSWORD_BCRYPT);
32 |
33 | // Preparar a consulta para inserir os dados no banco de dados
34 | $sql = "INSERT INTO usuario (login, senha, cargo) VALUES (?, ?, ?)";
35 | $stmt = $mysqli->prepare($sql);
36 | $stmt->bind_param("sss", $login, $senha_hash, $cargo); // "sss" indica 3 strings
37 | $stmt->execute();
38 |
39 | if ($stmt->affected_rows > 0) {
40 | echo "Usuário cadastrado com sucesso!";
41 | // Aguarda 3 segundos e redireciona para o home.php
42 | header("refresh:3;url=home.php");
43 | } else {
44 | echo "Erro ao cadastrar o usuário.";
45 | // Aguarda 3 segundos e redireciona para o home.php
46 | header("refresh:3;url=home.php");
47 | }
48 |
49 | // Fechar a conexão
50 | $stmt->close();
51 | $mysqli->close();
52 | }
53 | ?>
54 |
--------------------------------------------------------------------------------
/adm/fpdf/tutorial/tuto3.php:
--------------------------------------------------------------------------------
1 | SetFont('Arial','B',15);
12 | // Calculate width of title and position
13 | $w = $this->GetStringWidth($title)+6;
14 | $this->SetX((210-$w)/2);
15 | // Colors of frame, background and text
16 | $this->SetDrawColor(0,80,180);
17 | $this->SetFillColor(230,230,0);
18 | $this->SetTextColor(220,50,50);
19 | // Thickness of frame (1 mm)
20 | $this->SetLineWidth(1);
21 | // Title
22 | $this->Cell($w,9,$title,1,1,'C',true);
23 | // Line break
24 | $this->Ln(10);
25 | }
26 |
27 | function Footer()
28 | {
29 | // Position at 1.5 cm from bottom
30 | $this->SetY(-15);
31 | // Arial italic 8
32 | $this->SetFont('Arial','I',8);
33 | // Text color in gray
34 | $this->SetTextColor(128);
35 | // Page number
36 | $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');
37 | }
38 |
39 | function ChapterTitle($num, $label)
40 | {
41 | // Arial 12
42 | $this->SetFont('Arial','',12);
43 | // Background color
44 | $this->SetFillColor(200,220,255);
45 | // Title
46 | $this->Cell(0,6,"Chapter $num : $label",0,1,'L',true);
47 | // Line break
48 | $this->Ln(4);
49 | }
50 |
51 | function ChapterBody($file)
52 | {
53 | // Read text file
54 | $txt = file_get_contents($file);
55 | // Times 12
56 | $this->SetFont('Times','',12);
57 | // Output justified text
58 | $this->MultiCell(0,5,$txt);
59 | // Line break
60 | $this->Ln();
61 | // Mention in italics
62 | $this->SetFont('','I');
63 | $this->Cell(0,5,'(end of excerpt)');
64 | }
65 |
66 | function PrintChapter($num, $title, $file)
67 | {
68 | $this->AddPage();
69 | $this->ChapterTitle($num,$title);
70 | $this->ChapterBody($file);
71 | }
72 | }
73 |
74 | $pdf = new PDF();
75 | $title = '20000 Leagues Under the Seas';
76 | $pdf->SetTitle($title);
77 | $pdf->SetAuthor('Jules Verne');
78 | $pdf->PrintChapter(1,'A RUNAWAY REEF','20k_c1.txt');
79 | $pdf->PrintChapter(2,'THE PROS AND CONS','20k_c2.txt');
80 | $pdf->Output();
81 | ?>
82 |
--------------------------------------------------------------------------------
/adm/fpdf/doc/acceptpagebreak.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | AcceptPageBreak
6 |
7 |
8 |
9 |
AcceptPageBreak
10 | boolean AcceptPageBreak()
11 |
Description
12 | Whenever a page break condition is met, the method is called, and the break is issued or not
13 | depending on the returned value. The default implementation returns a value according to the
14 | mode selected by SetAutoPageBreak().
15 |
16 | This method is called automatically and should not be called directly by the application.
17 |
Example
18 | The method is overriden in an inherited class in order to obtain a 3 column layout:
19 |
20 |
class PDF extends FPDF
21 | {
22 | protected $col = 0;
23 |
24 | function SetCol($col)
25 | {
26 | // Move position to a column
27 | $this->col = $col;
28 | $x = 10 + $col*65;
29 | $this->SetLeftMargin($x);
30 | $this->SetX($x);
31 | }
32 |
33 | function AcceptPageBreak()
34 | {
35 | if($this->col<2)
36 | {
37 | // Go to next column
38 | $this->SetCol($this->col+1);
39 | $this->SetY(10);
40 | return false;
41 | }
42 | else
43 | {
44 | // Go back to first column and issue page break
45 | $this->SetCol(0);
46 | return true;
47 | }
48 | }
49 | }
50 |
51 | $pdf = new PDF();
52 | $pdf->AddPage();
53 | $pdf->SetFont('Arial', '', 12);
54 | for($i=1;$i<=300;$i++)
55 | $pdf->Cell(0, 5, "Line $i", 0, 1);
56 | $pdf->Output();
12 | This is the class constructor. It allows to set up the page size, the orientation and the
13 | unit of measure used in all methods (except for font sizes).
14 |
Parameters
15 |
16 |
orientation
17 |
18 | Default page orientation. Possible values are (case insensitive):
19 |
20 |
P or Portrait
21 |
L or Landscape
22 |
23 | Default value is P.
24 |
25 |
unit
26 |
27 | User unit. Possible values are:
28 |
29 |
pt: point
30 |
mm: millimeter
31 |
cm: centimeter
32 |
in: inch
33 |
34 | A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This
35 | is a very common unit in typography; font sizes are expressed in that unit.
36 |
37 |
38 | Default value is mm.
39 |
40 |
size
41 |
42 | The size used for pages. It can be either one of the following values (case insensitive):
43 |
44 |
A3
45 |
A4
46 |
A5
47 |
Letter
48 |
Legal
49 |
50 | or an array containing the width and the height (expressed in the unit given by unit).
51 |
52 | Default value is A4.
53 |
54 |
55 |
Example
56 | Document with a custom 100x150 mm page size:
57 |
10 | string Output([string dest [, string name [, boolean isUTF8]]])
11 |
Description
12 | Send the document to a given destination: browser, file or string. In the case of a browser, the
13 | PDF viewer may be used or a download may be forced.
14 |
15 | The method first calls Close() if necessary to terminate the document.
16 |
Parameters
17 |
18 |
dest
19 |
20 | Destination where to send the document. It can be one of the following:
21 |
22 |
I: send the file inline to the browser. The PDF viewer is used if available.
23 |
D: send to the browser and force a file download with the name given by name.
24 |
F: save to a local file with the name given by name (may include a path).
25 |
S: return the document as a string.
26 |
27 | The default value is I.
28 |
29 |
name
30 |
31 | The name of the file. It is ignored in case of destination S.
32 | The default value is doc.pdf.
33 |
34 |
isUTF8
35 |
36 | Indicates if name is encoded in ISO-8859-1 (false) or UTF-8 (true).
37 | Only used for destinations I and D.
38 | The default value is false.
39 |
12 | Adds a new page to the document. If a page is already present, the Footer() method is called
13 | first to output the footer. Then the page is added, the current position set to the top-left
14 | corner according to the left and top margins, and Header() is called to display the header.
15 |
16 | The font which was set before calling is automatically restored. There is no need to call
17 | SetFont() again if you want to continue with the same font. The same is true for colors and
18 | line width.
19 |
20 | The origin of the coordinate system is at the top-left corner and increasing ordinates go
21 | downwards.
22 |
Parameters
23 |
24 |
orientation
25 |
26 | Page orientation. Possible values are (case insensitive):
27 |
28 |
P or Portrait
29 |
L or Landscape
30 |
31 | The default value is the one passed to the constructor.
32 |
33 |
size
34 |
35 | Page size. It can be either one of the following values (case insensitive):
36 |
37 |
A3
38 |
A4
39 |
A5
40 |
Letter
41 |
Legal
42 |
43 | or an array containing the width and the height (expressed in user unit).
44 |
45 | The default value is the one passed to the constructor.
46 |
47 |
rotation
48 |
49 | Angle by which to rotate the page. It must be a multiple of 90; positive values
50 | mean clockwise rotation. The default value is 0.
51 |
12 | Imports a TrueType, OpenType or Type1 font and makes it available. It is necessary to generate a font
13 | definition file first with the MakeFont utility.
14 |
15 |
16 | The definition file (and the font file itself in case of embedding) must be present in:
17 |
18 |
The directory indicated by the 4th parameter (if that parameter is set)
19 |
The directory indicated by the FPDF_FONTPATH constant (if that constant is defined)
20 |
The font directory located in the same directory as fpdf.php
21 |
22 | If the file is not found, the error "Could not include font definition file" is raised.
23 |
Parameters
24 |
25 |
family
26 |
27 | Font family. The name can be chosen arbitrarily. If it is a standard family name, it will
28 | override the corresponding font.
29 |
30 |
style
31 |
32 | Font style. Possible values are (case insensitive):
33 |
34 |
empty string: regular
35 |
B: bold
36 |
I: italic
37 |
BI or IB: bold italic
38 |
39 | The default value is regular.
40 |
41 |
file
42 |
43 | The name of the font definition file.
44 |
45 | By default, it is built from the family and style, in lower case with no space.
46 |
47 |
dir
48 |
49 | The directory where to load the definition file.
50 |
51 | If not specified, the default directory will be used.
52 |
12 | This method allows printing text with line breaks. They can be automatic (as soon as the
13 | text reaches the right border of the cell) or explicit (via the \n character). As many cells
14 | as necessary are output, one below the other.
15 |
16 | Text can be aligned, centered or justified. The cell block can be framed and the background
17 | painted.
18 |
Parameters
19 |
20 |
w
21 |
22 | Width of cells. If 0, they extend up to the right margin of the page.
23 |
24 |
h
25 |
26 | Height of cells.
27 |
28 |
txt
29 |
30 | String to print.
31 |
32 |
border
33 |
34 | Indicates if borders must be drawn around the cell block. The value can be either a number:
35 |
36 |
0: no border
37 |
1: frame
38 |
39 | or a string containing some or all of the following characters (in any order):
40 |
41 |
L: left
42 |
T: top
43 |
R: right
44 |
B: bottom
45 |
46 | Default value: 0.
47 |
48 |
align
49 |
50 | Sets the text alignment. Possible values are:
51 |
52 |
L: left alignment
53 |
C: center
54 |
R: right alignment
55 |
J: justification (default value)
56 |
57 |
58 |
fill
59 |
60 | Indicates if the cell background must be painted (true) or transparent (false).
61 | Default value: false.
62 |
12 | Sets the font used to print character strings. It is mandatory to call this method at least once before printing text.
13 |
14 |
15 | The font can be either a standard one or a font added by the AddFont() method. Standard fonts
16 | use the Windows encoding cp1252 (Western Europe).
17 |
18 |
19 | The method can be called before the first page is created and the font is kept from page to page.
20 |
21 |
22 | If you just wish to change the current font size, it is simpler to call SetFontSize().
23 |
Parameters
24 |
25 |
family
26 |
27 | Family font. It can be either a name defined by AddFont() or one of the standard families (case
28 | insensitive):
29 |
30 |
Courier (fixed-width)
31 |
Helvetica or Arial (synonymous; sans serif)
32 |
Times (serif)
33 |
Symbol (symbolic)
34 |
ZapfDingbats (symbolic)
35 |
36 | It is also possible to pass an empty string. In that case, the current family is kept.
37 |
38 |
style
39 |
40 | Font style. Possible values are (case insensitive):
41 |
42 |
empty string: regular
43 |
B: bold
44 |
I: italic
45 |
U: underline
46 |
47 | or any combination. The default value is regular.
48 | Bold and italic styles do not apply to Symbol and ZapfDingbats.
49 |
50 |
size
51 |
52 | Font size in points.
53 |
54 | The default value is the current size. If no size has been specified since the beginning of
55 | the document, the value is 12.
56 |
10 | __construct - constructor
11 | AcceptPageBreak - accept or not automatic page break
12 | AddFont - add a new font
13 | AddLink - create an internal link
14 | AddPage - add a new page
15 | AliasNbPages - define an alias for number of pages
16 | Cell - print a cell
17 | Close - terminate the document
18 | Error - fatal error
19 | Footer - page footer
20 | GetPageHeight - get current page height
21 | GetPageWidth - get current page width
22 | GetStringWidth - compute string length
23 | GetX - get current x position
24 | GetY - get current y position
25 | Header - page header
26 | Image - output an image
27 | Line - draw a line
28 | Link - put a link
29 | Ln - line break
30 | MultiCell - print text with line breaks
31 | Output - save or send the document
32 | PageNo - page number
33 | Rect - draw a rectangle
34 | SetAuthor - set the document author
35 | SetAutoPageBreak - set the automatic page breaking mode
36 | SetCompression - turn compression on or off
37 | SetCreator - set document creator
38 | SetDisplayMode - set display mode
39 | SetDrawColor - set drawing color
40 | SetFillColor - set filling color
41 | SetFont - set font
42 | SetFontSize - set font size
43 | SetKeywords - associate keywords with document
44 | SetLeftMargin - set left margin
45 | SetLineWidth - set line width
46 | SetLink - set internal link destination
47 | SetMargins - set margins
48 | SetRightMargin - set right margin
49 | SetSubject - set document subject
50 | SetTextColor - set text color
51 | SetTitle - set document title
52 | SetTopMargin - set top margin
53 | SetX - set current x position
54 | SetXY - set current x and y positions
55 | SetY - set current y position and optionally reset x
56 | Text - print a string
57 | Write - print flowing text
58 |
59 |
60 |
--------------------------------------------------------------------------------
/adm/fpdf/font/helvetica.php:
--------------------------------------------------------------------------------
1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584,
9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667,
10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944,
11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833,
12 | 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556,
13 | chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
14 | chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556,
18 | chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
19 | $enc = 'cp1252';
20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96));
21 | ?>
22 |
--------------------------------------------------------------------------------
/adm/fpdf/font/timesb.php:
--------------------------------------------------------------------------------
1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>555,'#'=>500,'$'=>500,'%'=>1000,'&'=>833,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570,
9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>930,'A'=>722,
10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>778,'I'=>389,'J'=>500,'K'=>778,'L'=>667,'M'=>944,'N'=>722,'O'=>778,'P'=>611,'Q'=>778,'R'=>722,'S'=>556,'T'=>667,'U'=>722,'V'=>722,'W'=>1000,
11 | 'X'=>722,'Y'=>722,'Z'=>667,'['=>333,'\\'=>278,']'=>333,'^'=>581,'_'=>500,'`'=>333,'a'=>500,'b'=>556,'c'=>444,'d'=>556,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>333,'k'=>556,'l'=>278,'m'=>833,
12 | 'n'=>556,'o'=>500,'p'=>556,'q'=>556,'r'=>444,'s'=>389,'t'=>333,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>394,'|'=>220,'}'=>394,'~'=>520,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
13 | chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>667,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333,
15 | chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>556,chr(182)=>540,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>330,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
17 | chr(220)=>722,chr(221)=>722,chr(222)=>611,chr(223)=>556,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556,
18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
19 | $enc = 'cp1252';
20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96));
21 | ?>
22 |
--------------------------------------------------------------------------------
/adm/fpdf/font/helveticab.php:
--------------------------------------------------------------------------------
1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584,
9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722,
10 | 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944,
11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889,
12 | 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556,
13 | chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
14 | chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611,
18 | chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556);
19 | $enc = 'cp1252';
20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96));
21 | ?>
22 |
--------------------------------------------------------------------------------
/adm/fpdf/font/timesbi.php:
--------------------------------------------------------------------------------
1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570,
9 | ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>832,'A'=>667,
10 | 'B'=>667,'C'=>667,'D'=>722,'E'=>667,'F'=>667,'G'=>722,'H'=>778,'I'=>389,'J'=>500,'K'=>667,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>611,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>667,'W'=>889,
11 | 'X'=>667,'Y'=>611,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>570,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778,
12 | 'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500,
13 | chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
14 | chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333,
15 | chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
16 | chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722,
17 | chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556,
18 | chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444);
19 | $enc = 'cp1252';
20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96));
21 | ?>
22 |
--------------------------------------------------------------------------------
/adm/fpdf/font/helveticai.php:
--------------------------------------------------------------------------------
1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584,
9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667,
10 | 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944,
11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833,
12 | 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556,
13 | chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
14 | chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667,
16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556,
18 | chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500);
19 | $enc = 'cp1252';
20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96));
21 | ?>
22 |
--------------------------------------------------------------------------------
/adm/fpdf/font/helveticabi.php:
--------------------------------------------------------------------------------
1 | 278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278,
8 | chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584,
9 | ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722,
10 | 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944,
11 | 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889,
12 | 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556,
13 | chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000,
14 | chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333,
15 | chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722,
16 | chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722,
17 | chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611,
18 | chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556);
19 | $enc = 'cp1252';
20 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96));
21 | ?>
22 |
--------------------------------------------------------------------------------
/adm/fpdf/font/zapfdingbats.php:
--------------------------------------------------------------------------------
1 | 0,chr(1)=>0,chr(2)=>0,chr(3)=>0,chr(4)=>0,chr(5)=>0,chr(6)=>0,chr(7)=>0,chr(8)=>0,chr(9)=>0,chr(10)=>0,chr(11)=>0,chr(12)=>0,chr(13)=>0,chr(14)=>0,chr(15)=>0,chr(16)=>0,chr(17)=>0,chr(18)=>0,chr(19)=>0,chr(20)=>0,chr(21)=>0,
8 | chr(22)=>0,chr(23)=>0,chr(24)=>0,chr(25)=>0,chr(26)=>0,chr(27)=>0,chr(28)=>0,chr(29)=>0,chr(30)=>0,chr(31)=>0,' '=>278,'!'=>974,'"'=>961,'#'=>974,'$'=>980,'%'=>719,'&'=>789,'\''=>790,'('=>791,')'=>690,'*'=>960,'+'=>939,
9 | ','=>549,'-'=>855,'.'=>911,'/'=>933,'0'=>911,'1'=>945,'2'=>974,'3'=>755,'4'=>846,'5'=>762,'6'=>761,'7'=>571,'8'=>677,'9'=>763,':'=>760,';'=>759,'<'=>754,'='=>494,'>'=>552,'?'=>537,'@'=>577,'A'=>692,
10 | 'B'=>786,'C'=>788,'D'=>788,'E'=>790,'F'=>793,'G'=>794,'H'=>816,'I'=>823,'J'=>789,'K'=>841,'L'=>823,'M'=>833,'N'=>816,'O'=>831,'P'=>923,'Q'=>744,'R'=>723,'S'=>749,'T'=>790,'U'=>792,'V'=>695,'W'=>776,
11 | 'X'=>768,'Y'=>792,'Z'=>759,'['=>707,'\\'=>708,']'=>682,'^'=>701,'_'=>826,'`'=>815,'a'=>789,'b'=>789,'c'=>707,'d'=>687,'e'=>696,'f'=>689,'g'=>786,'h'=>787,'i'=>713,'j'=>791,'k'=>785,'l'=>791,'m'=>873,
12 | 'n'=>761,'o'=>762,'p'=>762,'q'=>759,'r'=>759,'s'=>892,'t'=>892,'u'=>788,'v'=>784,'w'=>438,'x'=>138,'y'=>277,'z'=>415,'{'=>392,'|'=>392,'}'=>668,'~'=>668,chr(127)=>0,chr(128)=>390,chr(129)=>390,chr(130)=>317,chr(131)=>317,
13 | chr(132)=>276,chr(133)=>276,chr(134)=>509,chr(135)=>509,chr(136)=>410,chr(137)=>410,chr(138)=>234,chr(139)=>234,chr(140)=>334,chr(141)=>334,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0,
14 | chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>0,chr(161)=>732,chr(162)=>544,chr(163)=>544,chr(164)=>910,chr(165)=>667,chr(166)=>760,chr(167)=>760,chr(168)=>776,chr(169)=>595,chr(170)=>694,chr(171)=>626,chr(172)=>788,chr(173)=>788,chr(174)=>788,chr(175)=>788,
15 | chr(176)=>788,chr(177)=>788,chr(178)=>788,chr(179)=>788,chr(180)=>788,chr(181)=>788,chr(182)=>788,chr(183)=>788,chr(184)=>788,chr(185)=>788,chr(186)=>788,chr(187)=>788,chr(188)=>788,chr(189)=>788,chr(190)=>788,chr(191)=>788,chr(192)=>788,chr(193)=>788,chr(194)=>788,chr(195)=>788,chr(196)=>788,chr(197)=>788,
16 | chr(198)=>788,chr(199)=>788,chr(200)=>788,chr(201)=>788,chr(202)=>788,chr(203)=>788,chr(204)=>788,chr(205)=>788,chr(206)=>788,chr(207)=>788,chr(208)=>788,chr(209)=>788,chr(210)=>788,chr(211)=>788,chr(212)=>894,chr(213)=>838,chr(214)=>1016,chr(215)=>458,chr(216)=>748,chr(217)=>924,chr(218)=>748,chr(219)=>918,
17 | chr(220)=>927,chr(221)=>928,chr(222)=>928,chr(223)=>834,chr(224)=>873,chr(225)=>828,chr(226)=>924,chr(227)=>924,chr(228)=>917,chr(229)=>930,chr(230)=>931,chr(231)=>463,chr(232)=>883,chr(233)=>836,chr(234)=>836,chr(235)=>867,chr(236)=>867,chr(237)=>696,chr(238)=>696,chr(239)=>874,chr(240)=>0,chr(241)=>874,
18 | chr(242)=>760,chr(243)=>946,chr(244)=>771,chr(245)=>865,chr(246)=>771,chr(247)=>888,chr(248)=>967,chr(249)=>888,chr(250)=>831,chr(251)=>873,chr(252)=>927,chr(253)=>970,chr(254)=>918,chr(255)=>0);
19 | $uv = array(32=>32,33=>array(9985,4),37=>9742,38=>array(9990,4),42=>9755,43=>9758,44=>array(9996,28),72=>9733,73=>array(10025,35),108=>9679,109=>10061,110=>9632,111=>array(10063,4),115=>9650,116=>9660,117=>9670,118=>10070,119=>9687,120=>array(10072,7),128=>array(10088,14),161=>array(10081,7),168=>9827,169=>9830,170=>9829,171=>9824,172=>array(9312,10),182=>array(10102,31),213=>8594,214=>array(8596,2),216=>array(10136,24),241=>array(10161,14));
20 | ?>
21 |
--------------------------------------------------------------------------------
/adm/fpdf/tutorial/CevicheOne-Regular.php:
--------------------------------------------------------------------------------
1 | 806,'Descent'=>-237,'CapHeight'=>425,'Flags'=>32,'FontBBox'=>'[-42 -237 1427 806]','ItalicAngle'=>0,'StemV'=>70,'MissingWidth'=>294);
5 | $up = -75;
6 | $ut = 50;
7 | $cw = array(
8 | chr(0)=>294,chr(1)=>294,chr(2)=>294,chr(3)=>294,chr(4)=>294,chr(5)=>294,chr(6)=>294,chr(7)=>294,chr(8)=>294,chr(9)=>294,chr(10)=>294,chr(11)=>294,chr(12)=>294,chr(13)=>294,chr(14)=>294,chr(15)=>294,chr(16)=>294,chr(17)=>294,chr(18)=>294,chr(19)=>294,chr(20)=>294,chr(21)=>294,
9 | chr(22)=>294,chr(23)=>294,chr(24)=>294,chr(25)=>294,chr(26)=>294,chr(27)=>294,chr(28)=>294,chr(29)=>294,chr(30)=>294,chr(31)=>294,' '=>130,'!'=>254,'"'=>334,'#'=>496,'$'=>469,'%'=>765,'&'=>761,'\''=>148,'('=>268,')'=>269,'*'=>435,'+'=>442,
10 | ','=>235,'-'=>339,'.'=>233,'/'=>301,'0'=>512,'1'=>252,'2'=>501,'3'=>471,'4'=>537,'5'=>471,'6'=>501,'7'=>424,'8'=>506,'9'=>502,':'=>292,';'=>299,'<'=>463,'='=>483,'>'=>459,'?'=>453,'@'=>672,'A'=>511,
11 | 'B'=>573,'C'=>480,'D'=>541,'E'=>507,'F'=>490,'G'=>515,'H'=>517,'I'=>250,'J'=>270,'K'=>570,'L'=>368,'M'=>620,'N'=>548,'O'=>507,'P'=>540,'Q'=>532,'R'=>552,'S'=>490,'T'=>434,'U'=>527,'V'=>514,'W'=>670,
12 | 'X'=>541,'Y'=>497,'Z'=>499,'['=>288,'\\'=>472,']'=>288,'^'=>448,'_'=>350,'`'=>449,'a'=>446,'b'=>454,'c'=>394,'d'=>462,'e'=>404,'f'=>332,'g'=>458,'h'=>446,'i'=>234,'j'=>232,'k'=>457,'l'=>231,'m'=>659,
13 | 'n'=>450,'o'=>412,'p'=>436,'q'=>468,'r'=>389,'s'=>394,'t'=>318,'u'=>458,'v'=>421,'w'=>612,'x'=>450,'y'=>429,'z'=>423,'{'=>312,'|'=>231,'}'=>312,'~'=>504,chr(127)=>294,chr(128)=>586,chr(129)=>294,chr(130)=>176,chr(131)=>377,
14 | chr(132)=>361,chr(133)=>761,chr(134)=>422,chr(135)=>425,chr(136)=>448,chr(137)=>1050,chr(138)=>490,chr(139)=>377,chr(140)=>787,chr(141)=>294,chr(142)=>499,chr(143)=>294,chr(144)=>294,chr(145)=>171,chr(146)=>148,chr(147)=>357,chr(148)=>334,chr(149)=>266,chr(150)=>444,chr(151)=>554,chr(152)=>416,chr(153)=>608,
15 | chr(154)=>394,chr(155)=>378,chr(156)=>674,chr(157)=>294,chr(158)=>423,chr(159)=>497,chr(160)=>130,chr(161)=>253,chr(162)=>424,chr(163)=>510,chr(164)=>665,chr(165)=>551,chr(166)=>252,chr(167)=>413,chr(168)=>505,chr(169)=>675,chr(170)=>361,chr(171)=>668,chr(172)=>548,chr(173)=>440,chr(174)=>676,chr(175)=>413,
16 | chr(176)=>278,chr(177)=>438,chr(178)=>328,chr(179)=>318,chr(180)=>449,chr(181)=>463,chr(182)=>535,chr(183)=>234,chr(184)=>535,chr(185)=>176,chr(186)=>322,chr(187)=>669,chr(188)=>761,chr(189)=>710,chr(190)=>904,chr(191)=>452,chr(192)=>511,chr(193)=>511,chr(194)=>514,chr(195)=>511,chr(196)=>511,chr(197)=>511,
17 | chr(198)=>787,chr(199)=>480,chr(200)=>507,chr(201)=>507,chr(202)=>507,chr(203)=>507,chr(204)=>250,chr(205)=>250,chr(206)=>271,chr(207)=>272,chr(208)=>542,chr(209)=>548,chr(210)=>507,chr(211)=>507,chr(212)=>507,chr(213)=>507,chr(214)=>507,chr(215)=>496,chr(216)=>507,chr(217)=>527,chr(218)=>527,chr(219)=>526,
18 | chr(220)=>527,chr(221)=>497,chr(222)=>522,chr(223)=>457,chr(224)=>446,chr(225)=>446,chr(226)=>446,chr(227)=>446,chr(228)=>446,chr(229)=>446,chr(230)=>635,chr(231)=>394,chr(232)=>404,chr(233)=>404,chr(234)=>412,chr(235)=>401,chr(236)=>235,chr(237)=>235,chr(238)=>256,chr(239)=>249,chr(240)=>475,chr(241)=>450,
19 | chr(242)=>412,chr(243)=>412,chr(244)=>412,chr(245)=>413,chr(246)=>412,chr(247)=>444,chr(248)=>412,chr(249)=>458,chr(250)=>458,chr(251)=>458,chr(252)=>458,chr(253)=>429,chr(254)=>452,chr(255)=>429);
20 | $enc = 'cp1252';
21 | $uv = array(0=>array(0,128),128=>8364,130=>8218,131=>402,132=>8222,133=>8230,134=>array(8224,2),136=>710,137=>8240,138=>352,139=>8249,140=>338,142=>381,145=>array(8216,2),147=>array(8220,2),149=>8226,150=>array(8211,2),152=>732,153=>8482,154=>353,155=>8250,156=>339,158=>382,159=>376,160=>array(160,96));
22 | $file = 'CevicheOne-Regular.z';
23 | $originalsize = 25916;
24 | $subsetted = true;
25 | ?>
26 |
--------------------------------------------------------------------------------
/adm/fpdf/doc/cell.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Cell
6 |
7 |
8 |
9 |
Cell
10 | Cell(float w [, float h [, string txt [, mixed border [, int ln [, string align [, boolean fill [, mixed link]]]]]]])
11 |
Description
12 | Prints a cell (rectangular area) with optional borders, background color and character string.
13 | The upper-left corner of the cell corresponds to the current position. The text can be aligned
14 | or centered. After the call, the current position moves to the right or to the next line. It is
15 | possible to put a link on the text.
16 |
17 | If automatic page breaking is enabled and the cell goes beyond the limit, a page break is
18 | done before outputting.
19 |
Parameters
20 |
21 |
w
22 |
23 | Cell width. If 0, the cell extends up to the right margin.
24 |
37 | Indicates if borders must be drawn around the cell. The value can be either a number:
38 |
39 |
0: no border
40 |
1: frame
41 |
42 | or a string containing some or all of the following characters (in any order):
43 |
44 |
L: left
45 |
T: top
46 |
R: right
47 |
B: bottom
48 |
49 | Default value: 0.
50 |
51 |
ln
52 |
53 | Indicates where the current position should go after the call. Possible values are:
54 |
55 |
0: to the right
56 |
1: to the beginning of the next line
57 |
2: below
58 |
59 | Putting 1 is equivalent to putting 0 and calling Ln() just after.
60 | Default value: 0.
61 |
62 |
align
63 |
64 | Allows to center or align the text. Possible values are:
65 |
66 |
L or empty string: left align (default value)
67 |
C: center
68 |
R: right align
69 |
70 |
71 |
fill
72 |
73 | Indicates if the cell background must be painted (true) or transparent (false).
74 | Default value: false.
75 |
76 |
link
77 |
78 | URL or identifier returned by AddLink().
79 |
80 |
81 |
Example
82 |
83 |
// Set font
84 | $pdf->SetFont('Arial', 'B', 16);
85 | // Move to 8 cm to the right
86 | $pdf->Cell(80);
87 | // Centered text in a framed 20*10 mm cell and line break
88 | $pdf->Cell(20, 10, 'Title', 1, 1, 'C');
10 | Image(string file [, float x [, float y [, float w [, float h [, string type [, mixed link]]]]]])
11 |
Description
12 | Puts an image. The size it will take on the page can be specified in different ways:
13 |
14 |
explicit width and height (expressed in user unit or dpi)
15 |
one explicit dimension, the other being calculated automatically in order to keep the original proportions
16 |
no explicit dimension, in which case the image is put at 96 dpi
17 |
18 | Supported formats are JPEG, PNG and GIF. The GD extension is required for GIF.
19 |
20 |
21 | For JPEGs, all flavors are allowed:
22 |
23 |
gray scales
24 |
true colors (24 bits)
25 |
CMYK (32 bits)
26 |
27 | For PNGs, are allowed:
28 |
29 |
gray scales on at most 8 bits (256 levels)
30 |
indexed colors
31 |
true colors (24 bits)
32 |
33 | For GIFs: in case of an animated GIF, only the first frame is displayed.
34 |
35 | Transparency is supported.
36 |
37 | The format can be specified explicitly or inferred from the file extension.
38 |
39 | It is possible to put a link on the image.
40 |
41 | Remark: if an image is used several times, only one copy is embedded in the file.
42 |
Parameters
43 |
44 |
file
45 |
46 | Path or URL of the image.
47 |
48 |
x
49 |
50 | Abscissa of the upper-left corner. If not specified or equal to null, the current abscissa
51 | is used.
52 |
53 |
y
54 |
55 | Ordinate of the upper-left corner. If not specified or equal to null, the current ordinate
56 | is used; moreover, a page break is triggered first if necessary (in case automatic page breaking is enabled)
57 | and, after the call, the current ordinate is moved to the bottom of the image.
58 |
59 |
w
60 |
61 | Width of the image in the page. There are three cases:
62 |
63 |
If the value is positive, it represents the width in user unit
64 |
If the value is negative, the absolute value represents the horizontal resolution in dpi
65 |
If the value is not specified or equal to zero, it is automatically calculated
66 |
67 |
68 |
h
69 |
70 | Height of the image in the page. There are three cases:
71 |
72 |
If the value is positive, it represents the height in user unit
73 |
If the value is negative, the absolute value represents the vertical resolution in dpi
74 |
If the value is not specified or equal to zero, it is automatically calculated
75 |
76 |
77 |
type
78 |
79 | Image format. Possible values are (case insensitive): JPG, JPEG, PNG and GIF.
80 | If not specified, the type is inferred from the file extension.
81 |
82 |
link
83 |
84 | URL or identifier returned by AddLink().
85 |
86 |
87 |
Example
88 |
89 |
// Insert a logo in the top-left corner at 300 dpi
90 | $pdf->Image('logo.png', 10, 10, -300);
91 | // Insert a dynamic image from a URL
92 | $pdf->Image('http://chart.googleapis.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World', 60, 30, 90, 0, 'PNG');
98 |
99 |
100 |
--------------------------------------------------------------------------------
/adm/fpdf/font/symbol.php:
--------------------------------------------------------------------------------
1 | 250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250,
8 | chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>713,'#'=>500,'$'=>549,'%'=>833,'&'=>778,'\''=>439,'('=>333,')'=>333,'*'=>500,'+'=>549,
9 | ','=>250,'-'=>549,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>549,'='=>549,'>'=>549,'?'=>444,'@'=>549,'A'=>722,
10 | 'B'=>667,'C'=>722,'D'=>612,'E'=>611,'F'=>763,'G'=>603,'H'=>722,'I'=>333,'J'=>631,'K'=>722,'L'=>686,'M'=>889,'N'=>722,'O'=>722,'P'=>768,'Q'=>741,'R'=>556,'S'=>592,'T'=>611,'U'=>690,'V'=>439,'W'=>768,
11 | 'X'=>645,'Y'=>795,'Z'=>611,'['=>333,'\\'=>863,']'=>333,'^'=>658,'_'=>500,'`'=>500,'a'=>631,'b'=>549,'c'=>549,'d'=>494,'e'=>439,'f'=>521,'g'=>411,'h'=>603,'i'=>329,'j'=>603,'k'=>549,'l'=>549,'m'=>576,
12 | 'n'=>521,'o'=>549,'p'=>549,'q'=>521,'r'=>549,'s'=>603,'t'=>439,'u'=>576,'v'=>713,'w'=>686,'x'=>493,'y'=>686,'z'=>494,'{'=>480,'|'=>200,'}'=>480,'~'=>549,chr(127)=>0,chr(128)=>0,chr(129)=>0,chr(130)=>0,chr(131)=>0,
13 | chr(132)=>0,chr(133)=>0,chr(134)=>0,chr(135)=>0,chr(136)=>0,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>0,chr(141)=>0,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0,
14 | chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>750,chr(161)=>620,chr(162)=>247,chr(163)=>549,chr(164)=>167,chr(165)=>713,chr(166)=>500,chr(167)=>753,chr(168)=>753,chr(169)=>753,chr(170)=>753,chr(171)=>1042,chr(172)=>987,chr(173)=>603,chr(174)=>987,chr(175)=>603,
15 | chr(176)=>400,chr(177)=>549,chr(178)=>411,chr(179)=>549,chr(180)=>549,chr(181)=>713,chr(182)=>494,chr(183)=>460,chr(184)=>549,chr(185)=>549,chr(186)=>549,chr(187)=>549,chr(188)=>1000,chr(189)=>603,chr(190)=>1000,chr(191)=>658,chr(192)=>823,chr(193)=>686,chr(194)=>795,chr(195)=>987,chr(196)=>768,chr(197)=>768,
16 | chr(198)=>823,chr(199)=>768,chr(200)=>768,chr(201)=>713,chr(202)=>713,chr(203)=>713,chr(204)=>713,chr(205)=>713,chr(206)=>713,chr(207)=>713,chr(208)=>768,chr(209)=>713,chr(210)=>790,chr(211)=>790,chr(212)=>890,chr(213)=>823,chr(214)=>549,chr(215)=>250,chr(216)=>713,chr(217)=>603,chr(218)=>603,chr(219)=>1042,
17 | chr(220)=>987,chr(221)=>603,chr(222)=>987,chr(223)=>603,chr(224)=>494,chr(225)=>329,chr(226)=>790,chr(227)=>790,chr(228)=>786,chr(229)=>713,chr(230)=>384,chr(231)=>384,chr(232)=>384,chr(233)=>384,chr(234)=>384,chr(235)=>384,chr(236)=>494,chr(237)=>494,chr(238)=>494,chr(239)=>494,chr(240)=>0,chr(241)=>329,
18 | chr(242)=>274,chr(243)=>686,chr(244)=>686,chr(245)=>686,chr(246)=>384,chr(247)=>384,chr(248)=>384,chr(249)=>384,chr(250)=>384,chr(251)=>384,chr(252)=>494,chr(253)=>494,chr(254)=>494,chr(255)=>0);
19 | $uv = array(32=>160,33=>33,34=>8704,35=>35,36=>8707,37=>array(37,2),39=>8715,40=>array(40,2),42=>8727,43=>array(43,2),45=>8722,46=>array(46,18),64=>8773,65=>array(913,2),67=>935,68=>array(916,2),70=>934,71=>915,72=>919,73=>921,74=>977,75=>array(922,4),79=>array(927,2),81=>920,82=>929,83=>array(931,3),86=>962,87=>937,88=>926,89=>936,90=>918,91=>91,92=>8756,93=>93,94=>8869,95=>95,96=>63717,97=>array(945,2),99=>967,100=>array(948,2),102=>966,103=>947,104=>951,105=>953,106=>981,107=>array(954,4),111=>array(959,2),113=>952,114=>961,115=>array(963,3),118=>982,119=>969,120=>958,121=>968,122=>950,123=>array(123,3),126=>8764,160=>8364,161=>978,162=>8242,163=>8804,164=>8725,165=>8734,166=>402,167=>9827,168=>9830,169=>9829,170=>9824,171=>8596,172=>array(8592,4),176=>array(176,2),178=>8243,179=>8805,180=>215,181=>8733,182=>8706,183=>8226,184=>247,185=>array(8800,2),187=>8776,188=>8230,189=>array(63718,2),191=>8629,192=>8501,193=>8465,194=>8476,195=>8472,196=>8855,197=>8853,198=>8709,199=>array(8745,2),201=>8835,202=>8839,203=>8836,204=>8834,205=>8838,206=>array(8712,2),208=>8736,209=>8711,210=>63194,211=>63193,212=>63195,213=>8719,214=>8730,215=>8901,216=>172,217=>array(8743,2),219=>8660,220=>array(8656,4),224=>9674,225=>9001,226=>array(63720,3),229=>8721,230=>array(63723,10),241=>9002,242=>8747,243=>8992,244=>63733,245=>8993,246=>array(63734,9));
20 | ?>
21 |
--------------------------------------------------------------------------------
/css/footer.css:
--------------------------------------------------------------------------------
1 | ul {
2 | margin: 0px;
3 | padding: 0px;
4 | }.icons-wrapper{
5 | position: relative;
6 | text-decoration: none;
7 | }.icons-wrapper{
8 | content: '';
9 | position: absolute;
10 | width: 90%;
11 | height: 5px;
12 | border-radius: 10px;
13 | left: 50%;
14 | transform: translateX(-50%);
15 | bottom: 0;
16 | text-decoration: none;
17 | }.icon{
18 | display: inline-block;
19 | font-size: 64px;
20 | text-decoration: none;
21 | }.ri-instagram-line{
22 | background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
23 | -webkit-background-clip: text;
24 | -webkit-text-fill-color: transparent;
25 | text-decoration: none;
26 | }.ri-whatsapp-line{
27 | color: #25d366;
28 | text-decoration: none;
29 | }.footer-section {
30 | background: #151414;
31 | position: relative;
32 | }.footer-cta {
33 | border-bottom: 1px solid #373636;
34 | }.single-cta i {
35 | color: #ff5e14;
36 | font-size: 30px;
37 | float: left;
38 | margin-top: 8px;
39 | }.cta-text {
40 | padding-left: 15px;
41 | display: inline-block;
42 | }.cta-text h4 {
43 | color: #fff;
44 | font-size: 20px;
45 | font-weight: 600;
46 | margin-bottom: 2px;
47 | }.cta-text span {
48 | color: #757575;
49 | font-size: 15px;
50 | }.footer-content {
51 | position: relative;
52 | z-index: 2;
53 | }.footer-pattern img {
54 | position: absolute;
55 | top: 0;
56 | left: 0;
57 | height: 330px;
58 | background-size: cover;
59 | background-position: 100% 100%;
60 | }.footer-logo {
61 | margin-bottom: 30px;
62 | }.footer-logo img {
63 | max-width: 200px;
64 | }.footer-text p {
65 | margin-bottom: 14px;
66 | font-size: 14px;
67 | color: #7e7e7e;
68 | line-height: 28px;
69 | }.facebook-bg{
70 | background: #3B5998;
71 | }.twitter-bg{
72 | background: #55ACEE;
73 | }.google-bg{
74 | background: #DD4B39;
75 | }.footer-widget-heading h3 {
76 | color: #fff;
77 | font-size: 20px;
78 | font-weight: 600;
79 | margin-bottom: 40px;
80 | position: relative;
81 | }.footer-widget-heading h3::before {
82 | content: "";
83 | position: absolute;
84 | left: 0;
85 | bottom: -15px;
86 | height: 2px;
87 | width: 50px;
88 | background: #ff5e14;
89 | }.footer-widget ul li {
90 | display: inline-block;
91 | float: left;
92 | width: 50%;
93 | margin-bottom: 12px;
94 | }.footer-widget ul li a:hover{
95 | color: #ff5e14;
96 | }.footer-widget ul li a {
97 | color: #878787;
98 | text-transform: capitalize;
99 | }.subscribe-form {
100 | position: relative;
101 | overflow: hidden;
102 | }.subscribe-form input {
103 | width: 100%;
104 | padding: 14px 28px;
105 | background: #2E2E2E;
106 | border: 1px solid #2E2E2E;
107 | color: #fff;
108 | }.subscribe-form button {
109 | position: absolute;
110 | right: 0;
111 | background: #ff5e14;
112 | padding: 13px 20px;
113 | border: 1px solid #ff5e14;
114 | top: 0;
115 | }.subscribe-form button i {
116 | color: #fff;
117 | font-size: 22px;
118 | transform: rotate(-6deg);
119 | }.copyright-area{
120 | background: #202020;
121 | padding: 25px 0;
122 | }.copyright-text p {
123 | margin: 0;
124 | font-size: 14px;
125 | color: #878787;
126 | }.copyright-text p a{
127 | color: #ff5e14;
128 | }.footer-menu li {
129 | display: inline-block;
130 | margin-left: 20px;
131 | }.footer-menu li:hover a{
132 | color: #ff5e14;
133 | }.footer-menu li a {
134 | font-size: 14px;
135 | color: #878787;
136 | }
137 |
138 | .tra h3 {
139 | color:#38AAF2;
140 | font-size: 20px;
141 | font-weight: 600;
142 | margin-bottom: 40px;
143 | position: relative;
144 | text-decoration: underline ;
145 | text-decoration-color: #38AAF2;
146 | text-underline-offset: 20px;
147 |
148 | }.tra h3::before {
149 | content: "";
150 | position: absolute;
151 | left: 0;
152 | bottom: -15px;
153 | height: 2px;
154 | width: 100px;
155 |
156 | }
--------------------------------------------------------------------------------
/adm/fpdf/tutorial/CevicheOne-Regular-Licence.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011 by LatinoType Limitada (luciano@latinotype.com),
2 | with Reserved Font Names "Cecivhe" and "Ceviche One"
3 |
4 | This Font Software is licensed under the SIL Open Font License, Version 1.1.
5 | This license is copied below, and is also available with a FAQ at:
6 | http://scripts.sil.org/OFL
7 |
8 |
9 | -----------------------------------------------------------
10 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
11 | -----------------------------------------------------------
12 |
13 | PREAMBLE
14 | The goals of the Open Font License (OFL) are to stimulate worldwide
15 | development of collaborative font projects, to support the font creation
16 | efforts of academic and linguistic communities, and to provide a free and
17 | open framework in which fonts may be shared and improved in partnership
18 | with others.
19 |
20 | The OFL allows the licensed fonts to be used, studied, modified and
21 | redistributed freely as long as they are not sold by themselves. The
22 | fonts, including any derivative works, can be bundled, embedded,
23 | redistributed and/or sold with any software provided that any reserved
24 | names are not used by derivative works. The fonts and derivatives,
25 | however, cannot be released under any other type of license. The
26 | requirement for fonts to remain under this license does not apply
27 | to any document created using the fonts or their derivatives.
28 |
29 | DEFINITIONS
30 | "Font Software" refers to the set of files released by the Copyright
31 | Holder(s) under this license and clearly marked as such. This may
32 | include source files, build scripts and documentation.
33 |
34 | "Reserved Font Name" refers to any names specified as such after the
35 | copyright statement(s).
36 |
37 | "Original Version" refers to the collection of Font Software components as
38 | distributed by the Copyright Holder(s).
39 |
40 | "Modified Version" refers to any derivative made by adding to, deleting,
41 | or substituting -- in part or in whole -- any of the components of the
42 | Original Version, by changing formats or by porting the Font Software to a
43 | new environment.
44 |
45 | "Author" refers to any designer, engineer, programmer, technical
46 | writer or other person who contributed to the Font Software.
47 |
48 | PERMISSION & CONDITIONS
49 | Permission is hereby granted, free of charge, to any person obtaining
50 | a copy of the Font Software, to use, study, copy, merge, embed, modify,
51 | redistribute, and sell modified and unmodified copies of the Font
52 | Software, subject to the following conditions:
53 |
54 | 1) Neither the Font Software nor any of its individual components,
55 | in Original or Modified Versions, may be sold by itself.
56 |
57 | 2) Original or Modified Versions of the Font Software may be bundled,
58 | redistributed and/or sold with any software, provided that each copy
59 | contains the above copyright notice and this license. These can be
60 | included either as stand-alone text files, human-readable headers or
61 | in the appropriate machine-readable metadata fields within text or
62 | binary files as long as those fields can be easily viewed by the user.
63 |
64 | 3) No Modified Version of the Font Software may use the Reserved Font
65 | Name(s) unless explicit written permission is granted by the corresponding
66 | Copyright Holder. This restriction only applies to the primary font name as
67 | presented to the users.
68 |
69 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
70 | Software shall not be used to promote, endorse or advertise any
71 | Modified Version, except to acknowledge the contribution(s) of the
72 | Copyright Holder(s) and the Author(s) or with their explicit written
73 | permission.
74 |
75 | 5) The Font Software, modified or unmodified, in part or in whole,
76 | must be distributed entirely under this license, and must not be
77 | distributed under any other license. The requirement for fonts to
78 | remain under this license does not apply to any document created
79 | using the Font Software.
80 |
81 | TERMINATION
82 | This license becomes null and void if any of the above conditions are
83 | not met.
84 |
85 | DISCLAIMER
86 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
87 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
88 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
89 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
90 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
91 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
92 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
93 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
94 | OTHER DEALINGS IN THE FONT SOFTWARE.
95 |
--------------------------------------------------------------------------------
/adm/fpdf/tutorial/tuto1.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Minimal example
6 |
7 |
8 |
9 |
23 | After including the library file, we create an FPDF object.
24 | The constructor is used here with the default values: pages are in A4 portrait and
25 | the unit of measure is millimeter. It could have been specified explicitly with:
26 |
27 |
$pdf = new FPDF('P','mm','A4');
28 |
29 |
30 | It's possible to use landscape (L), other page sizes (such as Letter and
31 | Legal) and units (pt, cm, in).
32 |
33 |
34 | There's no page at the moment, so we have to add one with AddPage(). The origin
35 | is at the upper-left corner and the current position is by default set at 1 cm from the
36 | borders; the margins can be changed with SetMargins().
37 |
38 |
39 | Before we can print text, it's mandatory to select a font with SetFont().
40 | We choose Arial bold 16:
41 |
42 |
$pdf->SetFont('Arial','B',16);
43 |
44 |
45 | We could have specified italics with I, underlined with U or a regular font with an empty string
46 | (or any combination). Note that the font size is given in points, not millimeters (or another user
47 | unit); it's the only exception. The other standard fonts are Times, Courier, Symbol and ZapfDingbats.
48 |
49 |
50 | We can now print a cell with Cell(). A cell is a rectangular area, possibly framed,
51 | which contains a line of text. It is output at the current position. We specify its dimensions,
52 | its text (centered or aligned), if borders should be drawn, and where the current position
53 | moves after it (to the right, below or to the beginning of the next line). To add a frame, we would do this:
54 |
55 |
$pdf->Cell(40,10,'Hello World !',1);
56 |
57 |
58 | To add a new cell next to it with centered text and go to the next line, we would do:
59 |
60 |
$pdf->Cell(60,10,'Powered by FPDF.',0,1,'C');
61 |
55 | This example makes use of the Header() and Footer() methods to process page headers and
56 | footers. They are called automatically. They already exist in the FPDF class but do nothing,
57 | therefore we have to extend the class and override them.
58 |
59 |
60 | The logo is printed with the Image() method by specifying its upper-left corner and
61 | its width. The height is calculated automatically to respect the image proportions.
62 |
63 |
64 | To print the page number, a null value is passed as the cell width. It means that the cell
65 | should extend up to the right margin of the page; this is handy to center text. The current page
66 | number is returned by the PageNo() method; as for the total number of pages, it's obtained
67 | via the special value {nb} which is substituted when the document is finished
68 | (provided you first called AliasNbPages()).
69 |
70 | Note the use of the SetY() method which allows to set position at an absolute location in
71 | the page, starting from the top or the bottom.
72 |
73 |
74 | Another interesting feature is used here: the automatic page breaking. As soon as a cell would
75 | cross a limit in the page (at 2 centimeters from the bottom by default), a break is issued
76 | and the font restored. Although the header and footer select their own font (Arial), the body
77 | continues with Times. This mechanism of automatic restoration also applies to colors and line
78 | width. The limit which triggers page breaks can be set with SetAutoPageBreak().
79 |
80 |
81 |
--------------------------------------------------------------------------------