示例#1
0
                        }
                        $pdf->writeHTML('<hr size="590" color="#7ACF78">', true, false, true, false, '');
                        $pdf->writeHTML('<div style="padding-left:100"><font style="font-size:8pt;" color="#999999">For a list of references for each variant, please see the freely available VP on the Internet https://www.sustc-genome.org.cn/vp</font></div>', true, false, true, false, '');
                        $pdf->writeHTML($sentence, true, false, true, false, '');
                    }
                }
            }
        }
    }
}
$pdf->AddPage();
$pdf->writeHTML('<br><Br><br><h1>The overview of VP</h1><br><br><div align="left"><b>VP</b> which is developed by He lab in the South University of Science and Technology of China is an online tool that interprets personal genome for the impact of genetic variation on drug response. Base on the carefully selected data from international and authoritative includinig PharmGKB, dbSNP and DrugBank,we can take high-throughput sequencing raw data or microarray SNP genotyping data as inputs, and reports to the users how the variants in their personal genomes impact the response to 193 drugs, including efficacy, dosage and toxicity. </div>', true, false, true, false, '');
if (count($pdf->PageNo()) === 1) {
    // Do this only on the first page
    $pdf->SetPrintHeader(false);
    $pdf->SetPrintFooter(false);
}
$pdf->addTOCPage();
$pdf->writeHTML('<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><div align="center"><font size="25px" ><b>VP Genetic Results</b></font></div>
<br><br><br><br><div align="center">Prepared for: ' . $file_code . '</div>
<div align="center">' . date('M j, Y') . '</div>
<br><br><br><br><div align="center"></div> 
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>', true, false, true, false, '');
// write the TOC title and/or other elements on the TOC page
$pdf->SetFont('', 'B', 16);
//$pdf->writeHTML('<br><br><br><br><div align="center">Table content of User report</div>', true, false, true, false, '');
$pdf->Ln();
$pdf->SetFont('helvetica', '', 10);
// define styles for various bookmark levels
$bookmark_templates = array();
// A monospaced font for the page number is mandatory to get the right alignment