Viewing file: StandDetail.php (11.3 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);
$sql2 ="SELECT * FROM qa_pi_cri_tb WHERE Stand_code='$Stand_code'";
$result2 = mysql_query($sql2) or die("Cannot Select").mysql_error();
$rs = mysql_fetch_array($result2);
$sql1 ="SELECT * FROM qa_pi_cri_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">
<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<style type="text/css">
<!--
.style20 {font-size: 14px}
.style24 {
font-family: Tahoma;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.style25 {
font-family: Tahoma;
font-weight: bold;
font-size: 14px;
}
.style26 {font-size: 14px; font-family: Tahoma;}
.style28 {font-size: 14px; color: #000000; }
.style29 {color: #000000}
-->
</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></font><font color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>" size="2"> <a href="Qa_menu.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><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"> รายละเอียดตัวบ่งชี้งานประกันคุณภาพการศึกษา</font></legend>
<div align="center"><form id="form1" name="form1" method="post" action="InsertPi.php">
<p align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()" width="85" height="22" border="0" /></font></p>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#666666" style="border:0px solid black">
<tr bgcolor="#006633" >
<td height="27"><div align="center" class="style20"><font color="#FFFFFF" face="Tahoma"><strong>รายละเอียดตัวบ่งชี้งานประกันคุณภาพการศึกษา</strong></font></div></td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="90%" height="20" bgcolor="#FFFFFF"><span class="style28"> <font face="Tahoma">องค์ประกอบ : </font> </span><font color="#006633" size="2" face="Tahoma"><strong><? echo $rs[Stand_code]?></strong>
<input type="hidden" name="Stand_code" value="<? echo $rs[Stand_code]?>" />
</font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td bgcolor="#FFFFFF"><font size="2" face="Tahoma"><span class="style29">ตัวบงชี้ท</span></font><font color="#006633" size="2" face="Tahoma"><strong>ี่ : <? echo $rs[Ind_code]?> </strong><? echo $rs[Indicate]?>
<input name="Ind_code" type="hidden" id="Ind_code" value="<? echo $rs[Ind_code]?>" />
</font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><span class="style29">ที่มา : </span></font><font color="#006633" size="2" face="Tahoma"> <? echo $rs[Source]?></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><font face="Tahoma"><span class="style28">ชนิดของตังบงชี้</span></font><font color="#006633" size="2" face="Tahoma"> <? echo $rs[IncFor]?></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF" class="style20"><font face="Tahoma">เกณฑ์ตัดสินในการประเมิน</font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs[Awa])?></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs[Att])?></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs[Ach1])?></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs[Ach2])?></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><h4 class="style24">ผลการดำเนินงาน </h4></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs[Ach3])?></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><p class="style25">ผลการประเมิน </p></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs[Awa])?></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><table width="565" border="1" cellpadding="0" cellspacing="0">
<tr>
<td width="71" bgcolor="#FFCC99"><div align="center"><span class="style26">คะแนน</span></div></td>
<td width="154" bgcolor="#FFCC99"><div align="center"><span class="style26">อิงเกณฑ์มาตรฐาน</span></div></td>
<td width="114" bgcolor="#FFCC99"><div align="center"><span class="style26">พัฒนาการ</span></div></td>
<td width="111" bgcolor="#FFCC99"><div align="center"><span class="style26">บรรลุเป้าหมาย</span></div></td>
<td width="81" bgcolor="#FFCC99"><div align="center"><span class="style26">รวม</span></div></td>
</tr>
<tr>
<td><div align="center">
<input name="Att1" type="text" class="style20" id="Att1" value="สบช" size="6" />
</div></td>
<td><div align="center">
<input name="P11" type="text" class="style20" id="P11" value="<? echo $rs[P1]?>" size="2" />
</div></td>
<td><div align="center">
<input name="P12" type="text" class="style20" id="P12" value="<? echo $rs[P2]?>" size="2" />
</div></td>
<td><div align="center">
<input name="P13" type="text" class="style20" id="P13" value="<? echo $rs[P3]?>" size="2" />
</div></td>
<td><div align="center">
<input name="PTotal" type="text" class="style20" id="PTotal" value="<? echo $rs[PTotal]?>" size="2" />
</div></td>
</tr>
<tr>
<td><div align="center">
<input name="Att2" type="text" class="style20" id="Att2" value="สมศ" size="6" />
</div></td>
<td><div align="center">
<input name="S1" type="text" class="style20" id="S1" value="<? echo $rs[S1]?>" size="2" />
</div></td>
<td><div align="center">
<input name="S11" type="text" class="style20" id="S11" value="<? echo $rs[S2]?>" size="2" />
</div></td>
<td><div align="center">
<input name="S13" type="text" class="style20" id="S13" value="<? echo $rs[S3]?>" size="2" />
</div></td>
<td><div align="center">
<input name="Total" type="text" class="style20" id="Total" value="<? echo $rs[STotal]?>" size="2" />
</div></td>
</tr>
<tr>
<td><div align="center">
<input name="Att3" type="text" class="style20" id="Att3" value="สกอ" size="6" />
</div></td>
<td><div align="center">
<input name="S11" type="text" class="style20" id="S11" value="<? echo $rs[T1]?>" size="2" />
</div></td>
<td><div align="center">
<input name="S11" type="text" class="style20" id="S11" value="<? echo $rs[T2]?>" size="2" />
</div></td>
<td><div align="center">
<input name="S13" type="text" class="style20" id="S13" value="<? echo $rs[T3]?>" size="2" />
</div></td>
<td><div align="center">
<input name="Total" type="text" class="style20" id="Total" value="<? echo $rs[TTotal]?>" size="2" />
</div></td>
</tr>
</table></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><p class="style25">แนวทางการพัฒนา</p></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma"><? echo nl2br($rs[Ach4])?></font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><p class="style25">รายการหลักฐาน <font size="2" face="Tahoma" onclick="MM_openBrWindow('AddReport.php?code=<? echo $rs[code]?>&codeId=<? echo $s[codeId]?>','Detail','scrollbars=yes,width=600,height=250')"><a href="#" ><img src="../picture/new.gif" alt="เพิ่มรายการเอกสาร" width="16" height="16" border="0" /></a></font></p></td>
</tr>
<tr bgcolor="#EEEEEE">
<td bgcolor="#FFFFFF"><a href="Pi_List.php?Stand_code=<?=$rs["Stand_code"] ?> "title="Click to see Detail" class="d"><font color="#003366" size="2" face="Tahoma"><? include"qafile.php"; ?>
</font></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 ";
}
?>
|