| Server IP : 61.19.30.66 / Your IP : 216.73.216.59 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/admissions3/regis4/ |
Upload File : |
<html>
<head>
<title>klw</title>
</head>
<body>
<?php
$objConnect = mysql_connect("localhost","root","klw3322") or die("Error Connect to Database");
$objDB = mysql_select_db("jorjae_jorjaedb");
mysql_query("SET character_set_results=utf8");
mysql_query("SET character_set_results=tis620");
mysql_query("SET character_set_client=tis620");
mysql_query("SET character_set_connection=tis620");
$strSQL = "SELECT * FROM member4 where id='$_GET[id]'";
$objQuery = mysql_query($strSQL);
$resultData = array();
for ($i=0;$i<mysql_num_rows($objQuery);$i++) {
$result = mysql_fetch_array($objQuery);
array_push($resultData,$result);
}
//************************//
$ids=$result["pin"];
$crsql="SELECT count(idstudent) FROM member";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$countdat=$dcrd[0];
require('fpdf.php');
define('FPDF_FONTPATH','font/');
$pdf=new FPDF( 'P' , 'mm' , 'A4' );
$pdf->AddPage();
$pdf->AddFont('angsa','','angsa.php');
$pdf->SetFont('angsa','',16);
//$pdf->Text( 45 , 42 , iconv( 'UTF-8','TIS-620','1.(....) โรงเรียนทั่วไปสอบคัดเลือก'),0,1,"C");
//$pdf->Text( 45 , 48 , iconv( 'UTF-8','TIS-620','2.(....) ความสามารถพิเศษ'),0,1,"C");
//$pdf->Text( 45 , 54 , iconv( 'UTF-8','TIS-620','3.(....) เงื่อนไขพิเศษ'),0,1,"C");
$pdf->Text( 20 , 47 , iconv( 'UTF-8','TIS-620','ข้าพเจ้าชื่อ(ผู้ปกครอง)..........................................................................อายุ...........ปี อาชีพ..........................................'),0,1,"C");
$pdf->Text( 20 , 55 , iconv( 'UTF-8','TIS-620','อยู่บ้านเลขที่..............หมู่ที่่........เลขประจำบ้าน(10 หลัก)........................................ชื่อหมู่บ้าน.....................................'),0,1,"C");
$pdf->Text( 20 , 63 , iconv( 'UTF-8','TIS-620','ตำบล............................อำเภอ...............................จังหวัด ...................รหัสไปรษณีย์.................โทรศัพท์....................'),0,1,"C");
//$pdf->Text( 90 , 42 , iconv( 'UTF-8','TIS-620','3.(....) นักเรียนความสามารถพิเศษ'),0,1,"C");
//$pdf->Text( 90 , 52 , iconv( 'UTF-8','TIS-620','4.(....) นักเรียนเงื่อนไขพิเศษ'),0,1,"C");
$pdf->Text(45,33,iconv( 'UTF-8','TIS-620','เลขประจำตัว........................ชื่อ'),0,1,"C");
$pdf->Text(137,33,iconv( 'UTF-8','TIS-620','นามสกุล'),0,1,"C");
$pdf->Text(183,33,iconv( 'UTF-8','TIS-620','ชั้น ม...../......'),0,1,"C");
$pdf->Text( 20 , 38 , iconv( 'UTF-8','TIS-620','........................................................................................................................................................................................'),0,1,"C");
//$pdf->Text(92,42,$result["idtpy_name"],1);
$pdf->AddFont('angsa','','angsa.php');
$pdf->SetFont('angsa','',16);
$pdf->Image('images/head_02.gif',18,5,25,25,'','http://gpa.klws.ac.th',"C");
//$pdf->Image('images/pic.png',180,12,25,30,'','http://gpa.klws.ac.th');
//$pdf->Image('images/li.png',10,5,5,290,'','http://gpa.klws.ac.th');
//$pdf->Text( 185 , 25 , iconv( 'UTF-8','TIS-620','ติดรูป 1x1'),0,1,"C");
$pdf->AddFont('angsa','','angsa.php');
$pdf->SetFont('angsa','',16);
//$pdf->Text( 15 , 10 , iconv( 'UTF-8','TIS-620','เลขที่เอกสาร'),0,1,"C");
$pdf->Text( 60 , 10 , iconv( 'UTF-8','TIS-620','ใบมอบตัวนักเรียน ชั้นมัธยมศึกษาปีที่ 4 ปีการศึกษา 2564'),0,1,"C");
$pdf->Text( 50 , 18 , iconv( 'UTF-8','TIS-620','โรงเรียนกันทรลักษ์วิทยา สำนักงานเขตพื้่นที่การศึกษามัธยมศึกษาเขต 28'),0,1,"C");
//$pdf->Text( 150 , 33 , iconv( 'UTF-8','TIS-620','ชื่อ'),0,1,"C");
//$pdf->Text( 100 , 60 , iconv( 'UTF-8','TIS-620','นามสกุล'),0,1,"C");
$pdf->Text( 20 , 102 , iconv( 'UTF-8','TIS-620','บิดา'),0,1,"C");
$pdf->Text( 100 , 102 , iconv( 'UTF-8','TIS-620','อาชีพ'),0,1,"C");
$pdf->Text( 150 , 102 , iconv( 'UTF-8','TIS-620','รายได้ต่อปี'),0,1,"C");
$pdf->Text( 20 , 108 , iconv( 'UTF-8','TIS-620','มารดา'),0,1,"C");
$pdf->Text( 100 , 108 , iconv( 'UTF-8','TIS-620','อาชีพ'),0,1,"C");
$pdf->Text( 150 , 108 , iconv( 'UTF-8','TIS-620','รายได้ต่อปี'),0,1,"C");
$pdf->Text( 20 , 114 , iconv( 'UTF-8','TIS-620','โทรศัพท์ผู้ปกครอง'),0,1,"C");
$pdf->Text( 80 , 114 , iconv( 'UTF-8','TIS-620','โทรศัพท์นักเรียน...............................................'),0,1,"C");
//$pdf->Text( 109 , 150 , iconv( 'UTF-8','TIS-620','ลงชื่อ............................................ผู้สมัคร'),0,1,"C");
$pdf->Text( 78 , 190 , iconv( 'UTF-8','TIS-620','ลงชื่อ............................................ผู้ปกครอง'),0,1,"C");
$pdf->Text( 35 , 270 , iconv( 'UTF-8','TIS-620','ลงชื่อ............................................ผู้ตรวจหลักฐาน'),0,1,"C");
$pdf->Text( 120 , 270 , iconv( 'UTF-8','TIS-620','ลงชื่อ............................................ผู้รับเงิน'),0,1,"C");
$pdf->Text( 85 , 199 , iconv( 'UTF-8','TIS-620','(............................................)'),0,1,"C");
$pdf->Text( 40 , 279 , iconv( 'UTF-8','TIS-620','(............................................)'),0,1,"C");
$pdf->Text( 130 , 278 , iconv( 'UTF-8','TIS-620','(............................................)'),0,1,"C");
//$pdf->Text( 30 , 180 , iconv( 'UTF-8','TIS-620','................................................................................................................................................................................'),0,1,"C");
$pdf->AddFont('angsa','','angsa.php');
$pdf->SetFont('angsa','',18);
$pdf->Text( 20 , 205 , iconv( 'UTF-8','TIS-620','....................................................................................................................................................................'),0,1,"C");
//$pdf->Text( 120, 20 , iconv( 'UTF-8','TIS-620','สมัครภายในวันที่'),0,1,"C");
$pdf->SetFont('angsa','U');
//$pdf->Text(154,20,$result["signup"],1);
$pdf->AddFont('angsa','','angsa.php');
$pdf->SetFont('angsa','',16);
//$pdf->Text( 90 , 262 , iconv( 'UTF-8','TIS-620','วันที่......../.........../2563'),0,1,"C");
$pdf->Text( 20 , 70 , iconv( 'UTF-8','TIS-620','ผู้นำชุมชนที่สามารถติดต่อได้.................................................................ตำแหน่ง................โทรศัพท์............................'),0,1,"C");
$pdf->Text( 25 , 78 , iconv( 'UTF-8','TIS-620','ขอทำหลักฐานการมอบตัวกับนักเรียนที่อยู่ในการปกครองของข้าพเจ้าต่อผู้อำนวยการโรงเรียนกันทรลักษ์วิทยา'),0,1,"C");
$pdf->Text( 20 , 85 , iconv( 'UTF-8','TIS-620','ซึ่งข้าพเจ้าเกี่ยวข้องกับนักเรียน คือ เป็น (...) บิดา (...)มารดา (...) อื่นๆ..................................มีรายละเอียดดังนี้'),0,1,"C");
//$pdf->Text( 95 , 68 , iconv( 'UTF-8','TIS-620','วัน/เดือน/ปี เกิด'),0,1,"C");
//$pdf->Text( 170 , 68 , iconv( 'UTF-8','TIS-620','ศาสนา'),0,1,"C");
//$pdf->Text( 35 , 75 , iconv( 'UTF-8','TIS-620','หมู่โลหิต'),0,1,"C");
//$pdf->Text( 65 , 75 , iconv( 'UTF-8','TIS-620','บ้านเลขที่'),0,1,"C");
//$pdf->Text( 120 , 75 , iconv( 'UTF-8','TIS-620','หมู่ที่'),0,1,"C");
//$pdf->Text( 140 , 75 , iconv( 'UTF-8','TIS-620','ตำบล'),0,1,"C");
//$pdf->Text( 35 , 82 , iconv( 'UTF-8','TIS-620','อำเภอ'),0,1,"C");
//$pdf->Text( 95 , 82 , iconv( 'UTF-8','TIS-620','จังหวัด'),0,1,"C");
//$pdf->Text( 150 , 82 , iconv( 'UTF-8','TIS-620','โทรศัพท์'),0,1,"C");
$pdf->Text( 20 , 168 , iconv( 'UTF-8','TIS-620','1.(.....)ปพ.1 แสดงการจบการศึกษา พร้อมสำเนา'),0,1,"C");
$pdf->Text( 115 , 168 , iconv( 'UTF-8','TIS-620','2.(.....)ทะเบียนบ้านบิดา มารดา พร้อมสำเนา'),0,1,"C");
$pdf->Text( 20 , 175 , iconv( 'UTF-8','TIS-620','3.(.....)ทะเบียนบ้านนักเรียนพร้อมสำเนา'),0,1,"C");
$pdf->Text( 115 , 175 , iconv( 'UTF-8','TIS-620','4.(.....)อื่นๆ...............................................'),0,1,"C");
$pdf->Text( 20 , 225 , iconv( 'UTF-8','TIS-620','1.(.....)ปพ.1 พร้อมสำเนา'),0,1,"C");
$pdf->Text( 20 , 232 , iconv( 'UTF-8','TIS-620','2.(.....)สำเนาทะเบียนบ้านบิดา มารดา'),0,1,"C");
$pdf->Text( 20 , 239 , iconv( 'UTF-8','TIS-620','3.(.....)สำเนาทะเบียนบ้านนักเรียน'),0,1,"C");
$pdf->Text( 20 , 246 , iconv( 'UTF-8','TIS-620','4.เอกสารที่ขาด...................................'),0,1,"C");
$pdf->Text( 20 , 252 , iconv( 'UTF-8','TIS-620','5.เอกสารที่ผิด....................................'),0,1,"C");
$pdf->Text( 20 , 259 , iconv( 'UTF-8','TIS-620','6.นัดส่งเอกสารเพิ่มวันที่...........................'),0,1,"C");
$pdf->Text( 95 , 225 , iconv( 'UTF-8','TIS-620','1.(.....)เงินค่าบำรุงสมาคมผู้ปกครองและครู....................บาท'),0,1,"C");
$pdf->Text( 95 , 232 , iconv( 'UTF-8','TIS-620','2.(.....)เงินค่ากองทุนสวัสดิการสงเคราะห์นักเรียน ......................บาท'),0,1,"C");
$pdf->Text( 95 , 239 , iconv( 'UTF-8','TIS-620','3.(.....)เงินสมัครเป็นสมาชิกกิจกรรมสหกรณ์ ......................บาท'),0,1,"C");
$pdf->Text( 95 , 246 , iconv( 'UTF-8','TIS-620','4.(.....)เงินค่าคู่มือและทำบัตรนักเรียน ....................บาท'),0,1,"C");
$pdf->Text( 95 , 252 , iconv( 'UTF-8','TIS-620','5.(.....)เงินค่าบำรุงการศึกษา ......................บาท'),0,1,"C");
$pdf->Text( 95 , 259 , iconv( 'UTF-8','TIS-620','6.อื่นๆ......................................................................'),0,1,"C");
//$pdf->Text( 99 , 205 , iconv( 'UTF-8','TIS-620','(.....)ทะเบียนบ้านผู้สมัคร'),0,1,"C");
//$pdf->Text( 35 , 212 , iconv( 'UTF-8','TIS-620','(.....)ใบปพ.7 (กรณียังไม่จบการศึกษา)'),0,1,"C");
//$pdf->Text( 99 , 212 , iconv( 'UTF-8','TIS-620','(.....)ระเบียนแสดงผลการเรียน ปพ1.ต (กรณีจบการศึกษา)'),0,1,"C");
//$pdf->Text( 35 , 219 , iconv( 'UTF-8','TIS-620','(.....)ผลการสอบ O-NET'),0,1,"C");
//$pdf->Text( 99 , 219 , iconv( 'UTF-8','TIS-620','(.....)อื่น...........................................................'),0,1,"C");
$pdf->Text( 20 , 130 , iconv( 'UTF-8','TIS-620','1.ข้าพเจ้าจะเป็นผู้ปกครองคอยตักเตือนให้นักเรียนเอาใจใส่ ตั้งใจศึกษาเล่าเรียนตลอดหลักสูตร'),0,1,"C");
//$pdf->Text( 150 , 130 , iconv( 'UTF-8','TIS-620','จังหวัด'),0,1,"C");
//$pdf->Text( 160 , 122 , iconv( 'UTF-8','TIS-620','สถานะ'),0,1,"C");
$pdf->Text( 20 , 137 , iconv( 'UTF-8','TIS-620','2.ข้าพเจ้าจะเป็นผู้กำกับดูแลนักเรียนให้ประพฤติปฏิบัติตนถูกต้องตามระเบียบของโรงเรียนทุกประการ'),0,1,"C");
$pdf->Text( 20 , 144 , iconv( 'UTF-8','TIS-620','3.ข้าพเจ้าจะให้ความอุปการะด้านการเงิน อุปกรณ์การเรียน ตลอดจนอื่น ๆ'),0,1,"C");
$pdf->Text( 20 , 151 , iconv( 'UTF-8','TIS-620','4.ข้าพเจ้ายินดีที่จะให้ความร่วมมือกับทางโรงเรียนในการเข้าร่วมประชุมทุกครั้งที่โรงเรียนเชิญเป็นกรณีพิเศษ'),0,1,"C");
$pdf->Text( 20 , 158 , iconv( 'UTF-8','TIS-620','5.ในการมอบตัวครั้งนี้ข้าพเจ้าได้นำหลักฐานต่างๆ ตามที่โรงเรียนกำหนดมาแสดงพร้อมแล้ว คือ'),0,1,"C");
$pdf->SetFont('angsa','U');
//$pdf->Text( 32 , 52 , iconv( 'UTF-8','TIS-620','ข้อมูลทั่วไปของนักเรียน'),0,1,"C");
$pdf->Text( 170, 15 , iconv( 'UTF-8','TIS-620','วันที่.................'),0,1,"C");
//$pdf->Text(190,10,$result["id"],1);
//$pdf->Text(120,68,$result["bird"],1);
//$pdf->Text(85,75,$result["homeid"],1);
//$pdf->Text(130,75,$result["muid"],1);
//$pdf->Text(150,75,$result["tumbol"],1);
//$pdf->Text(45,82,$result["ampher"],1);
//$pdf->Text(110,82,$result["districs"],1);
$pdf->Text(55,114,$result["phone"],1);
$pdf->Text(120,114,$result["email"],1);
$pdf->Text(92,33,$result["prefix"],1);
$pdf->Text(105,33,$result["name"],1);
$pdf->Text(151,33,$result["surname"],1);
$pdf->Text(165,95,$result["pin"],1);
//$pdf->Text(52,75,$result["brood"],1);
$pdf->Text(171,122,$result["sssname"],1);
//$pdf->Text(165,122,$result["distric"],1);
$pdf->Text(170,102,$result["fatherwm"],1);
$pdf->Text(170,108,$result["matherwm"],1);
//$pdf->Text(55,230,$result["idtest"],1);
//$pdf->Text(110,230,$result["room"],1);
//$pdf->Text(130,230,$result["room2"],1);
$pdf->Text( 20 , 95 , iconv( 'UTF-8','TIS-620','ชื่อนักเรียน'),0,1,"C");
$pdf->Text(38,95,$result["prefix"],1);
$pdf->Text(52,95,$result["name"],1);
$pdf->Text( 91 , 95 , iconv( 'UTF-8','TIS-620','นามสกุล'),0,1,"C");
$pdf->Text( 145 , 95 , iconv( 'UTF-8','TIS-620','เลข 13 หลัก'),0,1,"C");
$pdf->Text(106,95,$result["surname"],1);
$pdf->Text( 90 , 122 , iconv( 'UTF-8','TIS-620','ในการมอบตัวครั้งนี้ ข้าพเจ้าขอสัญญาว่า'),0,1,"C");
$pdf->Text(40,102,$result["father"],1);
$pdf->Text(110,102,$result["fatherw"],1);
$pdf->Text(40,108,$result["mather"],1);
$pdf->Text(110,108,$result["matherw"],1);
$pdf->Text( 95 , 215 , iconv( 'UTF-8','TIS-620','สำหรับเจ้าหน้าที่ตรวจหลักฐาน'),0,1,"C");
//$pdf->Text( 35 , 190 , iconv( 'UTF-8','TIS-620','เอกสารสำเนาพร้อมฉบับจริง'),0,1,"C");
//$pdf->Text( 35 , 230 , iconv( 'UTF-8','TIS-620','เลขที่นั่่งสอบ'),0,1,"C");
//$pdf->Text( 55 , 230 , iconv( 'UTF-8','TIS-620','....................'),0,1,"C");
//$pdf->Text( 90 , 230 , iconv( 'UTF-8','TIS-620','ห้องสอบที่'),0,1,"C");
//$pdf->Text( 105 , 230 , iconv( 'UTF-8','TIS-620','....................'),0,1,"C");
//$pdf->Text( 120 , 230 , iconv( 'UTF-8','TIS-620','ห้อง'),0,1,"C");
//$pdf->Text( 125 , 230 , iconv( 'UTF-8','TIS-620','....................'),0,1,"C");
//$pdf->Text( 10 , 280 , iconv( 'UTF-8','TIS-620','เอกสารนี้ต้องนำไปยื่นสมัครจริงพร้อมกับบัตรประจำตัวผู้สมัครสอบตามวันเวลาที่ระบุด้านบน'),0,1,"C");
//$pdf->Text( 10 , 288 , iconv( 'UTF-8','TIS-620','และจะสมบูรณ์เมื่อได้รับเลขที่นั่งสอบ,ห้องสอบ และได้ลงนามจากเจ้าหน้าที่รับสมัคร'),0,1,"C");
$pdf->Output("MyPDF/$result[pin].pdf","F");
?>
PDF Click <a href="MyPDF/<? echo $ids;?>.pdf">Download</a> to Download
</body>
</html>