'.$fila_normativa[titulo].'
 
'.$fila_normativa[cke_texto].'
'; //$html = $_SESSION[html]; include("../mpdf/mpdf.php"); $mpdf=new mPDF('c','A4',0,0,15,15,40,16,9,8); //$mpdf=new mPDF('c','A4'); /* class mPDF ([ string $mode [, mixed $format [, float $default_font_size [, string $default_font [, float $margin_left , float $margin_right , float $margin_top , float $margin_bottom , float $margin_header , float $margin_footer [, string $orientation ]]]]]]) */ //$mpdf=new mPDF('c','A4',0,0,15,15,$_SESSION[margen_top_pdf],16,9,8); /*encabezado*/ //$mpdf->mirrorMargins = 1; // Use different Odd/Even headers and footers and mirror margins //$mpdf->defaultheaderfontsize = 10; /* in pts */ //$mpdf->defaultheaderfontstyle = B; /* blank, B, I, or BI */ //$mpdf->defaultheaderline = 10; /* 1 to include line below header/above footer */ $aux_encabezado_pdf = $_SESSION[encabezado_pdf]; $mpdf->SetHTMLHeader($aux_encabezado_pdf,''); /* $mpdf->SetHTMLFooter('
Página: {PAGENO}/{nbpg}
'); */ /* fin de encabezado*/ $stylesheet = file_get_contents('../bootstrap/dist/css/bootstrap.min.css'); $stylesheet2 = file_get_contents('http://code.jquery.com/jquery.js'); $stylesheet3 = file_get_contents('../bootstrap/dist/js/bootstrap.min.js'); $mpdf->WriteHTML($stylesheet,1); // The parameter 1 tells that this is css/style only and no body/html/text $mpdf->WriteHTML($stylesheet2,1); // The parameter 1 tells that this is css/style only and no body/html/text $mpdf->WriteHTML($stylesheet3,1); // The parameter 1 tells that this is css/style only and no body/html/text $html_esqueleto = ' Normativa '; $html_esqueleto2 = ' '; $html = $html_esqueleto.$html.$html_esqueleto2; $mpdf->WriteHTML(utf8_encode($html)); //$mpdf->WriteHTML($html); $mpdf->Output(); exit; } ?>