!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.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:     missionPlanDetail.php (30.42 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  */
        
$myTable1 "projectstdplan_tb";
        
$myTable "project_type_tb";
        
$myTable2 "faculty_tb";
        
$myTable3 "qa_project_tb";
        
$myTable4 "projectqa_type_tb";
        
$myTable5 "prostrategymap_tb";
        
$myTable6 "projectstra_type_tb";
        
$myTable7 ="project_plan";
        
//===  
        
$query " SELECT *  FROM $myTable7  WHERE   Budget_Year='$Budget_Year'  AND  Faculty_code='$Faculty_code'  AND  proId='$proId' ";
        
$result $dbObj->execQuery($query);
        
$rs $dbObj->fetchArray($result);
        
$query " SELECT *  FROM $myTable7  WHERE   Budget_Year='$Budget_Year'  AND  Faculty_code='$Faculty_code'  AND  proId='$proId' ";
        
$result5 $dbObj->execQuery($query);
        
$rs5 $dbObj->fetchArray($result5);
        
$query " SELECT *  FROM $myTable  WHERE    ProjectId='$ProjectId'  AND  Faculty_code='$Faculty_code'  AND  Budget_Year='$Budget_Year' ";
        
$result2 $dbObj->execQuery($query);
        
$rss $dbObj->fetchArray($result2);
        
        
/**  โฟลเดอร์ไฟล์เอกสาร */
    
$doc_path $_Config_live_site."/Qa_pic";        
        
    } 
# 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" 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="#" 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; <span class="NOTE">รายละเอียดโครงการ</span></strong></td>
      </tr>
      <tr>
        <td><table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td 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>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="350" align="center" valign="top"><table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#E0E0E0">
          <tr bgcolor="#ECD9C6">
            <td height="5" colspan="3" bgcolor="#FFFFFF"></td>
          </tr>
          <tr bgcolor="#EEEEEE">
            <td height="10" colspan="2" bgcolor="#FFFFFF">รหัสโครงการ&nbsp;:&nbsp; <?php echo htmlspecialchars_decode$rs['Orderlist'] ); ?></a></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF"></td>
          </tr>
          <tr bgcolor="#EEEEEE">
            <td height="10" colspan="2" bgcolor="#FFFFFF">ชื่อโครงการ :&nbsp; <?php echo htmlspecialchars_decodenl2br$rs['Project_plan'] ) ); ?></a></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF"></td>
          </tr>
          <tr bgcolor="#EEEEEE">
            <td height="10" colspan="2" bgcolor="#FFFFFF">ลักษณะของแผน</a> : 
              <input name="codeId" type="radio" <?php if ( !strcmp("$rs[codeId]","1") ) { echo "checked"; } ?>  value="1"   />
แผนกลยุทธ์
<input name="codeId" type="radio" <?php if ( !strcmp("$rs[codeId]","2") ) { echo "checked"; } ?> value="2"   />
แผนงานประจำ</span> </a></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF"></td>
          </tr>
          <tr bgcolor="#EEEEEE">
            <td height="10" colspan="2" bgcolor="#FFFFFF">เจ้าของโครงการ
              : <?php
                 $sql1 
" SELECT *  FROM faculty_tb  WHERE Faculty_code='$Faculty_code' ";
                  
$result1 $dbObj->execQuery($sql1);
                  
$rs1 $dbObj->fetchArray($result1);
                      echo 
$rs1['Faculty_name'];
                 
?>
              </a></td>
            <td width="1%" bordercolor="#006699" bgcolor="#FFFFFF"></td>
          </tr>

          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF">ผู้รับผิดชอบ : </a><?php
            
            $sql3 
" SELECT * FROM  personal_tb  WHERE  Teacher_code='$rs5[Teacher_code]' ";
            
$result3 mysql_query($sql3);
            
$rs3 mysql_fetch_array($result3);
            
                echo 
$rs3['Teacher_name']."&nbsp;"
                echo 
$rs3['Teacher_lastname'] ;
        
?>
            </a></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF">ผู้กำกับติดตาม</a>
:              <?php
            $Teacher_code1 
$rs5['Teacher_code1'];
            
$sql3 " SELECT * FROM  personal_tb  WHERE  Teacher_code='$Teacher_code1' ";
            
$result3 mysql_query($sql3);
            
$rs3 mysql_fetch_array($result3);
                
                echo 
$rs3['Teacher_name']."&nbsp;";
                echo 
$rs3['Teacher_lastname'] ;
        
?>
            </font></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td width="14%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td width="85%" bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF">กลยุทธ์</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><table width="98%" border="0" align="left" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF" style="background-color:#eeeeee; border:0px solid gray">
              <tr bgcolor="#F0F0F0">
                <td height="25" colspan="3" align="left" bordercolor="#999966" bgcolor="#FFFFFF" class="PADDING-LEFT-10"><a href="javascript:;" onclick="MM_openBrWindow('PlanStraListShow.php?Project_code=<?php echo $rs['Project_code'];?>&ProjectId=<?=$rs['ProjectId'];?>&Budget_Year=<?=$rs['Budget_Year'];?> ','Detail','scrollbars=yes,width=820,height=280')"> <img src="../picture/new.gif" alt="เพิ่มรายการเอกสาร" width="16" height="16" border="0" /></a></font><font color="#000000">&nbsp;&nbsp;<span class="style22"> บันทึกกลวิธีตามแผนยุทธศาสตร์ (อ้างตามแผนโครงการ/กิจกรรม)</span></font></td>
              </tr>
              <?php
              $query 
" SELECT *  FROM  $myTable6 WHERE   ProjectId = '$ProjectId'     ";
               
$result2 $dbObj->execQuery($query);
               
$numrows $dbObj->_numrows;
                  
?>
              <?php
            $no 
1+($display-1)*$limit;
                while( 
$rs2 $dbObj->fetchArray($result2) ) { 
                    
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" "#FFFFFF";
              
?>
              <tr bgcolor="<?=$bgColor;?>">
                <td height="20" align="left">กลยุทธ์ที่</a>
                  <?php                 
                 $sql 
" SELECT *  FROM   prostrategymap_tb  WHERE  StratempId = '$rs2[StratempId]'    ";
                  
$result4 $dbObj->execQuery($sql);
                 
$rs4 $dbObj->fetchArray($result4);
                echo 
$rs4['Nostrate'] ;
                echo 
".&nbsp;".htmlspecialchars_decodenl2br$rs4['StrateName'] ) );
                 
?></td>
                <td align="center" class="PADDING-LEFT-5">&nbsp;</td>
              </tr>
               <?php 
               
                     $query3 
" SELECT *  FROM  proplanstrateg_tb  pp  ,projectstra_type_tb pt ,project_type_tb pj   WHERE  pt.ProjectId=pj.ProjectId   and  pp.StaplanId=pj.StaplanId and  pp.StaplanId=pt.StaplanId  and  pp.StaplanId='$rs2[StaplanId]'   and  pt.ProjectId='$ProjectId'       ";
                    
$result3 mysql_query($query3);
                    
//while($rs3 = mysql_fetch_array($result3)){
                    
$rs3 mysql_fetch_array($result3);
                    
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" "#FFFFFF";                        
                      
?>
              <tr bgcolor="<?=$bgColor;?>">
                <td width="93%" height="20" align="left" class="PADDING-LEFT-10">กลวิธีที่ <? echo "$rs3[Noplan]"?>
                    <?=htmlspecialchars_decodenl2br$rs3['PlanStaName'] ) );?>
                    </a><a href="planMission.php?Budget_Year=<?=$rs['Budget_Year'];?>&amp;subId=<?=$rss['subId'];?>" title=" Click to more detail "></a></span></span></td>
                 <td width="4%" align="center" class="PADDING-LEFT-5"><strong><font size="2" face="Tahoma"><a href="javascript:;" onclick="NewWindow('DelStraproject.php?ProstrId=<? echo $rs2['ProstrId']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rs2[ProstrId];?>0(this)" alt="ลบข้อมูล" /></a></font></strong></td>
              </tr>
              <?php
                
//} # while
              
?>
              <?php
                
//    $no++;
                
# while
              
?>
              <tr>
                <td height="22" colspan="3" align="center" bgcolor="#F8F8F8">&nbsp;</td>
              </tr>
            </table></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><p><strong>ตัวชี้วัดประกันคุณภาพการศึกษา</strong></p></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" rowspan="4" bordercolor="#006699" bgcolor="#FFFFFF"><table width="99%" border="0" align="left" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF" style="background-color:#eeeeee; border:0px solid gray">
              <tr bgcolor="#F0F0F0">
                <td height="25" colspan="2" align="left" bordercolor="#999966" bgcolor="#FFFFFF" class="PADDING-LEFT-10"><a href="javascript:;" onclick="NewWindow('missionQashow.php?ProjectId=<?php echo $rss['ProjectId']; ?>&AcademicYear=<?=$rss['Budget_Year']-?>','Detail','850','400','yes')"> <img src="../picture/new.gif" alt="เพิ่มรายการเอกสาร" width="16" height="16" border="0" /></a><strong>&nbsp;&nbsp;บันทึกเกณฑ์มาตราฐาน QA ปีการศึกษา 
                      <?=$rss['AcademicYear'];?>
                </a></strong></td>
              </tr>
              <?php
              $query 
" SELECT *  FROM   projectqa_type_tb pt , qa_indicator qi     WHERE   pt.ProjectId='$ProjectId'  and  qi.indId=pt.indId   Group  By   pt.indId ";
             
$result5$dbObj->execQuery($query);
             
$numrows $dbObj->_numrows;  
                  
?>
              <?php
                $no 
1+($display-1)*$limit;
                while( 
$rs5 $dbObj->fetchArray($result5) ) { 
                    
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" "#FFFFFF";
              
?>
              <tr bgcolor="<?=$bgColor;?>">
                <td height="20" align="left" class="PADDING-LEFT-5"><strong><img src="../picture/ico3.gif" width="10" height="10" border="0" />ตัวบ่งชี้ที่
                      <?php  echo $rs5['indicaNo'] ." " .$rs5['Indicator']; ?>
                </strong></a></td>
                <td align="center" class="PADDING-LEFT-5"><font size="2" face="Tahoma" ><a href="javascript:;" onclick="NewWindow('addPidicator.php?ProjectId=<?php echo $rss['ProjectId']; ?>&amp;ProqaId=<?=$rs5['ProqaId']; ?>&indId=<?=$rs5['indId']; ?>','Detail','700','250','yes')"><img src="../picture/new.gif" alt="บันทึกคะแนนตัวชี้วัด" width="16" height="16" border="0" /></a></font></td>
              </tr>
               <tr bgcolor="<?=$bgColor;?>">
                <td height="20" align="left"  class="PADDING-LEFT-5"><table width="465" border="0" align="center" cellpadding="1" cellspacing="1">
                  <tr>
                    <td align="center" bgcolor="#CCCCCC"class="PADDING-LEFT-5"> คะแนน</td>
                    <td align="center" bgcolor="#CCCCCC" class="PADDING-LEFT-5">อิงเกณฑ์มาตราฐาน</td>
                    <td align="center" bgcolor="#CCCCCC"class="PADDING-LEFT-5" >บรรลุเป้าหมาย</td>
                    <td align="center" bgcolor="#CCCCCC"class="PADDING-LEFT-5" >&nbsp;</td>
                  </tr>
                  <tr><?php
                   $query 
" SELECT *  FROM   qa_result_tb     WHERE   ProjectId='$ProjectId'  and  piId='1'  and   indId='$rs5[indId]' ";
                   
$result8$dbObj->execQuery($query);
                   
$rss1 $dbObj->fetchArray($result8);
                 
                    
?>
                    <td width="101" align="center" bgcolor="#CCCCCC"class="PADDING-LEFT-5" ><label>
                      <input name="piId" type="checkbox" id="piId" <?php if (!(strcmp("$rss1[piId]","1"))){echo "checked";} ?> value="1"  />
                    </label>
                      สบช</td>
                    <td width="172" align="center" bgcolor="#CCCCCC"class="PADDING-LEFT-5"><?=$rss1['No'] ; ?></td>
                    <td width="152" align="center" bgcolor="#CCCCCC"><select name="qaSuccess" id="qaSuccess" >
                      <option  value="0" <?php if($rss1['qaSuccess']=="0"){ echo "selected" ; } ?> ></option>
                      <option  value="Y" <?php if($rss1['qaSuccess']=="Y"){ echo "selected" ; } ?> >บรรลุ</option>
                      <option  value="N" <?php if($rss1['qaSuccess']=="N"){ echo "selected" ; } ?> >ไม่บรรลุ</option>
                    </select></td>
                    <td width="27" align="center" bgcolor="#CCCCCC"><a href="javascript:;" onclick="NewWindow('DelResult.php?result_code=<? echo $rss1['result_code']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rss1[result_code];?>0(this)" alt="ลบข้อมูล" /></a></td>
                  </tr>
                    <tr>
                  <?php
                   $query 
" SELECT *  FROM   qa_result_tb     WHERE   ProjectId='$ProjectId'  and  piId='2'   and   indId='$rs5[indId]'  ";
                   
$result8$dbObj->execQuery($query);
                   
$rss2 $dbObj->fetchArray($result8);
                      
?>
                    <td align="center" bgcolor="#CCCCCC"class="PADDING-LEFT-5"><input name="piId" type="checkbox" id="piId"<?php if (!(strcmp("$rss2[piId]","2"))){echo "checked";} ?> value="2"   />
                      สกอ</td>
                    <td align="center" bgcolor="#CCCCCC"class="PADDING-LEFT-5"><?=$rss2['No'] ; ?></td>
                    <td align="center" bgcolor="#CCCCCC"><select name="qaSuccess" id="qaSuccess" >
                       <option  value="0" <?php if($rss2['qaSuccess']=="0"){ echo "selected" ; } ?> ></option>
                      <option  value="Y" <?php if($rss2['qaSuccess']=="Y"){ echo "selected" ; } ?> >บรรลุ</option>
                      <option  value="N" <?php if($rss2['qaSuccess']=="N"){ echo "selected" ; } ?> >ไม่บรรลุ</option>
                    </select></td>
                    <td align="center" bgcolor="#CCCCCC"><a href="javascript:;" onclick="NewWindow('DelResult.php?result_code=<? echo $rss2['result_code']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rss2[result_code];?>0(this)" alt="ลบข้อมูล" /></a></td>
                  </tr>
                  <tr> <?php
                   $query 
" SELECT *  FROM   qa_result_tb     WHERE   ProjectId='$ProjectId'  and  piId='3'  and   indId='$rs5[indId]' ";
                   
$result8$dbObj->execQuery($query);
                   
$rss3 $dbObj->fetchArray($result8);
                      
?>
                    <td align="center" bgcolor="#CCCCCC"class="PADDING-LEFT-5"><input name="piId" type="checkbox" id="piId"<?php if (!(strcmp("$rss3[piId]","3"))){echo "checked";} ?>  value="3" />
                      สมศ</td>
                    <td align="center" bgcolor="#CCCCCC"class="PADDING-LEFT-5"><?=$rss3['No'] ; ?></td>
                    <td align="center" bgcolor="#CCCCCC"><select name="qaSuccess3" id="qaSuccess3" >
                       <option  value="0" <?php if($rss3['qaSuccess']=="0"){ echo "selected" ; } ?> ></option>
                      <option  value="Y" <?php if($rss3['qaSuccess']=="Y"){ echo "selected" ; } ?> >บรรลุ</option>
                      <option  value="N" <?php if($rss3['qaSuccess']=="N"){ echo "selected" ; } ?> >ไม่บรรลุ</option>
                       </select></td>
                    <td align="center" bgcolor="#CCCCCC"><a href="javascript:;" onclick="NewWindow('DelResult.php?result_code=<? echo $rss3['result_code']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rss3['result_code'];?>0(this)" alt="ลบข้อมูล" /></a></td>
                  </tr>
                </table></td>
                <td align="center" class="PADDING-LEFT-5">&nbsp;</td>
              </tr> <?php
              $query 
" SELECT *  FROM   qa_indicator_tb qt ,projectqa_type_tb pt ,qa_indicator qi   WHERE  qi.indId = '$rs5[indId]' and pt.indica_code = qt.indica_code   and  pt.ProjectId ='$ProjectId' and  qi.indId=pt.indId   Group  By   pt.indica_code   Order By  qt.CriteriaNo  ASC  "
               
$result1 $dbObj->execQuery($query);
               
$numrows $dbObj->_numrows;   
                  
?>
              <?php
                $no 
1+($display-1)*$limit;
                while( 
$rs7 $dbObj->fetchArray($result1) ) { 
                    
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" "#FFFFFF";
              
?>
              <tr bgcolor="<?=$bgColor;?>">
                <td height="20" align="left"  class="PADDING-LEFT-5">
                 <?  echo $rs7['CriteriaNo'] ; ?>.&nbsp;<? echo htmlspecialchars_decodenl2br$rs7['stanCriteria'] ) );   ?>
                </a></td>
                <td width="4%" align="center" class="PADDING-LEFT-5"><div align="center"><strong><font size="2" face="Tahoma">
                  <script language="JavaScript" type="text/javascript">
                function Conf<?=$rs7[indica_code];?>0(object) {
                    if (confirm("คุณต้องการลบข้อมูล <?php echo " $rs7[indica_code]"?> หรือไม่?") == true) {
                        return true;
                    }
                    return false;
                }
                      </script><a href="javascript:;" onclick="NewWindow('DelQainidcator.php?indica_code=<? echo $rs7['indica_code']?>','Detail','500','200','yes');">
                        <img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rs7[indica_code];?>0(this)" alt="ลบข้อมูล" /></a></font></strong></div></td>
              </tr>
              <?php
                
# while
              
?>
            <?php 
               $no
++;
         } 
# while 
            
          
?>
              <tr>
                <td height="22" colspan="2" align="center" bgcolor="#F8F8F8">&nbsp;</td>
              </tr>
            </table></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <?  
          $query 
" SELECT *  FROM $myTable7  WHERE   Budget_Year='$Budget_Year'  AND  Faculty_code='$Faculty_code'  AND  ProjectId='$ProjectId' ";
        
$result5 $dbObj->execQuery($query);
        
$rs5 $dbObj->fetchArray($result5);
          
          
?>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><strong>วัตถุประสงค์</strong></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF"><?php echo htmlspecialchars_decodenl2br$rs['Objective'] ) ); ?></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><strong>กลุ่มเป้าหมาย</strong></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF"><?php echo htmlspecialchars_decodenl2br$rs['TargetGroup'] ) ); ?></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><strong>ขั้นตอนการดำเนินการ</strong></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF"><?php echo htmlspecialchars_decodenl2br$rs['Operation'] ) ); ?></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><strong>ระยะเวลาดำเนินการ</strong></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><strong>งบประมาณ</strong></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF"><span class="PADDING-RIGHT-10">
              <?php         
                $sql2 
" SELECT SUM(Budget_total) AS SumB1  FROM project_type_tb  
                                WHERE  ProjectId='$ProjectId'  AND  Budget_Year='$Budget_Year'  AND  Faculty_code='$Faculty_code' "
;
                
$result2 $dbObj->execQuery($sql2);
                
$rs2 $dbObj->fetchArray($result2);
                    echo 
number_format($rs2['SumB1'],2,'.',',');
           
?>
            บาท</span></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><strong>ผลที่คาดว่าจะได้รับ</strong></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF"><?php echo htmlspecialchars_decodenl2br$rs5['resuExpected'] ) ); ?></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><strong>ตัวชี้วัดความสำเร็จ</strong></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td colspan="2" bordercolor="#006699" bgcolor="#FFFFFF"><table width="100%" border="0" align="left" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF" style="background-color:#eeeeee; border:0px solid gray">
              <tr bgcolor="#F0F0F0">
                <td height="25" colspan="5" align="left" bordercolor="#999966" bgcolor="#FFFFFF" class="PADDING-LEFT-10"><font size="2" face="Tahoma" ><a href="javascript:;" onclick="NewWindow('AddReport.php?ProjectId=<?php echo $rss['ProjectId']; ?>&Budget_Year=<?=$Budget_Year ;?>&Faculty_code=<?=$Faculty_code;?>','Detail','700','300','yes')"><img src="../picture/new.gif" alt="เพิ่มรายการเอกสาร" width="16" height="16" border="0" /></a></font><font color="#000000">&nbsp;&nbsp;<span class="style"><strong> เพิ่มรายการหลักฐาน</strong></span></font></td>
              </tr>
              <?php
              $query 
" SELECT *  FROM  project_report_tb  WHERE    ProjectId='$ProjectId'   ";
              
$result1 $dbObj->execQuery($query);
               
$numrows $dbObj->_numrows;  
                  
?>
              <?php
                $no 
1+($display-1)*$limit;
                while( 
$rss $dbObj->fetchArray($result1) ) { 
                    
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" "#FFFFFF";
              
?>
              <tr bgcolor="<?=$bgColor;?>">
                <td width="5%" align="center" class="PADDING-LEFT-3 BORDER"><?=$rss['codeNo']; ?></td>
                <td width="73%" height="20" align="left" class="PADDING-LEFT-3 BORDER"><?php echo htmlspecialchars_decode$rss['Report_name'] ); ?></a></td>
                <td width="14%" align="center" class="PADDING-LEFT-5"><?php if( $rss['Filename'] != "" ) { ?>
                  <a href="javascript:;" onclick="NewWindow('<?=$doc_path;?>/<?=$rss["Filename"]?>','Detail','850','600','yes');"><img src="../images/icons/download.png" alt="ดาว์โหลดเอกสาร"  width="16" height="16" border="0" /></a>
                  <?php } else { ?>
                  <img src="../images/icons/download_off.png" width="16" height="16" />
                  <?php ?>
                  </td>
                <td width="5%" align="center" class="PADDING-LEFT-5"><a href="javascript:;" onclick="NewWindow('FrmReport.php?proRpId=<?=$rss['proRpId']?>','Detail','700','400','yes');"><img src="../images/icons/icon-edit.gif" alt="แก้ไขข้อมูล" width="16" height="16" border="0" /></a></td>
                <td width="3%" align="center" class="PADDING-LEFT-5"><a href="javascript:;" onclick="NewWindow('DelReport.php?proRpId=<?=$rss['proRpId'] ;?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rs7[indica_code];?>0(this)" alt="ลบข้อมูล" /></a></td>
                <?php
                    
//$no++;
                
# while
              
?>
              </tr>
              <tr>
                <td height="22" colspan="5" align="center" bgcolor="#F8F8F8"><strong>ทั้งหมด <span class="NOTE"><?php echo $numrows?></span> รายการ</strong></td>
              </tr>
            </table></td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr bgcolor="#ECD9C6">
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</td>
            <td bordercolor="#006699" bgcolor="#FFFFFF">&nbsp;</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.0177 ]--