拜托,先放上我提供的脚本代码,然后再让我看效果如何? 我再一次浏览你的网站的脚本,没有发现任何有关我提供的部分代码。 以下是你的网站的完整脚本代码: PHP: JavaScript - http://wwwno1.008.net/http://wwwno1.008.net/http://www.008.net/ads1.phpdocument.write("<style type=\"text/css\">.style1 {font-size: 12px}</style><SCRIPT language=JavaScript>function ad_setPPC() { var _ex = new Date(); var _ext = _ex.getTime()+10*60*1000; _ex.setTime(_ext); document.cookie = 'ad_lastPP=1; expires='+_ex.toGMTString(); if (document.cookie) { return true; } return false;}function ad_getPPC() { var c = document.cookie; if (!c) return false; var cValues = c.split(';'); for(i=0;i<cValues.length;i++) { if (cValues[i].match(/ad_lastPP/)) { return true; } } return false;} if (!ad_getPPC()) { ad_setPPC(); }</SCRIPT><script>var h_adbar = 80;function fXDL8GS5fRL() { var fXDL8GS5f=document.getElementById('fXDL8GS5f'); var fXDL8GS5fStyle; if (fXDL8GS5f.style) { fXDL8GS5fStyle = fXDL8GS5f.style; } if (document.all) { fXDL8GS5fStyle.pixelTop = document.body.clientHeight + document.body.scrollTop - fXDL8GS5fStyle.pixelHeight-h_adbar; fXDL8GS5fStyle.pixelWidth = document.body.clientWidth; fXDL8GS5fStyle.pixelLeft = 0; } else { fXDL8GS5fStyle.top = window.innerHeight + window.pageYOffset - h_adbar; fXDL8GS5fStyle.left = 0; fXDL8GS5fStyle.width =window.innerWidth; }}function top_fXDL8GS5f() { var maxz = 0; for(i=0;i<document.all.length;i++) { obj = document.all.item(i); if ( obj.tagName == 'DIV' ) { if ( obj.style.zIndex > maxz) { maxz = obj.style.zIndex+1; } } } fXDL8GS5f.style.zIndex = maxz+1;} function bottom_adl_init() { fXDL8GS5fRL(); setInterval('fXDL8GS5fRL()',50); top_fXDL8GS5f();}</script><style>#fXDL8GS5f { position: absolute; visibility: visible; /*background-color: #cfcdc5;*/ vertical-align: middle; font-size: 12px; text-align: center;}#B2 { font-size: 12px; }</style><div id='fXDL8GS5f'><div><!-- SOHU AD --><iframe marginwidth=0 marginheight=0 frameborder=0 bordercolor='#000000' scrolling='no' src='http://www.008.net/ad1_2.php' width='760' height='80'></iframe><!--<table width=\"100%\" height=\"0\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#FFCC99\"><tr align=\"center\"> <td><a href='http://www.chinaxxx.net/' target='_blank'><span class=\"style1\">ChinaXXX.net</span></a></td> <td><span class=\"style1\">�˹��λ����,QQ:18005868</span></td> <td><span class=\"style1\">�˹��λ����,QQ:18005868</span></td> <td><span class=\"style1\">�˹��λ����,QQ:18005868</span></td> <td><span class=\"style1\">�˹��λ����,QQ:18005868</span></td> </tr> </table>--><!-- TOM NEWS --><br><br></div></div><script>bottom_adl_init(); </script>");document.write("<img src=\"http://www.008.net/stat/nalogd.php?counter=ads&url=\" width=0 height=0>");window.focus();http://wwwno1.008.net/ 的行间 Scriptfunction ad_setPPC() { var _ex = new Date(); var _ext = _ex.getTime()+10*60*1000; _ex.setTime(_ext); document.cookie = 'ad_lastPP=1; expires='+_ex.toGMTString(); if (document.cookie) { return true; } return false;}function ad_getPPC() { var c = document.cookie; if (!c) return false; var cValues = c.split(';'); for(i=0;i<cValues.length;i++) { if (cValues[i].match(/ad_lastPP/)) { return true; } } return false;} if (!ad_getPPC()) { ad_setPPC(); }http://wwwno1.008.net/ 的行间 Scriptvar h_adbar = 160;function f9S6gWYZhRL() { var f9S6gWYZh=document.getElementById('f9S6gWYZh'); var f9S6gWYZhStyle; if (f9S6gWYZh.style) { f9S6gWYZhStyle = f9S6gWYZh.style; } if (document.all) { f9S6gWYZhStyle.pixelTop = document.body.clientHeight + document.body.scrollTop - f9S6gWYZhStyle.pixelHeight-h_adbar; f9S6gWYZhStyle.pixelWidth = document.body.clientWidth; f9S6gWYZhStyle.pixelLeft = 0; } else { f9S6gWYZhStyle.top = window.innerHeight + window.pageYOffset - h_adbar; f9S6gWYZhStyle.left = 0; f9S6gWYZhStyle.width =window.innerWidth; }}function top_f9S6gWYZh() { var maxz = 0; for(i=0;i<document.all.length;i++) { obj = document.all.item(i); if ( obj.tagName == 'DIV' ) { if ( obj.style.zIndex > maxz) { maxz = obj.style.zIndex+1; } } } f9S6gWYZh.style.zIndex = maxz+1;} function bottom_adl_init() { f9S6gWYZhRL(); setInterval('f9S6gWYZhRL()',50); top_f9S6gWYZh();}http://wwwno1.008.net/ 的行间 Scriptbottom_adl_init(); http://wwwno1.008.net/ 的行间 Scriptrr=Math.random();document.write("<script src='./index_tpl.php?java="+rr+"'><\/script>");http://wwwno1.008.net/index_tpl.php?java=0.31837583864548935<script language="javascript" src="http://www.008.net/ads1.php"></script>lfjid=''http://wwwno1.008.net/ 的行间 Script//下拉菜单var style='<a style=font-size:9pt;line-height:12pt; href=?setstyle=grey>> 灰色风格</a><br><a style=font-size:9pt;line-height:12pt; href=?setstyle=php168>> 官方风格</a><br>'http://wwwno1.008.net/images/default/head.js//����Ϣfunction Shows(divid) { divid.filters.revealTrans.apply(); divid.style.visibility = "visible"; divid.filters.revealTrans.play(); }function Hide(divid) { divid.filters.revealTrans.apply(); divid.style.visibility = "hidden"; divid.filters.revealTrans.play();}//����˵� var h; var w; var l; var t; var topMar = 1; var leftMar = -2; var space = 1; var isvisible; var MENU_SHADOW_COLOR='#cccccc';//��������˵���Ӱɫ var global = window.document global.fo_currentMenu = null global.fo_shadows = new Arrayfunction HideMenu_mmc() { var mX; var mY; var vDiv; var mDiv; if (isvisible == true){ vDiv = document.all("menuDiv"); mX = window.event.clientX + document.body.scrollLeft; mY = window.event.clientY + document.body.scrollTop; if ((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){ vDiv.style.visibility = "hidden"; isvisible = false; }}}function ShowMenu_mmc(vMnuCode,tWidth) { vSrc = window.event.srcElement; vMnuCode = "<table id='submenu' cellspacing=1 cellpadding=3 style='width:"+tWidth+"' onmouseout='HideMenu_mmc()'><tr height=23><td nowrap align=left class=table2>" + vMnuCode + "</td></tr></table>"; h = vSrc.offsetHeight; w = vSrc.offsetWidth; l = vSrc.offsetLeft + leftMar+4; t = vSrc.offsetTop + topMar + h + space-2; vParent = vSrc.offsetParent; while (vParent.tagName.toUpperCase() != "BODY") { l += vParent.offsetLeft; t += vParent.offsetTop; vParent = vParent.offsetParent; } menuDiv.innerHTML = vMnuCode; menuDiv.style.top = t; menuDiv.style.left = l; menuDiv.style.visibility = "visible"; isvisible = true; makeRectangularDropShadow(submenu, MENU_SHADOW_COLOR, 4)}function makeRectangularDropShadow(el, color, size){ var i; for (i=size; i>0; i--) { var rect = document.createElement('div'); var rs = rect.style rs.position = 'absolute'; rs.left = (el.style.posLeft + i) + 'px'; rs.top = (el.style.posTop + i) + 'px'; rs.width = el.offsetWidth + 'px'; rs.height = el.offsetHeight + 'px'; rs.zIndex = el.style.zIndex - i; rs.backgroundColor = color; var opacity = 1 - i / (i + 1); rs.filter = 'alpha(opacity=' + (100 * opacity) + ')'; el.insertAdjacentElement('afterEnd', rect); global.fo_shadows[global.fo_shadows.length] = rect; }}var stylelist = style+' > <a style=font-size:9pt;line-height:12pt; href=\"?setstyle=no\"><font color=red>�ָ�Ĭ�Ϸ��</font></a>'var functionbbs='<a style=font-size:9pt;line-height:12pt; href=\"search.php\">վ������</a><br><a style=font-size:9pt;line-height:12pt; href=\"myinfo.php\">��������</a><br><a style=font-size:9pt;line-height:12pt; href=\"./search.php?fid=&job=show_artic_top&desc=desc&bencandy_top=posttime&showusr=\"><font color=>��������</font></a><br><a style=font-size:9pt;line-height:12pt; href=\"./search.php?job=show_sort_top&bencandy_top=replies\"><font color=>�Ŀ���а�</font></a><br><a style=font-size:9pt;line-height:12pt; href=\"./search.php?job=myartic\"><font color=>�ҵ�����</font></a><br><a style=font-size:9pt;line-height:12pt; href=\"./search.php?job=show_all_members\"><font color=>��Ա�б�</font></a>'document.write("<div id=menuDiv style='Z-INDEX: 2; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8'></div>");//˫�����var currentpos,timer; function initialize() { timer=setInterval("scrollwindow()",10); } function sc() { clearInterval(timer); } function scrollwindow() { currentpos=document.body.scrollTop; window.scroll(0,++currentpos); if (currentpos != document.body.scrollTop) sc(); } document.onmousedown=sc document.ondblclick=initialize function html_trans(str) { str = str.replace(/\r/g,""); str = str.replace(/on(load|click|dbclick|mouseover|mousedown|mouseup)="[^"]+"/ig,""); str = str.replace(/<script[^>]*?>([\w\W]*?)<\/script>/ig,""); str = str.replace(/<a[^>]+href="([^"]+)"[^>]*>(.*?)<\/a>/ig,"\n[url=$1]$2[/url]\n"); str = str.replace(/<font[^>]+color=([^ >]+)[^>]*>(.*?)<\/font>/ig,"\n[color=$1]$2[/color]\n"); str = str.replace(/<img[^>]+src="([^"]+)"[^>]*>/ig,"\n[img]$1[/img]\n"); str = str.replace(/<([\/]?)b>/ig,"[$1b]"); str = str.replace(/<([\/]?)strong>/ig,"[$1b]"); str = str.replace(/<([\/]?)u>/ig,"[$1u]"); str = str.replace(/<([\/]?)i>/ig,"[$1i]"); str = str.replace(/ /g," "); str = str.replace(/&/g,"&"); str = str.replace(/"/g,"\""); str = str.replace(/</g,"<"); str = str.replace(/>/g,">"); str = str.replace(/<br>/ig,"\n"); str = str.replace(/<[^>]*?>/g,""); str = str.replace(/\[url=([^\]]+)\]\n(\[img\]\1\[\/img\])\n\[\/url\]/g,"$2"); str = str.replace(/\n+/g,"\n"); return str;}function trans(){ var str = ""; ubb_iframe.focus(); ubb_iframe.document.body.innerHTML = ""; ubb_iframe.document.execCommand("paste"); str = ubb_iframe.document.body.innerHTML; if(str.length == 0) { alert("���а治���ڳ��ı���ݣ�"); return ""; } document.FORM.atc_content.value+=html_trans(str);}//function showson(ss){ if (ss.style.display == 'none'){ ss.style.display = ''; }else{ ss.style.display = 'none'; }}http://wwwno1.008.net/php168/forum_menu.jsvar forum_0="����<a style=font-size:9pt;line-height:12pt; href='list.php?fid=1'>��������</a><br>" var forum_1="������<a style=font-size:9pt;line-height:12pt; href='list.php?fid=2'>��������</a><br>������<a style=font-size:9pt;line-height:12pt; href='list.php?fid=3'>�������</a><br>" http://wwwno1.008.net/php168/club_menu.jsvar showclub = ''http://wwwno1.008.net/ 的行间 Scriptfunction killErrors() { return true;}window.onerror = killErrors;http://wwwno1.008.net/ 的行间 Scriptif(lfjid!=''){ document.write(' ◎ 欢迎你:<b><font color="#FF0000">'+lfjid+'</font></b> 回来!'); document.write(' <a href="./myinfo.php">个人设置</a>'); document.write(' <a href="./login.php?action=quit">安全退出</a>');}else{ document.write(' <a href="./register.php">免费注册</a>'); document.write(' <a href="./login.php" target=_blank>会员登录</a>'); document.write(' 用户名:<input class=button size=12 name=loginuser>'); document.write(' 密码:<input class=button type=password size=12 name=loginpwd>'); document.write(' <input class=button type=submit value=通行证 name=login22>'); document.write('<input type="hidden" name="step" value="2">');}http://wwwno1.008.net/js/logo_word.js<script language="javascript" src="http://www.008.net/ads1.php"></script><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>404����</title><style type="text/css"><!--.style11 { color: #FF0000; font-weight: bold; font-size: 24px;}.style2 {font-size: 12px}--></style></head><body><div align="center"> <p class="style11">404����!</p> <p class="style2">�� �� �� �� �� �� ��</p><hr noshade></div></body></html>http://www.comnetcn.com/index.html?SID=33b9c7c18ec3acc3747c41e70e9bb3d6http://searchportal.information.com/index.mas?epl=UVsPWVALXVUMVV8CUBcHVwhbSFQMWBEAPlxRBQkFBFAMhttp://searchportal.information.com/index.mas?epl=UVsPWVALXVUMVV8CUBcHVwhbSFQMWBEAPlxRBQkFBFAM 的行间 Script//<!--var doPop = 1;function exitPop() { if (doPop) { url = "/?epl=UVsPWVALXVUMVV8CUBcHVwhbSFQMWBEAPlxRBQkFBFAMEhJQWBZWCQRICxdIChYVFVEVQzxHWRQMCAMKFg0FQ1ZVFl1eCkFNXA"; twin = window.open(url,"sp","width=600,height=500,toolbar=1,scrollbars=1,status=1,resizable=1"); twin.blur(); window.focus(); }}var rnum=new Number(Math.floor(99999999 * Math.random())+1);document.write('<SCR'+'IPT LANGUAGE="JavaScript" ');document.write(' SRC="http://ads.kw.revenue.net/?p=1&q=Music%2CGame%2COnline%20Banking%2CCar%20Audio%2CLife%2CCamera%2CAirline%20Tickets%2CJewish%20Singles%2CCar%20Insurance%2CTea%2COnline%20Payment%2CWork%20From%20Home%2CEmployment%2CFree%20Casino%20Games%2CDebt%20Consolidation%2CMcse%20Certification%2CHotels%2CFree%20Credit%20Report%2CChat%2CDating&dn=ahradio.com&site_id_opt=13900&site_id_ron=12169">');document.write('</SCR');document.write('IPT>');//-->http://ads.kw.revenue.net/?p=1&q=Music%2CGame%2COnline%20Banking%2CCar%20Audio%2CLife%2CCamera%2CAirline%20Tickets%2CJewish%20Singles%2CCar%20Insurance%2CTea%2COnline%20Payment%2CWork%20From%20Home%2CEmployment%2CFree%20Casino%20Games%2CDebt%20Consolidation%2CMcse%20Certification%2CHotels%2CFree%20Credit%20Report%2CChat%2CDating&dn=ahradio.com&site_id_opt=13900&site_id_ron=12169var rnum = new Number(Math.floor(99999999 * Math.random()) + 1);document.write('<SCR'+'IPT LANGUAGE="JavaScript" ');document.write(' SRC="http://ads1.revenue.net/v?site_id=12169&pplacement_id=1&r_num='+rnum+'">');document.write('</SCR');document.write('IPT>');http://ads1.revenue.net/v?site_id=12169&pplacement_id=1&r_num=57545301 var popup_width, popup_height, pos_top, pos_left,winname; if (parseFloat(navigator.appVersion)>=4) { pos_top = screen.height/2-300/2; pos_left = screen.width/2-720/2; } popup_width = 720; popup_height = 300; var rand = Math.floor(Math.random()*101); rand = "popup_"+rand; open_popup(); function open_popup() { winname=window.open('http://ads1.revenue.net/load/217333/PSpin105Oct05.html?O_R_NUM=57545301&O_RANK=1&O_CREATIVE_ID=217333&O_PPLACEMENT_ID=1&O_SITE_ID=12169&',rand,'height='+popup_height+',width='+popup_width+',left='+pos_left+',top='+pos_top+',location=0,menubar=0,status=off,locationbar=0,scrollbars=0,resizable=,toolbar=0' ); if (!winname){ return; } winname.blur(); var delay=0; for (var i=0; i<100; i++) { delay=i*25; setTimeout("self.focus();",delay); } }about:blank
我在foot.htm 文件上有添加脚本.: (表情符号提示) <!-- <?php print <<<EOT --> <table width="778" border="0" cellspacing="0" cellpadding="0" align="center" height="3" class=tablewidth> <tr> <td></td> </tr> </table> <table height=27 cellspacing=0 cellpadding=0 width=778 align=center border=0 class=tablewidth> <tbody> <tr> <td bgcolor=#dbe2e8 height=2></td> </tr> <tr> <td bgcolor=#c5cfd9 height=1></td> </tr> <tr> <td bgcolor=#ffffff height=1></td> </tr> <tr> <td noWrap align=middle width="100%" bgcolor=#f0f1f3 height=22> <div align="center">$bottom_word</div> </td> </tr> </tbody> </table> <TABLE cellSpacing=0 cellPadding=0 width=778 align=center bgColor=#ffffff border=0 class=tablewidth> <TBODY> <TR> <TD bgColor=#dbe2e8 height=1></TD></TR> <TR> <TD bgColor=#ffffff height=1></TD></TR> <TR> <TD bgColor=#c5cfd9 height=1></TD></TR> <TR> <TD bgColor=#dbe2e8 height=1></TD></TR> </TBODY> </TABLE> <TABLE class=copyright_table cellSpacing=0 cellPadding=0 width=778 align=center border=0> <TBODY> <TR> <TD align=middle class=tabletd> <div align="center">$webdb[copyright]<br> <script language="javascript"> <!-- var DIVs = document.getElementsByTagName("div"); for (var i = 0; i < DIVs.length ; i++) { if (DIVs.id.length == 9) { DIVs.style.display = "none"; DIVs.innerHTML = ""; break; } } --> </script> Powered by PHP168.com $Version $speed_totaltime</div> </TD> </TR> </TBODY> </TABLE> <TABLE cellSpacing=0 cellPadding=0 width=778 align=center bgColor=#ffffff border=0 class=tablewidth> <TBODY> <TR> <TD bgColor=#dbe2e8 height=2></TD></TR> <TR> <TD bgColor=#c5cfd9 height=1></TD></TR> <TR> <TD bgColor=#ffffff height=1></TD></TR></TBODY></TABLE> </body> </html> <!-- EOT; ?> -->
你上面给出的代码是模板文件的,但是你让我浏览网站,得到的是生成的页面。添加代码后你是否生成过首页呢? 而且从代码的层次和缩进来看,你给出的和你的首页显示的根本不是相同的代码。 看附件,“Powered by”前面根本没有加上代码。