|
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 : /home/pathumthani_integration/integration/application/labor/ |
Upload File : |
<?
session_start() ;
set_time_limit(0) ;
include_once("../../config/config_epm.inc.php");
include_once("function/function.inc.php");
include_once("../../inc/function.php");
$time_start = getmicrotime();
?>
<?
$arrPrename = array();
$strSQL = "SELECT id, prename_th FROM tbl_prename ORDER BY priority ASC";
$rsConn = mysql_query($strSQL);
while( $Result = mysql_fetch_array($rsConn) ) {
$arrPrename[$Result['id']] = $Result['prename_th'];
}
?>
<?
if( $_SERVER['REQUEST_METHOD'] == "GET" && $_GET['del_id'] && $_GET['hAction'] == "Delete" ) {
$strSQL = "DELETE FROM labor_dismissal WHERE dismissal_id='".$_GET['del_id']."'";
mysql_query($strSQL);
}
?>
<!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=tis-620" />
<title><?=$title_name?></title>
<script language="javascript">
function mOvr(src,clrOver){
if (!src.contains(event.fromElement)) src.bgColor = clrOver;
}
function mOut(src,clrIn){
if (!src.contains(event.toElement)) src.bgColor = clrIn;
}
</script>
<style type="text/css">
<!--
A:link {
FONT-SIZE: 12px;color: #000000; FONT-FAMILY: Tahoma, "Microsoft Sans Serif";TEXT-DECORATION: underline;FONT-WEIGHT: bold;
}
A:visited {
FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: Tahoma, "Microsoft Sans Serif"; TEXT-DECORATION: underline;FONT-WEIGHT: bold;
}
A:active {
FONT-SIZE: 12px; COLOR: #014d5f; FONT-FAMILY: Tahoma, "Microsoft Sans Serif"; TEXT-DECORATION: underline;FONT-WEIGHT: bold;
}
A:hover {
FONT-SIZE: 12px; COLOR: #f3960b; FONT-FAMILY: Tahoma, "Microsoft Sans Serif"; TEXT-DECORATION: underline;FONT-WEIGHT: bold;
}
.h_menu {color:#FF9900}
-->
.bg_th{
background-image:url(images/horiz-bg.png);
background-repeat:repeat-x;
background-color:#305086;
font-weight:bold;
color:#FFFFFF;
text-align:center;
}
.bg_th1{
background-repeat:repeat-x;
background-color:#305086;
font-weight:bold;
color:#FFFFFF;
text-align:center;
}
</style>
<link href="../../common/tooltip/css/style.css" type="text/css" rel="stylesheet">
<script src="../../common/tooltip/jquery_1_3_2.js"></script>
<script>
//File Ajax tooltip
var url_tooltip = 'http://<?php echo $_SERVER['SERVER_NAME'];?>/pathumthani_integration/integration/application/pauper_surway/ajax.pauper_surway.php';
</script>
<script src="../../common/tooltip/tooltip_personal.js"></script>
<script language=JavaScript>
function Conf(object) {
if (confirm("แน่ใจว่าจะลบข้อมูล")==true) {
return true;
}
return false;
}
function CheckIsIE() {
if (navigator.appName.toUpperCase() == 'MICROSOFT INTERNET EXPLORER') { return true;}
else { return false; }
}
function PrintThisPage() {
if (CheckIsIE() == true) {
parent.iframe1.focus();
parent.iframe1.print();
} else {
window.frames['iframe1'].focus();
window.frames['iframe1'].print();
}
}
</script>
<style type="text/css">
<!--
.bg_th2 { background-image:url(images/horiz-bg.png);
background-repeat:repeat-x;
background-color:#305086;
font-weight:bold;
color:#FFFFFF;
text-align:center;
text-decoration: none;
}
.style1 {color: #666666}
.style5 {font-size: 12px}
.style6 {color: #666666; font-weight: bold; font-size: 12px; }
-->
</style>
</head>
<body>
<?
$strSearch="";
if($_GET['p']){
$strSearch.="&p=".$_GET['p'];
}
$strSQL_1 = "SELECT
labor_personal.id_card,
labor_personal.prename,
labor_personal.fname,
labor_personal.lname,
labor_personal.birthdate,
labor_dismissal.dismissal_id,
labor_dismissal.register_date,
labor_dismissal.company,
labor_dismissal_helpful.dismissal_helpful_id,
labor_dismissal_helpful.help_date
FROM
labor_personal INNER JOIN labor_dismissal ON labor_personal.id_card=labor_dismissal.id_card
LEFT JOIN labor_dismissal_helpful ON labor_dismissal.dismissal_id=labor_dismissal_helpful.dismissal_id
WHERE
labor_dismissal.dismissal_id<>''"; #echo $strSQL_1;
####SQL SUM
$strSQL_sum = $strSQL_1;
if($_GET['start_register_date'] && $_GET['end_register_date']){
$arr_start_register_date = explode("/",$_GET['start_register_date']);
$arr_end_register_date = explode("/",$_GET['end_register_date']);
$strSQL_1.=" AND labor_dismissal.`register_date`
BETWEEN '".($arr_start_register_date[2]-543)."-".$arr_start_register_date[1]."-".$arr_start_register_date[0]."'
AND '".($arr_end_register_date[2]-543)."-".$arr_end_register_date[1]."-".$arr_end_register_date[0]."' ";
$strSearch.="&start_register_date=".$_GET['start_register_date']."&end_register_date=".$_GET['end_register_date'];
}
if($_GET['id_card']){
$strSQL_1 .= " AND labor_personal.`id_card` LIKE('%".str_replace("-","",$_GET['id_card'])."%') ";
$strSearch .= "&id_card=".$_GET['id_card'];
}
if($_GET['fname']){
$strSQL_1 .= " AND labor_personal.`fname` LIKE('%".$_GET['fname']."%') ";
$strSearch .= "&fname=".$_GET['fname'];
}
if($_GET['lname']){
$strSQL_1 .= " AND labor_personal.`lname` LIKE('%".$_GET['lname']."%') ";
$strSearch .= "&lname=".$_GET['lname'];
}
if($_GET['company']){
$strSQL_1 .= " AND labor_dismissal.`company` LIKE('%".$_GET['company']."%') ";
$strSearch .= "&company=".$_GET['company'];
}
if($_GET['dismissal_helpful_id']){
if($_GET['dismissal_helpful_id']=="Y"){
$strSQL_1 .= " AND (labor_dismissal_helpful.dismissal_helpful_id <> '' OR labor_dismissal_helpful.dismissal_helpful_id IS NOT NULL) ";
}else{
$strSQL_1 .= " AND (labor_dismissal_helpful.dismissal_helpful_id = '' OR labor_dismissal_helpful.dismissal_helpful_id IS NULL) ";
}
$strSearch .= "&dismissal_helpful_id=".$_GET['dismissal_helpful_id'];
}
$arrVal[0] = 0;
$arrVal[1] = 0;
$rsConn = mysql_query($strSQL_sum);
while ( $Result = mysql_fetch_array($rsConn) ) {
if ( $Result['dismissal_helpful_id'] ) {
$arrVal[0] += 1;
} elseif ( !$Result['dismissal_helpful_id'] ) {
$arrVal[1] += 1;
}
}
$arrPCVExSum[] = @array($arrVal[0], $arrVal[1]);
$arrPCExSum = percentage_2d($arrPCVExSum); #show($arrPCExSum);
?><br />
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><strong style="color:#000000; font-size:12px;">แบบคำร้องต่อพนักงานตรวจแรงงาน <br />
ตามพระราชบัญญัติคุ้มครองแรงงาน พ.ศ. ๒๕๔๑ (แบบ คร.๗)</strong></td>
</tr>
<tr>
<td align="center">ข้อมูล ณ วันที่ <?=dateFormat(date('Y-m-d'),'thaidot')?></td>
</tr>
</table>
<br />
<table width="99%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="60%" height="119" align="left" valign="top"><table width="60%" border="0" bgcolor="#CCCCCC" cellpadding="3" cellspacing="1">
<tr class="bg_th">
<td width="60%" align="center"><strong>การดำเนินการให้ความช่วยเหลือ</strong></td>
<td width="20%" align="center"><strong>จำนวน</strong></td>
<td width="20%" align="center"><strong>ร้อยละ</strong></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="left"><span class="style6">ได้รับการวินิจฉัยคำร้อง</span></td>
<td align="right"><span class="style5">
<?php
if($arrVal[0]>0){
echo '<a href="index.php?p=labor_layoff_index&dismissal_helpful_id=Y">'.number_format($arrVal[0]).'</a>';
}else{
echo 0;
}
?>
</span></td>
<td align="right"><span class="style5"><?=$arrPCExSum[0][0]?></span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="left"><span class="style6">ยังไม่ได้รับการวินิจฉัยคำร้อง</span></td>
<td align="right"><span class="style5">
<?php
if($arrVal[1]>0){
echo '<a href="index.php?p=labor_layoff_index&dismissal_helpful_id=N">'.number_format($arrVal[1]).'</a>';
}else{
echo 0;
}
?>
</span></td>
<td align="right"><span class="style5"><?=$arrPCExSum[0][1]?></span></td>
</tr>
<tr bgcolor="#DDDDDD">
<td align="left"><strong>รวม</strong></td>
<td align="right">
<?php
if(@array_sum($arrVal)>0){
echo '<a href="index.php?p=labor_layoff_index&dismissal_helpful_id=">'.number_format(@array_sum($arrVal)).'</a>';
}else{
echo 0;
}
?>
</td>
<td align="right"><?=number_format(@array_sum($arrPCExSum[0]), 2)?></td>
</tr>
</table>
<table width="60%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right">
<?
$catagory='ได้รับการวินิจฉัยคำร้อง;ยังไม่ได้รับการวินิจฉัยคำร้อง';
//$columntitle="รายงานข้อมูลโรงงานอุตสาหกรรมจำแนกตามจำพวก";
$columntitle='กราฟแสดงสัดส่วนการดำเนินการให้ความช่วยเหลือ แบบคำร้องต่อพนักงานตรวจแรงงาน';
//echo $catagory;
$graph_path = "http://202.129.35.106/graphservice/graphservice.php"; //Sapphire Graph
//$catagory = 'ระดับความรุนแรงน้อย;ระดับความรุนแรงปานกลาง;ระดับความรุนแรงมาก';
foreach ( $arrVal as $Key => $Val ) {
$dataGraph .= $Val.';';
}
$xgraphurl_link = $graph_path."?category=$catagory&data1=".substr($dataGraph, 0, strlen($dataGraph) - 1)."&outputstyle=&numseries=1&seriesname=&graphtype=pie&title=$columntitle&xname=&yname=&subtitle=&graphstyle=srd_allvisible_lg.scs&xcontrol=1";
?>
<a href="<?=$xgraphurl_link?>" target="_blank">[แสดงข้อมูลรูปแบบกราฟ]</a>
</td>
</tr>
</table></td>
<td valign="top" width="40%">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="83%" align="right">
<a href="#" onclick="window.open('search.php','export','toolbar=0,location=0,directories=0,status=0,menubar=0,height=550,width=700,resizeable=1,scrollbars=1'); clearText();"><img src="img/search.png" alt="ค้นหา" width="16" height="16" border="0" align="middle" title="ค้นหา" /></a>
<a href="#" onclick="window.open('search_layoff_index.php','export','toolbar=0,location=0,directories=0,status=0,menubar=0,height=550,width=700,resizeable=1,scrollbars=1'); clearText();"><strong>ค้นหา</strong></a></td>
<td width="17%" align="right">
<a href="../import_export/export_excel.php?ProfileID=5&Encoding=TIS-620" target="_blank"><img src="../../images/dash_icon/ico_xls.png" alt="Excel" title="Excel" width="16" height="16" border="0" /></a>
<a href="?p=xml_export&profile_id=5"><img src="../../images/dash_icon/ico_xml.png" alt="XML" title="XML" width="16" height="16" border="0" /></a>
<img src="../../images/dash_icon/ico_pdf_disabled.png" alt="PDF" title="PDF" width="16" height="16" />
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%" border="0" cellpadding="0" cellspacing="2" bgcolor="#E6E6E6" align="center" style="border:1px solid #5595CC;">
<tr>
<td align="left">
<strong style="text-decoration:underline">เงื่อนไขการค้นหา</strong>
<a href="index.php?&p=labor_layoff_index">ล้างค่าการค้นหา</a></td>
</tr>
<tr>
<td align="left">
<?php echo ($_GET['start_register_date'] != "")?' <strong>วันที่ยื่นคำร้องจาก</strong> "'.$_GET['start_register_date'].'"<br/>':"";?>
<?php echo ($_GET['end_register_date'] != "")?' <strong>วันที่ยื่นคำร้องถึง</strong> : "'.$_GET['end_register_date'].'"<br/>':"";?>
<?php echo ($_GET['id_card'] != "")?' <strong>เลขบัตรประชาชน</strong> : "'.$_GET['id_card'].'"<br/>':"";?>
<?php echo ($_GET['fname'] != "")?' <strong>ชื่อลูกจ้าง</strong> : "'.$_GET['fname'].'"<br/>':"";?>
<?php echo ($_GET['lname'] != "")?' <strong>นามสกุลลูกจ้าง</strong> : "'.$_GET['lname'].'"<br/>':"";?>
<?php echo ($_GET['company'] != "")?' <strong>สถานประกอบกิจการ</strong> : "'.$_GET['company'].'"<br/>':"";?>
<?php
if($_GET['dismissal_helpful_id'] != ""){
echo ' <strong>สถานประกอบกิจการ</strong> : "';
echo ($_GET['dismissal_helpful_id']== "N")?' ยังไม่ได้รับการวินิจฉัย<br/>':"";
echo ($_GET['dismissal_helpful_id']== "Y")?' ได้รับการวินิจฉัย<br/>':"";
}
?> </td>
</tr>
</table> </td>
</tr>
</table>
</td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td width="75%">
<?php
$rsConn = mysql_db_query($dbname,$strSQL_1);
$all_row = mysql_num_rows($rsConn);
$board_row_per_page = 20;
$total_page = ceil($all_row/$board_row_per_page);
$page = ($_GET['page'])?$_GET['page']:1;
$page = ($page > $total_page)?$total_page:$page;
$page = ($page <= 0)?1:$page;
$limit_start = ($page==1)?0:(($page*$board_row_per_page)-$board_row_per_page);
$limit_end = $board_row_per_page;
if($View==''){
$strSQL_1 .= " LIMIT ".$limit_start.", ".$limit_end;
$num = $limit_start ;
}
if(isset($cols)&&isset($sort)){
$solink="&cols=$cols&sort=$sort";
}
$text_search = "";
$prev_page = $page - 1; $prev_page = ($prev_page <= 1)?1:$prev_page;
$prev = "self.location='".$PHP_SELF."?".$strSearch.$text_search."&search=$search&page=$prev_page$link$solink'";
$next_page = $page + 1; $next_page = ($next_page >= $total_page)?$total_page:$next_page;
$next = "self.location='".$PHP_SELF."?".$strSearch.$text_search."&search=$search&page=$next_page$link$solink'";
$prev_Tenpage=$page-$board_row_per_page;$prev_Tenpage=($prev_Tenpage<= 1)?1:$prev_Tenpage;
$prevTen = "self.location='".$PHP_SELF."?".$strSearch.$text_search."&search=$search&page=$prev_Tenpage$link$solink'";
$nextTenPage=$page+$board_row_per_page;$next_TenPage=($next_TenPage >= $total_page)?$total_page:$next_TenPage;
$nextTen = "self.location='".$PHP_SELF."?".$strSearch.$text_search."&search=$search&page=$nextTenPage$link$solink'";
?>
<? if($View==""){$Klink="?".$strSearch.$text_search."&View=All"; $CSh="ข้อมูลทั้งหมด"; $Klink2="?".$strSearch.$text_search."&View=";}else{$Klink="?".$strSearch.$text_search."&View=";$CSh="ข้อมูล ".$board_row_per_page." รายการล่าสุด";$Klink2="?".$strSearch.$text_search."&View=All";}?>
ทั้งหมด <b> <font color="#CC0000">
<?=number_format($all_row);?>
</font> </b> รายการ
<? if($View==""){?>
แบ่งเป็น <b><font color="#0033CC">
<?=number_format($total_page);?>
</font></b> หน้า
<? }?>
<a href="<?=$Klink?>"><img src="img/Search-Add.gif" title="<?=$CSh?>" width="16" height="16" border="0" /></a>
<? if($View==''){?>
<? if($page==1){?>
<img src="img/page_div_icon/xFirst.gif" align="absmiddle" />
<? }else{?>
<img src="img/page_div_icon/First.gif" align="absmiddle" border="0" width="10" height="12" onclick="<?=$prevTen;?>" style="cursor:pointer;"/>
<? }?>
<? if($page==1){?>
<img src="img/page_div_icon/xPrevious.gif" align="absmiddle" />
<? }else{?>
<img src="img/page_div_icon/Previous.gif" align="absmiddle" border="0" width="7" height="12" onclick="<?=$prev;?>" style="cursor:pointer;"/>
<? }?>
<?php
$board_link_num = $board_row_per_page;
$ii = 1;
if ( $board_link_num > $total_page ){
$loop_page = $total_page;
} else {
$bx = ceil($board_link_num / 2);
$pp = $page - $bx;
$pn = $page + $bx;
$loop_page = $pn;
$ii = $pp;
if ( $total_page <= $loop_page ) {
$loop_page = $total_page;
$ii = $loop_page - ($board_link_num -1);
}
if ( $ii < 1 ) {
$ii = 1;
$loop_page = $ii + ($board_link_num -1);
}
}
for($i=$ii;$i<=$loop_page;$i++){
if ( $i==$page || !$page ) {
$txt = '<b style="color:#0033CC;">'.$i.'</b>';
} else {
$txt = $i;
}
?>
<a href="<?=$PHP_SELF;?>?Sort=<?=$Sort;?>&search=<?=$search?>&<?=$text_search?>&page=<?=$i;?><?=$strSearch;?>"><?=$txt;?></a>
<?
} # for
?>
<? if($page==$loop_page){?>
<img src="img/page_div_icon/xNext.gif" align="absmiddle" />
<? }else{?>
<img src="img/page_div_icon/Next.gif" align="absmiddle" border="0" width="7" height="12" onClick="<?=$next;?>" style="cursor:pointer;"/>
<? }?>
<? if($page==$loop_page){?>
<img src="img/page_div_icon/xLast.gif" align="absmiddle" />
<? }else{?>
<img src="img/page_div_icon/Last.gif" align="absmiddle" border="0" width="10" height="12" onClick="<?=$nextTen;?>" style="cursor:pointer;"/>
<?
}
}#End View=
?> </td>
<td width="25%" align="right"><a href="?p=labor_surety_keyin"><img src="images/add.png" alt="เพิ่มคำร้องต่อพนักงานตรวจแรงงาน" border="0" align="middle" title="เพิ่มคำร้องต่อพนักงานตรวจแรงงาน" /></a> <a href="?p=labor_layoff_keyin">เพิ่มคำร้องต่อพนักงานตรวจแรงงาน</a></td>
</tr>
</table>
<table width="99%" border="0" align="center" bgcolor="#CCCCCC" cellpadding="3" cellspacing="1">
<tr class="bg_th">
<td width="6%"><strong>ลำดับที่</strong></td>
<td width="10%">วันที่ยื่นคำร้อง</td>
<td width="14%">เลขบัตรประจำตัวประชาชน</td>
<td width="24%"><strong>ชื่อ-นามสกุล ลูกจ้าง </strong></td>
<td width="6%">อายุ (ปี) </td>
<td width="19%"><strong>สถานประกอบกิจการ</strong></td>
<td width="11%">บันทึกข้อความ</td>
<td width="10%"><strong>การจัดการ</strong></td>
</tr>
<?
$rsConn_1 = mysql_db_query($dbname,$strSQL_1);
$i_1=0;
while ( $Result_1 = mysql_fetch_assoc($rsConn_1)) {
$i_1++;
$rowNumb = ($i_1+($board_link_num*$page)-$board_link_num);
$eyearImg='';
if($Result_1['eyear']<(date('Y')+543)){
$eyearImg='<img src="img/dash_notpass.png" alt="หมดอายุ" title="หมดอายุ" width="16" height="16" border="0" align="absmiddle" />';
}
$bgColor = ( $Result_1['dismissal_helpful_id'] ) ? "#88FF88" : "#FFFFFF" ;
?>
<tr bgcolor="<?=$bgColor?>" onmouseover="this.style.backgroundColor='#DBF2AE'" onmouseout="this.style.backgroundColor='<?=$bgColor?>'">
<td align="center"><?=$rowNumb?></td>
<td align="center"><?=searchReplace($_GET['register_date'],dateFormat($Result_1['register_date'], "thaidot"))?></td>
<td align="center"><?=searchReplace($_GET['id_card'],pinFormatX($Result_1['id_card']))?></td>
<td align="left"><?=searchReplace($_GET['prename'],$arrPrename[$Result_1['prename']],$Result_1['prename'])?><?=searchReplace($_GET['fname'],$Result_1['fname'])?> <?=searchReplace($_GET['lname'],$Result_1['lname'])?></td>
<td align="center"><?=birthday_year($Result_1['birthdate'])?></td>
<td align="left"><?=CharLimit($Result_1['company'],40)?></td>
<td align="left"><? if ( $Result_1['dismissal_helpful_id'] ) { ?><font color="#009933">ได้รับการวินิจฉัยแล้ว</font><? } else { ?><font color="#666666">ยังไม่ได้รับการวินิจฉัย</font><? } ?></td>
<td align="center">
<? if ( $Result_1['dismissal_helpful_id'] ) { ?><a href="?p=labor_layoff_keyin.helpful&hAction=Update&hdismissal_helpful_id=<?=$Result_1['dismissal_helpful_id']?>&hdismissal_id=<?=$Result_1['dismissal_id']?>"><img src="../../images/dash_icon/ico_helpful.png" alt="บันทึกข้อความ ผลการวินิจฉัยคำร้อง" title="บันทึกข้อความ ผลการวินิจฉัยคำร้อง" width="16" height="16" border="0" align="middle" /></a>
<? } else { ?><a href="?p=labor_layoff_keyin.helpful&hdismissal_id=<?=$Result_1['dismissal_id']?>"><img src="../../images/dash_icon/ico_help.png" alt="บันทึกข้อความ ผลการวินิจฉัยคำร้อง" title="บันทึกข้อความ ผลการวินิจฉัยคำร้อง" width="16" height="16" border="0" align="middle" /><? } ?></a>
<a href="profile_labor.php?hid_card=<?=$Result_1['id_card']?>&app=labor_layoff_index" target="_blank"><img src="../../images/dash_icon/ico_preview.png" alt="แสดงข้อมูล" title="แสดงข้อมูล" width="16" height="16" border="0" align="middle" /></a>
<a href="?p=labor_layoff_keyin&hAction=Update&hid_card=<?=$Result_1['id_card']?>&hdismissal_id=<?=$Result_1['dismissal_id']?>"><img src="../../images/dash_icon/ico_edit.png" alt="แก้ไขข้อมูล" title="แก้ไขข้อมูล" width="16" height="16" border="0" align="middle" /></a>
<img src="../../images/dash_icon/ico_del.png" alt="ลบข้อมูล" title="ลบข้อมูล" width="16" height="16" border="0" align="middle" onclick="return delConfirm('<?=$Result_1['dismissal_id'];?>');" style="cursor:pointer;" /> </td>
</tr>
<? }?>
</table>
<?
$time_e = getmicrotime();
$stime = number_format($time_e - $time_start,12);
?>
<br />
<table width="99%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="50%" align="left"><table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="12%">หมายเหตุ:</td>
<td width="88%"> </td>
</tr>
<tr>
<td><span class="style1"></span></td>
<td><span class="style1"><strong><img src="../../images/dash_icon/ico_helpful.png" alt="ได้รับการวินิจฉัยคำร้อง" title="ได้รับการวินิจฉัยคำร้อง" width="16" height="16" border="0" align="middle" /></strong> หมายถึง ได้รับการวินิจฉัยคำร้อง</span></td>
</tr>
<tr>
<td><span class="style1"></span></td>
<td><span class="style1"><strong><img src="../../images/dash_icon/ico_help.png" alt="ยังไม่ได้รับการวินิจฉัยคำร้อง" title="ยังไม่ได้รับการวินิจฉัยคำร้อง" width="16" height="16" border="0" align="middle" /></strong> หมายถึง ยังไม่ได้รับการวินิจฉัยคำร้อง</span></td>
</tr>
</table></td>
<td width="50%" align="right" valign="top">ใช้เวลาในการประมวลผล <?=$stime?> วินาที</td>
</tr>
</table>
<br />
<form name="form2" id="form2" method="get" >
<input name="p" id="p" type="hidden" value="<?=$_GET['p']?>" size="100"/>
<input name="start_register_date" id="start_register_date" type="hidden" value="" />
<input name="end_register_date" id="end_register_date" type="hidden" value="" />
<input name="id_card" id="id_card" type="hidden" value="" />
<input name="fname" id="fname" type="hidden" value="" />
<input name="lname" id="lname" type="hidden" value="" />
<input name="company" id="company" type="hidden" value="" />
<input name="dismissal_helpful_id" id="dismissal_helpful_id" type="hidden" value="" />
</form>
<script language="javascript">
function delConfirm(id) {
if ( confirm("คุณต้องการลบข้อมูลจริงหรือไม่?") == true ) {
location.href='?p=labor_layoff_index&hAction=Delete&del_id='+id;
}
}
function clearText(){
document.getElementById("surway_id").value = "";
document.getElementById("name_meeting").value = "";
document.getElementById("village_name").value = "";
document.getElementById("public_amphur").value = "";
document.getElementById("public_tambol").value = "";
document.getElementById("public_Subtambol").value = "";
document.getElementById("public_Mun").value = "";
document.getElementById("type_key").value = "";
}
</script>
</body>
</html>