SetCreator('HIKK ILPKL'); $pdf->SetAuthor('Ahmad Shahir Bin Husin @ Mukti'); $pdf->SetTitle('eKJP'); $pdf->SetSubject('Surat Permohonan Kursus'); $pdf->SetKeywords('eKJP, Kursus Jangka Pendek, Atas Talian, HIKK ILPKL'); // remove default header/footer $pdf->setPrintHeader(false); $pdf->setPrintFooter(false); // set default monospaced font $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); // set margins $pdf->SetMargins('15', '15', '15'); // set auto page breaks $pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM); // set image scale factor $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); // set some language-dependent strings (optional) if (@file_exists(dirname(__FILE__).'/lang/eng.php')) { require_once(dirname(__FILE__).'/lang/eng.php'); $pdf->setLanguageArray($l); } // --------------------------------------------------------- // set default font subsetting mode $pdf->setFontSubsetting(true); // set font $pdf->SetFont('helvetica', '', 10, '', true); // add a page $pdf->AddPage(); // Set some content to print $crow = mysqli_fetch_assoc(mysqli_query($con,"SELECT * FROM `course` WHERE `course_id` = " . $course)); $nrow = mysqli_fetch_assoc(mysqli_query($con,"SELECT * FROM `apply` WHERE `noic` = " . $noic)); $arow = mysqli_fetch_assoc(mysqli_query($con,"SELECT * FROM `course_apply` WHERE `course_apply_id` = " . $apply)); $actual_link = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://" . $_SERVER['HTTP_HOST']; $html = '
![]() |
|||
' . strtoupper($cfg_institute) . ' |
|||
Permohonan Kursus Secara Atas Talian |
|||
(Online) |
|||
| Tarikh | : ' . $arow['created_on'] . ' | ||
| Nama | : ' . $nrow['name'] . ' | ||
| No. Kad Pengenalan | : ' . $nrow['noic'] . ' | ||
| Tuan/Puan, | |||
| PERMOHONAN KURSUS ' . $crow['name'] . ' (' . $crow['code'] . ') | |||
| TEMPAT : ' . strtoupper($cfg_institute) . ' | |||
| Adalah dimaklumkan bahawa permohonan tuan/puan telah didaftar dan akan diproses. Sekiranya permohonan anda berjaya, surat tawaran akan dikeluarkan. | |||
| 2. Tuan/puan boleh menyemak status permohonan kursus yang dipohon melalui portal rasmi ' . ucwords(strtolower($cfg_institute)) . ' di ' . $cfg_website . ' dari masa ke semasa. | |||
| Sekian, terima kasih. | |||
| "BERKHIDMAT UNTUK NEGARA" | |||
| "' . strtoupper($cfg_slogan) . '" | |||
| (' . strtoupper($cfg_division) . ') | |||
| b.p. Pengarah ' . ucwords(strtolower($cfg_institute)) . ' | |||
| Nota : | |||
| Sebarang pertanyaan mengenai permohonan ini sila hubungi: | |||
| No. Telefon | : ' . $cfg_telno . ' (samb : ' . $cfg_extention . ') | ||
| No. Faksimili | : ' . $cfg_faxno . ' | ||
| Alamat Email | : ' . $cfg_email . ' | ||
| Sila imbas kod QR untuk muat-turun borang permohonan di peranti mudah alih. | |||