Notice: Undefined index: type in \\EDGEFS\WEB_CONTENT\Webs\www\wpdp2012\utilities\generate_pdf.php on line 6