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


Viewing file:     StandardDetail.php (12.08 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

    
/**  Define Validate Access  */
    
define'_VALID_ACCESS');
    
    
/**  Configuration  */
    
include( "configuration.php" );
    require_once( 
$_Config_absolute_path "/includes/framework.php" );

    
/**  Create Database Object  */
    
$dbObj = new DBConn;
        
    
/**  Config Table for This Page  */
    
$myTable "qa_pi_cri_tb";
    
$myTableFK "code";
    
    
/**  Table  -->  'qa_standard_tb'  */  
    
$query " SELECT *  FROM $myTable  WHERE code='$code' ";
    
$result $dbObj->execQuery($query);
    
$rs $dbObj->fetchArray($result);
?>
<!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" />
<title><?=$_Config_sitename;?> - ข้อมูลการประกันคุณภาพ - รายละเอียดตัวบ่งชี้งานประกันคุณภาพการศึกษา</title>
<script type="text/javascript" src="./js/utilities.js"></script>
<link href="./css/default.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style20 {font-size: 14px}
.style26 {font-size: 14px; font-family: Tahoma;}
.style25 {    font-family: Tahoma;
    font-weight: bold;
    font-size: 14px;
}
.style24 {    font-family: Tahoma;
    font-size: 14px;
    color: #000000;
    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="215" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include( "templates/incMainMenuLeft.php" );?></td>
    <td width="788" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
     <table width="770" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="5"></td>
      </tr>
      <tr>
        <td height="30" background="images/background/bg-head-topic-w780.gif"><span class="PADDING-LEFT-10"><strong><a href="index.php">หน้าหลัก</a></strong> <strong>&raquo; <a href="Pi_List.php?Stand_code=<?=$rs['Stand_code'] ;?>&codeId=<?=$rs['codeId'];?>">ข้อมูลการประกันคุณภาพ</a> &raquo; รายละเอียดมาตรฐานประกอบตามตัวบ่งชี้</a></strong></span></td>
        </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="center" valign="top"><table width="750" 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="2" align="center" bordercolor="#999966" class="PADDING-LEFT-10"><strong>รายละเอียดตัวบ่งชี้งานประกันคุณภาพการศึกษา</strong></td>
                   </tr>
              <tr bgcolor="#F9FBFB">
                <td width="12%" height="20" align="left" class="PADDING-LEFT-5 TEXT-DARK-BLUE10">มาตรฐานที่</td>
                <td width="88%" align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><strong><?php echo $rs['Stand_code']; ?></strong></td>
                </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" align="left" class="PADDING-LEFT-5 TEXT-DARK-BLUE10">ตัวบ่งชี้ข้อที่</td>
                <td align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><strong><?php echo $rs['Ind_code']; ?></strong> <?php echo $rs['Indicate']; ?></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" align="left" class="PADDING-LEFT-5 TEXT-DARK-BLUE10">ที่มา</td>
                <td align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><?php echo $rs['Source']; ?></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" align="left" class="PADDING-LEFT-5 TEXT-DARK-BLUE10">เพื่อชี้</td>
                <td align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><?php echo $rs['IncFor']; ?></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="10" colspan="2" align="left" class="PADDING-LEFT-5"></td>
                </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" colspan="2" align="left" class="PADDING-LEFT-5 TEXT-CLIMSON10">เกณฑ์ตัดสินในการประเมิน</td>
                </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" align="left" class="PADDING-LEFT-15 TEXT-DARK-BLUE10"><font color="#003366" size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">๑ คะแนน</font></strong></font></td>
                <td align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><?php echo htmlspecialchars_decodenl2br$rs['Awa'] ) ); ?></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" align="left" class="PADDING-LEFT-15 TEXT-DARK-BLUE10"><font color="#003366" size="2" face="Tahoma"><strong>๒ คะแนน</strong></font></td>
                <td align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><?php echo htmlspecialchars_decodenl2br$rs['Att'] ) ); ?></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" align="left" class="PADDING-LEFT-15 TEXT-DARK-BLUE10"><font color="#003366" size="2" face="Tahoma"><strong>๓ คะแนน</strong></font></td>
                <td align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><?php echo htmlspecialchars_decodenl2br$rs['Ach1'] ) ); ?></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" align="left" class="PADDING-LEFT-15 TEXT-DARK-BLUE10">&nbsp;</td>
                <td align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><?php echo htmlspecialchars_decodenl2br$rs['Ach2'] ) ); ?></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="10" colspan="2" align="left" class="PADDING-LEFT-5 TEXT-DARK-BLUE10"></td>
                </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" colspan="2" align="left" class="PADDING-LEFT-5 TEXT-CLIMSON10"><span class="style24">ผลการดำเนินงาน </span></td>
                </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" align="left" class="PADDING-LEFT-5 TEXT-DARK-BLUE10">&nbsp;</td>
                <td align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><?php echo htmlspecialchars_decodenl2br$rs['Ach3'] ) ); ?></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="10" colspan="2" align="left" class="PADDING-LEFT-5 TEXT-CLIMSON10"></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" colspan="2" align="left" class="PADDING-LEFT-5 TEXT-CLIMSON10"><span class="style25">ผลการประเมิน </span></td>
                </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" align="left" class="PADDING-LEFT-5 TEXT-DARK-BLUE10">&nbsp;</td>
                <td align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><?php echo htmlspecialchars_decodenl2br$rs['Awa'] ) ); ?></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="10" colspan="2" align="left" class="PADDING-LEFT-5 TEXT-CLIMSON10"><table width="565" border="1" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="71" bgcolor="#FFCC99"><div align="center"><span class="style26">คะแนน</span></div></td>
                  <td width="154" bgcolor="#FFCC99"><div align="center"><span class="style26">อิงเกณฑ์มาตรฐาน</span></div></td>
                  <td width="114" bgcolor="#FFCC99"><div align="center"><span class="style26">พัฒนาการ</span></div></td>
                  <td width="111" bgcolor="#FFCC99"><div align="center"><span class="style26">บรรลุเป้าหมาย</span></div></td>
                  <td width="81" bgcolor="#FFCC99"><div align="center"><span class="style26">รวม</span></div></td>
                </tr>
                <tr>
                  <td><div align="center">
                      <input name="Att12" type="text" class="style20" id="Att12" value="สบช" size="6" />
                  </div></td>
                  <td><div align="center">
                      <input name="P112" type="text" class="style20" id="P112" value="<? echo $rs[P1]?>" size="2" />
                  </div></td>
                  <td><div align="center">
                      <input name="P122" type="text" class="style20" id="P122" value="<? echo $rs[P2]?>" size="2" />
                  </div></td>
                  <td><div align="center">
                      <input name="P132" type="text" class="style20" id="P132" value="<? echo $rs[P3]?>" size="2" />
                  </div></td>
                  <td><div align="center">
                      <input name="PTotal2" type="text" class="style20" id="PTotal2" value="<? echo $rs[PTotal]?>" size="2" />
                  </div></td>
                </tr>
                <tr>
                  <td><div align="center">
                      <input name="Att22" type="text" class="style20" id="Att22" value="สมศ" size="6" />
                  </div></td>
                  <td><div align="center">
                      <input name="S12" type="text" class="style20" id="S12" value="<? echo $rs[S1]?>" size="2" />
                  </div></td>
                  <td><div align="center">
                      <input name="S112" type="text" class="style20" id="S112" value="<? echo $rs[S2]?>" size="2" />
                  </div></td>
                  <td><div align="center">
                      <input name="S132" type="text" class="style20" id="S132" value="<? echo $rs[S3]?>" size="2" />
                  </div></td>
                  <td><div align="center">
                      <input name="Total2" type="text" class="style20" id="Total2" value="<? echo $rs[STotal]?>" size="2" />
                  </div></td>
                </tr>
                <tr>
                  <td><div align="center">
                      <input name="Att32" type="text" class="style20" id="Att32" value="สกอ" size="6" />
                  </div></td>
                  <td><div align="center">
                      <input name="S112" type="text" class="style20" id="S112" value="<? echo $rs[T1]?>" size="2" />
                  </div></td>
                  <td><div align="center">
                      <input name="S112" type="text" class="style20" id="S112" value="<? echo $rs[T2]?>" size="2" />
                  </div></td>
                  <td><div align="center">
                      <input name="S132" type="text" class="style20" id="S132" value="<? echo $rs[T3]?>" size="2" />
                  </div></td>
                  <td><div align="center">
                      <input name="Total2" type="text" class="style20" id="Total2" value="<? echo $rs[TTotal]?>" size="2" />
                  </div></td>
                </tr>
              </table></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" colspan="2" align="left" class="PADDING-LEFT-5 TEXT-CLIMSON10">แนวทางการพัฒนา</td>
                </tr>
              
              <tr bgcolor="#F9FBFB">
                <td height="20" align="left" class="PADDING-LEFT-5 TEXT-DARK-BLUE10">&nbsp;</td>
                <td align="left" class="PADDING-LEFT-5 PADDING-RIGHT-3"><?php echo htmlspecialchars_decodenl2br$rs['Ach4'] ) ); ?></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="10" colspan="2" align="left" class="PADDING-LEFT-5 TEXT-CLIMSON10"></td>
              </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" colspan="2" align="left" class="PADDING-LEFT-5 TEXT-CLIMSON10">รายการหลักฐาน</td>
                </tr>
              <tr bgcolor="#F9FBFB">
                <td height="20" colspan="2" align="left" class="PADDING-LEFT-5 TEXT-DARK-BLUE10"><font color="#003366" size="2" face="Tahoma">
                  <? include"qaFile.php"?>
                </font></td>
                </tr>
          </table></td>
      </tr>
      <tr>
        <td height="35" align="center"><input type="button" name="button" id="button" value="&laquo; ย้อนกลับ" onclick="window.history.back();" class="CURSOR-HAND" /></td>
      </tr>
    </table>
    </fieldset></td>
  </tr>
</table>
<?php include( "./templates/incFooter.php" ); ?>
</body>
</html>
<?php
    
/**  Free Resource */
    
$dbObj->freeresult($result);
    
    
/**  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.0158 ]--