?? product_host_edit.asp
字號(hào):
<!--#include file="conn.asp" -->
<!--#include file="admin_dn.asp" -->
<%
if Trim(Request.QueryString("w"))="save" then
rs.open "select * from host where id="&request("id"),conn,2,3
rs("bh")=Trim(Request.Form("bh"))
rs("title")=Trim(Request.Form("title"))
rs("kj")=Request.Form("kj")
rs("je1")=Request.Form("je1")
rs("je2")=Request.Form("je2")
rs("je3")=Request.Form("je3")
rs("ej")=Trim(Request.Form("ej"))
rs("fj")=Trim(Request.Form("fj"))
rs("access")=Trim(Request.Form("access"))
rs("mail")=Trim(Request("mail"))
rs("bak")=Trim(Request.Form("bak"))
rs("os")=Trim(Request.Form("os"))
rs("bf")=Trim(Request.Form("bf"))
rs("cpu")=Trim(Request.Form("cpu"))
rs("bbs")=Trim(Request.Form("bbs"))
rs("asp")=Trim(Request.Form("asp"))
rs("php")=Trim(Request.Form("php"))
rs("jsp")=Trim(Request.Form("jsp"))
rs("cgi")=Trim(Request.Form("cgi"))
rs("net")=Trim(Request.Form("net"))
rs("mysql")=Trim(Request.Form("mysql"))
rs("mssql")=Trim(Request.Form("mssql"))
rs("domain")=Trim(Request.Form("domain"))
rs("bm")=Trim(Request.Form("bm"))
rs.update
%>
<script language="VBScript" type="text/VBScript">
msgbox "修改成功..."
</script>
<%
rs.close
end if
rs.open "select * from host where id="&request("id"),conn,1,1
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<link href="image/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="5" topmargin="5">
<p><strong>修改主機(jī)產(chǎn)品信息</strong></p>
<p> </p>
<form name="form1" method="post" action="product_host_edit.asp?w=save">
<table width="95%" height="364" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="20%">產(chǎn) 品 編 號(hào):</td>
<td width="80%"><input name="bh" type="text" id="bh" value="<%=rs("bh")%>" size="10">
<font color="#FF0000">你對(duì)產(chǎn)品進(jìn)行編號(hào)
<input name="id" type="hidden" id="id" value="<%=request("id")%>">
</font></td>
</tr>
<tr>
<td>排 列 序 號(hào):</td>
<td><input name="bm" type="text" id="bm" value="<%=rs("bm")%>" size="10"></td>
</tr>
<tr>
<td>產(chǎn) 品 名 稱:</td>
<td><input name="title" type="text" id="title" value="<%=rs("title")%>">
<font color="#FF0000">簡(jiǎn)要的介紹</font></td>
</tr>
<tr>
<td>操 作 系 統(tǒng):</td>
<td><input type="radio" name="os" value="windows" <%if rs("os")="windows" then response.write "checked" end if %>>
windows
<input type="radio" name="os" value="linux" <%if rs("os")="linux" then response.write "checked" end if %>>
linux</td>
</tr>
<tr>
<td>連 接 數(shù):</td>
<td><input name="bf" type="text" id="bf" value="<%=rs("bf")%>">
</td>
</tr>
<tr>
<td>CPU限制:</td>
<td><input name="cpu" type="text" id="cpu" value="<%=rs("cpu")%>"></td>
</tr>
<tr>
<td>論壇支持:</td>
<td><input type="radio" name="bbs" value="yes" <%if rs("bbs")="yes" then response.write "checked" end if %>>
yes
<input type="radio" name="bbs" value="no" <%if rs("bbs")="no" then response.write "checked" end if %>>
no</td>
</tr>
<tr>
<td>asp支持:</td>
<td><input type="radio" name="asp" value="yes" <%if rs("asp")="yes" then response.write "checked" end if %>>
yes
<input type="radio" name="asp" value="no" <%if rs("asp")="no" then response.write "checked" end if %>>
no</td>
</tr>
<tr>
<td>php支持:</td>
<td><input type="radio" name="php" value="yes" <%if rs("php")="yes" then response.write "checked" end if %>>
yes
<input type="radio" name="php" value="no" <%if rs("php")="no" then response.write "checked" end if %>>
no</td>
</tr>
<tr>
<td>cgi支持:</td>
<td><input type="radio" name="cgi" value="yes" <%if rs("cgi")="yes" then response.write "checked" end if %>>
yes
<input type="radio" name="cgi" value="no" <%if rs("cgi")="no" then response.write "checked" end if %>>
no</td>
</tr>
<tr>
<td>jsp支持:</td>
<td><input type="radio" name="jsp" value="yes" <%if rs("jsp")="yes" then response.write "checked" end if %>>
yes
<input type="radio" name="jsp" value="no" <%if rs("jsp")="no" then response.write "checked" end if %>>
no</td>
</tr>
<tr>
<td>.net支持:</td>
<td><input type="radio" name="net" value="yes" <%if rs("net")="yes" then response.write "checked" end if %>>
yes
<input type="radio" name="net" value="no" <%if rs("net")="no" then response.write "checked" end if %>>
no</td>
</tr>
<tr>
<td>access支持:</td>
<td><input type="radio" name="access" value="yes" <%if rs("access")="yes" then response.write "checked" end if %>>
yes
<input type="radio" name="access" value="no" <%if rs("access")="no" then response.write "checked" end if %>>
no</td>
</tr>
<tr>
<td>mssql支持:</td>
<td><input type="radio" name="mssql" value="yes" <%if rs("mssql")="yes" then response.write "checked" end if %>>
yes
<input type="radio" name="mssql" value="no" <%if rs("mssql")="no" then response.write "checked" end if %>>
no</td>
</tr>
<tr>
<td>mysql支持:</td>
<td><input type="radio" name="mysql" value="yes" <%if rs("mysql")="yes" then response.write "checked" end if %>>
yes
<input type="radio" name="mysql" value="no" <%if rs("mysql")="no" then response.write "checked" end if %>>
no</td>
</tr>
<tr>
<td>綁定域名:</td>
<td><input name="domain" type="text" id="domain" value="<%=rs("domain")%>"></td>
</tr>
<tr>
<td>磁 盤 空 間:</td>
<td><input name="kj" type="text" id="kj" value="<%=rs("kj")%>"></td>
</tr>
<tr>
<td>硬 件 說 明:</td>
<td><input name="ej" type="text" id="ej" value="<%=rs("ej")%>" size="30">
<font color="#FF0000">對(duì)服務(wù)器硬件的說明</font></td>
</tr>
<tr>
<td>環(huán) 境 說 明:</td>
<td><input name="fj" type="text" id="fj" value="<%=rs("fj")%>" size="30">
<font color="#FF0000">網(wǎng)絡(luò)等</font></td>
</tr>
<tr>
<td>贈(zèng) 送 郵 局:</td>
<td><input name="mail" type="text" id="mail" value="<%=rs("mail")%>" size="15"></td>
</tr>
<tr>
<td>其 它 說 明:</td>
<td><textarea name="bak" cols="30" rows="4" id="bak"><%=rs("bak")%></textarea></td>
</tr>
<tr>
<td>直接客戶價(jià)格:</td>
<td><input name="je1" type="text" id="je1" value="<%=rs("je1")%>" size="10">
元/年 <font color="#FF0000">只能為數(shù)字</font></td>
</tr>
<tr>
<td>一般代理價(jià)格:</td>
<td><input name="je2" type="text" id="je2" value="<%=rs("je2")%>" size="10">
元/年<font color="#FF0000"> 只能為數(shù)字</font></td>
</tr>
<tr>
<td>高級(jí)代理價(jià)格:</td>
<td><input name="je3" type="text" id="je3" value="<%=rs("je3")%>" size="10">
元/年<font color="#FF0000"> 只能為數(shù)字</font></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="確定修改"></td>
</tr>
</table>
</form>
<p> </p>
<% rs.close %>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -