| 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/ |
Upload File : |
<?
require_once "connectdb.php";
require_once "tdate.php";
?>
<html>
<head>
<title>ใบสมัครเข้าเรียนโรงเรียนกันทรลักษ์วิทยา</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0"><center><IMG SRC="images/head_02.gif" WIDTH=100 HEIGHT=100 ALT=""></center>
<tr>
<td bgcolor="#FFFFFF">
<div align="center"><font size="+1"><strong>ใบสมัครเข้าเรียนโรงเรียนกันทรลักษ์วิทยา ประจำปีการศึกษา 2561</strong></font></div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<div align="center"><font size="+1"><strong>อำเภอกันทรลักษ์ จังหวัดศรีสะเกษ </strong></font></div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td><div align="center">
</td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td> </td>
</tr>
<tr>
<td><div align="center">
<font size="+1"><strong><font color="#003366" size="2">
<?php
$sql_1="select * from member where id = '$_GET[id]'";
$db_query=mysql_db_query($db,$sql_1);
$result1=mysql_fetch_array($db_query);
$idmember =$result1['id'];
$prefix =$result1['prefix'];
$name =$result1['name'];
$surname =$result1['surname'];
$signup =$result1['signup'];
$distric =$result1['distric'];
$idtest =$result1['idtest'];
$room =$result1['room'];
$schoolout =$result1['schoolout'];
$pin =$result1['pin'];
$sex =$result1['sex'];
$pp=$result1['idstudent'];
$wegh=$result1['wegh'];
$tall=$result1['tall'];
$father=$result1['father'];
$mather=$result1['mather'];
$phone=$result1['phone'];
$signup=$result1['signup'];
$crsql="SELECT (idtpy_name) FROM tpyad where idtpy_id=$pp ";
$slr=mysql_query($crsql) or die(mysql_error()."<br>".$crsql);
$dcrd = mysql_fetch_array($slr);
$ty=$dcrd[0];
?>
<font color="#333333" size="+1"><u>สมัครเข้าเรียนวันที่ </u> <? echo $signup; ?></font>
<br>
<br>
<br>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td width="35%"><div align="left"><font color="#333333" size="+1">ประเภทที่สมัคร</font></div></td>
<td width="30%"><font size="3">ระดับชั้น ม. 1</font></td>
<td width="80%"><font size="3">ประเภท <? echo $ty; ?></td>
</tr>
<tr>
<td width="35%"><div align="left"><font color="#333333" size="+1"><u>ชื่อ :</u></font></div></td>
<td width="30%"><font size="3"> <? echo $prefix; ?><? echo $name; ?></font></td>
<td width="80%"><font size="3"> นามสกุล <? echo $surname; ?></font></td>
</tr>
<tr>
<td><div align="left"><font size="+1"><u>เลขประชาชน</font></div></td>
<td><font size="+1"> <? echo $pin; ?> </font></td>
<td width="50%"><font size="3"></font></td>
</tr>
<tr>
<td width="140"><div align="left"><font color="#333333" size="+1"><u>จบจาก:</u></font></div></td>
<td width="355"><font size="+1">
<? echo $schoolout;?>
</font></td>
<td width="50%"><font size="3"><u>เพศ :</u>
<? if($sex == 1)
{
echo "ชาย";
}
else if($sex == 2)
{
echo "หญิง";
}
else
{
echo "<span style=\"color: #F40E6A;\">ยังไม่ระบุตรวจสอบ!</span>" ;
}
?>
</font></td>
</tr>
<tr>
<td width="100"><div align="left"><font color="#333333" size="+1"><u>น้ำหนัก:</u></font></div></td>
<td width="355"><font size="+1">
<? echo $wegh;?> กิโลกรัม
</font></td>
<td width="50%"><font size="3"><u>ส่วนสูง:</u><? echo $tall;?></font></td>
</tr>
<tr>
<td width="140"><div align="left"><font color="#333333" size="+1"><u>บิดา:</u></font></div></td>
<td width="355"><font size="+1">
<? echo $father;?>
</font></td>
<td width="50%"><font size="3"></font></td>
</tr>
<tr>
<td width="140"><div align="left"><font color="#333333" size="+1"><u>มารดา:</u></font></div></td>
<td width="355"><font size="+1">
<? echo $mather;?>
</font></td>
<td width="50%"><font size="3"></font></td>
</tr>
<tr>
<td width="140"><div align="left"><font color="#333333" size="+1"><u>เบอร์โทร:</u></font></div></td>
<td width="355"><font size="+1">
<? echo $phone;?>
</font></td>
<td width="50%"><font size="3"></font></td>
</tr>
<tr>
<td width="140"><div align="left"><font color="#333333" size="+1"><u>บ้านเลขที่:</u></font></div></td>
<td width="355"><font size="+1">
<? echo $phone;?>
</font><font color="#333333" size="+1"><u>หมู่ที่:</u></td>
<td width="50%"><font color="#333333" size="+1"><u>ตำบล:</u></td>
</tr>
<tr>
<td width="140"><div align="left"><font color="#333333" size="+1"><u>อำเภอ:</u></font></div></td>
<td width="355"><font size="+1">
<? echo $phone;?>
</font><font color="#333333" size="+1"><u>จังหวัด:</u></td>
<td width="50%"><font color="#333333" size="+1"><u>รหัสไปรษณีย์:</u></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</table></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<table HEIGHT='200'>
<br>
<br>
<br>
<tr>
<td width="30%"><center><font size='+1'>ลงชื่อ.............................</font>
<br><font size="2"><? echo $name; ?> <? echo $surname; ?>
<td width="30%"><center><font size='+1'>ลงชื่อ.............................</font>
<br>
<br><font size="2">ครูผู้รับสมัคร
<br>
</center></font></td>
</tr>
<tr>
<td width="30%"><center><font size='+1'>ลงชื่อ.............................</font>
<br><font size="2"><? echo $name; ?> <? echo $surname; ?>
<td width="30%"><center><font size='+1'>ลงชื่อ.............................</font>
<br>
<br><font size="2">ครูผู้ตรวจ
<br>
</center></font></td>
</tr>
</table>
</table>
</body>
</html>