b0y-101 Mini Shell


Current Path : E:/www/b-group.old/spfin - Copy/application/admission/apppayment/a4/
File Upload :
Current File : E:/www/b-group.old/spfin - Copy/application/admission/apppayment/a4/index.php

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>A4 Paper</title>
  <link rel="stylesheet" href="./A4.css">
  <link rel="stylesheet" href="./style.css">	
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Sarabun&display=swap" rel="stylesheet">	
</head>

<body style="--bleeding: 0.5cm;--margin: 1cm;">
	<?php
	include_once("../../../../conapps/dbcon.php");

$objConnect = mysqli_connect($servername,$username, $password, $dbname);
	// Check connection
if ($conn->connect_error) {
  die("Connection failed: " . $conn->connect_error);
}
//echo "Connected successfully";
	//$app = $_POST;
//$ref1 =$app["ref1"];
	//print_r($app);
	
	$strSQL = "SELECT `idstymba`, `ref1`, `ref2`, `admissnum`, `codepro`,`count`,`codepay`,`yearb`,`idtitle`,`thainame`,`surname`,`idtitleeng`,`firstname`,`lastname`,`birthday`,`age`,`nationality`,`religion`,`namedad`,`namemom`,`occupationdad`,`occupationmom`,`address3`,`phone`,`fax`,`email`,`line`,`address1`,`address2`,`time1`,`schollanduni1`,`namep1`,`obj1`,`gpa1`,`time2`,`schollanduni2`,`namep2`,`obj2`,`gpa2`,`time3`,`schollanduni3`,`namep3`,`obj3`,`gpa3`,`time4`,
`schollanduni4`,`namep4`,`obj4`,`gpa4`,`address4`,`wyear1`,`position1`,`type1`,`wplance1`,`wyear2`,`position2`,`type2`,`wplance2`,`wyear3`,`position3`,`type3`,`wplance3`,`samana`,`idadreg`,`idproject` FROM `tb_admissiony` WHERE `ref1` = '1234567891136'" or die("Error:" . mysqli_error()); 
				
$objQuery = $objConnect->query($strSQL);	
$objQuery1 = $objConnect->query($strSQL);	
$objResult1 = $objQuery1->fetch_assoc();
	
	$ref1=$objResult1["ref1"];	
	$idtitle=$objResult1["idtitle"];
	$thainame=$objResult1["thainame"];
	$surname =$objResult1["surname"];
	$firstname =$objResult1["firstname"];
	$lastname =$objResult1["lastname"];
		
	$sql ="SELECT `titlenamethai`,`titlenameeng` FROM `tb_capitalletters` WHERE `ID` = $idtitle" or die("Error:" . mysqli_error());
	$obj = $objConnect->query($sql);	
$obj1 = $objConnect->query($sql);	
$objR1 = $obj1->fetch_assoc();
	$idtitle1=$objR1["titlenamethai"];
	$idtitle2=$objR1["titlenameeng"];
	
	$birthday=$objResult1["birthday"];
$age=$objResult1["age"];
$nationality=$objResult1["nationality"];
$religion=$objResult1["religion"];
$namedad=$objResult1["namedad"];
$namemom=$objResult1["namemom"];
$occupationdad=$objResult1["occupationdad"];
$occupationmom=$objResult1["occupationmom"];
$address3=$objResult1["address3"];
$phone=$objResult1["phone"];
$fax=$objResult1["fax"];
$email=$objResult1["email"];
$line=$objResult1["line"];
$address1=$objResult1["address1"];
$address2=$objResult1["address2"];
$time1=$objResult1["time1"];
$schollanduni1=$objResult1["schollanduni1"];
$namep1=$objResult1["namep1"];
$obj1=$objResult1["obj1"];
$gpa1=$objResult1["gpa1"];
$time2=$objResult1["time2"];
$schollanduni2=$objResult1["schollanduni2"];
$namep2=$objResult1["namep2"];
$obj2=$objResult1["obj2"];
$gpa2=$objResult1["gpa2"];
$time3=$objResult1["time3"];
$schollanduni3=$objResult1["schollanduni3"];
$namep3=$objResult1["namep3"];
$obj3=$objResult1["obj3"];
$gpa3=$objResult1["gpa3"];
$time4=$objResult1["time4"];
$schollanduni4=$objResult1["schollanduni4"];
$namep4=$objResult1["namep4"];
$obj4=$objResult1["obj4"];
$gpa4=$objResult1["gpa4"];
$address4=$objResult1["address4"];
$wyear1=$objResult1["wyear1"];
$position1=$objResult1["position1"];
$type1=$objResult1["type1"];
$wplance1=$objResult1["wplance1"];
$wyear2=$objResult1["wyear2"];
$position2=$objResult1["position2"];
$type2=$objResult1["type2"];
$wplance2=$objResult1["wplance2"];
$wyear3=$objResult1["wyear3"];
$position3=$objResult1["position3"];
$type3=$objResult1["type3"];
$wplance3=$objResult1["wplance3"];
$samana=$objResult1["samana"];
//$idadreg=$objResult1["idadreg"];
//$idproject=$objResult1["idproject"];
	

	
	?>
  <div class="page">
    <!-- Your content here -->
	  <div class="n">
    <blockquote>
      <h2><span class="mt-5"> ใบสมัครคัดเลือกเข้าศึกษาระดับบัณฑิตศึกษา หัวหมาก รุ่นที่ 26</span></h2>
    </blockquote>
	  <table width="700" height="21" border="1" align="center" cellpadding="1" cellspacing="1">
	    <tbody>
    <tr>
      <td width="251"><span class="column"><img src="../images/logo/logoymba.png" alt="YMBA" width="250" height="100" class="rounded mx-auto d-block"></span></td>
      <td width="301" align="center" valign="middle"><span class="column">โครงการบริหารธุรกิจมหาบัณฑิต
สำหรับนักบริหารรุ่นใหม่ คณะบริหารธุรกิจ
มหาวิทยาลัยรามคำแหง
วิชาเอกการจัดการ</span></td>
      <td align="center"><span class="column">รูปถ่าย 1 นิ้ว</span></td>
    </tr>
  </tbody>
</table>

	  <div class="row">
	    <h3 class="mt-5">1. ข้อมูลทั่วไป</h3><table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tbody>
    <tr>
      <td>เลขประจำตัวประชาชน : <?php echo($ref1)?></td>
      </tr>
    <tr>
      <td>คำนำหน้า : <?php echo($idtitle1)?> ชื่อ: <?php echo($thainame)?> นามสกุล : <?php echo($surname)?> </td>
      </tr>
    <tr>
      <td>First Name (Capital Letter) : <?php echo($idtitle2)?> <?php echo($firstname)?> Last Name : <?php echo($lastname)?> </td>
      </tr>
    <tr>
      <td> วันเดือนปีเกิด : <?php echo($birthday)?> อายุ :<?php echo($age)?> ปี สัญชาติ : <?php echo($nationality)?> ศาสนา : <?php echo($religion)?>
 <br></td>
      </tr>
    <tr>
      <td>ชื่อบิดา : <?php echo($namedad)?> อาชีพ :<?php echo($occupationdad)?>
</td>
      </tr>
    <tr>
      <td>ชื่อมารดา :<?php echo($namemom)?> อาชีพ :<?php echo($occupationmom)?>
</td>
      </tr>
    <tr>
      <td>ที่อยู่ปัจจุบัน</td>
      </tr>
    <tr>
      <td height="150" align="left" valign="top"><?php echo($address3)?></td>
      </tr>
    <tr>
      <td>โทรศัพท์ : <?php echo($phone)?> โทรสาร : <?php echo($fax)?> E-mail : <?php echo($email)?> ID Line : <?php echo($line)?>
</td>
      </tr>
    <tr>
      <td>บุคคลที่สามารถติดต่อได้สะดวก</td>
      </tr>
    <tr>
      <td height="150" align="left" valign="top"><?php echo($address1)?></td>
      </tr>
    <tr>
      <td><?php echo($address2)?></td>
      </tr>
    <tr>
      <td height="150" align="left" valign="top">&nbsp;</td>
      </tr>
    <tr>
      <td align="left" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td align="left" valign="top">&nbsp;</td>
    </tr>
    <tr>
      <td align="left" valign="top">&nbsp;</td>
    </tr>
    </tbody>
</table>

		  
    </div>
	  
	  
  <!--  <h2>&nbsp;</h2>-->
    <!-- End of your content -->
	  </div>
  </div>
	<div class="page">
		<div class="n">
    <!-- Your content here -->
    <div class="row">
		<!--<h2>&nbsp;</h2> -->
		<h3>&nbsp;</h3>
		  <h3 class="mt-5">2. ข้อมูลด้านการศึกษา</h3>
			<div style="overflow-x:auto;">
				 <table width="650" border="1" align="center" class="n">
    <tr>
      <th width="100">ระดับการศึกษา</th>
      <th width="159" height="25" align="center" valign="middle">สำเร็จการศึกษา พ.ศ.</th>
      <th width="144">สถาบันการศึกษา</th>
      <th width="152">วุฒิที่ได้รับ</th>
      <th width="87">สาขา</th>
      <th width="80">GPA.</th>
      
    </tr>
    <tr>
      <td>ปริญญาตรี</td>
      <td height="50" align="center" valign="middle"><?php echo($time1)?></td>
	  <td><?php echo($schollanduni1)?></td>
	  <td><?php echo($namep1)?></td>
      <td><?php echo($obj1)?></td>
	  <td><?php echo($gpa1)?></td>

     
    </tr>
    <tr>
		<td>&nbsp;</td>
      <td height="50" align="center" valign="middle"><?php echo($time2)?></td>
<td><?php echo($schollanduni2)?></td>
<td><?php echo($namep2)?></td>
<td><?php echo($obj2)?></td>
<td><?php echo($gpa2)?></td>

     
    </tr>
    <tr>
      <td>ปริญญโท</td>
      <td height="50" align="center" valign="middle"><?php echo($time3)?></td>
<td><?php echo($schollanduni3)?></td>
<td><?php echo($namep3)?></td>
<td><?php echo($obj3)?></td>
<td><?php echo($gpa3)?></td>

      
    </tr>
    <tr>
      <td>&nbsp;</td>
     <td height="50" align="center" valign="middle"><?php echo($time4)?></td>
<td><?php echo($schollanduni4)?></td>
<td><?php echo($namep4)?></td>
<td><?php echo($obj4)?></td>
<td><?php echo($gpa4)?></td>

      
    </tr>
    </table>
	  </div>
	  </div>
		
		<div class="row">
			 <h3 class="mt-5">3. ข้อมูลด้านการทำงาน</h3>
			<div class="row">
			  <div class="mb-3">
			    <label for="text1">สถานที่ทำงานปัจจุบัน</label>
			    <table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
			      <tbody>
			        <tr>
			          <td height="100" align="left" valign="top"><?php echo($address4)?></td>
		            </tr>
		          </tbody>
		        </table>
				</div>
			</div>
	    </div>	 
		
		<div class="row">
			 <label for="text1">ประวัติการทำงาน</label>
			<div style="overflow-x:auto;">
				 <table width="650" border="1" align="center" class="thsarabunnew">
    <tr>
      <th>พ.ศ.</th>
      <th>ตำแหน่ง</th>
      <th>ลักษณะงาน</th>
      <th>สถานที่ทำงาน</th>
      
      
    </tr>
    <tr>
      <td><?php echo($wyear1)?></td>
<td height="50"><?php echo($position1)?></td>
<td><?php echo($type1)?></td>
<td><?php echo($wplance1)?></td>

     
     
    </tr>
    <tr>
		<td><?php echo($wyear2)?></td>
<td height="50"><?php echo($position2)?></td>
<td><?php echo($type2)?></td>
<td><?php echo($wplance2)?></td>

     
     
    </tr>
    <tr>
      <td><?php echo($wyear3)?></td>
<td height="50"><?php echo($position3)?></td>
<td><?php echo($type3)?></td>
<td><?php echo($wplance3)?></td>

     
      
    </tr>
    </table>
		  </div>
	  </div>
		
		<div class="row">
				<h3 class="mt-5">4. ผู้สมัครโปรดเลือกโปรแกรมการศึกษาดูงานที่ท่านประสงค์สมัคร</h3>
				
			<div class="row mb-3">
				<?php echo($samana)?>   </div>	
	  </div>
		
		<div class="row">
				<table width="780" align="center">
				  <tr>
				    <th>&nbsp;</th>
			      </tr>
				  <tr>
				    <th align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ขอรับรองว่า ข้าพเจ้าเป็นผู้มีคุณสมบัติครบถ้วนตามประกาศของมหาวิทยาลัย
				      และข้อความ<br>
				      ที่ข้าพเจ้ากรอก
ข้างบนนี้ พร้อมหลักฐานที่ใช้สมัครทั้งหมดถูกต้องตรงกับความจริงทุกประการ</th>
			      </tr>
		  </table>
				<h3 class="mt-5">&nbsp;</h3>
	  </div>
		<div class="row">
				<table width="500" align="right">
				  <tr>
				    <th align="center" valign="middle"><blockquote>&nbsp;</blockquote></th>
				    <th align="center" valign="middle">&nbsp;</th>
				    <th align="center" valign="middle">&nbsp;</th>
			      </tr>
				  <tr>
				    <td align="center" valign="middle"><blockquote>
				      <p>ลงชื่อ.............................................................ผู้สมัคร</p>
				    </blockquote></td>
				    <td align="center" valign="middle">&nbsp;</td>
				    <td align="center" valign="middle">&nbsp;</td>
			      </tr>
				  <tr>
				    <td align="center" valign="middle"><blockquote>
				      <p> (............................................................)</p></blockquote></td>
				    <td align="center" valign="middle">&nbsp;</td>
				    <td align="center" valign="middle">&nbsp;</td>
			      </tr>
				  <tr>
				    <td align="center" valign="middle"><blockquote>
				      <p>วันที่..............เดือน...........................พ.ศ.................</p>
				    </blockquote></td>
				    <td align="center" valign="middle">&nbsp;</td>
				    <td align="center" valign="middle">&nbsp;</td>
			      </tr>
		  </table>
				<h3 class="mt-5">&nbsp;</h3>
			
	  </div>
		
		</div>
    <!-- End of your content -->
  </div>
</body>

</html>

Copyright © 2019 by b0y-101