%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tjamichg/intranet.tjamich.gob.mx/intranet/sistemas/recursoshumanos/
Upload File :
Create Path :
Current File : /home/tjamichg/intranet.tjamich.gob.mx/intranet/sistemas/recursoshumanos/pdfdocestatico4.php

<?php

// omitido fpdi

// // include('config.php');

// use setasign\Fpdi\Fpdi;



require_once('./flowing_blockv5.php');

// omitido fpdi

// require_once('./fpdi/src/autoload.php');





// $url_pdf      = $_REQUEST["periodico"];



// $consultax = "SELECT *

// FROM usuario_municipio

// WHERE municipio_id = '1'";

// $rst1x = $conf->consulta($consultax);

// $rst1xnombre_formal = $rst1x[0]['nombre_formal'];



// omitido fpdi

// $pdf = new FPDI();

$pdf = new PDF_FlowingBlock();



$pdf->AddPage();



// FOTOGRAFIA

$pdf->Image('memebretadotest.png', '10', '15', '40', '40', 'PNG');

// $pdf->Image('archivos2.png', '170', '0', '30', '40', 'PNG');

$pdf->SetTextColor(25,25,25);

$pdf->SetFillColor(220,220,220);

$pdf->SetDrawColor(255, 255, 255);



// Cabecera

$pdf->SetFont('helvetica', 'B', 12);

$pdf->WriteHTML('<br><br>');



// FECHA Y FOLIO

$pdf->SetFont('helvetica', '', 11);

$pdf->Cell(80, 7, utf8_decode(''), 0, 0, 'L', 0);

$pdf->Cell(33, 7, utf8_decode('PROCEDENCIA'), 1, 0, 'L', 1);

$pdf->Cell(82, 7, utf8_decode('5 SALA ADMINISTRATIVA'), 1, 1, 'L', 1);

$pdf->Cell(80, 7, utf8_decode(''), 0, 0, 'L', 0);

$pdf->Cell(33, 7, utf8_decode('OFICIO'), 1, 0, 'L', 1);

$pdf->Cell(82, 7, utf8_decode('TJAM-SA/RH/003/'.$xxxxx.'2023'.$xxxxx.''), 1, 1, 'L', 1);

$pdf->Cell(80, 7, utf8_decode(''), 0, 0, 'L', 0);

$pdf->Cell(33, 7, utf8_decode('ASUNTO'), 1, 0, 'L', 1);

$pdf->Cell(82, 7, utf8_decode('SOLICITUD DE BAJA DE EMPLEADO'), 1, 1, 'L', 1);

$pdf->WriteHTML('<br>');



$pdf->SetDrawColor(0, 0, 0);





$pdf->SetFont('helvetica', '', 11);

$pdf->Cell(190, 10, utf8_decode('Morelia, Michoacán, 06 '.$xxxxx.'de enero'.$xxxxx.' del 2023.'), 0, 1, 'R', 0);

$pdf->WriteHTML('<br>');





$pdf->SetFont('helvetica', 'B', 12);

$pdf->Cell(190, 5, utf8_decode('M.D. HUGO HAMA CORIA'), 0, 1, 'L', 0);

$pdf->Cell(190, 5, utf8_decode('MAGISTRADO PRESIDENTE DEL TRIBUNAL DE JUSTICIA ADMINISTRATIVA'), 0, 1, 'L', 0);

$pdf->Cell(190, 5, utf8_decode('E D I F I C I O'), 0, 1, 'L', 0);

$pdf->WriteHTML('<br>');





// PARRAFO

$pdf->newFlowingBlock(185, 6, 'J');

$pdf->SetFont('helvetica', '', 12);

$pdf->WriteFlowingBlock(utf8_decode('Por medio del presente le solicito de la manera más atenta: la '));

$pdf->SetFont('helvetica', 'B', 12);

$pdf->WriteFlowingBlock(utf8_decode('BAJA '));

$pdf->SetFont('helvetica', '', 12);

$pdf->WriteFlowingBlock(utf8_decode('de '));

$pdf->SetFont('helvetica', 'B', 12);

$pdf->WriteFlowingBlock(utf8_decode('C. SERGIO ALBERTO MARTINEZ OCAMPO '.$xxxxx.''));

$pdf->SetFont('helvetica', '', 12);

$pdf->WriteFlowingBlock(utf8_decode('con RFC '));

$pdf->SetFont('helvetica', 'B', 12);

$pdf->WriteFlowingBlock(utf8_decode('SERGJSDM8934DF5 '.$xxxxx.''));

$pdf->SetFont('helvetica', '', 12);

$pdf->WriteFlowingBlock(utf8_decode('para lo anterior se relaciona a continuación la información correspondiente.'));

$pdf->finishFlowingBlock();

$pdf->WriteHTML('<br>');





// TABLA

$pdf->SetFont('helvetica', 'B', 10);

$pdf->Cell(40, 10, utf8_decode(''), 1, 0, 'C', 0);

$pdf->Cell(76, 10, utf8_decode(''), 1, 0, 'C', 0);

$pdf->Cell(40, 10, utf8_decode(''), 1, 0, 'C', 0);

$pdf->Cell(32, 10, utf8_decode(''), 1, 1, 'C', 0);

$pdf->Ln(-10);

$pdf->Cell(40, 5, utf8_decode('MOVIMIENTO'), 0, 0, 'C', 0);

$pdf->Cell(76, 5, utf8_decode('NOMBRE'), 0, 0, 'C', 0);

$pdf->Cell(40, 5, utf8_decode('N.S.S.'), 0, 0, 'C', 0);

$pdf->Cell(32, 5, utf8_decode('FECHA FIN '), 0, 1, 'C', 0);

$pdf->Cell(40, 5, utf8_decode(''), 0, 0, 'C', 0);

$pdf->Cell(76, 5, utf8_decode(''), 0, 0, 'C', 0);

$pdf->Cell(40, 5, utf8_decode(''), 0, 0, 'C', 0);

$pdf->Cell(32, 5, utf8_decode('DE CONTRATO'), 0, 1, 'C', 0);

// for ($i=0; $i < 5; $i++) { 

//     $pdf->Cell(40, 10, utf8_decode(''), 1, 0, 'C', 0);

//     $pdf->Cell(76, 10, utf8_decode(''), 1, 0, 'C', 0);

//     $pdf->Cell(40, 10, utf8_decode(''), 1, 0, 'C', 0);

//     $pdf->Cell(32, 10, utf8_decode(''), 1, 1, 'C', 0);

// }

$pdf->SetFont('helvetica', 'B', 9);

$pdf->Cell(40, 10, utf8_decode('ALTA'.$xxxxx.''), 1, 0, 'C', 0);

$pdf->Cell(76, 10, utf8_decode('SERGIO ALBERTO MARTINEZ OCAMPO'.$xxxxx.''), 1, 0, 'C', 0);

$pdf->Cell(40, 10, utf8_decode('53-07-82-0367-5'.$xxxxx.''), 1, 0, 'C', 0);

$pdf->Cell(32, 10, utf8_decode('01/06/2023'.$xxxxx.''), 1, 1, 'C', 0);

$pdf->WriteHTML('<br>');





// PARRAFO

$pdf->newFlowingBlock(185, 6, 'J');

$pdf->SetFont('helvetica', '', 12);

$pdf->WriteFlowingBlock(utf8_decode('Sin más por el momento, reciba un cordial saludo.'));

$pdf->finishFlowingBlock();

$pdf->WriteHTML('<br>');





// FIRMA

$pdf->SetFont('helvetica', 'B', 12);

$pdf->Cell(190, 5, utf8_decode('A T E N T A M E N T E'), 0, 1, 'C', 0);



$pdf->SetFont('helvetica', 'B', 11);

$pdf->Cell(190, 5, utf8_decode('Firma digital :'), 0, 1, 'L', 0);

$pdf->SetFont('helvetica', '', 11);

$pdf->MultiCell(190, 5, utf8_decode(''.$xxxxx.'VaHHwVWRgofwMiztosbY7dlC4H+/HD7AJq39klCpiUoGEKE2f9DBKgIfifrFlV1YcQEjNVnWHX6Asadi7+OMAawTy/1+1aOScKTLV214HplFatS5QVSz9Yyv3bPuqC+KDe+fl7pUvfgkfN53EYpisHM9Y4jngP1i3ULvyqVE+1OW6hT7kLJEANshOAKAwtGC40Ejo2t'), 0, 'L', 0);

$pdf->WriteHTML('<br>');



$pdf->SetFont('helvetica', 'B', 12);

$pdf->Cell(190, 5, utf8_decode('C. P. SERGIO MECINO MORALES'), 0, 1, 'C', 0);

$pdf->Cell(190, 5, utf8_decode('MAGISTRADO DE LA QUINTA SALA ADMINISTRATIVA'), 0, 1, 'C', 0);

$pdf->Cell(190, 5, utf8_decode('5 SALA ADMINISTRATIVA'), 0, 1, 'C', 0);

$pdf->WriteHTML('<br>');





// PIE

$pdf->SetFont('helvetica', '', 8);

$pdf->Cell(190, 3, utf8_decode('C.c.p. Maria Fernanda Herrejon'.$xxxxx.'. – Recursos Humanos.'), 0, 1, 'L', 0);

$pdf->Cell(190, 3, utf8_decode('C.c.p. Mario Pineda Bañuelos'.$xxxxx.'.- Titular del Órgano Interno de Control.'), 0, 1, 'L', 0);

$pdf->Cell(190, 3, utf8_decode('C.c.p. Archivo.'), 0, 1, 'L', 0);



$pdf->SetFont('helvetica', 'B', 12);

$pdf->Cell(190, 5, utf8_decode('___________________________________________________________________________'), 0, 1, 'C', 0);





$pdf->Output();



?>

Zerion Mini Shell 1.0