Viewing file: editpathserver.php (2.47 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "../../class/clsDB.php";
include_once "../../class/clsConnection.php";
include_once "../global.php";
include_once "../link/function.php";
include_once "../class/clsFileUpdate.php";
openWindow();
autotab();
$oCA = new clsConnection($GLOBALS['HOST'], $GLOBALS['DB_EASS'], $GLOBALS['USER_EASS'], $GLOBALS['PASSWORD_EASS']);
$oFd = new FileUpdate($oCA);
?>
<SCRIPT language="JavaScript1.2" src="../source/mainmenu.js" type="text/javascript"></SCRIPT>
<script language="javascript" src="../source/calendarDateInput2.js"></script>
<script>
function editp(){
if(document.ff.new_path.value==""){
alert("กรุณากรอกชื่อเครื่อง Server ใหม่ !");
return false;
}
document.ff.submit;
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<title>....ยินดีต้อนรับ....โปรแกรมควบคุมเวอร์ชั่น</title>
<form name="ff" action="addpathserver.php" METHOD="POST" ENCTYPE="multipart/form-data">
<table width="370" border=0 align="center">
<!--DWLayoutTable-->
<tr>
<td width="111" <? $countrow++; if(($countrow%2) == 0){ ?> bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_6'];?>" <? }?>><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">ชื่อเครื่อง Server เดิม
</font></td>
<td width="232" <? if(($countrow%2) == 0){ ?> bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_6'];?>" <? }?>><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">
http://<? echo $pserver; ?></font></td>
</tr>
<tr>
<td <? $countrow++; if(($countrow%2) == 0){ ?> bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_1"];?>" <? }?>>
<font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">ชื่อเครื่อง Server ใหม่ </font></td>
<td <? if(($countrow%2) == 0){ ?> bgcolor="<?php echo $GLOBALS["COLOR_BG_TABLE_1"];?>" <? }?>>
<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>
|