Hacked By AnonymousFox

Current Path : C:/AppServ/www/timetable_student/home/
Upload File :
Current File : C:/AppServ/www/timetable_student/home/viewsubject.php

<? 
include("../lib/session.php");
include("../lib/config.php");
include("../lib/connect.php");
include("../lib/function.php");
include("../lib/register_global.php");
$ID=$_GET["ID"];

$sqlc="select * from evaluate_system_course where evaluate_system_course_ID='$ID'";
$queryc=mysql_query($sqlc);
$rowc=mysql_fetch_array($queryc);

?>
<!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];}}
}
//-->
</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>
.input1{ 

background: #006600; 

font-family:Tahoma, Geneva, sans-serif; 

font-size:14px;  

padding: 5px 10px 5px 10px; 

color: #fff; 

font-weight: bold; 

-moz-border-radius: 6px; 

-webkit-border-radius: 6px; 

-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 

-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 

text-shadow: 0 -1px 1px rgba(0,0,0,0.25); 

border-bottom: 1px solid rgba(0,0,0,0.25); 

border-left:none; 

border-top:none; 

margin:10px 0 10px 0; 

} 

.input1:hover{ 

background: #62A062; 

}

.input2{ 

background:#F50000; 

font-family:Tahoma, Geneva, sans-serif; 

font-size:14px;  

padding: 5px 10px 5px 10px; 

color: #fff; 

font-weight: bold; 

-moz-border-radius: 6px; 

-webkit-border-radius: 6px; 

-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 

-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 

text-shadow: 0 -1px 1px rgba(0,0,0,0.25); 

border-bottom: 1px solid rgba(0,0,0,0.25); 

cursor: pointer; 

border-left:none; 

border-top:none; 

margin:10px 0 10px 0; 

} 

.input2:hover{ 

background:#FF4B1A; 

}
.input3{ 

background: #999999; 

font-family:Tahoma, Geneva, sans-serif; 

font-size:14px;  

padding: 5px 10px 5px 10px; 

color: #fff; 

font-weight: bold; 

-moz-border-radius: 6px; 

-webkit-border-radius: 6px; 

-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 

-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 

text-shadow: 0 -1px 1px rgba(0,0,0,0.25); 

border-bottom: 1px solid rgba(0,0,0,0.25); 

border-left:none; 

border-top:none; 

margin:10px 0 10px 0; 

} 

.input3:hover{ 

background: #D5D5D5; 

}
.input31 {
background: #999999; 

font-family:Tahoma, Geneva, sans-serif; 

font-size:14px;  

padding: 5px 10px 5px 10px; 

color: #fff; 

font-weight: bold; 

-moz-border-radius: 6px; 

-webkit-border-radius: 6px; 

-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 

-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5); 

text-shadow: 0 -1px 1px rgba(0,0,0,0.25); 

border-bottom: 1px solid rgba(0,0,0,0.25); 

border-left:none; 

border-top:none; 

margin:10px 0 10px 0; 
}
</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">&nbsp;</td>
              </tr>
            </table>        </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><br />
      <table width="90%" border="0" align="center">
      <tr>
        <td bgcolor="#FFFFFF"><p>
        <div align="center">
        <strong>รายวิชา 
            <?=$rowc[evaluate_system_course_Subject]?>
        </strong></div><br />
        หมายเหตุ<br />
        หัวข้อ 1 = ความเหมาะสมของเนื้อหาวิชากับระยะเวลาเรียน<br />
        หัวข้อ 2 = ความรู้ที่ได้รับเพื่อเตรียมขึ้นปฏิบัติงานในชั้นคลินิก<br />
        หัวข้อ 3 = ความเหมาะสมของรูปแบบวิธีการสอน และการประเมินผล</p>
        <table width="100%" border="1" style="border-collapse:collapse" bordercolor="#333333">
            <tr>
              <td width="5%" bgcolor="#CCCCCC"><div align="center">ลำดับ</div></td>
              <td width="40%" bgcolor="#CCCCCC"><div align="center">ชื่อ-นามสกุล</div></td>
              <td width="9%" bgcolor="#CCCCCC"><div align="center">หัวข้อ 1</div></td>
              <td width="9%" bgcolor="#CCCCCC"><div align="center">หัวข้อ 2</div></td>
              <td width="9%" bgcolor="#CCCCCC"><div align="center">หัวข้อ 3</div></td>
              <td width="28%" bgcolor="#CCCCCC"><div align="center">ข้อเสนอแนะ</div></td>
            </tr>
            
            <?
			$sql="select * from evaluate_subject where evaluate_subject_CourseID='$ID' order by evaluate_subject_StudentID asc";
			$query=mysql_query($sql);
			$num=mysql_num_rows($query);
			if($num>0){
			$i=1;
			while($row=mysql_fetch_array($query)){
			?>
            <tr>
              <td><div align="center">
                <?=$i?>
              </div>                </td>
              <td><div align="left">
                <?
                $sql2="select * from evaluate_system_student where evaluate_system_student_ID='$row[evaluate_subject_StudentID]'";
				$query2=mysql_query($sql2);
				$row2=mysql_fetch_array($query2);
				?><?=$row2[evaluate_system_student_FName]?>
              </div></td>
              <td><?=$row[evaluate_subject_No1]?></td>
              <td><?=$row[evaluate_subject_No2]?></td>
              <td><?=$row[evaluate_subject_No3]?></td>
              <td><div align="left">
                <?=$row[evaluate_subject_Comment]?>
              </div></td>
            </tr>
           <? $i++; } }else{?>
            <tr>
            <td colspan="11" align="center">ไม่มีข้อมูล
            </td>
            </tr>
            <? } ?>
          </table>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

Hacked By AnonymousFox1.0, Coded By AnonymousFox