?? link_e.asp
字號:
<!--#include file=conn.asp-->
<!--#include file=cookies.asp-->
<%
dim rs,sql,id
id=trim(request("selectedid"))
if not isnumeric(id) or id="" then
response.write "<li>參數錯誤!"
response.end
end if
set rs = Server.CreateObject("ADODB.RecordSet")
sql="select * from [link] where id="&cstr(id)
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改連接</title>
</head>
<SCRIPT language=javascript>
<!--
function CheckForm()
{
if(document.thisForm.web.value.length<1)
{
alert("網站名稱不能為空!");
return false;
}
if(document.thisForm.url.value.length<1)
{
alert("網站地址不能為空!");
return false;
}
if(document.thisForm.webabout.value.length<1)
{
alert("網站簡介不能為空!");
return false;
}
}
//-->
</SCRIPT>
<body style="font-size: 9pt">
<form method="POST" name="thisForm" action="link_e_chk.asp?selectedid=<%=id%>">
<p style="line-height: 220%; margin-top: 0; margin-bottom: 0">
<b>修改網站連接資料</b></p><hr color="#C0C0C0" size="1">
<p style="line-height: 220%; margin-top: 0; margin-bottom: 0">
網站名稱:<input type="text" name="web" size="30" maxlength="20" value="<%=rs("web")%>"> *</p>
<p style="line-height: 220%; margin-top: 0; margin-bottom: 0">
網站地址:<input type="text" name="url" size="30" value="<%=rs("url")%>"> *</p>
<p style="line-height: 220%; margin-top: 0; margin-bottom: 0">
logo地址:<input type="text" name="logo" size="36" value="<%=rs("logo")%>"> (88*31)</p>
<p style="line-height: 220%; margin-top: 0; margin-bottom: 0">
網站簡介:<input type="text" name="webabout" size="38" maxlength="50" value="<%=rs("webabout")%>"> *</p>
<p style="line-height: 220%; margin-top: 0; margin-bottom: 0">
<input border="0" onclick="javascript:return CheckForm();" src="../image/Login_but.gif" name="I2" type="image" width="62" height="22"></p>
</form>
</body>
<%
rs.close
set rs=nothing
closedb
%>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -