- UID
- 39132
- 帖子
- 31
- 精华
- 0
- 贡献
- 0
- 推广
- 0
- 有效BUG
- 0
- 注册时间
- 2007-1-11
|
5#
发表于 2010-8-3 10:19
| 只看该作者
本帖最后由 crossky 于 2010-8-3 10:23 编辑
该网站可能需要账号才能打开,网页代码我帖出来吧
<div class="ad_footerbanner" id="hide_ad_footerbanner1"></div>
<div class="ad_footerbanner" id="hide_ad_footerbanner2"></div>
<div class="ad_footerbanner" id="hide_ad_footerbanner3"><script type='text/javascript' language='javascript'>
var cnxad_userid='44661';
var cnxad_subid='0';
var cnxad_exid='0';
var cnxad_t='30';
var cnxad_encode='tixtaCBCkGZcfNEGiwh4eCVBViIlJ0%2bpBDoQULCY%2fpVgGYsxMWzWfA%3d%3d&et=1';
</script>
<script type='text/javascript' language='javascript' src='http://js.cnxad.com/pcode.js'></script></div>
</div>
<script type="text/javascript">
function showads(unavailables, filters) {
var ad, re;
var hideads = $('hide_ads').getElementsByTagName('div');
var insenzads = {'headerbanner' : '1', 'thread3_0' : '2', 'thread2_0' : '3', 'thread1_0' : '4', 'interthread' : '5', 'footerbanner1' : '6', 'footerbanner2' : '7', 'footerbanner3' : '8'};
for(var i = 0; i < hideads.length; i++) {
if(hideads.id.substr(0, 8) == 'hide_ad_' && (ad = $(hideads.id.substr(5))) && hideads.innerHTML && trim(ad.innerHTML) == '') {
if(unavailables) {
re = new RegExp(insenzads[hideads.id.substr(8)] + "\:(0" + "|" + gid + "|" + fid + ")", "ig");
if(re.exec(unavailables) != null) continue;
} else if(filters) {
if(in_array(insenzads[hideads.id.substr(8)], filters)) continue;
}
ad.innerHTML = hideads.innerHTML;
ad.className = hideads.className;
}
}
}
</script>
<script type="text/javascript">showads();</script>
<script type="text/javascript">$('hide_ads').parentNode.removeChild($('hide_ads'));</script> |
|