<!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=utf-8" />
<?php
if(isset($_SESSION['user_os'])){
if($_SESSION['user_os']=='mobile'){
echo "<meta name = 'viewport' content = 'width = device-width'>";
}
}
?>
<style type="text/css">
<!--
.style1 {
font-size: 12px;
}
-->
</style>
</head>
<body>
<?php
date_default_timezone_set('Asia/Bangkok');
require_once "../../../amssplus_connect.php";
require_once("../../../mainfile.php");
$sql_3 = "select * from supervision_indicator where id='$_GET[id]'";
$dbquery_3 = mysqli_query($connect,$sql_3);
$result_3 = mysqli_fetch_array($dbquery_3);
$indicator_name= $result_3['indicator_name'];
$type= $result_3['type'];
$unit= $result_3['unit'];
$min= $result_3['min'];
$max= $result_3['max'];
$g1= $result_3['g1'];
$g2= $result_3['g2'];
$g3= $result_3['g3'];
$g4= $result_3['g4'];
$g5= $result_3['g5'];
$indicator_explain= $result_3['indicator_explain'];
?>
<div align="center">
<table border="0" width="100%" id="table1" style="border-collapse: collapse; border: 1px dotted #FF00FF; ; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px" cellpadding="2" >
<tr>
<td bgcolor="#003399" colspan="2" style="border: 1px dotted #808000"><font color="#FFFFFF">
<span lang="en-us"><font size="2"> </font></span><font size="2">รายละเอียดรายการตัวชี้วัด
</font></font></td>
</tr>
<tr>
<td width="377" align="left" style="border: 1px dotted #808000" colspan="2">
<?php
echo $indicator_name;
?>
</td>
</tr>
<tr>
<td width="449" align="left" colspan="2" style="border: 1px dotted #808000">
<FONT SIZE="2"><?php
if($type==2){
echo "<br>";
echo " หน่วย = $unit"; echo "<br>";
echo "ค่าคะแนน 1 (ระดับน้อยที่สุด) = $g1"; echo "<br>";
echo "ค่าคะแนน 2 (ระดับน้อย) = $g2"; echo "<br>";
echo "ค่าคะแนน 3 (ระดับปานกลาง) = $g3"; echo "<br>";
echo "ค่าคะแนน 4 (ระดับมาก) = $g4"; echo "<br>";
echo "ค่าคะแนน 5 (ระดับมากที่สุด) = $g5"; echo "<br>";
echo "ค่าต่ำสุดที่สามารถกรอกได้ = $min"; echo "<br>";
echo "ค่าสูงสุดที่สามารถกรอกได้ = $max"; echo "<br>";
echo "<br>";
}
?></FONT>
</td>
</tr>
<tr>
<td width="377" align="left" style="border: 1px dotted #808000" colspan="2">
<div align="center">
<?php
if($indicator_explain!=""){
echo "<textarea rows='20' cols='65' name='indicator_explain'>$indicator_explain</textarea>";
}
?>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>