涉及文件两个模版:
css.htm
viewthread.htm
操作方法:
一、保存以下图片,上传到论坛./images/default/目录
二、打开css.htm,在文件的末尾加入以下代码
Quote:
|
.float { width:250px; height:442px;padding-top:229px;padding-right:35px; background-image:url(../../images/default/aabg.gif);}
|
三、打开viewthread.htm,搜索
Quote:
|
<a name="pid$post[pid]" href="misc.php?action=viewratings&tid=$tid&pid=$post[pid]" title="{lang rate} $post[rate]">$post[ratings]</a>
|
替换成
Quote:
<!--{if $post['number']==1}-->
<div style="float: right" align="right"><a name="pid$post[pid]" href="misc.php?action=viewratings&tid=$tid&pid=$post[pid]" title="{lang rate} $post[rate]">$post[ratings]</a><div class="float">
<script type="text/javascript"><!--
google_ad_client = "pub-0084950867094575";
google_ad_width = 200;
google_ad_height = 200;
google_ad_format = "200x200_as";
google_ad_type = "text";
google_color_border = "EFF7F7";
google_color_bg = "EFF7F7";
google_color_link = "943108";
google_color_text = "EF7B21";
google_color_url = "EFADC5";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
</div>
<!--{else}-->
<a name="pid$post[pid]" href="misc.php?action=viewratings&tid=$tid&pid=$post[pid]" title="{lang rate} $post[rate]">$post[ratings]</a>
<!--{/if}-->
|
说明:GGAD的格式是200*200的
bbs dot jokcn dot com