Chakira
11-01-2013, بتوقيت غرينيتش 11:26 PM
السلام عليكم
اضافة اعلانات ادسنس كا قسم
التعديل راح يكون في قالب template:
templete forumhome_forumbit_level2_post
مثال:
http://www.3algeria.com/vb
قم بفتح القالب template واضف الكود code هذا في اخره :
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$forumid == 2">
<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_link.gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-xxxx034455012846";
//bab,234x60,one thered,26/01/08
google_ad_slot = "7022014531";
google_ad_width = 234;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</td>
<td class="alt2">Sponsored Links</td>
<td class="alt1">-</td>
<td class="alt2">-</td>
</tr>
</if>
</code> </code>
احنا اخترنا القسم رقم 2 اللي راح يكون القسم تحته:
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$forumid == 2">
</code> </code>
قم بتغير كود code ادسنس الخاص بيك
رمز PHP:
<code style="white-space:nowrap"> <code> <script type="text/javascript"><!--
google_ad_client = "pub-xxxx034455012846";
//bab,234x60,one thered,26/01/08
google_ad_slot = "7022014531";
google_ad_width = 234;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</code> </code>
انتهى
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©
اضافة اعلانات ادسنس كا قسم
التعديل راح يكون في قالب template:
templete forumhome_forumbit_level2_post
مثال:
http://www.3algeria.com/vb
قم بفتح القالب template واضف الكود code هذا في اخره :
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$forumid == 2">
<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_link.gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-xxxx034455012846";
//bab,234x60,one thered,26/01/08
google_ad_slot = "7022014531";
google_ad_width = 234;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</td>
<td class="alt2">Sponsored Links</td>
<td class="alt1">-</td>
<td class="alt2">-</td>
</tr>
</if>
</code> </code>
احنا اخترنا القسم رقم 2 اللي راح يكون القسم تحته:
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$forumid == 2">
</code> </code>
قم بتغير كود code ادسنس الخاص بيك
رمز PHP:
<code style="white-space:nowrap"> <code> <script type="text/javascript"><!--
google_ad_client = "pub-xxxx034455012846";
//bab,234x60,one thered,26/01/08
google_ad_slot = "7022014531";
google_ad_width = 234;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</code> </code>
انتهى
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©