MINI SHELL

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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/pathumthani_integration/integration/application/labor/labor_training.php
<? session_start() ; 
//header("Content-Type: text/html; charset=windows-874"); 


set_time_limit(0) ; 

include_once("../../config/config_epm.inc.php");
//include_once("manage_user.inc.php");
include_once("function/function.inc.php");
$time_start = getmicrotime();

?>
<!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;
}
.style1 {color: #FF0000}
.style2 {font-size: 24px}
.h_menu {color:#FF9900}

-->
.bg_th{
  background-image:url(images/horiz-bg.png);
  background-repeat:repeat-x;
  font-weight:bold;
  color:#FFFFFF;
  text-align:center;
  }
</style>
<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(); 
} 

} 

 var updateIframe = function() {
      document.getElementById( 'myIframe' ).src = 'book_insert_attach.php';
    }


</script> 

<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/industry/ajax.shop.php';
</script>
<script src="../../common/tooltip/tooltip_personal.js"></script>

</head>
<body>
<? 
//include("header.php"); 

	if($_GET['runid_del']){
		mysql_query("DELETE FROM pathumthani_integration.industry_shop WHERE runid='".$_GET['runid_del']."' ");
	}

?>
<!--&nbsp;<img src="images/unpublish_f2.png" width="30" height="30" border="0" align="absmiddle" /><strong style="color:#000033; font-size:18px;"> ข้อมูลแหล่งการค้า </strong>-->
<br />

<table width="90%" border="0" cellpadding="0" cellspacing="0" align="center">
 		<tr>
        		<td align="center"><strong style="color:#000000; font-size:14px;">ทะเบียนข้อมูลการอบรมและฝึกอาชีพ จังหวัดปทุมธานี</strong></td>
        </tr>
        <tr>
        		<td align="center"><strong style="color:#000000; font-size:12px;">ข้อมูล ณ วันที่ <?=dateFormat(date('Y-m-d'),'thaidot')?></strong></td>
        </tr>
</table>
 
 <br />
<table width="90%" border="0" cellpadding="0" cellspacing="0" align="center">
 		<tr>
        		<td valign="top" align="center" width="60%">
                		<table width="70%" border="0" bgcolor="#CCCCCC" cellpadding="3" cellspacing="1">
                                <tr class="bg_th">
                                  <td align="center"><strong>ประเภท</strong></td>
                                  <td align="center"><strong>จำนวน (คน)</strong></td>
                                  <td align="center"><strong>ร้อยละ</strong></td>
                                </tr>
                                
                                <tr bgcolor="#FFFFFF">
                                        <td align="left"><strong>คนที่ได้รับการอบรมและฝึกอาชีพ</strong></td>
                                        <td align="right">3</td>
                                        <td align="right"><?=number_format(75,2)?></td>
                                </tr>
                                <tr bgcolor="#FFFFFF">
                                        <td align="left"><strong>คนที่ยังไม่เคยได้รับการอบรมและฝึกอาชีพ</strong></td>
                                        <td align="right">1</td>
                                        <td align="right"><?=number_format(25,2)?></td>
                                </tr>
                                <tr bgcolor="#DDDDDD">
                                        <td align="right"><strong>รวม</strong></td>
                                        <td align="right">4</td>
                                        <td align="right"><?=number_format(100,2)?>
                                       </td>
                                </tr>
                        </table>
                        <table width="70%" border="0" cellpadding="0" cellspacing="0">
<tr>
                                		<td align="right">
                                        <?				
											$data1=substr($data1,0,strlen($data1)-1);
											$data1='3;1';
											//$data2=substr($data2,0,strlen($data2)-1);
											$catagory=substr($catagory,0,strlen($catagory)-1);
											$catagory='คนที่ได้รับการอบรมและฝึกอาชีพ;คนที่ยังไม่เคยได้รับการอบรมและฝึกอาชีพ';
											//$catagory='ขนาดเล็ก;ขนาดกลาง;ขนาดใหญ่';
											//$columntitle="รายงานข้อมูลโรงงานอุตสาหกรรมจำแนกตามจำพวก";
											$columntitle='กราฟแสดงจำนวนคนงานจำแนกตามการอบรมและฝึกอาชีพ';
											//$seriesname='ดำเนินกิจการ;เลิกกิจการ';
											
											$xgraphurl_link = $graph_path ."?category=$catagory"."&data1="."$data1"."&outputstyle=&numseries=1&seriesname=$seriesname&graphtype=pie&title=$columntitle&xname=&yname=&subtitle=&graphstyle=srd_allvisible_lg.scs&xcontrol=1";//srd_sf_004
											?>
                                            <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 align="right">
                                		<!--<a href="#" onclick="window.open('search_shop.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="ค้นหา" title="ค้นหา" width="20" height="20" border="0" align="absmiddle" /></a>
										<!--<a href="#" onclick="window.open('search_shop.php','export','toolbar=0,location=0,directories=0,status=0,menubar=0,height=550,width=700,resizeable=1,scrollbars=1'); clearText();">--><strong>ค้นหา</strong></a>&nbsp;
                                        <img src="img/xls_logo.gif" alt="Excel" title="Excel" width="16" height="16" border="0" align="absmiddle" />&nbsp;
                                        <img src="img/pdf.gif" alt="PDF" title="PDF" width="16" height="16" border="0" align="absmiddle" />&nbsp;
                                        <img src="img/xml.gif" alt="XML" title="XML" width="16" height="16" border="0" align="absmiddle" />&nbsp;
                                </td>
                        </tr>
                        <tr>
                        		<td>
                           		  <table width="100%" border="0" cellpadding="0" cellspacing="2" bgcolor="#E6E6E6" align="center" style="border:1px solid #5595CC;">
                                        		<tr>
                                                		<td align="left" style="text-decoration:underline">
                                                       			<strong>เงื่อนไขการค้นหา</strong>
                                                        </td>
</tr>
                                                <tr>
                                                        <td align="left">
																<?
																		if($_GET['type_id'] != ""){
																				$strSQL_type_id= "SELECT* FROM industry_shop_type
																												where runid='".$_GET['type_id']."'			
																							";						
																				$rsConn_type_id= mysql_db_query($dbname,$strSQL_type_id);
																				$Result_type_id= mysql_fetch_assoc($rsConn_type_id);
																				echo '&nbsp;<strong>ประเภทแหล่งการค้า</strong> = "'.$Result_type_id['name'].'"<br/>';
																		}//?'ปี พ.ศ. = "'.$_GET['year'].'"<br/>':"";
																?>
																<?php echo ($_GET['name'] != "")?'&nbsp;<strong>ชื่อแหล่งการค้า</strong> =  "'.$_GET['name'].'"<br/>':"";?>
                                                                <?php echo ($_GET['detail'] != "")?'&nbsp;<strong>รายละเอียด</strong> = "'.$_GET['detail'].'"<br/>':"";?>
                                                                <?php echo ($_GET['location'] != "")?'&nbsp;<strong>ทำเลที่ตั้ง</strong> = "'.$_GET['location'].'"<br/>':"";?>
                                                                <?
																		if($_GET['amphur'] != ""){
																				$strSQL_ampur = "SELECT ccaa.ccDigi,ccaa.ccName,ccaa.ccType
																										FROM ccaa
																										where ccaa.ccType =  'Aumpur' AND ccaa.ccDigi ='".$_GET['amphur']."'			
																							";						
																				$rsConn_ampur = mysql_db_query($dbname,$strSQL_ampur);
																				$Result_ampur = mysql_fetch_assoc($rsConn_ampur);
																				echo '&nbsp;<strong>อำเภอ</strong> = "'.$Result_ampur['ccName'].'"<br/>';
																		}//?'ปี พ.ศ. = "'.$_GET['year'].'"<br/>':"";
																?>
                                                                <?
																		if($_GET['tambol'] != ""){
																				$strSQL_tambol = "SELECT ccaa.ccDigi,ccaa.ccName,ccaa.ccType
																										FROM ccaa
																										where ccaa.ccType =  'Tamboon' AND ccaa.ccDigi ='".$_GET['tambol']."'			
																							";						
																				$rsConn_tambol = mysql_db_query($dbname,$strSQL_tambol);
																				$Result_tambol= mysql_fetch_assoc($rsConn_tambol);
																				echo '&nbsp;<strong>ตำบล</strong> = "'.$Result_tambol['ccName'].'"<br/>';
																		}//?'ปี พ.ศ. = "'.$_GET['year'].'"<br/>':"";
																?>
                                                        </td>&nbsp;
</tr>
                                                <?php /*?><tr align="right">
                                                        <td height="20"><br />
                                                                โรงงานอุตสาหกรรมทั้งหมด <strong><?=number_format($Rows)?></strong> โรง
                                                                (ใช้เวลาในการประมวลผลก่อนการแสดง <strong><?=$stime?></strong> วินาที)&nbsp;
                                                        </td>
                                                </tr><?php */?>
                                        </table>
                                </td>
                        </tr>
                </table>
          </td>
        </tr>
</table>
 
 

<br /><br />

		
       
        <form id="form1" name="form1" method="post" action="" onsubmit="return CheckForm(this)">
          <table width="90%" border="0" align="center">
		  		<tr>
                <?
				$strSearch='&p='.$_GET['p'];
                $strSQL_1 = "SELECT
									industry_shop.*,
									industry_shop_type.name AS type_name
									FROM		industry_shop
									Inner Join industry_shop_type ON industry_shop_type.runid = industry_shop.type_id
									
								";
				if($_GET['type_id']){
						$strSQL_1.="		and industry_shop.type_id = '".($_GET['type_id'])."'		";
						$strSearch.="&type_id=".($_GET['type_id']);	
				}
				if($_GET['name']){
						$strSQL_1.="		and industry_shop.name like '%".($_GET['name'])."%'		";
						$strSearch.="&name=".($_GET['name']);	
				}
				if($_GET['detail']){
						$strSQL_1.="		and industry_shop.detail like '%".($_GET['detail'])."%'		";
						$strSearch.="&detail=".($_GET['detail']);	
				}
				if($_GET['location']){
						$strSQL_1.="		and industry_shop.location like '%".($_GET['location'])."%'		";
						$strSearch.="&location=".($_GET['location']);	
				}
				if($_GET['amphur']){
						$strSQL_1.="		and industry_shop.amphur = '".($_GET['amphur'])."'		";
						$strSearch.="&amphur=".($_GET['amphur']);	
				}
				if($_GET['tambol']){
						$strSQL_1.="		and industry_shop.tambol = '".($_GET['tambol'])."'		";
						$strSearch.="&tambol=".($_GET['tambol']);	
				}
				
				$strSQL_1.="		ORDER By update_time DESC LIMIT 4	";
				?>
				  <td width="79%" align="left">
                  <?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> หน้า
	<? }?>
	&nbsp;&nbsp;<a href="<?=$Klink?>"><img src="img/Search-Add.gif" alt="<?=$CSh?>" width="16" height="16" border="0" /></a>&nbsp;&nbsp;&nbsp;&nbsp;
		  <? if($View==''){?>
			<?  if($page==1){?>
			<img src="img/page_div_icon/xFirst.gif" />
			<? }else{?>
			<img src="img/page_div_icon/First.gif" align="absmiddle" border="0" width="10" height="12"  onclick="<?=$prevTen;?>" onMouseOver="style.cursor='hand';"/>
			<? }?>
	&nbsp;
	<?  if($page==1){?>
	<img src="img/page_div_icon/xPrevious.gif" />
	<? }else{?>
	<img src="img/page_div_icon/Previous.gif" align="absmiddle" border="0" width="7" height="12"  onclick="<?=$prev;?>" onMouseOver="style.cursor='hand';"/>
	<? }?>
	<?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>$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" />
	<? }else{?>
	<img src="img/page_div_icon/Next.gif" align="absmiddle" border="0" width="7" height="12" onClick="<?=$next;?>" onMouseOver="style.cursor='hand';"/>
	<? }?>
	&nbsp;
	<? if($page==$loop_page){?>
	<img src="img/page_div_icon/xLast.gif" />

	<? }else{?>
	<img src="img/page_div_icon/Last.gif" align="absmiddle" border="0" width="10" height="12" onClick="<?=$nextTen;?>" onMouseOver="style.cursor='hand';"/>
	<? 
		} 
	}#End View=
		?>
                  </td>
				  <td width="21%" align="right">
                  <a href="?p=labor_training_insert"><img src="images/add.png" alt="เพิ่มข้อมูลการอบรมและฝึกอาชีพ" title="เพิ่มข้อมูลการอบรมและฝึกอาชีพ" border="0" align="absmiddle" /></a><a href="?p=labor_training_insert"> เพิ่มข้อมูลการอบรมและฝึกอาชีพ</a></td>
				  
				</tr>
			</table>
			<table width="90%" border="0" align="center" bgcolor="#EEEEEE" cellpadding="3" cellspacing="1">
				<tr class="bg_th">
				  <!--<td width="52" align="center"><strong>ลำดับที่</strong></td>-->
				  <td align="center" width="40">ลำดับที่</td>				  
				  <td align="center" width="100"><strong>รหัสบัตรประชาชน</strong></td>
				  <td align="center" width="150"><strong>ชื่อ - สกุล</strong></td>
				  <td align="center" width="100">ระดับการศึกษา</td>
				  <td align="center" width="100"><strong>คณะ / แผนกวิชา</strong></td>
				  <td align="center" width="100"><strong>สาขาวิชา</strong></td>
				  <td align="center" width="100"><strong>อำเภอ</strong></td>
				  <!--<td align="center" width="150">ที่ตั้ง</td>-->
				  <td align="center" width="60"><strong>การจัดการ</strong></td>
				</tr>
		  	<?
			  	/*$strSQL_1 = "SELECT
									industry_shop.*,
									industry_shop_type.name AS type_name
									FROM
									industry_shop
									Inner Join industry_shop_type ON industry_shop_type.runid = industry_shop.type_id
									ORDER By update_time DESC
								";*/
								
				$rsConn_1 = mysql_db_query($dbname,$strSQL_1);
				$i=0;	
				//while ( $Result_1 = mysql_fetch_assoc($rsConn_1)) {
						$i++;
						//$color = ( $i % 2 == 0 ) ? "#EFEFEF" : "#FFFFFF" ;
						$color = "#FFFFFF" ;
						$rowNumb = ($i+($board_link_num*$page)-$board_link_num);
						
						/*$sqlTambol="	SELECT ccDigi,ccName,ccType FROM ccaa WHERE ccaa.ccType =  'Tamboon' AND ccaa.ccDigi =  '".$Result_1['tambol']."' 				";
						$rsTambol=mysql_db_query($dbname,$sqlTambol);
						$resTambol=mysql_fetch_assoc($rsTambol);
						$sqlTambol_1="	SELECT ccDigi,ccName,ccType FROM ccaa WHERE ccaa.ccType =  'Tamboon' AND ccaa.ccDigi =  '".$_GET['tambol']."' 				";
						$rsTambol_1=mysql_db_query($dbname,$sqlTambol_1);
						$resTambol_1=mysql_fetch_assoc($rsTambol_1);
						
						$sqlAmphur="	SELECT ccDigi,ccName,ccType FROM ccaa WHERE ccaa.ccType =  'Aumpur' AND ccaa.ccDigi =  '".$Result_1['amphur']."' 				";
						$rsAmphur=mysql_db_query($dbname,$sqlAmphur);
						$resAmphur=mysql_fetch_assoc($rsAmphur);
						$sqlAmphur_1="	SELECT ccDigi,ccName,ccType FROM ccaa WHERE ccaa.ccType =  'Aumpur' AND ccaa.ccDigi =  '".$_GET['amphur']."' 				";
						$rsAmphur_1=mysql_db_query($dbname,$sqlAmphur_1);
						$resAmphur_1=mysql_fetch_assoc($rsAmphur_1);
						
						$sqlProvice="	SELECT ccDigi,ccName,ccType FROM ccaa WHERE ccaa.ccType =  'Changwat' AND ccaa.ccDigi =  '".$Result_1['province']."' 				";
						$rsProvice=mysql_db_query($dbname,$sqlProvice);
						$resProvice=mysql_fetch_assoc($rsProvice);
						
						$location_broad=searchReplace($_GET['location'],$Result_1['location']).' '.searchReplace($resTambol_1['ccName'],$resTambol['ccName']).' '.searchReplace($resAmphur_1['ccName'],$resAmphur['ccName']).' '.$resProvice['ccName'];
						//echo $resAmphur['ccName'];
						
						if($_GET['location']){
								//$location_broad=searchReplace($_GET['location'],$location_broad);
						}
						if($_GET['amphur']){
								//$location_broad=searchReplace($resAmphur_1['ccName'],$location_broad);
								$amphreTemp=str_replace('อำเภอ','อ.',$resAmphur['ccName']);
								$location_broad=searchReplace($amphreTemp,$location_broad);
						}
						if($_GET['tambol']){
								//$location_broad=searchReplace($resTambol_1['ccName'],$location_broad);
								$tambolTemp=str_replace('ตำบล','ต.',$resTambol['ccName']);
								$location_broad=searchReplace($tambolTemp,$location_broad);
						}
						//searchReplace($Result_4['type_name'],$Result_3['type_name'])*/
						
						if($_GET['type_id']){
								$sqlTypeid="	SELECT * FROM industry_shop_type  WHERE runid ='".$_GET['type_id']."' 				";
								$rsTypeid=mysql_db_query($dbname,$sqlTypeid);
								$resTypeid=mysql_fetch_assoc($rsTypeid);
						}
						
						$sqlAmphur="	SELECT ccDigi,ccName,ccType FROM ccaa WHERE ccaa.ccType =  'Aumpur' AND ccaa.ccDigi =  '".$Result_1['amphur']."' 				";
						$rsAmphur=mysql_db_query($dbname,$sqlAmphur);
						$resAmphur=mysql_fetch_assoc($rsAmphur);
			  ?>
            <tr bgcolor="<?=$color?>" onmouseover="this.style.backgroundColor='#dbf2ae'" onmouseout="this.style.backgroundColor='#FFFFFF'">
              <td align="center">1</td>              
              <td align="left">1593057989521</td>
              <td  align="left">นายสุจิตร    วรสินธุ์</td>
              <td  align="left">ปริญญาตรี</td>
              <td  align="left">วิศวกรรมศาสตร์</td>
              <td  align="left">คอมพิวเตอร์</td>
              <td align="left">อำเภอธัญบุรี</td>
              <td align="center">
					<?php /*?><a href="industry_shop_insert.php?runid=<?=$Result_1['runid']?>&edit=1"><?php */?><img src="img/icon-write.png" alt="แก้ไข" title="แก้ไข" width="16" height="16" border="0" align="absmiddle" /></a>&nbsp;&nbsp;
					<?php /*?><a href="?runid_del=<?=$Result_1['runid']?>" onClick="return Conf(this)"><?php */?><img src="img/icon-delete.png" alt="ลบ" title="ลบ" width="16" height="16" border="0" align="absmiddle" /></a>			  </td>
            </tr>
            <tr bgcolor="<?=$color?>" onmouseover="this.style.backgroundColor='#dbf2ae'" onmouseout="this.style.backgroundColor='#FFFFFF'">
              <td align="center">2</td>              
              <td align="left">7198934457739</td>
              <td  align="left">นางสาวบุษบา   พวงชน</td>
              <td  align="left">ปริญญาตรี</td>
              <td  align="left">พยาบาลศาสตร์</td>
              <td  align="left">พยาบาล</td>
              <td align="left">อำเภอเมืองปทุมธานี</td>
              <td align="center">
					<?php /*?><a href="industry_shop_insert.php?runid=<?=$Result_1['runid']?>&edit=1"><?php */?><img src="img/icon-write.png" alt="แก้ไข" title="แก้ไข" width="16" height="16" border="0" align="absmiddle" /></a>&nbsp;&nbsp;
					<?php /*?><a href="?runid_del=<?=$Result_1['runid']?>" onClick="return Conf(this)"><?php */?><img src="img/icon-delete.png" alt="ลบ" title="ลบ" width="16" height="16" border="0" align="absmiddle" /></a>			  </td>
            </tr>
            <tr bgcolor="<?=$color?>" onmouseover="this.style.backgroundColor='#dbf2ae'" onmouseout="this.style.backgroundColor='#FFFFFF'">
              <td align="center">3</td>              
              <td align="left">1938898583656</td>
              <td  align="left">นางวิภาดา   ศิริภูมิ</td>
              <td  align="left">ปริญญาตรี</td>
              <td  align="left">สังคมศาสตร์</td>
              <td  align="left">ภาษาไทย</td>
              <td align="left">อำเภอลาดหลุมแก้ว</td>
              <td align="center">
					<?php /*?><a href="industry_shop_insert.php?runid=<?=$Result_1['runid']?>&edit=1"><?php */?><img src="img/icon-write.png" alt="แก้ไข" title="แก้ไข" width="16" height="16" border="0" align="absmiddle" /></a>&nbsp;&nbsp;
					<?php /*?><a href="?runid_del=<?=$Result_1['runid']?>" onClick="return Conf(this)"><?php */?><img src="img/icon-delete.png" alt="ลบ" title="ลบ" width="16" height="16" border="0" align="absmiddle" /></a>			  </td>
            </tr>
            <tr bgcolor="<?=$color?>" onmouseover="this.style.backgroundColor='#dbf2ae'" onmouseout="this.style.backgroundColor='#FFFFFF'">
              <td align="center">4</td>              
              <td align="left">1600341420134</td>
              <td  align="left">นางรัตนา   วิศวรักษ์</td>
              <td  align="left">ปริญญาตรี</td>
              <td  align="left">วิทยาศาสตร์</td>
              <td  align="left">คณิต</td>
              <td align="left">อำเภอลำลูกกา</td>
              <td align="center">
					<?php /*?><a href="industry_shop_insert.php?runid=<?=$Result_1['runid']?>&edit=1"><?php */?><img src="img/icon-write.png" alt="แก้ไข" title="แก้ไข" width="16" height="16" border="0" align="absmiddle" /></a>&nbsp;&nbsp;
					<?php /*?><a href="?runid_del=<?=$Result_1['runid']?>" onClick="return Conf(this)"><?php */?><img src="img/icon-delete.png" alt="ลบ" title="ลบ" width="16" height="16" border="0" align="absmiddle" /></a>			  </td>
            </tr>
          <? //}?>
                  
          </table>
        </form>
<br />
  <?
$time_e 	= getmicrotime();
$stime		= number_format($time_e - $time_start,12);
  ?>
<table width="90%" border="0" cellpadding="0" cellspacing="0" align="center">
		<tr>
        		<td align="right">ใช้เวลาในการประมวลผล <?=$stime?> วินาที</td>
        </tr>
</table>
<br />
<form name="form2" id="form2" method="get" >
				<input name="type_id" id="type_id" type="hidden"   value="<?=$type_id?>" size="100"/>
				<input name="name" id="name" type="hidden"   value="<?=$name?>" size="100"/>
				<input name="detail" id="detail" type="hidden"   value="<?=$detail?>" size="100"/>
				<input name="location" id="location" type="hidden"   value="<?=$location?>" size="100"/>
				<input name="amphur" id="amphur" type="hidden"   value="<?=$amphur?>" size="100"/>
				<input name="tambol" id="tambol" type="hidden"   value="<?=$tambol?>" size="100"/>
</form>

<script language="javascript">
	function clearText(){
		document.getElementById("type_id").value = "";
		document.getElementById("name").value = "";
		document.getElementById("detail").value = "";
		document.getElementById("location").value = "";
	   document.getElementById("amphur").value = "";
	   document.getElementById("tambol").value = "";
	 }
</script>
</body>
</html>

Anon7 - 2021