不少人都发现换上新模板后添加广告后没效果了。 
那是因为新模板上面可能没有广告代码。 
 
 
更多标签代码两天内会发出来。在修改MOP。碰到没有广告代码的时候才会去找找。暂时没有时间去整理所有广告代码。风格做完了会全部发上来 
 
http://www.boat9.com 
$_SCONFIG[sitename]显示网站标题 
 
$_SCONFIG[indexadheader]显示首页头条广告 
$_SCONFIG[indexadcenter]显示首页中部广告 
$_SCONFIG[indexadfooter]显示首页底部广告 
$_SCONFIG[adminemail]显示站长邮件 
 
<!--{if !empty($_SCONFIG['indexadfloating']) || !empty($_SCONFIG['indexadside'])}--> 
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script> 
<script language="javascript"> 
<!--{if !empty($_SCONFIG['indexadfloating'])}--> 
var lengthobj = getWindowSize(); 
lsfloatdiv('floatAdv', 0, 0, "<div style=\"position: absolute; right: 6px; bottom: -"+lengthobj.winHeight+"px;\"><!--{eval echo jsstrip($_SCONFIG['indexadfloating']);}--></div>").floatIt(); 
<!--{/if}--> 
<!--{if !empty($_SCONFIG['indexadside'])}--> 
lsfloatdiv('coupleBannerAdv', 0, 0, "<div style=\"position: absolute; left: 6px; top: 6px;\"><!--{eval echo jsstrip($_SCONFIG['indexadside']);}--><br><img src=\"{S_URL}/images/system/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"></div><div style=\"position: absolute; right: 6px; top: 6px;\"><!--{eval echo jsstrip($_SCONFIG['indexadside']);}--><br><img src=\"{S_URL}/images/system/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"></div>").floatIt(); 
<!--{/if}--> 
</script> 
<!--{/if}--> 
<!--{if !empty($_SCONFIG['indexadwindow'])}--> 
<script type="text/javascript"> 
window.open('$_SCONFIG[indexadwindow]'); 
</script> 
<!--{/if}--> 
这段显示对联广告和浮动广告 
 
[ 本帖最后由 heny110 于 2007-3-1 14:32 编辑 ] |