الكود الخاص بوضع اعلانات جوجل داخل المشاركة مثل سوالف سوفت (1 Viewer)

Damas

Administrator
طاقم الإدارة
سلام عليكم ورحمة الله وبركاته

تفضل أخوى الكود الخاص بوضع اعلانات جوجل داخل المشاركة مثل سوالف سوفت

افتح تمبلت postbit او postbit legacy حسب ماتستخدم

ابحث عن:
كود:
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

استبدله بالاتى:
كود:
<!-- message -->
<if condition="(($post[postcount] % $vboptions[maxposts] == 1))">
<span style="margin: 2px; float: left; width: 301px; height: 251px;">
ADSENSE CODE HERE
</span>
</if>
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

مع مراعاة استبدال ADSENSE CODE HERE بالكود الخاص بالاعلان الاعلان مقاس 300*250 .

--------------------------------------------

بالنسبة للاعلانات بعد اول مشاركة
افتح قالب post او postbit_legacy حسب استخدامك
فى نهاية القالب اضف الكود التالى:
كود:
<if condition="!$GLOBALS['FIRSTPOSTID']">
<br>
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
Sponsored Links
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
<center>
adsense code here
</center>
</td>
</tr>
</table>
</if>

مع استبدال adsense code here بكود الادسنس الخاص بك


لمشاهدة مثال ادخل على رابط الموضوع الاصلي
http://www.swalif.net/softs/swalif58/softs225665/
 

sameh

Well-Known Member
:012::012::004:THANK UUUUUUUUUUUUUUalamirUUUUUUUUUUUUUU
 
Benefits of Becoming a Member

Can you simply tell if Runescape is a great game maple story power leveling or not without you becoming a member? The answer to that would be, NO! Well you can make a few predictions about maple story mesos and see the moral of the game when being a regular user and not a member but becoming a member brings a whole lot of additions to Runescape that you would never see if you were not a member. Being a member of buy runescape gold has so many benefits and I will try to list them all here for you. Runescape tells you them, but I'm going to detail it a few features for you here. runescape power leveling
 
أعلى