首先勾选“使用程序代码”,代码如下:
$num='<pclass="list"><ahref="[!--titleurl--]"><imgclass="img"src="[!--titlepic--]"alt="[!--title--]"><h3>[!--title--]</h3></a></p>';if($no%4==0){//跟据自己喜欢自由发辉,多少条信息显示一条广告$num.='<pclass="list"><scriptsrc="adg.js"type="text/javascript"></script></p>';//这里是你自己的广告代码}$listtemp='$num';
广告JS的代码示例如下:
document.writeln("<scripttype="text/javascript"src="//bd1.11px.cn/production/site/gmjy.js?mhzi=qeggg"></script>");
具体看大家如何发挥了。