<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Admin</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link href="../css/main.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function mOvr(src, clrOver){ 
	if (!src.contains(event.fromElement)){ 
		src.style.cursor = 'hand'; 
		src.bgColor = clrOver; 
	} 
} 
function mOut(src, clrIn){ 
	if (!src.contains(event.toElement)){ 
		src.style.cursor = 'default'; 
		src.bgColor = clrIn; 
	} 
} 
function mClk(src, clrOver, clrIn){ 
	if((event.srcElement.tagName=='TD') && (src.children.tags('A')[0]))
		src.children.tags('A')[0].click();
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>

</head>
<body bgcolor="#F4F4F4" leftmargin="1" topmargin="1" marginwidth="1" marginheight="1">
<table width="100%" height="100%" cellpadding="0" cellspacing="1">
  <tr>
    <td align="center" valign="middle"><table width="696" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
        <tr>
          <td height="19" bgcolor="#FFFFFF"><table width="100%" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="3" align="center" bgcolor="#CCED49"></td>
              </tr>
              <tr>
                <td height="17" align="center" bgcolor="#9CBE14"><strong><font color="#FFFFFF" size="1" face="MS Sans Serif, AngsanaUPC, CordiaUPC">รายละเอียดโครงการ</font></strong></td>
              </tr>
              <tr> 
                <td height="17" align="center" bgcolor="#C6EA35"><table width="100%" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td width="1%">&nbsp;</td>
                      <td width="17%" ><table cellpadding="0" cellspacing="1" bgcolor="#89B700">
                          <tr> 
                            <td width="83" align="center" bgcolor="#CCFF33" onMouseOver="mOvr(this, '#C6EA35')"  onMouseOut="mOut(this, '#CCFF33')"  ><strong><a href="view00.php">&nbsp;หน้าโครงการ&nbsp;</a></strong></td>
                          </tr>
                        </table></td>
                      <td width="72%">&nbsp;</td>
                      <td width="10%"><table cellpadding="0" cellspacing="1" bgcolor="#89B700">
                          <tr> 
                            <td align="center" bgcolor="#CCFF33" onMouseOver="mOvr(this, '#C6EA35')"  onMouseOut="mOut(this, '#CCFF33')"  onClick="javascript:window.close();" ><strong><a href="#" >&nbsp;Close&nbsp;</a></strong></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr> 
                <td valign="top" bgcolor="#E4F3AB"> <table width="100%" height="100%" cellpadding="0" cellspacing="1">
                    <tr> 
                      <td height="38" valign="top" bgcolor="#F7FAED"><table width="100%" cellspacing="5" cellpadding="0">
                          <tr> 
                            <td><table width="100%" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF">
                                <tr valign="top"> 
                                  <td width="25%" align="right"><strong>โครงการที่</strong></td>
                                  <?
	if(file_exists("new.txt")) 
	  {
	        $dat01 = file("new.txt");
       		    $split = explode("|X|",$dat01[$num]);
				$imgn="data/imagefiles/$split[3]";
				$No = sprintf("%04d",$split[0]);
      }
?>
                                  <td width="75%"><?php echo $No ?>&nbsp;</td>
                                </tr>
                                <tr valign="top"> 
                                  <td align="right" bgcolor="#eeeeee"><strong onClick="MM_goToURL('parent','../xxx/view01.php');return document.MM_returnValue">ห้วข้อโครงการ</strong></td>
                                  <td bgcolor="#eeeeee"><?php echo "$split[1]" ?></td>
                                </tr>
                                <tr valign="top"> 
                                  <td align="right"><strong><font color="#000000" size="1" face="MS Sans Serif, AngsanaUPC, CordiaUPC"><strong>ที่ตั้งโครงการ</strong></font></strong></td>
                                  <?
	if(file_exists("new.txt")) 
	  {
	        $dat01 = file("new.txt");
       		    $split = explode("|X|",$dat01[$num]);
				$imgn="data/imagefiles/$split[3]";
				$No = sprintf("%04d",$split[0]);
      }
?>
                                  <td><?php echo "$split[5]" ?>&nbsp;</td>
                                </tr>
                                <tr valign="top"> 
                                  <td align="right" bgcolor="#eeeeee"><font color="#000000" size="1" face="MS Sans Serif, AngsanaUPC, CordiaUPC"><strong>รูปแบบบ้านและพื้นที่ใช้สอย</strong></font></td>
                                  <td bgcolor="#eeeeee"><?php echo "$split[6]" ?></td>
                                </tr>
                                <tr valign="top"> 
                                  <td align="right"><strong><font color="#000000" size="1" face="MS Sans Serif, AngsanaUPC, CordiaUPC"><strong>ขนาดโครงการ</strong></font></strong></td>
                                  <?
	if(file_exists("new.txt")) 
	  {
	        $dat01 = file("new.txt");
       		    $split = explode("|X|",$dat01[$num]);
				$imgn="data/imagefiles/$split[3]";
				$No = sprintf("%04d",$split[0]);
      }
?>
                                  <td><?php echo "$split[7]" ?>&nbsp;</td>
                                </tr>
                                <tr valign="top" bgcolor="#eeeeee"> 
                                  <td align="right"><strong>รายละเอียด</strong></td>
                                  <td> <table width="95%" cellpadding="5" cellspacing="1" bgcolor="#999999">
                                      <tr> 
                                        <td bgcolor="#FFFFFF"><?php echo "$split[2]" ?></td>
                                      </tr>
                                    </table></td>
                                </tr>
                                <?
                           if($split[3]!="0")
						   {
                                 echo "   <tr valign=top> ";
                                 echo "    <td height=24 align=right><strong>รูปภาพ</strong></td>";
                                 echo "     <td><img src=$imgn><br> ";
                                 echo "       </td></tr>";
                            } 
?>
                              </table> </td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table></td>

  </tr>
</table>
