Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

如何在文章页文章内容右角落加200*200的gg广告

[复制链接]
1314pic 发表于 2009-8-27 15:30:56 | 显示全部楼层 |阅读模式

如何实现让gg光出现在我指定位置的功能呢,我看了一下模版,里面只有一个ad3的调用,而这个调用只能够让广告出现在文章的上方,而不是右上角,请高手指点。
  1. <div id="article_body">
  2. <p>问题:$news[subject]?</p>
  3. <p><FONT color=#ff0000>why123.net为您提供的最准确最全面的答案:</FONT></p>
  4.                                                 <!--{if !empty($news[custom][name])}-->
  5.                                                 <div id="article_custom">
  6.                                                         <!--{loop $news[custom][key] $ckey $cvalue}-->
  7.                                                         <h6>$news[custom][name]</h6>
  8.         <p><strong>$cvalue[name]: </strong>$news[custom][value][$ckey]</p>
  9.                                                         <!--{/loop}-->
  10.                                                 </div>
  11.                                                 <!--{/if}-->
  12.                                                                 <!--{if !empty($ads3[viewinad])}-->
  13.                                         <div class="ad_article">
  14.                                                 $ads3[viewinad]
  15.                                         </div>
  16.                                         <!--{/if}-->
  17.                                                 $news[message]
  18.                                                 <!--{if empty($multipage)}-->
  19.                                                 <!--{loop $news['attacharr'] $attach}-->
  20.                                                 <!--{if $attach['isimage']}-->
  21.                                                 <div id="article_attachment" class="article_attach_isimage"><a href="$attach[url]" target="_blank"><img src="$attach[thumbpath]" alt="$attach[subject]" /><span>$attach[subject]</span></a></div>
  22.                                                 <!--{else}-->
  23.                                                 <div id="article_attachment"><a href="$attach[url]" target="_blank">$attach[filename]</a> (<!--{eval echo formatsize($attach[size]);}--></div>
  24.                                                 <!--{/if}-->
  25.                                                 <!--{/loop}-->
  26.                                                 <!--{/if}-->
  27.                                         </div>
  28.                                        
  29.                                 </div>
  30.        
复制代码
这是我模版的代码
回复

使用道具 举报

 楼主| 1314pic 发表于 2009-8-27 15:31:44 | 显示全部楼层
我的网址是  www.why123.net
回复

使用道具 举报

 楼主| 1314pic 发表于 2009-8-27 21:01:53 | 显示全部楼层
这个应该不是很难吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-14 11:38 , Processed in 0.135346 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表