Viewing file: AddDetailOutreac.php (38 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start();
/** Define Validate Access */
define( '_VALID_ACCESS', 1 );
/** Check Session User Login */
if( !session_is_registered("valid_user") && !session_is_registered("Priority") ) {
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-874\" />";
echo "<p style=padding-top:115px><p align=center><br /><font color=red><strong>กรุณาทำการ Login ก่อน</strong></font></p></p>";
echo "<meta http-equiv=\"refresh\" content=\"1; URL=../login.php\" />";
exit();
}
else {
/** Configuration */
require_once( "../configuration.php" );
require_once( $_Config_absolute_path . "/includes/framework.php" );
require_once( "../includes/Function.php" );
/** Create Database Object */
$dbObj = new DBConn;
/** Config Table for This Page */
$myTable = "edu_service_tb";
$sql = "Select * From $myTable Where outreacId='$outreacId' " ;
$result1 = mysql_query($sql) or die("Error".mysql_error());
$rss = mysql_fetch_array($result1);
/** Parameters */
//$params = "Status=2";
/** โฟลเดอร์ไฟล์เอกสาร */
$doc_path = $_Config_live_site."/Plan_pic";
$Path = "../Plan_pic";
} # else
?>
<!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" />
<link href="../css/default.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/utilities.js"></script>
<script language="javascript">
function checkData() {
var formObj = document.form1;
if( (formObj.Research_name.value == "" ) && (formObj.Budget_year.value == "" ) ) { alert("กรุณากรอกข้อมูลให้ครบด้วยค่ะ" ); formObj.Research_name.style.backgroundColor='#F1F9FC'; formObj.Budget_year.focus(); return false; }
else if(formObj.Research_name.value == "" ) { alert("กรุณากรอก ชื่อผลงานวิจัย"); formObj.Research_name.style.backgroundColor='#F1F9FC'; formObj.Research_name.focus(); return false;}
// if(formObj.importance.value == "" ) { alert("กรุณากรอก ความสำคัญและที่มาของปัญหา"); formObj.importance.style.backgroundColor='#F1F9FC'; formObj.importance.focus(); return false;}
else return true;
}
</script>
<script type="text/javascript" src="../js/nicEdit/nicEdit.js"></script>
<script language="JavaScript" type="text/JavaScript">
function browse()
{
form1.Filetex1.src = form1.Filetex1.value;
}
</script>
<script language="JavaScript" type="text/JavaScript">
function browse()
{
form1.Filetex2.src = form1.Filetex2.value;
}
</script>
<title>ข้อมูลโครงการวิชาการ</title>
</head>
<body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<?php
include("../templates/incHeader.php");
?>
<table width="1003" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="203" align="left" valign="top" style="padding:10px 0px 0px 5px"><?php include("./_incMainMenu.php");?></td>
<td width="800" height="440" align="center" valign="top" style="padding:10px 0px 5px 10px"><fieldset>
<table width="769" border="0" cellspacing="0" cellpadding="0">
<form action="EditOutreac.php?outreacId=<?=$outreacId ;?>" method="post" enctype="multipart/form-data" name="form1" id="form1">
<tr>
<td width="769" height="5"></td>
</tr>
<tr>
<td height="30" background="../images/background/bg-head-topic-w780.gif" class="PADDING-LEFT-10"><strong><a href="index.php">หน้าหลัก</a></strong> <strong>»<strong><a href="addOutreac.php">บันทึกโครงการ</a></strong></strong> <strong>» <a href="TeachPlanDetail.php?outreacId=<?=$outreacId;?>&proId=<?=$rss['proId'];?>">รายละเอียดโครงการ</a> » <span class="NOTE">ข้อมูลโครงการ/กิจกรรมวิชาการ</span></strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td height="370" align="center" valign="top"><table width="99%" height="1329" border="0" align="center" cellpadding="0" cellspacing="2" bgcolor="#FFFFFF" style="border:0px solid gray">
<tr>
<td width="100%" height="21" colspan="2"><span class="PADDING-TOP-10"><img src="../images/icons/arrow-circle-225-left.png" width="16" height="16" border="0" align="absmiddle" /> <a href="javascript:;" onclick="window.history.back();"><strong>‹ ย้อนกลับ</strong></a></span></td>
</tr>
<tr >
<td colspan="2" align="left" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td colspan="2" align="left">๑. รหัสโครงการ
:
<input name="Orderlist" type="text" id="Orderlist" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="checkNumeric()" value="<?=$rss['Orderlist'];?>" size="10" readonly="readonly" /></td>
</tr>
<tr>
<td colspan="2" align="left"> ชื่อโครงการ: <?=$rss['Project_name'];?></td>
</tr>
<tr>
<td colspan="2" align="left">๒. ประเภทโครงการ แยกเป็น.ดังนี้</td>
</tr>
<tr>
<td colspan="2" align="left">
<a href="javascript:;" onclick="NewWindow('ShowTecherCourse.php?outreacId=<?=$outreacId; ?>&Budget_Year=<?=$rss['Budget_Year'];?>&Mint=21','Detail','750','450','yes')"><img src="../picture/new.gif" alt=" บันทึกรายวิชาที่บูรณาการ" width="16" height="16" border="0" /></a>
<input name="M21" type="checkbox" id="M21" value="1" <?=(trim($rss["M21"])=="1")?"checked":"";?> />
บูรณาการการเรียนการสอน (รายวิชา)</td>
</tr>
<tr>
<td colspan="2" align="left"><table width="762" border="0" align="center" cellpadding="1" cellspacing="1">
<?php
$query = " SELECT * FROM edu_integration WHERE outreacId='$outreacId' and Mint='21' ";
$result1 = mysql_query($query);
$no = 1+($display-1)*$limit;
while($rs1 = mysql_fetch_array($result1)){ ;
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF" ;
?>
<tr bgcolor="<?=$bgColor;?>" onmouseover="this.style.backgroundColor='#F5F9F9'" onmouseout="this.style.backgroundColor=''">
<td width="16" height="20" align="center"><?=$no;?></td>
<td width="719" align="left"><?php
$dbObj->RegDBConn();
$sql = "Select * From Course Where courseId ='$rs1[courseId]' ";
$result6= mysql_query($sql) or die("Error".mysql_error());
$rs6 = mysql_fetch_array($result6);
echo $rs6['courseCode'] ." ". $rs6['courseName'] ." ". $rs6['courseUnit'] ;
$dbObj->DBConn();
?> [<?=$rs1['Budget_Year'];?>]</td>
<td width="17" align="center"><a href="javascript:;" onclick="NewWindow('DelIntegration.php?integId=<?=$rs1['integId']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rs1['integId'];?>0(this)" alt="ลบข้อมูล" /></a></td>
</tr>
<?php
$no ++;
} # while
?>
</table></td>
</tr>
<tr>
<td colspan="2" align="left"> <a href="javascript:;" onclick="NewWindow('ShowResearch.php?outreacId=<?=$outreacId; ?>&Budget_Year=<?=$rss['Budget_Year'];?>&Mint=22','Detail','750','450','yes')"><img src="../picture/new.gif" alt=" บันทึกงานวิจัยหรือบทความที่บูรณาการ" width="16" height="16" border="0" /></a>
<input name="M22" type="checkbox" id="M22" value="1" <?=(trim($rss["M22"])=="1")?"checked":"";?> />
บูรณาการการกับงานวิจัย/บทความ</td>
</tr>
<tr>
<td colspan="2" align="left"><table width="764" border="0" align="center" cellpadding="1" cellspacing="1">
<?php
$query = " SELECT * FROM edu_integration WHERE outreacId='$outreacId' and Mint='22' ";
$result2 = mysql_query($query);
$no = 1+($display-1)*$limit;
while($rs2 = mysql_fetch_array($result2)){ ;
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF" ;
?>
<tr bgcolor="<?=$bgColor;?>" onmouseover="this.style.backgroundColor='#F5F9F9'" onmouseout="this.style.backgroundColor=''">
<td width="20" height="20" align="center"><?=$no;?></td>
<td width="717" align="left"><?php
$sql = "Select * From research_tb Where Research_code ='$rs2[Research_code]' ";
$result6= mysql_query($sql) or die("Error".mysql_error());
$rs6 = mysql_fetch_array($result6);
echo $rs6['Research_name'] ;
?> [
<?=$rs2['Budget_Year'];?>
] </td>
<td width="17" align="center"><a href="javascript:;" onclick="NewWindow('DelIntegration.php?integId=<?=$rs2['integId']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rs2['integId'];?>0(this)" alt="ลบข้อมูล" /></a></td>
</tr>
<?php
$no ++;
} # while
?>
</table></td>
</tr>
<tr>
<td colspan="2" align="left"> <a href="javascript:;" onclick="NewWindow('ShowPlanStd.php?outreacId=<?=$outreacId; ?>&Budget_Year=<?=$rss['Budget_Year'];?>&Mint=23','Detail','750','450','yes')"><img src="../picture/new.gif" alt=" บันทึกโครงการทำนุบำรงศิลปวัฒนธรรม" width="16" height="16" border="0" /></a>
<input name="M23" type="checkbox" id="M23" value="1" <?=(trim($rss["M23"])=="1")?"checked":"";?> />
บูรณาการทำนุบำรุงศิลปวัฒนธรรม</td>
</tr>
<tr>
<td colspan="2" align="left"><table width="763" border="0" align="center" cellpadding="1" cellspacing="2">
<?php
$query = " SELECT * FROM edu_integration WHERE outreacId='$outreacId' and Mint='23' ";
$result3 = mysql_query($query);
$no = 1+($display-1)*$limit;
while($rs3 = mysql_fetch_array($result3)){ ;
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF" ;
?>
<tr bgcolor="<?=$bgColor;?>" onmouseover="this.style.backgroundColor='#F5F9F9'" onmouseout="this.style.backgroundColor=''">
<td width="24" height="20" align="center"><?=$no;?></td>
<td width="707" align="left"><?php
$sql = "Select * From project_plan Where proId ='$rs3[proId]' ";
$result6= mysql_query($sql) or die("Error".mysql_error());
$rs6 = mysql_fetch_array($result6);
echo $rs6['Orderlist']." ".$rs6['Project_plan'] ; ?> [<?=$rs3['Budget_Year'];?>] </td>
<td width="18" align="center"><a href="javascript:;" onclick="NewWindow('DelIntegration.php?integId=<?=$rs3['integId']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rs3['integId'];?>0(this)" alt="ลบข้อมูล" /></a></td>
</tr>
<?php
$no ++;
} # while
?>
</table></td>
</tr>
<tr>
<td colspan="2" align="left"> <a href="javascript:;" onclick="NewWindow('ShowPlanStd.php?outreacId=<?=$outreacId; ?>&Budget_Year=<?=$rss['Budget_Year'];?>&Mint=24','Detail','750','450','yes')"><img src="../picture/new.gif" alt=" บันทึกโครงการพัฒนาบุคลากรด้านสุขภาพ" width="16" height="16" border="0" /></a>
<input name="M24" type="checkbox" id="M24" value="1"<?=(trim($rss["M24"])=="1")?"checked":"";?> />
พัฒนาบุคลากรด้านสุขภาพ</td>
</tr>
<tr>
<td colspan="2" align="left"><table width="763" border="0" align="center" cellpadding="1" cellspacing="1">
<?php
$query = " SELECT * FROM edu_integration WHERE outreacId='$outreacId' and Mint='24' ";
$result5 = mysql_query($query);
$no = 1+($display-1)*$limit;
while($rs5 = mysql_fetch_array($result5)){ ;
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF" ;
?>
<tr bgcolor="<?=$bgColor;?>" onmouseover="this.style.backgroundColor='#F5F9F9'" onmouseout="this.style.backgroundColor=''">
<td width="19" height="20" align="center"><?=$no;?></td>
<td width="717" align="left"><?php
$sql = "Select * From project_plan Where proId ='$rs5[proId]' ";
$result6= mysql_query($sql) or die("Error".mysql_error());
$rs6 = mysql_fetch_array($result6);
echo $rs6['Orderlist']." ".$rs6['Project_plan'] ; ?> [<?=$rs5['Budget_Year'];?>]</td>
<td width="17" align="center"><a href="javascript:;" onclick="NewWindow('DelIntegration.php?integId=<?=$rs5['integId']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rs5['integId'];?>0(this)" alt="ลบข้อมูล" /></a></td>
</tr>
<?php
$no++;
} # while
?>
</table></td>
</tr>
<tr>
<td height="16" colspan="2" align="left">๓. กลุ่มเป้าหมาย </td>
</tr>
<tr>
<td height="21" colspan="2" align="left">
<input name="M31" type="checkbox" id="M31" value="3" <?=(trim($rss["M31"])=="3")?"checked":"";?> />
ประชาชนทั่วไป
<input name="M32" type="checkbox" id="M32" value="3" <?=(trim($rss["M32"])=="3")?"checked":"";?> />
นักเรียน/นักศึกษา
<input name="M33" type="checkbox" id="M34" value="3" <?=(trim($rss["M34"])=="3")?"checked":"";?> />
พยาบาลวิชาชีพ
<input name="M34" type="checkbox" id="M33" value="3" <?=(trim($rss["M33"])=="3")?"checked":"";?> />
อาจารย์พี่เลี้ยง
<input name="M36" type="checkbox" id="M36" value="3"<?=(trim($rss["M36"])=="3")?"checked":"";?> />
ศิษย์เก่า
<input name="M37" type="checkbox" id="M37" value="3" <?=(trim($rss["M37"])=="3")?"checked":"";?> />
เจ้าหน้าที่สาธารณสุข</td>
</tr>
<tr>
<td height="23" colspan="2" align="left">
<input type="checkbox" name="M35" id="Checkbox" value="3" <?=(trim($rss["M35"])=="5")?"checked":"";?> />
อื่นๆ ระบุ
<input name="M35_Detail" type="text" id="M35_Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['M35_Detail'];?>" size="50" /></td>
</tr>
<tr>
<td colspan="2" align="left"> </td>
</tr>
<tr>
<td colspan="2" align="left">๔. การเสริมสร้างความเข้มแข็งให้กับชุมชนหรือองค์กรภายนอก </td>
</tr>
<tr>
<td colspan="2" align="left"> <input type="radio" name="M4" id="radio" value="Y" <?=(trim($rss["M4"])=="Y")?"checked":"";?> />
ใช่
<input type="radio" name="M4" id="radio" value="N" <?=(trim($rss["M4"])=="N")?"checked":"";?> />
ไม่ใช่</td>
</tr>
<tr>
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr>
<td colspan="2" align="left">๕. ผลการชี้นำ ป้องกัน หรือแก้ปัญหาของสังคมในด้านต่างๆ</td>
</tr>
<tr>
<td colspan="2" align="left"> <input type="radio" name="M5" id="radio" value="N" <?=(trim($rss["M5"])=="N")?"checked":"";?> />
ไม่ใช่
<input type="radio" name="M5" id="radio" value="Y" <?=(trim($rss["M5"])=="Y")?"checked":"";?> />
ใช่ </td>
</tr>
<tr>
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr>
<td height="16" colspan="2" align="left">๖. ระยะเวลาดำเนินการ </td>
</tr>
<tr >
<td height="16" colspan="2" align="left"><table width="759" border="0" cellpadding="0" cellspacing="3">
<tr>
<td width="698"> ปีงบประมาณ
<input name="Budget_Year" type="text" id="Budget_Year" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="checkNumeric()" value="<?=$rss['Budget_Year'];?>" size="5" maxlength="4" />
ปีการศึกษา
<input name="AcademicYear" type="text" id="AcademicYear" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" onkeypress="checkNumeric()" value="<?=$rss['AcademicYear'];?>" size="5" maxlength="4" /></td>
<td width="52"> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="left"> วันที่ดำเนินงาน
<input name="Location2" type="text" id="Location2" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php
$sday = $rss['Date_start'];
$yearthai = explode("-",$sday);
$day = intval($yearthai[2]);
$month = intval($yearthai[1]);
$year = intval($yearthai[0]);
$m = getThaiSubMonth($month);
echo "$day"." "."$m"." "."$year";
?>
-
<?php
$sday = $rss['Date_finish'];
$yearthai = explode("-",$sday);
$day = intval($yearthai[2]);
$month = intval($yearthai[1]);
$year = intval($yearthai[0]);
$m = getThaiSubMonth($month);
echo "$day"." "."$m"." "."$year";
?>" size="40" /></td>
<td align="left"> </td>
</tr>
<tr bgcolor="#FFFFFF" >
<td align="left"> วันที่รับสมัคร <input name="Location3" type="text" id="Location3" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php
$sday = $rss['Date_in'];
$yearthai = explode("-",$sday);
$day = intval($yearthai[2]);
$month = intval($yearthai[1]);
$year = intval($yearthai[0]);
$m = getThaiSubMonth($month);
echo "$day"." "."$m"." "."$year";
?>
-
<?php
$sday = $rss['Date_out'];
$yearthai = explode("-",$sday);
$day = intval($yearthai[2]);
$month = intval($yearthai[1]);
$year = intval($yearthai[0]);
$m = getThaiSubMonth($month);
echo "$day"." "."$m"." "."$year";
?>" size="40" /></td>
<td align="left"> </td>
</tr>
<tr bgcolor="#FFFFFF" >
<td height="23" align="left"> หน่วยงานที่รับผิดชอบ
<input name="Location4" type="text" id="Location4" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?php
$Faculty_code = $rss["Faculty_code"];
$sql = "Select * From faculty_tb Where Faculty_code='$Faculty_code'";
$result1 = mysql_query($sql) or die("Error".mysql_error());
$rs2 = mysql_fetch_array($result1);
echo "$rs2[Faculty_name] ";
?>" size="40" />
</font></td>
<td align="left"> </td>
</tr>
</table></td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr >
<td height="16" colspan="2" align="left"><p>๗. สถานที่จัดบริการ</p></td>
</tr>
<tr >
<td height="23" colspan="2" align="left"> <input type="radio" name="M7" id="radio" value="1" <?=(trim($rss["M7"])=="1")?"checked":"";?> onclick="checkAssign1(this,form1.Location)"/>
ในวิทยาลัย ระบุห้อง
<input name="Location" type="text" id="Location" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Location'];?>" size="50" />
</td>
</tr>
<tr >
<td height="23" colspan="2" align="left"> <input type="radio" name="M7" id="radio" value="2" <?=(trim($rss["M7"])=="2")?"checked":"";?> onclick="checkAssign2(this,form1.Location1)" />
นอกวิทยาลัย ระบุ
<input name="Location1" type="text" id="Location1" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['LocationOut'];?>" size="50" />
</td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr >
<td height="16" colspan="2" align="left">๘. งบประมาณ</td>
</tr>
<tr >
<td height="23" colspan="2" align="left"> <input type="radio" name="M8" id="radio" value="1" <?=(trim($rss["M8"])=="1")?"checked":"";?> />
งบวิทยาลัย</td>
</tr>
<tr >
<td height="23" colspan="2" align="left"> <input type="radio" name="M8" id="radio" value="2" <?=(trim($rss["M8"])=="2")?"checked":"";?> onclick="checkAssign1(this,form1.M8_Detail)"/>
งบนอกวิทยาลัย ระบุ
<input name="M8_Detail" type="text" id="M8_Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['M8_Detail'];?>" size="60" />
(ระบุแหล่งงบประมาณ เช่น อบต/อบจ )</td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr >
<td height="16" colspan="2" align="left">๙. การลงทะเบียน </td>
</tr>
<tr >
<td height="23" colspan="2" align="left"> <input type="radio" name="M9" id="radio" value="N" <?=(trim($rss["M9"])=="N")?"checked":"";?> />
ไม่เก็บค่าลงทะเบียน
<input type="radio" name="M9" id="radio" value="Y" <?=(trim($rss["M9"])=="Y")?"checked":"";?> onclick="checkAssign1(this,form1.Budget_fee)" />
ลงทะเบียน จำนวน
<input name="Budget_fee" type="text" id="Budget_fee" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Budget_fee'];?>" size="5" onkeypress="checkNumeric()" />
บาท </td>
</tr>
<tr >
<td height="16" colspan="2" align="left"><hr /></td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr >
<td height="16" colspan="2" align="left"><strong>๑๐. ผลของโครงการ</strong></td>
</tr>
<tr align="center" >
<td height="23" colspan="2" align="left">๑๐.๑. การบรรลุเป้าหมาย </td>
</tr>
<tr >
<td height="21" colspan="2" align="left"> <input type="radio" name="M101" id="radio" value="1" <?=(trim($rss["M101"])=="2")?"checked":"";?> />
ครบทุกข้อ
<input type="radio" name="M101" id="radio" value="2" <?=(trim($rss["M101"])=="2")?"checked":"";?> onclick="checkAssign1(this,form1.M101_Detail)" />
ไม่ครบทุกข้อ ระบุ
<input name="M101_Detail" type="text" id="M101_Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Detail'];?>" size="50" /></td>
</tr>
<tr >
<td height="21" colspan="2" align="left">๑๐.๒. คะแนนเฉลี่ยความพึงพอใจของผู้รับบริการ </td>
</tr>
<tr >
<td height="23" colspan="2" align="left"> <input type="radio" name="M102" id="radio" value="1" <?=(trim($rss["M102"])=="1")?"checked":"";?> />
มากกว่า 3.51 ขึ้นไป
<input type="radio" name="M102" id="radio" value="2"<?=(trim($rss["M102"])=="2")?"checked":"";?> />
เท่ากับ
3.51
<input type="radio" name="M102" id="radio" value="3"<?=(trim($rss["M102"])=="3")?"checked":"";?> />
น้อยกว่า 3.51</td>
</tr>
<tr >
<td height="23" colspan="2" align="left"><p>๑๐.๓. จำนวนผู้เข้าร่วมโครงการ จำนวน
<input name="Target_group" type="text" id="Target_group" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Target_group'];?>" size="5" />
</font>คน</p></td>
</tr>
<tr align="center" >
<td height="21" colspan="2" align="left"> <input type="radio" name="M103" id="radio" value="1" <?=(trim($rss["M103"])=="1")?"checked":"";?> />
เป็นไปตามเป้าหมาย
<input type="radio" name="M103" id="radio" value="2" <?=(trim($rss["M103"])=="2")?"checked":"";?> />
มากกว่าเป้าหมาย
<input type="radio" name="M103" id="radio" value="3" <?=(trim($rss["M103"])=="3")?"checked":"";?> />น้อยกว่าเป้าหมาย</td>
</tr>
<tr >
<td height="23" colspan="2" align="left">๑๐.๔. งบประมาณที่ใช้ ระบุ
<input name="Budget" type="text" id="Budget" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Budget'];?>" size="10" />
บาท
</td>
</tr>
<tr >
<td height="23" colspan="2" align="left">
<input name="M104" type="checkbox" id="M104" value="Y" <?=(trim($rss["M104"])=="Y")?"checked":"";?> />
เป็นไปตามที่กำหนด </td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> <input type="radio" name="M1041" id="radio" value="1" <?=(trim($rss["M1041"])=="1")?"checked":"";?> />
น้อยกว่า
<input type="radio" name="M1041" id="radio" value="2" <?=(trim($rss["M1041"])=="2")?"checked":"";?> onclick="checkAssign1(this,form1.M1041_Detail)" />
มากกว่า
<input name="M1041_Detail" type="text" id="M1041_Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['M1041_Detail'];?>" size="5" onkeypress="checkNumeric()" /></td>
</tr>
<tr >
<td height="16" colspan="2" align="left"><p>๑๐.๕. การสร้างรายรับให้กับสถาบัน
</td>
</tr>
<tr >
<td height="23" colspan="2" align="left"> <input type="radio" name="M105" id="radio" value="N" <?=(trim($rss["M105"])=="N")?"checked":"";?>/>
ไม่ใช่
<input type="radio" name="M105" id="radio" value="Y" <?=(trim($rss["M105"])=="Y")?"checked":"";?> onclick="checkAssign1(this,form1.Budget_colleg)" />
ใช่ ระบุ จำนวน
<input name="Budget_colleg" type="text" id="Budget_colleg" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Budget_colleg'];?>" size="5" onkeypress="checkNumeric()" />
บาท</td>
</tr>
<tr >
<td height="16" colspan="2" align="left">๑๐.๖. ได้คะแนนการศึกษาต่อเนื่อง </td>
</tr>
<tr >
<td height="23" colspan="2" align="left"> <input type="radio" name="M106" id="radio" value="N" <?=(trim($rss["M106"])=="N")?"checked":"";?>/>
ไม่ได้
<input type="radio" name="M106" id="radio" value="Y" <?=(trim($rss["M106"])=="Y")?"checked":"";?> onclick="checkAssign1(this,form1.Cradit)" />
ได้ ระบุ
<input name="Cradit" type="text" id="Cradit" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['Cradit'];?>" size="5" onkeypress="checkNumeric()" />
คะแนน</td>
</tr>
<tr >
<td height="16" colspan="2" align="left">๑๐.๗. วิทยากร </td>
</tr>
<tr >
<td height="23" colspan="2" align="left">
<input name="M107" type="checkbox" id="M107" onclick="checkAssign1(this,form1.LecturerIn),checkAssign2(this,form1.HoursIn)" value="1" <?=(trim($rss["M107"])=="1")?"checked":"";?>/>
ภายในสถาบันจำนวน
<input name="LecturerIn" type="text" id="LecturerIn" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['LecturerIn'];?>" size="5" onkeypress="checkNumeric()" />
คน จำนวน
<input name="HoursIn" type="text" id="HoursIn" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['HoursIn'];?>" size="5" onkeypress="checkNumeric()" />
ชั่วโมง </td>
</tr>
<tr >
<td height="23" colspan="2" align="left"> <input name="M108" type="checkbox" id="M108" onclick="checkAssign1(this,form1.LecturerOut),checkAssign2(this,form1.HoursOut)" value="2" <?=(trim($rss["M108"])=="2")?"checked":"";?> />
ภายนอกสถาบันจำนวน
<input name="LecturerOut" type="text" id="LecturerOut" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['LecturerOut'];?>" size="5" onkeypress="checkNumeric()" />
คน จำนวน
<input name="HoursOut" type="text" id="HoursOut" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['HoursOut'];?>" size="5" onkeypress="checkNumeric()" />
ชั่วโมง </td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr >
<td height="16" colspan="2" align="left">๑๐.๘. รายชื่อวิทยากร (ภายในและภายนอก) </td>
</tr>
<tr >
<td height="22" colspan="2" align="left"><table width="459" border="0" align="left" cellpadding="1" cellspacing="2">
<tr bgcolor="<?=$bgColor;?>" onmouseover="this.style.backgroundColor='#F5F9F9'" onmouseout="this.style.backgroundColor=''">
<td height="20" align="center"><a href="javascript:;" onclick="NewWindow('addInstructor.php?outreacId=<?=$outreacId; ?>','Detail','600','300','yes')"><img src="../picture/new.gif" alt=" บันทึกวิทยากร" width="16" height="16" border="0" /></a></td>
<td align="left">บันทึกวิทยากร</td>
<td align="center"> </td>
</tr>
<?php
$query = " SELECT * FROM edu_instructor WHERE outreacId='$outreacId' ";
$result5 = mysql_query($query);
$no = 1+($display-1)*$limit;
while($rs5 = mysql_fetch_array($result5)){ ;
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF" ;
?>
<tr bgcolor="<?=$bgColor;?>" onmouseover="this.style.backgroundColor='#F5F9F9'" onmouseout="this.style.backgroundColor=''">
<td width="22" height="20" align="center"><?=$no?></td>
<td width="407" align="left"><?php
$sql = "Select * From instructor_tb it , edu_instructor et Where it.code ='$rs5[code]' and it.code = et.code ";
$result6= mysql_query($sql) or die("Error".mysql_error());
$rs6 = mysql_fetch_array($result6);
echo $rs6['First_name'] . $rs6['Name'] ." ". $rs6['Lastname'] ; ?></td>
<td width="20" align="center"><a href="javascript:;" onclick="NewWindow('DelOutreac.php?code=<? echo $rs6['code']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rs6['code'];?>0(this)" alt="ลบข้อมูล" /></a></td>
</tr>
<?php
$no++;
} # while
?>
</table></td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr >
<td height="16" colspan="2" align="left">๑๐.๙. รายชื่อคณะกรรมการหรือผู้เข้าร่วมโครงการ (เฉพาะบุคคลภายในองค์กร)</td>
</tr>
<tr >
<td height="16" colspan="2" align="left"><table width="586" border="0" align="left" cellpadding="1" cellspacing="2">
<tr bgcolor="<?=$bgColor;?>" onmouseover="this.style.backgroundColor='#F5F9F9'" onmouseout="this.style.backgroundColor=''">
<td height="20" align="center"><a href="javascript:;" onclick="NewWindow('addOutTeacher.php?outreacId=<?=$outreacId; ?>','Detail','600','300','yes')"><img src="../picture/new.gif" alt=" บันทึกคณะกรรมการหรือผู้เข้าร่วมโครงการ" width="16" height="16" border="0" /></a></td>
<td align="left">บันทึกคณะกรรมการ</td>
<td align="center">หน้าที่</td>
<td align="center"> </td>
</tr>
<?php
$query = " SELECT * FROM edu_servicteacher WHERE outreacId='$outreacId' ";
$result7 = mysql_query($query);
$no = 1+($display-1)*$limit;
while($rs7 = mysql_fetch_array($result7)){ ;
$bgColor = ( $bgColor == "#FFFFFF" ) ? "#F9FBFB" : "#FFFFFF" ;
?>
<tr bgcolor="<?=$bgColor;?>" onmouseover="this.style.backgroundColor='#F5F9F9'" onmouseout="this.style.backgroundColor=''">
<td width="29" height="20" align="center"><?=$no;?></td>
<td width="285" align="left"><?php
$sql = "Select *, prefixName as First_name FROM personal_tb LEFT JOIN prefix ON personal_tb.First_name = prefix.prefixId Where Teacher_code='$rs7[Teacher_code]' ";
$result1 = mysql_query($sql) or die("Error".mysql_error());
$rs2 = mysql_fetch_array($result1);
echo "$rs2[First_name]$rs2[Teacher_name] $rs2[Teacher_lastname]";
?></td>
<td width="259" align="left"><?=$rs7['OutTeacher'];?></td>
<td width="27" align="center"><a href="javascript:;" onclick="NewWindow('DelOutTeacher.php?servitId=<? echo $rs7['servitId']?>','Detail','500','200','yes');"><img src="../images/icons/cross.png" width="16" height="16" align="absmiddle" border="0" onclick="return Conf<?=$rs7['servitId'];?>0(this)" alt="ลบข้อมูล" /></a></td>
</tr>
<?php
$no++;
} # while
?>
</table></td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr >
<td height="16" colspan="2" align="left">๑๑.
<input name="M11" type="checkbox" id="M11" value="Y"<?=(trim($rss["M11"])=="Y")?"checked":"";?> />
การนำไปใช้ประโยชน์
<input name="M11_Detail" type="text" id="M11_Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['M11_Detail'];?>" size="90"/></td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr >
<td height="16" colspan="2" align="left">๑๒. ประเด็นที่นำมาบูรณาการกับการเรียนการสอน/วิจัย
<input name="M12_Detail" type="text" id="M12_Detail" style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: black 1px dashed" value="<?=$rss['M12_Detail'];?>" size="70"/></td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr >
<td height="16" colspan="2" align="left">๑๓ .เอกสาร </td>
</tr>
<tr >
<td height="70" colspan="2" align="left"><table width="565" border="0" cellpadding="1" cellspacing="6">
<tr>
<td width="171"> โหลดโครงการ</td>
<td width="384">
<?php if( $rss['Filetex1'] != "" ) { ?>
<a href="<?=$doc_path;?>/<?=$rss['Filetex1'];?>" target="_blank"><img src="../images/icons/download.png" alt="ดาวน์โหลดไฟล์ <?=$rss['Project_name'];?>" border="0" /></a>
<?php } else { ?>
<img src="../images/icons/download_off.png" />
<?php } ?>
</td>
</tr>
<tr>
<td>โหลดสรุปโครงการ</td>
<td>
<?php if( $rss['Filetex2'] != "" ) { ?>
<a href="<?=$doc_path;?>/<?=$rss['Filetex2'];?>" target="_blank"><img src="../images/icons/download.png" alt="ดาวน์โหลดไฟล์ <?=$rs['Project_name'];?>" border="0" /></a>
<?php } else { ?>
<img src="../images/icons/download_off.png" />
<?php } ?>
</span></td>
</tr>
</table></td>
</tr>
<tr >
<td height="16" colspan="2" align="left"> </td>
</tr>
<tr>
<td height="24" colspan="2" align="center" bgcolor="#FFFFFF"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr></form>
</table>
</fieldset></td>
</tr>
</table>
<?php include("../templates/incFooter.php"); ?>
</body>
</html>
<?php
/** Free Resource */
$dbObj->freeresult($result);
/** Close the Database */
$dbObj->disconn();
/** Unset Class */
unset($dbObj);
?>
|