ad.asp
上传用户:ziqing_518
上传日期:2022-08-09
资源大小:446k
文件大小:2k
- <!--#include file="users.asp" -->
- <!--#include file="config.asp" -->
- <!--#include file="../md5.asp" -->
- <!--#include file="cookies.asp" -->
- <%
- if rs4("boolAD")=False then
- Response.Redirect "index.asp"
- end if
- end if
- rs.close
- set rs=nothing
- end if
- %>
- <!--#include file="function.asp" -->
- <!--#include file="code.asp" -->
- <!--#include file="first.asp" -->
- <table border=0 cellspacing=0 style='border-collapse:collapse' width=735 height=233 cellpadding=3>
- <tr>
- <td width=185 valign=top>
- <!--#include file="inc.asp" -->
- </td>
- <td width=550 valign=top>
- <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#000000">
- <tr>
- <td bgcolor="#D4D4D4" align="center">广告设置
- </td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF">
- <%
- if Request.QueryString("post")<>"" then
- ad_Doing()
- else
- showAD()
- end if
- %>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <br><hr width=735>
- <center>
- <script language="JavaScript">
- function runHtml() { var code=event.srcElement.parentElement.children[0].value; var newwin=window.open('','','width=600,height=400,status=yes,menubar=yes,toolbar=no,directies=yes,resizable=yes,scrollbars=yes'); newwin.opener = null ; newwin.document.write(code); newwin.document.close();}
- function Popup(url, window_name, window_width, window_height) {settings="toolbar=no,location=no,directories=no,"+"status=no,menubar=no,scrollbars=yes,"+"resizable=yes,width="+window_width+",height="+window_height;NewWindow=window.open(url,window_name,settings);}
- function ctlent(obj) {if((event.ctrlKey && window.event.keyCode == 13) || (event.altKey && window.event.keyCode == 83)) {if(validate(this.document.input)) {this.document.input.submit();}}}
- function checkall(form) {for(var i = 0;i < form.elements.length; i++) {var e = form.elements[i];if (e.name != 'chkall') e.checked = form.chkall.checked;}}
- function findobj(n, d) {var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for(i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i>d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;}
- function copycode(obj) {var rng = document.body.createTextRange();rng.moveToElementText(obj);rng.scrollIntoView();rng.select();rng.execCommang.collapse(false);}
- </script>