عرض مشاركة واحدة
احصائياتى

الردود
7

المشاهدات
2324
~ GOOGLE ~
.:: عضو مبدع ::.
  • ~ GOOGLE ~ is just really nice~ GOOGLE ~ is just really nice~ GOOGLE ~ is just really nice~ GOOGLE ~ is just really nice~ GOOGLE ~ is just really nice

  • ~ GOOGLE ~ غير متواجد حالياً

المشاركات
669

+التقييم
97

تاريخ التسجيل
Nov 2015

الاقامة
فلسطين

نظام التشغيل
windows 8.1

رقم العضوية
611
01-12-2016, 09:53 AM
المشاركة 1
01-12-2016, 09:53 AM
المشاركة 1
افتراضي حل مشكلة اعلانات ادسنس
مرحبأ

قمت بتركيب بشكل يدوي اعلانات ادسنس داخل ستايل هيلبرنت تم تحرير الرابط في قالب العضو لكن المشكلة ارى ان قالب الموضوع والردود مندمجين سوى اي شي بوضعه بطلع بردود


القالب
عند وضع اعلان ادسنس في هذا القالب او وضع صورة يتكرر ايضأ في قالب الرد لا اعلم الماذا
postbit_legacy

كود PHP:
<head>
<
base target="_self">
</
head>

$template_hook[postbit_start]
    <
table id="post$post[postid]0" class="Fpost" cellpadding="$stylevar[cellpadding]cellspacing="10" border="0" width="100%">


<
table id="post$post[postid]class="tborderbar" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center">
<
div>
     <
div class="nav_post" $post[scrolltothis]>
        <
div class="normal" style="float:$stylevar[right]">
            &
nbsp;
          
رقم البحبشة : [ <if condition="$show['postcount']"><a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]target="new" rel="nofollow" id="postcount$post[postid]name="$post[postcount]"><strong>$post[postcount]</strong></a> &nbsp;</if>]
<if 
condition="$show['inlinemod']">
            <
input type="checkbox" name="plist[$postid]" id="plist_$postidstyle="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]/>
            </if>
        </
div>
<
div class="normal">
            <!-- 
status icon and date -->
            <
a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]border="0" /></a>
            <if 
condition="!$show['announcement']">
                
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime] </if>
            </if><if 
condition="!$show['announcement']"><if condition="!$show['detailedtime']"></if>
            <else />
                <
phrase 1="$post[startdate]2="$post[enddate]">$vbphrase[x_until_y]</phrase>
            </if>
            
$post[firstnewinsert]
            <!-- / 
status icon and date -->
 </
div></div>   
<
tr valign="top">
  <
td class="HeadPost" width="175" style="border-top: 0px; border-bottom: 0px; border-style: none; border-width: 0px; border-color: inherit; background-color: #FFFFFF;" align="center">
<
div class="userinformation">
<
div class="Triangleuser"></div>
<
div id="postmenu_$post[postid]0">
  <if 
condition="$show['profile']">
                
                <
div class="userinfov4">
<
center>
                <
center>
                <
table dir="rtl">
                    <
tbody><tr>
                    <
td>
                        </
td>
                        <
td align="center">
                                <
class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<
script type="text/javascript"vbmenu_register("postmenu_$post[postid]"true); </script>
<else />$post[musername]
                </if>
                </td>     
                    </tr>
</tbody></table>
</center>

                <!-- Username -->
            <div class="smallfont">
    <if condition="$post['usertitle']">
<div class="smallfont">$post[usertitle]</div>
</if>
 <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
 <div class="postbit-mini-boxavatar">
$turki_usertitle
<if condition="$show['avatar']">
 <div class="smallfont">
                    <a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]" width="170" height="170">$vbphrase[xs_avatar]</phrase>" border="0" /></a></div>
</center>
<div class="smallfont">
 <else />
                <div class="avatard">
                    <a href="member.php?$session[sessionurl]u=$post[userid]" title="الصورة الرمزية "><img src="helpernt/img/avatar.png" /></a>
                    </div>
</if></div>
<center>
<br>
<div class="smallfont">
<table width="100%">
    <tbody><tr>
        <td align="center" width="65px"><div style="color:#BE0B93" class="badge icov4">î™؛</div><br>
        <small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">
        التكحيفات<br>$post[posts]</small></td>
        <td align="center" width="65px"><div style="color:#509000" class="badge icov4">î™چ</div><br>
        <small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;"><b>+</b>التقييم<br>$post[reppower]</small>
        </td>
    </tr>
</tbody></table>

<table width="100%">
    <tbody><tr>
<td align="center" width="65px"><div style="color:#FFB800" class="badge icov4">î™’</div>
<br><small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">تاريخ التسجيل<br>$post[joindate]</small></td>
<td align="center" width="65px">
<div style="color:#BE0B93" class="badge icov4">îک¸</div>
<br><small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">العيشه<br>$post[field624]</small></td>
</tr>
</tbody></table>
               
<table width="100%">
    <tbody><tr>       
        <td align="center" width="65px"> 
         <div style="color:#FFB800" class="badge icov4">îک´</div>
        <br><small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">نظام التشغيل<br>$post[field622]</small></td>
        <td align="center" width="65px"><div style="color:#029AFF" class="badge icov4">îک…</div>
        <br>
        <small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">
        نمرة العضو<br>$post[userid]</small></td>
    </tr>
</tbody></table>

<table width="100%">
    <tbody><tr>
             <if condition="$post['field839']">     
        <td align="center" width="65px"><a href="http://www.facebook.com/$post[field839]">
        <div style="color:#2A6CA0" class="badge fa fa-facebook fa-2x hint--top"></div><br>
        <small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">$post[field839]</small></a></td></if> 
 <if condition="$post['field840']">        
        <td align="center" width="65px"><a href="http://www.twitter.com/$post[field840]">
        <div style="color:#00C2FF" class="badge fa fa-twitter fa-2x hint--top"></div>
<br><small style="font-weight:normal;display: block;white-space: normal;overflow: hidden !important;text-overflow: ellipsis;">$post[field840]</small></a></td></if>
    </tr>
</tbody></table>

                <if condition="$post[field12]">
</if> <p><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span>
                $template_hook[postbit_userinfo_right]
                </p>
                <div style="margin-top:5px">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
                </div>
<!-- / New --> 


<if condition="$show['reputationlink']">
<div class="postmenu2">
                <span id="reputationmenu_$post[postid]">
                         <a class="simptip-position-bottom simptip-smooth" data-tooltip="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]">
<span style="color:#04BFBF; font-size: 24px" class="icov4">&#xe611</span></a></div>
            <if condition="$show['popups']"><script type="info/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
            </if>    
$post[onlinestatus]        
<if condition="$show['reportlink']">
            <a class="simptip-position-top simptip-smooth" data-tooltip="$vbphrase[report_bad_post]" href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">
<span style="color:#CC0000; font-size: 24px; margin-left: 5px;" class="icov4">&#xe67b</span></a>

</if>
&nbsp;
<if condition="$show['infractionlink']">
            <a class="simptip-position-top simptip-smooth" data-tooltip="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow">
<span style="color:#CC0000; font-size: 24px; margin-left: 10px;" class="icov4">&#xe650</span></a></if>

   <a class="simptip-position-left simptip-smooth" data-tooltip="أضافة كصديق" href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]" rel="nofollow">
<span style="color:#0702BC; font-size: 24px; margin-left: 15px;" class="icov4">&#xe6a9</span></a>


    </td>

    <if condition="$show['moderated']">
    <td class="alt2" id="td_post_$post[postid]"  style="border-style: none; border-width: 0px; background-color: #FFFFFF">

    <else />
    <td class="contenttopic" id="td_post_$post[postid]"  style="border-style: none; border-width: 0px; background-color: #FFFFFF">

    </if>
        $template_hook[postbit_messagearea_start]
        <if condition="$show['messageicon'] OR $post['title']">
            <!-- icon and title -->
             
            <div class="mesfont" style="padding-bottom: 15px">
            <div class="nav2_post">
                <if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
                <if condition="$post['title']"><strong>$post[title]</strong></if>
                </font>
                <script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=xa-4ef781d273cdaf6b"></script>
                <p>&nbsp;</div> 
            <!-- / icon and title -->
        </if>

<div id="mes">
   <div class="img-mes"></div>        
        <!-- message -->
        <div id="post_message_$post[postid]">
                    $ad_location[ad_showthread_firstpost_start]
                    <div class="post1">
                <p align="center"><b><font face="Times New Roman" size="4">$post[message]</font></b></div>
        </div>
        <!-- / message -->
 </div>  
     <if condition="$show['attachments']">
            <div style="padding:$stylevar[cellpadding]px400">
            <if condition="$show['thumbnailattachment']">
                <fieldset class="fieldseattached_images">
                    <legend>$vbphrase[attached_thumbnails]</legend>
                    <div style="padding:3px">

                    $post[thumbnailattachments]
                    </div>
                </fieldset>
            </if>
            <if condition="$show['imageattachment']">
                <fieldset class="fieldseattached_images">
                    <legend>$vbphrase[attached_images]</legend>
                    <div style="padding:3px">
                    $post[imageattachments]
                    </div>
                </fieldset>
            </if>
            
            <if condition="$show['imageattachmentlink']">
                <fieldset class="fieldset">
                    <legend>$vbphrase[attached_images]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[imageattachmentlinks]
                    </table>
                    </fieldset>
            </if>   
            <if condition="$show['otherattachment']">
                <fieldset class="fieldsetatt">
                    <legend>$vbphrase[attached_files]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[otherattachments]
                    </table>
                </fieldset>
            </if> 
            <if condition="$show['moderatedattachment']">
                <fieldset class="fieldsetatt">
                    <legend>$vbphrase[attachments_pending_approval]</legend>
                    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                    $post[moderatedattachments]
                    </table>
                </fieldset>        
            </if>
            
            </div>
        <!-- / attachments -->
        </if>
        <if condition="$show['postedited']">
                <!-- edit note -->
            <div class="last_edited">
                <em>
                <phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
                <if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
                </em>
            </div>
            <p align="center">
        <!-- / edit note -->

</if>   
        $template_hook[postbit_signature_start]
        
            </p>
            <if condition="$post['signature']">
        
<table class="sigdev" cellpadding="6" cellspacing="0" border="0" width="70%" align="center">
<tbody><tr>
    <td class="thead2" align="center"><span lang="ar-sa">التوكيع</span>  <font color="#000000"><b>$post[username]</b></font> </td><center></center></td>
</tr>
<tr>
    <td class="alt1">
        $post[signature]
        </td>
</tr>
</table>  
        <!-- / sig -->

            <p>&nbsp;</p>
            <p>&nbsp;</p>
    </if>
            <br>
        <br>
      <!-- controls -->
        <if condition="$post['editlink']"></if>
            <div class="Controls"> 
     <if condition="$show['multiquote_post']">        
<a class="simptip-position-top simptip-smooth" data-tooltip="إقتباس متعدد" href="$post[replylink]" rel="nofollow" onclick="return false">
 <img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a></if><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a>
 <!-- Facebook -->
<a class="simptip-position-top simptip-smooth" data-tooltip="انشر الموضوع على Facebook" href="http://www.facebook.com/sharer.php?u=$vboptions[bburl]/showthread.php?t=$thread[threadid]"  target="_blank"><img src="helpernt/img/facebook.png"  alt="Facebook" /></a>
<!-- Twitter -->
<a class="simptip-position-left simptip-smooth" data-tooltip="انشر الموضوع على twitter" href="http://twitter.com/share?url=$vboptions[bburl]/showthread.php?t=$thread[threadid]&text=$post[title]"  target="_blank"><img src="helpernt/img/twitter.png"  alt="Twitter" /></a>
        <ul>
   <if condition="$post['editlink']">
                           <li>
                            <a class="simptip-position-bottom simptip-smooth" data-tooltip="تعديل / حذف" href="$post[editlink]" name="vB::QuickEdit::$post[postid]0" rel="nofollow">
                            التعديل</a></li> 
            </if>
 <if condition="$show['quickreply'] AND !$show['threadedmode']">
   <li>
    <a class="simptip-position-bottom simptip-smooth" data-tooltip="رد مع اقتباس" href="$post[replylink]" rel="nofollow" id="qr_$post[postid]0" onclick="return false">
       <div class="IconControlsFont fa fa-reply"></div>رد سريع</a></li> 
            </if>
 <if condition="$post['replylink']">
               <li><a class="simptip-position-bottom simptip-smooth" data-tooltip="رد مع اقتباس" href="$post[replylink]" rel="nofollow">
                 <div class="IconControlsFont fa fa-undo"></div>اقتباس</a></li></ul></div>
            </if>
           
<if condition="$post['forwardlink']">
                <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
            </if>
 <if condition="$show['moderated']">
                <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
            </if>
            <if condition="$show['deletedpost']">
                <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
            </if>
            <if condition="$show['redcard']">
                <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
            <else />
                <if condition="$show['yellowcard']">
                    <a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
                </if>
            </if>

        $template_hook[postbit_controls]
        <!-- / controls -->
        <!-- / message -->
 </div>  
 <br>
<br>
    </td>
</tr>
</table>
$template_hook[postbit_end]
<div style="border-top-color: transparent; border-top-width: 1px; border-top-style: dashed; height: 5px;"></div>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
    <table cellpadding="4" cellspacing="1" border="0">
    <tr>
        <td class="thead">$post[username]</td>
    </tr>
    <if condition="$show['profile']">
        <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
    </if>
    <if condition="$show['pmlink']">
        <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
    </if>
    <if condition="$show['emaillink']">
        <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
    </if>
    <if condition="$show['homepage']">
        <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    </if>
    <if condition="$show['search']">
        <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
    </if>
    <if condition="$post['userid'] AND $show['member']">
    <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
    </if>
    $template_hook[postbit_user_popup]
    </table>
</div>
<!-- / post $post[postid] popup menu --> 


التعديل الأخير تم بواسطة هيلبرنت ; 01-14-2016 الساعة 01:23 PM