?? freeadd2.asp
字號:
<%Admin="UserSee"%>
<!--#include file="check.asp"-->
<!--#include file="mdb_path_down.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>添 加 站 內 廣 告</title>
<style>
td{font-size:9pt;line-height:140%}
</style>
</head>
<%
dim rs
dim sql
dim count
set rs=server.createobject("adodb.recordset")
sql = "select * from logo "
rs.open sql,conn,1,1
%><SCRIPT language = "JavaScript">
var onecount;
onecount=0;
subcat = new Array();
<%
count = 0
do while not rs.eof
%>
<%
count = count + 1
rs.movenext
loop
rs.close
%>
onecount=<%=count%>;
function changelocation(locationid)
{
document.myform.newsid.length = 0;
var locationid=locationid;
var i;
for (i=0;i < onecount; i++)
{
if (subcat[i][1] == locationid)
{
document.myform.id.options[document.myform.id.length] = new Option(subcat[i][0], subcat[i][2]);
}
}
}
</SCRIPT>
<SCRIPT language="javascript">
<!--
function CheckForm()
{
document.myform.txtcontent.value=document.myform.doc_html.value;
return true
}
//-->
</SCRIPT>
<body bgcolor=#468ea3>
<form method="POST" name="myform" action="adminsave2.asp?action=add">
<TABLE width="80%" border="0" align="center" cellspacing="1">
<TR align="center">
<TD colspan="4" height="25" bgcolor="#145f74"><b><FONT color="#FFFFFF">添
加 站 內 廣 告</FONT></b></TD>
</TR>
<tr>
<td width="15%" align="right" valign="top" nowrap bgcolor="#a5d0dc"><b>網站名稱:</b></td>
<td width="85%" colspan="3" bgcolor="#a5d0dc"><font color="#4D9CC8">
<input type="text" name="logoname" size="60" class="smallarea" value="">
</font></td>
</tr>
<tr>
<td width="15%" align="right" valign="top" nowrap bgcolor="#a5d0dc">網站地址:</td>
<td width="85%" colspan="3" bgcolor="#a5d0dc"><font color="#4D9CC8">
<input type="text" name="logourl" size="60" class="smallarea" value="">
</font></td>
</tr>
<tr>
<td width="15%" align="right" valign="top" nowrap bgcolor="#a5d0dc">本站網址:</td>
<td width="85%" colspan="3" bgcolor="#a5d0dc"><font color="#4D9CC8">
<input type="text" name="logoimg" size="60" class="smallarea" value="http://www.2Flash.net">
</font></td>
</tr>
</TABLE>
<div align="center"><center><p><input type="submit" value=" 添 加 "
name="cmdok" class="buttonface"> <input type="reset" value=" 清 除 "
name="cmdcancel" class="buttonface"></p>
</center></div>
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -