|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /var/www/html/pathumthani_integration/requirement/application/ecomplain/ |
Upload File : |
<?
include "../../config/config.inc.php";
include("function/function.php");
//insert timeQuery
include("../../common/common_system.inc.php");
$ApplicationName="ecomplain";
$time_start = getmicrotime();
//insert timeQuery
?>
<html>
<head>
<title><?=$show_title_comp?></title>
<META http-equiv=Content-Type content="text/html; charset=windows-874">
<link href="../../common/style.css" type="text/css" rel="stylesheet" />
<script language='javascript' src='daily_popcalendar.js'></script>
<script language='javascript' src='displayelement.js'></script>
<style type="text/css">
<!--
body { margin: 0px 0px; padding: 0px 0px}
a:link { color: #005CA2; text-decoration: none}
a:visited { color: #005CA2; text-decoration: none}
a:active { color: #0099FF; text-decoration: underline}
a:hover { color: #0099FF; text-decoration: underline}
.p_border{
border-bottom:2 solid #DADCED;
}
-->
</style>
</head>
<body >
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#144C85', EndColorStr='#ffffff');">
<tr>
<td valign="top" background="bimg/bg1.gif" style="background-repeat: no-repeat; background-position:right bottom "><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td valign="top"></td></tr>
<tr>
<td valign="top" >
<table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td align="center" valign="top" bgcolor="#D0D9FB" class="link_back"><strong>หน่วยงานที่รับผิดชอบ </strong></td>
<td align="center" bgcolor="#D0D9FB"><strong>ผลการดำเนินการ</strong></td>
</tr>
<?
$sql_act = "SELECT
epm_staffgroup.groupname,
tbl_complain_sent.process_c1,
tbl_complain_sent.process_c1_1,
tbl_complain_sent.process_c1_2,
tbl_complain_sent.process_c2,
tbl_complain_sent.process_c3_other,
tbl_complain_sent.org_main
FROM
tbl_complain_sent
Inner Join epm_staffgroup ON tbl_complain_sent.org_id = epm_staffgroup.gid
where com_app_id = '$runid' ORDER BY runid ASC";
echo " $sql_act ";
die;
$result_act = mysql_db_query($dbname,$sql_act);
$i=0;
while($rs_act = mysql_fetch_assoc($result_act)){
$bg = ($i%2)?'#F1F1F1':'FFFFFF';$i++;
?>
<tr bgcolor="<?=$bg?>">
<td width="33%" align="left" valign="top" class="link_back"><strong>
<?=$rs_act[groupname]?>
</strong></td>
<td width="67%" align="left"><strong>
<?
if($rs_act[process_c1] == "c1" ){
echo " - ดำเนินการสอบสวนทางวินัย โดย : ";
}
if($rs_act[process_c1_1] == "c1_1"){
echo " อยู่ระหว่างการสอบสวน <br> ";
}
if($rs_act[process_c1_2] == "c1_2" ){
echo " สอบสวนเสร็จแล้ว<br> ";
}
if($rs_act[process_c2] == "c2"){
echo " - ร้องทุกข์กล่าวโทษเพื่อดำเนินคดีอาญา <br>";
}
if($rs_act[process_c3_other] != "" and $rs_act[process_c3_other] != NULL){
echo " - $rs_act[process_c3_other] ";
}
if(($rs_act[process_c1] == "" or $rs_act[process_c1] == NULL) and ($rs_act[process_c2] == "" or $rs_act[process_c2] == NULL) and ($rs_act[process_c3_other] == "" or $rs_act[process_c3_other] == NULL) and ($rs_act[process_c1_1] == "" or $rs_act[process_c1_1] == NULL) and ($rs_act[process_c1_2] == "" or $rs_act[process_c1_2] == NULL)){
echo " ยังไม่ได้ดำเนินการ ";
}
?>
</strong></td>
</tr>
<?
}
?>
<tr>
<td colspan="2" align="center" valign="top" bgcolor="#D0D9FB"><input type="button" name="btnC" value="ปิดหน้าต่าง" onClick="window.close();"></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<?
//insert timeQuery
$time_end = getmicrotime();
writetime2db($timestart,$timeend);
//insert timeQuery
?>