<?php include "../controller/cExpediente.php"; include "../controller/cUtilerias.php"; $util = new cUtilerias(); $expe = new cExpediente(); $det = $expe->getDatosClienteImprimir($_GET['id']); $doms = $expe->getDomiciliosClte($_GET['id']); require '../fpdf/fpdf.php'; class ImprimeTabla extends FPDF { function Header() { $util = new cUtilerias(); $expe = new cExpediente(); $det = $expe->getDatosClienteImprimir($_GET['id']); // print_r($det); $this->Image("../logo.png", 10, 6, 30); // Arial bold 15 $this->SetFont('Arial', 'B', 10); // Move to the right $this->Cell(80); // Title $this->Cell(30, 5, 'DETALLES DEL EXPEDIENTE DE ' . strtoupper($det['razon'] . " " . $det['nombre'] . " " . $det['a_pat'] . " " . $det['a_mat']), 0, 0, 'C'); $this->Ln(); $this->Cell(80); $this->Cell(30, 5, 'CLAVE DEL CLIENTE: ' . strtoupper($det['clave_agrupadora']), 0, 0, 'C'); $this->Ln(); $this->Cell(80); $this->Cell(30, 5, "FECHA DE IMPRESION: " . $util->convierteFechaTiempo(date("Y-m-d H:i:s")), 0, 0, "C"); // Line break