Hacked By AnonymousFox
<?
include("../lib/session.php");
include("../lib/config.php");
include("../lib/connect.php");
include("../lib/function.php");
$year=$_GET["year"];
$yearedu=$_GET["yearedu"];
?>
<html>
<head>
<title><?=$System_Variable_Title?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<script language="JavaScript" 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/mystyle.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style3 {font-size: 16px}
-->
.tooltip-links {
position: relative;
}
.tooltip-links:after {
content: attr(title);
display: none;
padding:5px 25px;
background:rgb(208,208,208);
border: 1px solid rgb(192,192,192);
color:#fff;
opacity: 0;
position: absolute;
left:0px;
bottom: 15px;
min-width:200px;
z-index:999;
color:#000;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.tooltip-links:hover:after {
display: inline-block;
opacity: 1;
}
</style>
</head>
<body bgcolor="#E9E6DF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('../../images/thai.gif','../../images/eng.gif','../../images/chaina.gif','../../images/object/topbar-thai-over.gif','../../images/object/topbar-english-over.gif','../images/bullet/lang_over_02_1.gif','../images/bullet/lang_over_01_1.gif')">
<table width="95%" height="26" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td background="../../images/main/main-t-bg.gif" bgcolor="#162C41"><img src="../../webengine/bar.jpg" width="567" height="70" alt="กระทรวงศึกษาธิการ" /><br></td>
</tr>
</table>
<table width="95%" height="6" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="1" bgcolor="#10202F"> </td>
</tr>
</table>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="1" bgcolor="#10202F"><img src="../../images/blank.gif" width="1" height="1"></td>
<td align="center" valign="top"><table width="100%" height="480" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" bgcolor="#E9E6DF">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="16" valign="top" bgcolor="#C4BDB1"> </td>
<td align="center" valign="top" bgcolor="#C4BDB1"><a href="home.phhp"></a></td>
<td valign="top" bgcolor="#C4BDB1"> </td>
</tr>
<tr>
<td width="20" valign="top" background="../images/object/border_03.gif"><img src="../images/object/border_16.gif" width="20" height="83"></td>
<td align="center" valign="top" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15" height="300"> </td>
<td align="left" valign="top">
<div class="title1">
<div align="center"><a href="home.php"><br>
<span class="style3">กลับสู่เมนูหลัก</span></a><br>
<br>
</div>
<br>
</div>
<?
if($year==""){$year="4";}
if($yearedu==""){$yearedu="2559";}
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="300" align="left" valign="top" bgcolor="#FFFFFF"><div class="title1">ชั้นปี <a href="pointstudent1.php?SystemMenuID=1&SystemModuleKey=point&System_EXID=&year=<?=$year-1?>&yearedu=<?=$yearedu?>">4</a><a href="pointstudent1.php?SystemMenuID=1&SystemModuleKey=point&System_EXID=&year=<?=$year+1?>&yearedu=<?=$yearedu?>"></a> ปีการศึกษา <a href="pointstudent1.php?SystemMenuID=1&SystemModuleKey=point&System_EXID=&yearedu=<?=$yearedu-1?>&year=<?=$year?>"><<</a> <?=$yearedu?> <a href="pointstudent1.php?SystemMenuID=1&SystemModuleKey=point&System_EXID=&yearedu=<?=$yearedu+1?>&year=<?=$year?>">>></a> </div>
<p> </p>
</div>
<form action="upyear.php" method="post">
<table width="100%" border="1">
<tr>
<td colspan="3" bgcolor="#FFFFFF"> </td>
<td bgcolor="#E0D9C6" valign="top"><div align="center"><strong>สุขภาพและโรคของสตรี 1 </strong></div></td>
<td bgcolor="#E0D9C6" valign="top"><div align="center"><strong>สุขภาพและโรคของสตรี 2 </strong></div></td>
<td bgcolor="#E0D9C6" valign="top"><div align="center"><strong>จิตเวชศาสตร์</strong></div></td>
<td bgcolor="#E0D9C6" valign="top"><div align="center"><strong>สุขภาพและโรคของเด็กแรกเกิดจนถึงวัยรุ่น 1</strong></div></td>
<td bgcolor="#E0D9C6" valign="top"><div align="center"><strong>สุขภาพและโรคของเด็กแรกเกิดจนถึงวัยรุ่น 2</strong></div></td>
<td bgcolor="#E0D9C6" valign="top"><div align="center"><strong>สุขภาพและโรคของผู้ใหญ่และผู้สูงอายุ 1</strong></div></td>
<td bgcolor="#E0D9C6" valign="top"><div align="center"><strong>สุขภาพและโรคของผู้ใหญ่และผู้สูงอายุ 2</strong></div></td>
<td bgcolor="#E0D9C6" valign="top"><div align="center"><strong>การดูแลผู้ป่วยผ่าตัด 1</strong></div></td>
<td bgcolor="#E0D9C6" valign="top"><div align="center"><strong>การดูแลผู้ป่วยผ่าตัด 2</strong></div></td>
<td bgcolor="#E0D9C6" valign="top"><div align="center"><strong>จักษุวิทยาทั่วไป</strong></div></td>
<td width="0%" rowspan="2"bgcolor="#E0D9C6"><div align="center"><strong>เกรดเฉลี่ย</strong></div></td>
</tr>
<tr>
<td width="2%" bgcolor="#E0D9C6"><strong>ลำดับ</strong></td>
<td width="8%" bgcolor="#E0D9C6"><div align="center"><strong>รหัสนักศึกษา</strong></div></td>
<td width="33%" bgcolor="#E0D9C6"><div align="center"><strong>ชื่อ - นามสกุล </strong></div></td>
<td width="4%" bgcolor="#E0D9C6"><div align="center"><strong>2101411</strong></div></td>
<td width="4%" bgcolor="#E0D9C6"><div align="center"><strong>2101412</strong></div></td>
<td width="4%" bgcolor="#E0D9C6"><div align="center"><strong>2101402</strong></div></td>
<td width="4%" bgcolor="#E0D9C6"><div align="center"><strong>2101421</strong></div></td>
<td width="4%" bgcolor="#E0D9C6"><div align="center"><strong>2101422</strong></div></td>
<td width="4%" bgcolor="#E0D9C6"><div align="center"><strong>2101431</strong></div></td>
<td width="4%" bgcolor="#E0D9C6"><div align="center"><strong>2101432</strong></div></td>
<td width="4%" bgcolor="#E0D9C6"><div align="center"><strong>2101441</strong></div></td>
<td width="4%" bgcolor="#E0D9C6"><div align="center"><strong>2101442</strong></div></td>
<td width="1%" bgcolor="#E0D9C6"><div align="center"><strong>2101411</strong></div></td>
</tr>
<?
$sql="select * from evaluateicm_system_student a,cm_mod_detailpoint b where a.evaluateicm_system_student_UserName=b.cm_mod_detailpoint_Idstudent and b.cm_mod_detailpoint_Eduyear='$yearedu' group by a.evaluateicm_system_student_UserName order by a.evaluateicm_system_student_UserName asc ";
$query=mysql_query($sql);
$i=1;
while($row=mysql_fetch_array($query)) {
?>
<tr>
<td><?=$i?></td>
<td><?=$row[evaluateicm_system_student_UserName]?> </td>
<td><?=$row[evaluateicm_system_student_FName]?> <br /><?=$row[evaluateicm_system_student_LName]?></td>
<td><div align="center">
<?
$sqlcode="select cm_listsubject_ID from cm_listsubject where cm_listsubject_ID='125'";
$querycode=mysql_query($sqlcode);
$rowcode=mysql_fetch_array($querycode);
$sqlsum="select cm_mod_detailpoint_Point from cm_mod_detailpoint where cm_mod_detailpoint_GroupID='$rowcode[0]' and cm_mod_detailpoint_Idstudent='$row[evaluateicm_system_student_UserName]' group by cm_mod_detailpoint_GroupID";
$querysum=mysql_query($sqlsum);
$rowsum=mysql_fetch_array($querysum);
echo $rowsum[0];
$gd=$rowsum[0];
if($gd=="A"){ $onep="4"; }
if($gd=="B+"){ $onep="3.5"; }
if($gd=="B"){ $onep="3"; }
if($gd=="C+"){ $onep="2.5"; }
if($gd=="C"){ $onep="2"; }
if($gd=="C*"){ $onep="2"; }
?>
</div></td>
<td><div align="center">
<?
$sqlcode="select cm_listsubject_ID from cm_listsubject where cm_listsubject_ID='126'";
$querycode=mysql_query($sqlcode);
$rowcode=mysql_fetch_array($querycode);
$sqlsum="select cm_mod_detailpoint_Point from cm_mod_detailpoint where cm_mod_detailpoint_GroupID='$rowcode[0]' and cm_mod_detailpoint_Idstudent='$row[evaluateicm_system_student_UserName]' group by cm_mod_detailpoint_GroupID";
$querysum=mysql_query($sqlsum);
$rowsum=mysql_fetch_array($querysum);
echo $rowsum[0];
$gd1=$rowsum[0];
if($gd1=="A"){ $onep2="4"; }
if($gd1=="B+"){ $onep2="3.5"; }
if($gd1=="B"){ $onep2="3"; }
if($gd1=="C+"){ $onep2="2.5"; }
if($gd1=="C"){ $onep2="2"; }
if($gd1=="C*"){ $onep2="2"; }
?>
</div></td>
<td><div align="center">
<?
$sqlcode="select cm_listsubject_ID from cm_listsubject where cm_listsubject_ID='128'";
$querycode=mysql_query($sqlcode);
$rowcode=mysql_fetch_array($querycode);
$sqlsum="select cm_mod_detailpoint_Point from cm_mod_detailpoint where cm_mod_detailpoint_GroupID='$rowcode[0]' and cm_mod_detailpoint_Idstudent='$row[evaluateicm_system_student_UserName]' group by cm_mod_detailpoint_GroupID";
$querysum=mysql_query($sqlsum);
$rowsum=mysql_fetch_array($querysum);
echo $rowsum[0];
$gd2=$rowsum[0];
if($gd2=="A"){ $onep3="4"; }
if($gd2=="B+"){ $onep3="3.5"; }
if($gd2=="B"){ $onep3="3"; }
if($gd2=="C+"){ $onep3="2.5"; }
if($gd2=="C"){ $onep3="2"; }
if($gd2=="C*"){ $onep3="2"; }
?>
</div></td>
<td><div align="center">
<?
$sqlcode="select cm_listsubject_ID from cm_listsubject where cm_listsubject_ID='129'";
$querycode=mysql_query($sqlcode);
$rowcode=mysql_fetch_array($querycode);
$sqlsum="select cm_mod_detailpoint_Point from cm_mod_detailpoint where cm_mod_detailpoint_GroupID='$rowcode[0]' and cm_mod_detailpoint_Idstudent='$row[evaluateicm_system_student_UserName]' group by cm_mod_detailpoint_GroupID";
$querysum=mysql_query($sqlsum);
$rowsum=mysql_fetch_array($querysum);
echo $rowsum[0];
$gd3=$rowsum[0];
if($gd3=="A"){ $onep4="4"; }
if($gd3=="B+"){ $onep4="3.5"; }
if($gd3=="B"){ $onep4="3"; }
if($gd3=="C+"){ $onep4="2.5"; }
if($gd3=="C"){ $onep4="2"; }
if($gd3=="C*"){ $onep4="2"; }
?>
</div></td>
<td><div align="center">
<?
$sqlcode="select cm_listsubject_ID from cm_listsubject where cm_listsubject_ID='130'";
$querycode=mysql_query($sqlcode);
$rowcode=mysql_fetch_array($querycode);
$sqlsum="select cm_mod_detailpoint_Point from cm_mod_detailpoint where cm_mod_detailpoint_GroupID='$rowcode[0]' and cm_mod_detailpoint_Idstudent='$row[evaluateicm_system_student_UserName]' group by cm_mod_detailpoint_GroupID";
$querysum=mysql_query($sqlsum);
$rowsum=mysql_fetch_array($querysum);
echo $rowsum[0];
$gd4=$rowsum[0];
if($gd4=="A"){ $onep5="4"; }
if($gd4=="B+"){ $onep5="3.5"; }
if($gd4=="B"){ $onep5="3"; }
if($gd4=="C+"){ $onep5="2.5"; }
if($gd4=="C"){ $onep5="2"; }
if($gd4=="C*"){ $onep5="2"; }
?>
</div></td>
<td><div align="center">
<?
$sqlcode="select cm_listsubject_ID from cm_listsubject where cm_listsubject_ID='131'";
$querycode=mysql_query($sqlcode);
$rowcode=mysql_fetch_array($querycode);
$sqlsum="select cm_mod_detailpoint_Point from cm_mod_detailpoint where cm_mod_detailpoint_GroupID='$rowcode[0]' and cm_mod_detailpoint_Idstudent='$row[evaluateicm_system_student_UserName]' group by cm_mod_detailpoint_GroupID";
$querysum=mysql_query($sqlsum);
$rowsum=mysql_fetch_array($querysum);
echo $rowsum[0];
$gd5=$rowsum[0];
if($gd5=="A"){ $onep6="4"; }
if($gd5=="B+"){ $onep6="3.5"; }
if($gd5=="B"){ $onep6="3"; }
if($gd5=="C+"){ $onep6="2.5"; }
if($gd5=="C"){ $onep6="2"; }
if($gd5=="C*"){ $onep6="2"; }
?>
</div></td>
<td><div align="center">
<?
$sqlcode="select cm_listsubject_ID from cm_listsubject where cm_listsubject_ID='132'";
$querycode=mysql_query($sqlcode);
$rowcode=mysql_fetch_array($querycode);
$sqlsum="select cm_mod_detailpoint_Point from cm_mod_detailpoint where cm_mod_detailpoint_GroupID='$rowcode[0]' and cm_mod_detailpoint_Idstudent='$row[evaluateicm_system_student_UserName]' group by cm_mod_detailpoint_GroupID";
$querysum=mysql_query($sqlsum);
$rowsum=mysql_fetch_array($querysum);
echo $rowsum[0];
$gd6=$rowsum[0];
if($gd6=="A"){ $onep7="4"; }
if($gd6=="B+"){ $onep7="3.5"; }
if($gd6=="B"){ $onep7="3"; }
if($gd6=="C+"){ $onep7="2.5"; }
if($gd6=="C"){ $onep7="2"; }
if($gd6=="C*"){ $onep7="2"; }
?>
</div></td>
<td><div align="center">
<?
$sqlcode="select cm_listsubject_ID from cm_listsubject where cm_listsubject_ID='133'";
$querycode=mysql_query($sqlcode);
$rowcode=mysql_fetch_array($querycode);
$sqlsum="select cm_mod_detailpoint_Point from cm_mod_detailpoint where cm_mod_detailpoint_GroupID='$rowcode[0]' and cm_mod_detailpoint_Idstudent='$row[evaluateicm_system_student_UserName]' group by cm_mod_detailpoint_GroupID";
$querysum=mysql_query($sqlsum);
$rowsum=mysql_fetch_array($querysum);
echo $rowsum[0];
$gd7=$rowsum[0];
if($gd7=="A"){ $onep8="4"; }
if($gd7=="B+"){ $onep8="3.5"; }
if($gd7=="B"){ $onep8="3"; }
if($gd7=="C+"){ $onep8="2.5"; }
if($gd7=="C"){ $onep8="2"; }
if($gd7=="C*"){ $onep8="2"; }
?>
</div></td>
<td><div align="center">
<?
$sqlcode="select cm_listsubject_ID from cm_listsubject where cm_listsubject_ID='134'";
$querycode=mysql_query($sqlcode);
$rowcode=mysql_fetch_array($querycode);
$sqlsum="select cm_mod_detailpoint_Point from cm_mod_detailpoint where cm_mod_detailpoint_GroupID='$rowcode[0]' and cm_mod_detailpoint_Idstudent='$row[evaluateicm_system_student_UserName]' group by cm_mod_detailpoint_GroupID";
$querysum=mysql_query($sqlsum);
$rowsum=mysql_fetch_array($querysum);
echo $rowsum[0];
$gd8=$rowsum[0];
if($gd8=="A"){ $onep9="4"; }
if($gd8=="B+"){ $onep9="3.5"; }
if($gd8=="B"){ $onep9="3"; }
if($gd8=="C+"){ $onep9="2.5"; }
if($gd8=="C"){ $onep9="2"; }
if($gd8=="C*"){ $onep9="2"; }
?>
</div></td>
<td><div align="center">
<?
$sqlcode="select cm_listsubject_ID from cm_listsubject where cm_listsubject_ID='136'";
$querycode=mysql_query($sqlcode);
$rowcode=mysql_fetch_array($querycode);
$sqlsum="select cm_mod_detailpoint_Point from cm_mod_detailpoint where cm_mod_detailpoint_GroupID='$rowcode[0]' and cm_mod_detailpoint_Idstudent='$row[evaluateicm_system_student_UserName]' group by cm_mod_detailpoint_GroupID";
$querysum=mysql_query($sqlsum);
$rowsum=mysql_fetch_array($querysum);
echo $rowsum[0];
$gd9=$rowsum[0];
if($gd9=="A"){ $onep10="4"; }
if($gd9=="B+"){ $onep10="3.5"; }
if($gd9=="B"){ $onep10="3"; }
if($gd9=="C+"){ $onep10="2.5"; }
if($gd9=="C"){ $onep10="2"; }
if($gd9=="C*"){ $onep10="2"; }
?>
</div></td>
<td><?
if($gd!=""){
$allsum=($onep*4)+($onep2*4)+($onep3*3)+($onep4*4)+($onep5*4)+($onep6*4)+($onep7*4)+($onep8*4)+($onep9*4)+($onep10*2);
echo round($allsum/37, 2);
}
?></td>
</tr>
<? $i++; } ?>
</table>
<p align="center"> </p>
<p> </p>
<p> </p>
</form>
</td>
</tr>
</table></td>
<td width="15"> </td>
</tr>
</table> </td>
<td width="17" valign="top" background="../images/object/border_07.gif"><img src="../images/object/border_17.gif" width="17" height="119"></td>
</tr>
<tr>
<td height="16"><img src="../images/object/border_09.gif" width="20" height="16"></td>
<td height="16" background="../images/object/border_11.gif"><img src="../images/object/border_11.gif" width="1" height="16"></td>
<td><img src="../images/object/border_13.gif" width="17" height="16"></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="1" bgcolor="#10202F"><img src="../../images/blank.gif" width="1" height="1"></td>
</tr>
</table>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="4" height="30" align="left" valign="bottom" background="../../images/main/main-t-bg.gif"> </td>
<td height="30" align="center" background="../../images/main/main-t-bg.gif"> </td>
<td width="4" height="30" align="right" valign="bottom" background="../../images/main/main-t-bg.gif"> </td>
</tr>
</table>
</body>
</html>
<?
include("../lib/disconnect.php");
?>
Hacked By AnonymousFox1.0, Coded By AnonymousFox