//Page number $this->Cell(0, 3, 'Individualized Education Program for ' . $student_row['first_name'] . ' ' . $student_row['last_name'] . '-' . date('dS \\of F Y') . ' (Page ' . $this->PageNo() . '/{nb})', 0, 1, 'C'); //output a little information on this $this->SetFont('Arial', 'i', 6); $this->SetTextColor(153, 153, 153); //greyish $this->SetFillColor(255, 255, 255); $this->Ln(1); $this->MultiCell(0, 5, "MYIEP System Copyright 2014 Chelsea School | �2005-2007 Grasslands Public Schools | licensed under the Gnu Public License", 'T', 'C', 1); //Set colour back $this->SetTextColor(0, 0, 0); // Well, I'm back in black, yes I'm back in black! } } //Instanciation of inherited class $pdf = new IPP(); $pdf->AliasNbPages(); $pdf->AddPage(); //set the pdf information $pdf->SetAuthor(username_to_common($_SESSION['egps_username'])); $pdf->SetCreator('MyIEP Special Education Program Management'); $pdf->SetTitle('Individual Program Plan - ' . $student_row['first_name'] . ' ' . $student_row['last_name']); //begin pdf... $pdf->SetFont('Times', '', 20); $pdf->SetTextColor(220, 50, 50); //set the colour a loverly redish $pdf->Cell(30); $pdf->Cell(130, 5, ' Program Plan ', 0, 0, 'C'); //$pdf->Image(IPP_PATH . 'images/bounding_box.png',$pdf->GetX()-1,$pdf->GetY()-4); $mark = $pdf->GetY(); /* if(isset($code) && is_numeric($code)) {
$this->Cell(0, 3, 'Anecdotal report for ' . $student_row['first_name'] . ' ' . $student_row['last_name'] . '-' . date('dS \\of F Y') . ' (Page ' . $this->PageNo() . '/{nb})', 0, 1, 'C'); //output a little information on this $this->SetFont('Arial', 'i', 6); $this->SetTextColor(153, 153, 153); //greyish $this->SetFillColor(255, 255, 255); $this->Ln(1); $this->MultiCell(0, 5, "Grasslands Individual Program Plan System (�2005-2006 Grasslands Public Schools)", 'T', 'C', 1); //todo: this should be a variable controlled on admin console //Set colour back $this->SetTextColor(0, 0, 0); // Well, I'm back in black, yes I'm back in black! Todo: note the dev listened to ACDC } } //Instanciation of inherited class $pdf = new IPP(); $pdf->AliasNbPages(); $pdf->AddPage(); //set the pdf information $pdf->SetAuthor(username_to_common($_SESSION['egps_username'])); $pdf->SetCreator('Grasslands IPP System- Michael Nielsen Developer'); //todo strip the vanity of the dev $pdf->SetTitle('Individual Program Plan - ' . $student_row['first_name'] . ' ' . $student_row['last_name']); //begin pdf... $pdf->SetFont('Times', '', 20); $pdf->SetTextColor(220, 50, 50); //set the colour a loverly redish $pdf->Cell(30); $pdf->Cell(130, 5, 'Anecdotal Report ', 0, 0, 'C'); $pdf->Image(IPP_PATH . 'images/bounding_box.png', $pdf->GetX() - 1, $pdf->GetY() - 4); $mark = $pdf->GetY();