📄 code.asp
字号:
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
<%
if Request.Cookies("globalec")("globalecmaster")="" or Request.Cookies("globalec")("masterflag")="" then
response.write "<script language='javascript'>"
response.write"this.location.href='../login.asp';</SCRIPT>"
response.end
end if
if instr(Request.Cookies("globalec")("masterflag"),"113")=0 then
response.redirect "../err.asp"
response.end
end if
%>
<html>
<head>
<title>GlobalEC 广告管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table border="0" align="center" cellpadding="3" cellspacing="1" class="tableBorder">
<tr>
<th height="22" align="center" class="tableHeaderText">
<DIV class="bar2">生成代码</div></th>
</tr>
<tr>
<td height="250" align="center" class="forumRow"> 纯JS文件(需要使用“生成JS”功能后才可使用)
<br>
<br>
<textarea name="S1" cols="60" rows="5" class="input2"><!--广告代码开始-->
<script src="<%=weburl%>ad/JS/广告名称.js"></script>
<!--广告代码结束-->
</textarea>
<br>
<br>
JS代码<br> <br>
<textarea name="textarea" cols="60" rows="5" class="input2"><!--广告代码开始-->
<script src="<%=weburl%>ad/ad.asp?adid=广告名称"></script>
<!--广告代码结束-->
</textarea></td>
</tr>
<tr>
<td height="80" class="forumRow">
<table width="427" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="427">将上面代码的“广告名称”更改成,相应广告的ID。<br>
*推荐! 纯JS文件代码,不需要服务器执行,速度第一。缺点不统计显示次数。<br>
*对于普通固定显示的图片/FLASH广告,将上面的代码复制到要显示广告的位置。<br>
*对于其他类型广告复制到显示页面的任意位置即可。</td>
</tr>
</table></td>
</tr>
</table>
<%
Set rs=nothing
conn.close
Set conn=nothing
%>
<br>
<!--#include file="../copy.asp" -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -