⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 server_upd.asp

📁 易方4.0程序+邮局接口+序列号+销售系统
💻 ASP
字号:
<!-- #include file="../inc_config.asp" -->
<!-- #include file="LoginCk.asp" -->
<%
Call PopCheck(112)
Svr_ID = Request("Svr_ID")
Set SvrData = Conn.Query("EfangServer","Svr_ID=" & Svr_ID)
if SvrData.BOF or SvrData.EOF then ShowErMsg("对不起,服务器不存在!")
If Cmd="Upd" then
	Svr_Ip = Request("Svr_Ip")
	Svr_AutoUser = Request("Svr_AutoUser")
	Svr_AutoPass = Request("Svr_AutoPass")
	EfsValue= EfsValue & "Svr_Ip='" & Svr_Ip & "',"
	EfsValue= EfsValue & "Svr_AutoUser='" & Svr_AutoUser & "',"
	EfsValue= EfsValue & "Svr_AutoPass='" & Svr_AutoPass & "'"
	call Conn.Update("EfangServer",EfsValue,"Svr_ID=" & Svr_ID)
	Call ShowErMsgGo("修改成功!","?Svr_ID=" & Svr_ID)
Elseif Cmd = "Del" then
	call Conn.Delete("EfangServer","Svr_ID=" & Svr_ID)
	WriteLog "删除服务器 - " & SvrData("Svr_Name")
	Call ShowErMsgGo("服务器已经成功删除!","Server.asp")
End if
%>
<html>
<head>
<title>修改服务器设置</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link id="style_sheet" href="css/save.css" type="text/css" rel="stylesheet">
	<script language="JavaScript">style_sheet.href = parent.parent.style_sheet.href;</script>
<%=Efs_Cfg_PHeader%> 
<style type="text/css">
<!--
.unnamed1 {
	color: #FF0000;
	font-weight: bold;
}
-->
</style>
<script language="JavaScript" src="../inc_DateSelect.js" type="text/JavaScript"></script>
</head>
<script language="JavaScript" src="js/common_Efang.js"></script>
	<body class="NormalPage">
	<form id="form_help" action="help_content.asp" method="get" target="working_area">
		<input name="help_topic" type="hidden" value="服务器管理">
	</form>
<form action="?Cmd=Upd" method="POST" name="EForm" id="EForm">
  <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td id="headerToolBar" valign="middle" nowrap style="width:100%; height:22px;"><table cellpadding="0" cellspacing="0" class="HeaderPageControl">
				<tr>
					<td align="left" valign="middle" nowrap height="20">系统设置&gt;&gt; 系统参数设置 &gt;&gt; <b></b><b></b><b>服务器管理</b></td>
					<td align="center" valign="middle" nowrap width="10" height="20"></td>
					<td align="right" valign="middle" width="100%" nowrap height="20"></td>
					<td align="center" valign="middle" nowrap width="10" height="20"></td>
					<td align="right" valign="middle" width="60" nowrap height="20"><img id="id_back" alt="返回上一页" onclick="JavaScript:history.back()" onmouseover="JavaScript:this.src=imgBackUp.src" onmouseout="JavaScript:this.src=imgBackDown.src" src="images/toolbar_back.gif" border="0" style="cursor:hand;width:22px; height:20px;"><img id="id_refresh" alt="刷新" onclick="JavaScript:fn_Refresh()" onmouseover="JavaScript:this.src=imgRefreshUp.src" onmouseout="JavaScript:this.src=imgRefreshDown.src" src="images/toolbar_refresh.gif" border="0" style="cursor:hand;width:22px; height:20px;"></td>
					<td align="right" valign="middle" width="25" nowrap height="20"><img id="id_locate" alt="帮助" onclick="JavaScript:fn_ShowHelp()" onmouseover="JavaScript:this.src=imgHelpUp.src" onmouseout="JavaScript:this.src=imgHelpDown.src" src="images/toolbar_help.gif" border="0" style="cursor:hand;width:22px; height:20px;"></td>
				</tr>
		</table></td>
  </tr>
  	<tr>
		<td valign="top">
			<div id="viewPanel" style="visibility:visible; position:absolute; overflow:auto;">
				
		<br>
		<table width="85%" height="300" border="0" align="center" cellpadding="0" cellspacing="0" class="datalist">
          <tr>
            <td class="DataGroup" valign="middle">
              <table width="100%" border="0" align="center" cellPadding="0" cellSpacing="0" class="datalist">
    <tr> 
      <td width="36%" height="28" align="right">服务器名称:</td>
      <td width="64%"> <%=SvrData("Svr_Name")%> <input name="Svr_ID" type="hidden" id="Svr_ID2" value="<%=Svr_ID%>"> 
        <font color="#FF0000">&nbsp; </font> </td>
    </tr>
    <tr> 
      <td height="28" align="right">服务器IP地址:</td>
      <td><input name="Svr_Ip" type="text" class="InputOne" id="Svr_Ip3" value="<%=SvrData("Svr_Ip")%>">
        <font color="#FF0000">虚拟主机开通服务器IP地址(带上端口号)</font></td>
    </tr>
    <tr> 
      <td height="28" align="right">管理帐号(易方):</td>
      <td><input name="Svr_AutoUser" type="text" class="InputOne" id="Svr_AutoUser3" value="<%=SvrData("Svr_AutoUser")%>">
        <font color="#FF0000">易方管理软件创建站点帐号</font></td>
    </tr>
    <tr> 
      <td width="36%" height="28" align="right"><font color="#FF0000">接口密码</font>(易方):</td>
      <td width="64%"><input name="Svr_AutoPass" type="text" class="InputOne" id="Svr_AutoPass" value="<%=SvrData("Svr_AutoPass")%>">
        <font color="#FF0000">请在管理软件用户资料里面获取</font></td>
    </tr>
    <tr align="center"> 
      <td colspan="2" height="33"> <input type="submit" name="B1" value=" 修 改 " class="ButtonOne"> 
        <input class=ButtonOne name=delete type=button value=" 删 除 " onClick="if(!confirm('确认要删除此服务器吗?')){return false;}else{document.location='?Cmd=Del&Svr_ID=<%=Svr_ID%>';}">      </td>
    </tr>
  </table>
  </td>
          </tr>
        </table>
            </div></td>
	</tr>
</table>
</form>
<%Set SvrData = Nothing%>
<% Call ExitEnd(False) %>
</body>
<script language="JavaScript">
<!--
	document.parentWindow.onresize = fn_RejustViewPanel ;
	fn_RejustViewPanel ( ) ;
	//alert ( document.body.clientWidth + ":" + viewPanel.clientWidth ) ;
//-->
</script>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -