Exemple #1
0
$pdf->CuadroCuerpoMulti(182, $res['opciondecoracion'], 0, "", "B", "");
$pdf->ln();
$pdf->CuadroCuerpoPersonalizado(30, "Conclusión Final", 0, "", "", "B");
$pdf->ln();
$pdf->CuadroCuerpoMulti(182, $res['conclusion'], 0, "", "B", "");
$pdf->ln();
$pdf->CuadroCuerpoPersonalizado(120, "Personal a cargo del Evento", 1, "", "1", "B");
$pdf->ln();
$pdf->CuadroCuerpoPersonalizado(10, "N", 1, "", "1", "B");
$pdf->CuadroCuerpoPersonalizado(70, "Nombre", 1, "", "1", "B");
$pdf->CuadroCuerpoPersonalizado(40, "Cargo", 1, "", "1", "B");
$pdf->ln();
include_once "../../class/usuario.php";
$usuario = new usuario();
include_once "../../class/personal.php";
$personal = new personal();
$per = $personal->mostrarTodoRegistro("codreserva=" . $codreserva, 1, "fecha,hora");
foreach ($per as $p) {
    $i++;
    $usu = $usuario->mostrarDatos($p['codusuarios']);
    $usu = array_shift($usu);
    $pdf->CuadroCuerpoPersonalizado(10, $i, 0, "R", "1", "");
    $pdf->CuadroCuerpoPersonalizado(70, $usu['paterno'] . " " . $usu['materno'] . " " . $usu['nombre'], 0, "", "1", "");
    $pdf->CuadroCuerpoPersonalizado(40, $usu['cargo'], 0, "", "1", "");
    $pdf->ln();
}
$pdf->ln();
$pdf->CuadroCuerpoPersonalizado(30, "Observaciones", 0, "", "", "B");
$pdf->ln();
$pdf->CuadroCuerpoMulti(182, "", 0, "", "B", "");
$pdf->Output();