Hacked By AnonymousFox

Current Path : C:/AppServ/www/timetable_student/system/mod_other/
Upload File :
Current File : C:/AppServ/www/timetable_student/system/mod_other/standard2.php

<? 
include("../../lib/session.php"); 
include("../../lib/config.php");
include("../../lib/connect.php");
include("../../lib/function.php");
include("../../lib/register_global.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>ระบบประเมินรายวิชา/การสอนอาจารย์</title>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="../../css/menu.css" rel="stylesheet" type="text/css" />
<link href="../../css/font.css" rel="stylesheet" type="text/css" />
<link href="../../css/piya_style.css" rel="stylesheet" type="text/css" />
<link href="../../css/table.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style2 {
	color: #30707C;
	font-weight: bold;
	font-size: 14px;
}
-->
</style>
</head>

<body onload="MM_preloadImages('../../images/menu/menu_03.png','../../images/menu/menu_01_over.png','../../images/menu/menu_05_over.png')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="100" align="center" background="../../images/head/sky.jpg"><img src="../../images/head/Sirirajlogo.gif" width="126" height="120" /></td>
  </tr>
  <tr>
    <td height="22" background="../../images/head/bar.jpg"><table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>
		<table width="30%" border="0" align="right" cellpadding="0" cellspacing="0" class="login">
            <tr>
              <td align="right"><img src="../../images/icon/people_1.png" width="13" height="14" />Hi ! 
                <?=$System_Session_UserName?>|<img src="../../images/icon/door.png" width="16" height="15" /><a href="../logoutadmin.php">Logout</a></td>
              </tr>
            </table>        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center" valign="top"><table width="100" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="747" valign="top"><table width="747" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="24" rowspan="2" valign="top" background="../../images/l/left_menu_02.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><img src="../../images/l/left_menu_01_l.jpg" width="24" height="27" /></td>
                </tr>
                <tr>
                  <td><img src="../../images/l/left_menu_02.jpg" width="24" height="1" /></td>
                </tr>
            </table></td>
            <td width="24" colspan="2" rowspan="2" valign="top" background="../../images/l/left_menu_02_bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><img src="../../images/l/left_menu_01_r.jpg" width="197" height="27" /></td>
                </tr>
                <tr>
                  <td><table width="100%" border="0" cellspacing="5" cellpadding="0">
                    <tr>
                      <td align="left"><span class="style2">ระบบผู้ใช้งาน</span></td>
                    </tr>
                    <tr>
                      <td align="left"><ul class="menu_one">
                        <li><a href="../../system/user_management.php">ข้อมูลผู้ใช้งานในระบบ</a></li>
                      </ul></td>
                    </tr>
                    <tr>
                      <td align="left"><span class="style2">ระบบข้อมูลที่เกี่ยวข้อง</span></td>
                    </tr>
                    <tr>
                      <td align="left"><ul class="menu_one">
                          <li><a href="../../system/mod_other/standard.php">กำหนดการประเมินรายวิชา</a></li>
                        <li><a href="../../system/mod_other/standard2.php">กำหนดการประเมินอาจารย์</a><a href="../system/mod_other/council.php"></a></li>
                        <li><a href="../../system/mod_other/report.php">เปอร์เซนต์การประเมินนักศึกษา</a></li>
                        <li><a href="../../system/mod_other/resultteacher.php" target="_blank">รายงานผลประเมินการสอน</a></li>
                        <li><a href="../../home/export.php" target="_blank">รายงานผลประเมินรายวิชา</a></li>
                        <li><a href="../../graph/showgraph.php" target="_blank">กราฟสรุปผลรายวิชา</a><br />
                          <a href="../../graph/showgraph.php" target="_blank">- การบรรยาย</a><br />
                          <a href="../../graph/showgraph3.php" target="_blank"> - การบรรยาย 2</a><br />
                          <a href="../../graph/showgraph4.php" target="_blank">- การบรรยาย 3</a><br />
                          <a href="../../graph/showgraph6.php" target="_blank">- KSA</a></li>
                      </ul></td>
                    </tr>
                    <tr>
                      <td align="left">&nbsp;</td>
                    </tr>
                    <tr>
                      <td align="left">&nbsp;</td>
                    </tr>
                    <tr>
                      <td align="left"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image16','','file:///C|/AppServ/www/images/menu/menu_05_over.png',1)"></a></td>
                    </tr>
                  </table></td>
                </tr>
            </table></td>
            <td background="../../images/content_border/content_border_02.jpg"><img src="../../images/content_border/content_border_01.jpg" width="747" height="11" /></td>
            <td background="../../images/content_border/content_border_right.jpg"></td>
          </tr>
          <tr>
            <td valign="top" background="../../images/content_border/content_border_02.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="15" height="300">&nbsp;</td>
                  <td align="left" valign="top">                    <table width="100%" border="1" align="center" style="border-collapse:collapse" bordercolor="#000000">
                      <tr>
                        <td width="32%">&nbsp;</td>
                <td width="68%" bgcolor="#E0E0E0"><div align="center"><strong>ประเมินอาจารย์</strong></div></td>
              </tr>
                      
                      
                      
                      <? 
			$sql="select * from evaluateicm_system_course group by evaluateicm_system_course_Date order by evaluateicm_system_course_Date asc";
			$query=mysql_query($sql);
			while($row=mysql_fetch_array($query)){
			?>
                      <tr>
                        <td colspan="2" <? if($row[evaluateicm_system_course_Typeday]=="1"){ ?>bgcolor="#FFFFCC"<? } if($row[evaluateicm_system_course_Typeday]=="2"){ ?>bgcolor="#FFCCFF"<? } if($row[evaluateicm_system_course_Typeday]=="3"){ ?>bgcolor="#BFFFBF"<? } if($row[evaluateicm_system_course_Typeday]=="4"){ ?>bgcolor="#FFCC99"<? } if($row[evaluateicm_system_course_Typeday]=="5"){ ?>bgcolor="#A6EDFF"<? } ?>><div align="left"><strong>
                          <? if($row[evaluateicm_system_course_Typeday]=="1"){ echo"วันจันทร์"; } if($row[evaluateicm_system_course_Typeday]=="2"){ echo"วันอังคาร"; } if($row[evaluateicm_system_course_Typeday]=="3"){ echo"วันพุธ"; } if($row[evaluateicm_system_course_Typeday]=="4"){ echo"วันพฤหัสบดี"; } if($row[evaluateicm_system_course_Typeday]=="5"){ echo"วันศุกร์"; } ?> 
                          <?=ShowDateLongTh($row[evaluateicm_system_course_Date])?>
                          </strong></div></td>
                </tr>
                      
                      <? 
			$sql1="select * from evaluateicm_system_course where evaluateicm_system_course_Date ='$row[evaluateicm_system_course_Date]' group by evaluateicm_system_course_Time order by evaluateicm_system_course_Time asc";
			$query1=mysql_query($sql1);
			while($row1=mysql_fetch_array($query1)){
			?>
                      <tr>
                        <td align="left"><div align="center" class="title2">เวลา <?=$row1[evaluateicm_system_course_Time]?>
                          <br />
                          SIID 
                          <?=$row1[evaluateicm_system_course_Siid]?>
                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                          &nbsp;
                          <?=$row1[evaluateicm_system_course_Type]?> 
                          <?=$row1[evaluateicm_system_course_Hour]?>
                          </span></b><br />
                          <?=$row1[evaluateicm_system_course_Subject]?>
                          </span></b></span>
                          </div>
                </div></td>
                <td><div align="center">
                  <br />
                  <? $sqlcount1="select * from evaluateicm_system_course where evaluateicm_system_course_Date='$row1[evaluateicm_system_course_Date]' and evaluateicm_system_course_Time ='$row1[evaluateicm_system_course_Time]'";
			$querycount1=mysql_query($sqlcount1);
			while($rowcount1=mysql_fetch_array($querycount1)){
			?>
                  <form method="post" action="updateeva2.php">
                    ประเมิน<?=$rowcount1[evaluateicm_system_course_Teacher]?>
                    <input type="hidden" name="idstatus" value="<?=$rowcount1[evaluateicm_system_course_ID]?>" />
                    <select name="updatestatus" id="select">
                      <option value="0" <? if($rowcount1[evaluateicm_system_course_Statusteacher]=="0"){echo"selected";}?> style="background-color:#ABF1B4">Show</option>
                      <option value="1" <? if($rowcount1[evaluateicm_system_course_Statusteacher]=="1"){echo"selected";}?> style="background-color:#F48891">Don't Show</option>
                      </select><input type="submit" name="button" id="button" value="Submit" />
                      <br />
                  </form>
                  <a href="../../home/viewteacher.php?ID=<?=$rowcount1[evaluateicm_system_course_ID]?>" target="_blank">ดูผลการประเมิน</a>
                  <br />
  <br />
                  <? } ?>
                  <br />
                  </div> </td>
                </tr>
                      <? } ?>
                      <? } ?>
                              </table> </td>
                  <td width="15">&nbsp;</td>
                </tr>
            </table></td>
            <td background="../../images/content_border/content_border_right.jpg">&nbsp;</td>
          </tr>
          <tr>
            <td><img src="../../images/l/left_menu_03_l.jpg" width="24" height="29" /></td>
            <td colspan="2"><img src="../../images/l/left_menu_03_r.jpg" width="197" height="29" /></td>
            <td><img src="../../images/content_border/content_border_03.jpg" width="747" height="29" /></td>
            <td><img src="../../images/content_border/content_border_right2.jpg" width="17" height="29" /></td>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

Hacked By AnonymousFox1.0, Coded By AnonymousFox