Viewing file: ReportOutreac.php (15.93 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" );
/** Create Database Object */
$dbObj = new DBConn;
/** Config Table for This Page */
$myTable = "dev_his";
$Username = $valid_user;
$query = " SELECT * FROM $myTable WHERE Year_std='$Year_std' ";
$result = $dbObj->execQuery($query);
$rs = $dbObj->fetchObject($result);
} # 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" />
<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="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
<tr>
<td height="30" background="../images/background/bg-head-topic-w780.gif" style="padding-left:15px;"><strong><a href="index.php">หน้าหลัก</a> » ข้อมูลรายเกี่ยวกับโครงการบริการวิชาการ</strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><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 align="center"><table width="90%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td align="center"> </td>
<td height="20" colspan="3" align="left"> </td>
</tr>
<tr>
<td align="center"><img src="../images/icons/database-arrow.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td height="20" colspan="3" align="left">๑.รายงานเกี่ยวกับโครงการ</td>
</tr>
<tr>
<td width="3%" align="center"> </td>
<td width="3%" height="20" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td width="75%"><a href="MIO101.php?M21=1">๑.๑.จำนวนโครงการที่บูรณาการกับการเรียนการสอน</a></td>
<td width="19%" align="center">
(<?
$sql = " SELECT * FROM edu_service_tb WHERE M21='1' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?> โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td><a href="MIO102.php?M22=1">๑.๒.จำนวนโครงการที่บูรณาการการกับงานวิจัย/บทความ</a></td>
<td align="center">(<?
$sql = " SELECT * FROM edu_service_tb WHERE M22='1' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td><a href="MIO103.php?M23=1">๑.๓.จำนวนโครงการที่บูรณาการการกิจการนักศึกษา</a></td>
<td align="center">(<?
$sql = " SELECT * FROM edu_service_tb WHERE M23='1' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td><a href="MIO104.php?M24=1">๑.๔.จำนวนโครงการที่พัฒนาบุคลากรด้านสุขภาพ</a></td>
<td align="center">(<?
$sql = " SELECT * FROM edu_service_tb WHERE M24='1' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td>๑.๕.โครงการที่แยกตามกลุ่มเป้าหมาย</a></td>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"> </td>
<td>- ประชาชนทั่วไป</td>
<td align="center">(
<?
$sql = " SELECT * FROM edu_service_tb WHERE M3='1' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"> </td>
<td>- นักเรียน/นักศึกษา</td>
<td align="center">(
<?
$sql = " SELECT * FROM edu_service_tb WHERE M3='2' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"> </td>
<td>- พยาบาลวิชาชีพ </td>
<td align="center">(
<?
$sql = " SELECT * FROM edu_service_tb WHERE M3='3' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"> </td>
<td>- อาจารย์พี่เลี้ยง</td>
<td align="center">(
<?
$sql = " SELECT * FROM edu_service_tb WHERE M3='4' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"> </td>
<td>- อื่นๆ ระบ</td>
<td align="center">(
<?
$sql = " SELECT * FROM edu_service_tb WHERE M3='5' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td><a href="YearMission.php">๑.๖.จำนวนตามพันธกิจโครงการแสดงรายปีงบประมาณ</a></td>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td><a href="YearAcademic.php">๑.๗.จำนวนตามพันธกิจโครงการแสดงรายปีการศึกษา</a></td>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
<td height="18" align="center"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" colspan="3" align="left">๒.ผลของโครงการ</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td><a href="MIO03.php?M101=1">๒.๑.การบรรลุเป้าหมายครบทุกข้อ</a></td>
<td align="center">(
<?
$sql = " SELECT * FROM edu_service_tb WHERE M101='1' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td><a href="MIO02.php?M102=1">๒.๒.คะแนนเฉลี่ยความพึงพอใจของผู้รับบริการมากกว่า ๓.๕๑ ขึ้นไป</a></td>
<td align="center">(
<?
$sql = " SELECT * FROM edu_service_tb WHERE M102='1' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td><a href="MIO02.php?M102=2">๒.๓.คะแนนเฉลี่ยความพึงพอใจของผู้รับบริการเท่ากับ ๓.๕๑ </a></td>
<td align="center">(
<?
$sql = " SELECT * FROM edu_service_tb WHERE M102='2' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="18" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td><a href="MIO02.php?M102=3">๒.๔.คะแนนเฉลี่ยความพึงพอใจของผู้รับบริการน้อยกว่า ๓.๕๑ </a></td>
<td align="center">(
<?
$sql = " SELECT * FROM edu_service_tb WHERE M102='3' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="18" align="center"><img src="../images/icons/gear--pencil.png" alt="" width="16" height="16" align="absmiddle" /></td>
<td>๒.๕.การสร้างรายรับให้กับสถาบัน </a> จำนวนเงิน <?php
$sql1 = " SELECT SUM(Budget_colleg) AS SumB1 FROM edu_service_tb WHERE M105='Y' ";
$result1 = mysql_query($sql1);
$rss1 = mysql_fetch_array($result1);
echo number_format($rss1['SumB1'],2,'.',',');
?>
</a></td>
<td align="center">(
<?
$sql = " SELECT * FROM edu_service_tb WHERE M105='Y' " ;
$result3 = $dbObj->execQuery($sql);
$countnum = $dbObj->_numrows;
$dbObj->freeresult($result3);
$sum += $countnum;
?>
<?php if( $countnum != "0" ) echo "<font color=blue>".number_format( $countnum )."</font>"; else echo number_format( $countnum ); ?>
โครงการ)</td>
</tr>
<tr>
<td align="center"> </td>
<td height="18" align="center"> </td>
<td> </td>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
<td height="18" align="center"> </td>
<td> </td>
<td align="center"> </td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" colspan="3" align="left"> </td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td align="center"> </td>
<td height="20" align="center"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
</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);
?>
|