<?php require_once('Connections/connect.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  }

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

$colname_ser = "-1";
if (isset($_POST['ser'])) {
  $colname_ser = $_POST['ser'];
}
mysql_select_db($database_connect, $connect);
$query_ser = sprintf("SELECT * FROM job WHERE job_id LIKE %s", GetSQLValueString("%" . $colname_ser . "%", "text"));
$ser = mysql_query($query_ser, $connect) or die(mysql_error());
$row_ser = mysql_fetch_assoc($ser);
$totalRows_ser = mysql_num_rows($ser);
?>
<html>
<head>
<title>page1</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
<style type="text/css">
.aa {
	background-image: url(images/1_12.jpg);
}
.dggg {
	background-image: url(images/check.jpg);
}
.df {
	background-image: url(images/check1.jpg);
}
body,td,th {
	font-family: 4805KwangMD_Influenza;
	font-size: 16px;
}
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/2_08.jpg','images/2_09.jpg','images/2_04.jpg','images/2_05.jpg','images/2_06.jpg','images/2_15.jpg','images/2_17.jpg','images/2_18.jpg','images/2_19.jpg','images/2_22.jpg','images/2_24.jpg')">
<!-- Save for Web Slices (page1.psd) -->
<table width="1025" height="1201" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
	<tr>
		<td colspan="12">
			<img src="images/1_01.jpg" width="1024" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="1" alt=""></td>
	</tr>
	<tr>
		<td colspan="12"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1024" height="196">
		  <param name="movie" value="images/head.swf">
		  <param name="quality" value="high">
		  <param name="wmode" value="opaque">
		  <param name="swfversion" value="11.0.0.0">
		  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
		  <param name="expressinstall" value="Scripts/expressInstall.swf">
		  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
		  <!--[if !IE]>-->
		  <object type="application/x-shockwave-flash" data="images/head.swf" width="1024" height="196">
		    <!--<![endif]-->
		    <param name="quality" value="high">
		    <param name="wmode" value="opaque">
		    <param name="swfversion" value="11.0.0.0">
		    <param name="expressinstall" value="Scripts/expressInstall.swf">
		    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
		    <div>
		      <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
		      <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
	        </div>
		    <!--[if !IE]>-->
	      </object>
		  <!--<![endif]-->
      </object></td>
		<td>
			<img src="images/spacer.gif" width="1" height="196" alt=""></td>
	</tr>
	<tr>
		<td colspan="8">
			<img src="images/1_03.jpg" width="597" height="1" alt=""></td>
		<td rowspan="2"><a href="service.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image67','','images/2_04.jpg',1)"><img src="images/1_04.jpg" name="Image67" width="158" height="33" border="0"></a></td>
		<td rowspan="2"><a href="contact.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image68','','images/2_05.jpg',1)"><img src="images/1_05.jpg" name="Image68" width="126" height="33" border="0"></a></td>
		<td colspan="2" rowspan="2"><a href="howto.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image69','','images/2_06.jpg',1)"><img src="images/1_06.jpg" name="Image69" width="143" height="33" border="0"></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="1" alt=""></td>
	</tr>
	<tr>
		<td colspan="6" rowspan="2">
			<img src="images/1_07.jpg" width="295" height="43" alt=""></td>
		<td><a href="index.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image65','','images/2_08.jpg',1)"><img src="images/1_08.jpg" name="Image65" width="168" height="32" border="0"></a></td>
		<td><a href="about.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image66','','images/2_09.jpg',1)"><img src="images/1_09.jpg" name="Image66" width="134" height="32" border="0"></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="32" alt=""></td>
	</tr>
	<tr>
		<td colspan="6">
			<img src="images/1_10.jpg" width="729" height="11" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="11" alt=""></td>
	</tr>
	<tr>
	  <td colspan="5">
			<img src="images/1_11.jpg" width="220" height="54" alt=""></td>
		<td colspan="6" rowspan="14" align="center" valign="top" class="df"><p>&nbsp;</p>&nbsp;
	    <p>&nbsp;</p>
	    <form name="form1" method="post" action="">
	      <p><br>
	      </p>
	      <br>
	      <br>
	      <table width="267" height="47" border="0" align="center">
            <tr>
              <td width="350" align="right"><p>
                <input name="ser" type="text" id="ser" size="40">
              </p></td>
            </tr>
            <tr>
              <td align="center"><p> <br>
                <input type="submit" name="button" id="button" value="&#3588;&#3657;&#3609;&#3627;&#3634;">
              </p></td>
            </tr>
          </table>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <table width="400" border="0">
            <tr>
              <td align="center">&#3619;&#3627;&#3633;&#3626;&#3595;&#3656;&#3629;&#3617;</td>
              <td align="center">&#3594;&#3639;&#3656;&#3629;&#3612;&#3641;&#3657;&#3595;&#3656;&#3629;&#3617;</td>
              <td align="center">&#3626;&#3606;&#3634;&#3609;&#3632;&#3591;&#3634;&#3609;&#3595;&#3656;&#3629;&#3617;</td>
            </tr>
            <tr>
              <td align="center"><?php echo $row_ser['job_id']; ?></td>
              <td align="center"><?php echo $row_ser['uname']; ?></td>
              <td align="center"><?php echo $row_ser['status_id']; ?></td>
            </tr>
          </table>
          <p>&nbsp;</p>
          <p>&#3626;&#3606;&#3634;&#3609;&#3632;&#3591;&#3634;&#3609;&#3595;&#3656;&#3629;&#3617;</p>
          <p>1 &#3627;&#3617;&#3634;&#3618;&#3606;&#3638;&#3591; &#3585;&#3635;&#3621;&#3633;&#3591;&#3595;&#3656;&#3629;&#3617;</p>
          <p>2 &#3627;&#3617;&#3634;&#3618;&#3606;&#3638;&#3591; &#3595;&#3656;&#3629;&#3617;&#3648;&#3626;&#3619;&#3655;&#3592;&#3649;&#3621;&#3657;&#3623;</p>
        </form>
	    <p>&nbsp;</p></td>
		<td rowspan="15">
			<img src="images/1_13.jpg" width="4" height="883" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="54" alt=""></td>
	</tr>
	<tr>
		<td rowspan="14">
			<img src="images/1_14.jpg" width="4" height="829" alt=""></td>
		<td colspan="3"><a href="checkpagun.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image70','','images/2_15.jpg',1)"><img src="images/1_15.jpg" name="Image70" width="207" height="57" border="0"></a></td>
		<td rowspan="14">
			<img src="images/1_16.jpg" width="9" height="829" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="57" alt=""></td>
	</tr>
	<tr>
		<td colspan="3"><a href="checkrepair.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image71','','images/2_17.jpg',1)"><img src="images/1_17.jpg" name="Image71" width="207" height="50" border="0"></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="50" alt=""></td>
	</tr>
	<tr>
		<td colspan="3"><a href="pagun.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image72','','images/2_18.jpg',1)"><img src="images/1_18.jpg" name="Image72" width="207" height="50" border="0"></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="50" alt=""></td>
	</tr>
	<tr>
		<td colspan="3"><a href="policy.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image73','','images/2_19.jpg',1)"><img src="images/1_19.jpg" name="Image73" width="207" height="48" border="0"></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="48" alt=""></td>
	</tr>
	<tr>
		<td colspan="3">
			<img src="images/1_20.jpg" width="207" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="1" alt=""></td>
	</tr>
	<tr>
		<td rowspan="3">
			<img src="images/1_21.jpg" width="2" height="121" alt=""></td>
		<td><a href="loginadmin.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image74','','images/2_22.jpg',1)"><img src="images/1_22.jpg" name="Image74" width="204" height="46" border="0"></a></td>
		<td rowspan="3">
			<img src="images/1_23.jpg" width="1" height="121" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="46" alt=""></td>
	</tr>
	<tr>
		<td><a href="download.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image75','','images/2_24.jpg',1)"><img src="images/1_24.jpg" name="Image75" width="204" height="47" border="0"></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="47" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/1_25.jpg" width="204" height="28" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="28" alt=""></td>
	</tr>
	<tr>
		<td colspan="3"><a href="http://www8.hp.com/th/en/home.html" target="_blank"><img src="images/1_26.jpg" width="207" height="171" alt=""></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="171" alt=""></td>
	</tr>
	<tr>
		<td colspan="3"><a href="http://www.acer.co.th/ac/th/TH/content/home" target="_blank"><img src="images/1_27.jpg" width="207" height="106" alt=""></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="106" alt=""></td>
	</tr>
	<tr>
		<td colspan="3"><a href="http://www.canon.co.th/home" target="_blank"><img src="images/1_28.jpg" width="207" height="122" alt=""></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="122" alt=""></td>
	</tr>
	<tr>
		<td colspan="3"><a href="http://welcome.brother.com/th-th.html" target="_blank"><img src="images/1_29.jpg" width="207" height="93" alt=""></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="93" alt=""></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="2">
			<img src="images/1_30.jpg" width="207" height="10" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="4" alt=""></td>
	</tr>
	<tr>
		<td colspan="6">
			<img src="images/1_31.jpg" width="800" height="6" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="6" alt=""></td>
	</tr>
	<tr>
		<td colspan="12">
			<img src="images/1_32.jpg" alt="" width="1024" height="76" border="0" usemap="#Map"></td>
		<td>
			<img src="images/spacer.gif" width="1" height="76" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/spacer.gif" width="4" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="2" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="204" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="9" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="75" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="168" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="134" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="158" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="126" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="139" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="4" height="1" alt=""></td>
		<td></td>
	</tr>
</table>
<!-- End Save for Web Slices -->
<map name="Map">
  <area shape="rect" coords="671,52,866,74" href="mailto:kungcomputer@hotmail.com">
</map>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>
</body>
</html>
<?php
mysql_free_result($ser);
?>
