<tr bgcolor="#999999"> <?php for ($i = 0; $i < $numFts; $i++) { ?> <th align="center" class="th2"> <?php echo $Fts[$i]['siglas_ff']; ?> </th> <?php } ?> </tr> <?php $ReporteAFtS->mostrar_AsignacionFtporSubactividades(); ?> </table> <script language="javascript"> FullScreen(); </script> </body> </html> <?php if ($_GET[pdf] == 'ok') { $htmlbuffer = ob_get_contents(); ob_end_clean(); header("Content-type: application/pdf"); $pdf = new HTML2FPDF('P', 'mm', 'a4x'); $pdf->ubic_css = "../../style.css";