$NumEnd = $r->TtNumEnds; $NumDistances = $r->TtNumDist; } $FillWithArrows = false; if (isset($_REQUEST["ScoreFilled"]) && $_REQUEST["ScoreFilled"] == 1) { $FillWithArrows = true; } $pdf->FillWithArrows = $FillWithArrows; if (!(isset($_REQUEST["ScoreHeader"]) && $_REQUEST["ScoreHeader"] == 1)) { $pdf->HideHeader(); } if (!(isset($_REQUEST["ScoreLogos"]) && $_REQUEST["ScoreLogos"] == 1)) { $pdf->HideLogo(); } if (isset($_REQUEST["ScoreDraw"]) && $_REQUEST["ScoreDraw"] == "Data") { $pdf->NoDrawing(); } if (isset($_REQUEST["ScoreDraw"]) && $_REQUEST["ScoreDraw"] == "CompleteTotals") { $pdf->PrintTotalColumns(); } if (!empty($_REQUEST["ScoreBarcode"])) { $pdf->PrintBarcode = true; } if (isset($_REQUEST["ScoreDraw"]) && $_REQUEST['ScoreDraw'] == "Draw") { $pdf->AddPage(); for ($i = 1; $i <= $NumDistances; $i++) { if ($i == 5) { $pdf->AddPage(); } $pdf->DrawScore($MisArray[$i][0], $MisArray[$i][1], $defScoreW, $defScoreH, $NumEnd, 3, array("tNo" => '')); }