| 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 : |
<?php include("config/configuser.inc.php");?>
<?
require_once "head.php";
require_once "config/connectdb.php";
$dd= $_SESSION['id'];
?>
<html>
<head>
<title>-:- ADMIN -:-</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#5A697E" onLoad="javascript:document.getElementById('useradmin').focus();">
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#003399">
<div align="center"><font color="#FFFFFF" size="+1"><strong>ฝ่ายบริหารงานวิชาการ<font color="#FFFF00">โรงเรียนกันทรลักษ์วิทยา</font></strong></font></div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td><div align="right"><font color="#ff0000" size="2"><font color="#333333">ยินดีต้อนรับ
:</font> <font color="#ff0000"><?=$objResult["name"];?> <?=$objResult["surname"];?>
<font color="#666666">เข้าสู่ระบบค่ะ </font></font></font></div></td>
</tr>
<tr>
<td><div align="right"><font color="#666666" size="2"><a href="user_page.php">หน้าหลักระบบ</a>
| <a href="logout.php">ออกจากระบบ</a></font></div></td>
</tr>
<tr>
<td><div align="center">
<table width="773" border="0" align="center" cellpadding="0" cellspacing="0">
</table>
<table width="76%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td> </td>
</tr>
<tr>
<td><div align="center">
<script language="JavaScript">
function checkpost()
{
var v1 = document.webForm.name.value;
var v2 = document.webForm.surname.value;
var v3 = document.webForm.room.value;
if( v1.length==0)
{
alert("กรุณาใส่ชื่อคุณด้วยค่ะ");
document.webForm.name.focus();
return false;
}
else if( v2.length==0)
{
alert("กรุณาใส่ นามสกุล คุณด้วยค่ะ");
document.webForm.surname.focus();
return false;
}
else if( v3.length==0)
{
alert("กรุณาใส่ ห้อง คุณด้วยค่ะ");
document.webForm.room.focus();
return false;
}
else
return true;
}
</script>
<font size="+1"><strong><font color="#003366" size="2">
<?php
$sql_1="select * from member4 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'];
$pin =$result1['pin'];
$sex =$result1['sex'];
$phone =$result1['phone'];
$distric =$result1['distric'];
$schoolout =$result1['schoolout'];
$wegh =$result1['wegh'];
$tall =$result1['tall'];
$brood =$result1['brood'];
$father =$result1['father'];
$fatherwm =$result1['fatherwm'];
$mather =$result1['mather'];
$fatherw =$result1['fatherw'];
$matherw =$result1['matherw'];
$matherwm =$result1['matherwm'];
$homeid =$result1['homeid'];
$muid =$result1['muid'];
$tumboll1 =$result1['tumboll1'];
$ampherl =$result1['ampherl'];
$districs =$result1['districs'];
$bird =$result1['bird'];
$statlearn =$result1['statlearn'];
$brather =$result1['brather'];
$brather1 =$result1['brather1'];
$brather2 =$result1['brather2'];
$brather3 =$result1['brather3'];
$brather4 =$result1['brather4'];
$frind =$result1['frind'];
$frindtell =$result1['frindtell'];
$rode =$result1['rode'];
$rodetravel =$result1['rodetravel'];
$gpa =$result1['gpa'];
$gpam =$result1['gpam'];
$gpasi =$result1['gpasi'];
$gpae =$result1['gpae'];
?>
</font></strong></font> </div>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
<form method="post" action="editsavelearn.php" name="webForm" onSubmit="return checkpost()">
<tr>
<td width="300"><div align="right"><font color="#333333" size="2">ชื่อ
:</font></div></td>
<td width="355"><font size="3">
<input name=name id=name type=text class="input" size=35 value='<? echo $name; ?>'>
<input type="hidden" name="idmember" value=<? echo "$idmember"; ?>>
</font></td>
:</font></div></td>
<td><font size="3">
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">นามสกุล
:</font></div></td>
<td><font size="3">
<input name=surname id=surname type=text class="input" size=35 value='<? echo $surname; ?>'>
</font></td>
</tr>
<tr>
<td width="300"><div align="right"><font color="#333333" size="2">เบิกค่าเล่าเรียน
:</font></div></td>
<td><font size="3">
<input name="statlearn" type="radio" id="radio1" value="1" <? if($statlearn=="1"){echo checked;}?> />
<label for="radio1"> ได้</label>
<input name="statlearn" type="radio" id="radio2" value="2" <? if($statlearn=="2"){echo checked;}?> />
<label for="radio2">ไม่ได้</label>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">โรงเรียนที่จบ
:</font></div></td>
<td><font size="3">
<input name=schoolout id=schoolout type=text class="input" size=35 value='<? echo $schoolout; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">gpa สะสม
:</font></div></td>
<td><font size="3">
<input name=gpa id=gpa type=text class="input" size=35 value='<? echo $gpa; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">gpa กลุ่มสาระคณิต
:</font></div></td>
<td><font size="3">
<input name=gpam id=gpam type=text class="input" size=35 value='<? echo $gpam; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">gpa กลุ่มสาระวิทย์
:</font></div></td>
<td><font size="3">
<input name=gpasi id=gpasi type=text class="input" size=35 value='<? echo $gpasi; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">gpa กลุ่มสาระภาษา
:</font></div></td>
<td><font size="3">
<input name=gpae id=gpae type=text class="input" size=35 value='<? echo $gpae; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">จังหวัด
:</font></div></td>
<td><font size="3">
<input name=distric id=distric type=text class="input" size=35 value='<? echo $distric; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">ตำบล
:</font></div></td>
<td><font size="3">
<input name=tumboll1 id=tumboll1 type=text class="input" size=35 value='<? echo $tumboll1; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">อำเภอ
:</font></div></td>
<td><font size="3">
<input name=ampherl id=ampherl type=text class="input" size=35 value='<? echo $ampherl; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">จังหวัด
:</font></div></td>
<td><font size="3">
<input name=districs id=districs type=text class="input" size=35 value='<? echo $districs; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">มีพี่น้องทั้งหมด
:</font></div></td>
<td><font size="3">
<input name=brather id=brather type=text class="input" size=35 value='<? echo $brather; ?>'>คน
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">ชาย
:</font></div></td>
<td><font size="3">
<input name=brather2 id=brather2 type=text class="input" size=35 value='<? echo $brather2; ?>'>คน
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">หญิง
:</font></div></td>
<td><font size="3">
<input name=brather3 id=brather3 type=text class="input" size=35 value='<? echo $brather3; ?>'>คน
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">นร.เป็นคนที่
:</font></div></td>
<td><font size="3">
<input name=brather4 id=brather type=text class="input" size=35 value='<? echo $brather4; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">เพื่อนสนิทชื่อเรียนอยู่ก.ล.ว.
:</font></div></td>
<td><font size="3">
<input name=frind id=frind type=text class="input" size=35 value='<? echo $frind; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">เบอร์โทรเพื่อนสนิทที่เรียนอยู่ก.ล.ว.
:</font></div></td>
<td><font size="3">
<input name=frindtell id=frindtell type=text class="input" size=35 value='<? echo $frindtell; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">บ้านอยู่ห่างจาก รร.กลว. (กม.)
:</font></div></td>
<td><font size="3">
<input name=rode id=rode type=text class="input" size=35 value='<? echo $rode; ?>'>
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">เดินทางมาเรียน ก.ล.ว. โดย เดิน /รถจยย /รถรับส่ง
:</font></div></td>
<td><font size="3">
<input name=rodetravel id=rodetravel type=text class="input" size=35 value='<? echo $rodetravel; ?>'>
</font></td>
</tr>
<tr>
<td> </td>
<td><font size="3">
<input name="submit" type="submit" class="submit" value="แก้ไขรายการ!">
</font></td>
</tr>
</form>
</table></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td><div align="center"><? echo "<font size=2 color=#ffffff>$footerweb</font>"; ?></div></td>
</tr>
</table>
</body>
</html>