<?
//pageHeader();
?>
<!--your code here-------------------------------------------------------------------------->
<form name="ff" action="addPathServer.php" METHOD="POST" ENCTYPE="multipart/form-data">
            
  <table width="391" border=0 align="center">
    <!--DWLayoutTable-->
    <tr> 
      <td width="143">
      <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">ชื่อเครื่อง Server เดิม  
</font></td>
      <td width="238"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> 
        http://<? echo $pserver?></font></td>
    </tr>
    <tr bgcolor="#EBEBEB"> 
      <td>
      <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">ชื่อเครื่อง Server ใหม่  </font></td>
      <td>
       <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">
      http://<input name="new_path" type="text" size="29" maxlength="100"></font></td>
    </tr>
    <tr> 
      <td height="22" colspan="2"  align="center"><input type="submit" name="editpath" value="บันทึก" onClick='return editp();'></td>
    </tr>
  </table>
  <br>
  <table align="center">
        <tr>
        <td align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><a href="#" onClick="window.close()">[ปิดหน้าต่างนี้]</a></font></td>
        </tr>
</table>
 <input type="hidden" name="method" value="editpath">
</form>
<!--put javascript here-->
<script>
function editp(){
        if(document.ff.new_path.value==""){
            alert("กรุณากรอกชื่อเครื่อง Server ใหม่ !");
            return false;
        }
            document.ff.submit;    
}
</script>