themes\theme-name\index.template.php
หา theme_linktree(); ถ้าเป็น default template จะมี template_menu(); อยู่ก่อนหน้าครับ ใส่ adcode ระหว่างนี้่ได้เลย
ส่วน theme_linktree(); อันนี้คือ navigator menu ครับ ที่เป็น navigator link ตรงใต้ menu bar เวลาเรากดเข้า forum ลึกๆ
ถ้าวาง adcode ไว้ด้านบนของ linktree ก็คือไว้ใต้ menu นั่นแหละ
เวลาจะลงโฆษณาใน php ก็ใช้ echo ครับ จะทำให้ดูง่ายก็ใส่ไปแบบนี้
// Show the menu here, according to the menu sub template.
template_menu();
// Google AdSense Top Banner
echo '
<br> // เว้นบรรทัดครับ
<center> // adjust ให้โฆษณาอยู่ตรงกลางครับ
<script type="text/javascript"><!--
google_ad_client = "pub-2818505735607471";
/* XG BBS topbanner */
google_ad_slot = "4587820559";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center> // อย่าลืมจบคำสั่งที่ทำให้โฆษณาอยู่ตรงกลางครับ
';
// Show the navigation tree.
theme_linktree();
นี่คือที่ผมใช้อยู่หนะครับ เป็น html ง่ายๆ ตัวอย่างดูได้ที่ bbs.xgaming.in.th