اضافة h1 للاقسام والمواضيع بطريقه سهله ورائعه

ENG MUHAMED

[ADMIN]
طاقم الإدارة
25 فبراير 2008
10,079
43
48
support-ar.net
اضافة h1 للاقسام والمواضيع بطريقه سهله ورائعه

attachment.php

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

افتحوا لوحة الادمن >>> بعدها الاستايلات والقوالب (( الاستايل المستخدم )) >>>> نبحث عن قالب navbar

بحث بداخله عن التالي =



PHP:
<if condition="$show['forumdesc']"> 
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
    <tr> 
        <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td> 
    </tr> 
    </table> 
    <br /> 
</if>


نستبدله بالتالي =



PHP:
<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'forumdisplay'"> 
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
    <tr> 
        <td class="alt1" width="100%"><h1>$foruminfo[title]</h1> 
<span class="smallfont"><b>$foruminfo[title]</b>$foruminfo[description]</span></td> 
    </tr> 
    </table> 
    <br /> 
</if> 

<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'showthread'"> 
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
    <tr> 
        <td class="alt1" width="100%"><h1>$threadinfo[prefix_plain]$threadinfo[title]</h1> 
<span class="smallfont"><b>$threadinfo[prefix_plain]$threadinfo[title]</b><b>$foruminfo[title]</b></span> 
</td> 
    </tr> 
    </table> 
    <br /> 
</if>


الكود الثاني مزود برابط القسم ورابط الموضوع



PHP:
<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'forumdisplay'"> 
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
    <tr> 
        <td class="alt1" width="100%"><h1><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></h1> 
<span class="smallfont"><b>$foruminfo[title]</b>$foruminfo[description]</span></td> 
    </tr> 
    </table> 
    <br /> 
</if> 

<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'showthread'"> 
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 
    <tr> 
        <td class="alt1" width="100%"><h1><a href="showthread.php?$session[sessionurl]t=$threadid">$threadinfo[prefix_plain]$threadinfo[title]</a></h1> 
<span class="smallfont"><b>$threadinfo[prefix_plain]$threadinfo[title]</b><b>$foruminfo[title]</b></span> 
</td> 
    </tr> 
    </table> 
    <br /> 
</if>


انتهينا من التركيب وموفقين اخواني ان شاء الله​